forked from osmosis-labs/assetlists
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zone_assets.schema.json
84 lines (84 loc) · 2.71 KB
/
zone_assets.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Osmosis Zone List",
"description": "Osmosis Zone List is a basic list of assets, in order as shown on the Osmosis Zone.",
"type": "object",
"required": [
"chain_name",
"assets"
],
"properties": {
"$schema": {
"type": "string",
"pattern": "^\\.\\./zone\\.schema\\.json$"
},
"chain_name": {
"type": "string"
},
"assets": {
"type": "array",
"items": {
"$ref": "#/$defs/asset"
}
}
},
"additionalPropserties": false,
"$defs": {
"asset": {
"type": "object",
"required": [
"chain_name",
"base_denom"
],
"properties": {
"chain_name": {
"type": "string",
"description": "Chain name as used in the Cosmos Chain Registry"
},
"base_denom": {
"type": "string",
"description": "Base denomination as used for the asset in the Cosmos Chain Registry"
},
"path": {
"type": "string",
"description": "The entire IBC path, with the port and channel data for each hop"
},
"osmosis_verified": {
"type": "boolean",
"description": "Whether the asset have verified status Osmosis Zone app."
},
"override_properties": {
"type": "object",
"description": "Properties that should not follow the Chain Registry, and behave or appear differently on Osmosis Zone.",
"properties": {
"symbol": {
"type": "string",
"description": "The symbol of an asset. For example BTC."
},
"logo_URIs": {
"type": "object",
"properties": {
"png": {
"type": "string",
"format": "uri-reference",
"pattern": "^https://raw\\.githubusercontent\\.com/cosmos/chain-registry/master/(|testnets/|_non-cosmos/)[a-z0-9]+/images/.+\\.png$"
},
"svg": {
"type": "string",
"format": "uri-reference",
"pattern": "^https://raw\\.githubusercontent\\.com/cosmos/chain-registry/master/(|testnets/|_non-cosmos/)[a-z0-9]+/images/.+\\.svg$"
}
}
},
"coingecko_id": {
"type": "string",
"description": "[OPTIONAL] The coingecko id to fetch asset data from coingecko v3 api. See https://api.coingecko.com/api/v3/coins/list"
}
},
"additionalProperties": true
}
},
"additionalProperties": false
}
}
}