forked from osmosis-labs/assetlists
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zone_chains.schema.json
65 lines (65 loc) · 1.71 KB
/
zone_chains.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Osmosis Zone List",
"description": "Chain Zone List is a list of chains integrated with Osmosis, in alphabetical order.",
"type": "object",
"required": [
"chains"
],
"properties": {
"$schema": {
"type": "string",
"pattern": "^\\.\\./zone_chains\\.schema\\.json$"
},
"chains": {
"type": "array",
"description": "The chains with one or more assets on Osmosis Zone.",
"items": {
"$ref": "#/$defs/chain"
}
}
},
"additionalPropserties": false,
"$defs": {
"chain": {
"type": "object",
"required": [
"chain_name",
"override_properties"
],
"properties": {
"chain_name": {
"type": "string"
},
"override_properties": {
"type": "object",
"description": "Properties that are not default from the Chain Registry.",
"required": [
"rpc",
"rest",
"wss"
],
"properties": {
"rpc": {
"type": "string",
"description": "The rpc node to use for connecting with the chain.",
"pattern": "^https://"
},
"rest": {
"type": "string",
"description": "The rest node to use for connecting with the chain",
"pattern": "^https://"
},
"wss": {
"type": "string",
"description": "The wss node to use for connecting with the chain",
"pattern": "^wss://"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
}
}