forked from cardano-foundation/CIPs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
registry.schema.json
71 lines (71 loc) · 2.23 KB
/
registry.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://cips.cardano.org/cips/cip67/registry.schema.json",
"type": "array",
"title": "Asset Name Label Registry",
"description": "JSON schema for asset name label registry",
"default": [],
"examples": [
[
{
"asset_name_label": 222,
"class": "NFT",
"description": "CIP-0068 - NFT Metadata Standard (222 sub standard)",
"documentation": "https://github.com/cardano-foundation/CIPs/blob/master/CIP-0068"
}
]
],
"additionalItems": false,
"items": {
"$id": "#/items",
"anyOf": [
{
"$id": "#/items/anyOf/0",
"type": "object",
"title": "The first anyOf schema",
"description": "An entry in the asset name label registry",
"default": {},
"examples": [
{
"asset_name_label": 222,
"class": "NFT",
"description": "CIP-0068 - NFT Metadata Standard (222 sub standard)"
}
],
"required": ["asset_name_label", "class", "description"],
"properties": {
"asset_name_label": {
"$id": "#/items/anyOf/0/properties/asset_name_label",
"type": "integer",
"title": "The asset_name_label number",
"default": 0,
"examples": [222]
},
"class": {
"$id": "#/items/anyOf/0/properties/class",
"type": "string",
"title": "The asset class",
"default": "",
"examples": ["NFT", "FT", "SFT"]
},
"description": {
"$id": "#/items/anyOf/0/properties/description",
"type": "string",
"title": "The asset name label description",
"default": "",
"examples": ["CIP-0068 - NFT Metadata Standard (222 sub standard)"]
},
"documentation": {
"$id": "#/items/anyOf/0/properties/documentation",
"type": "string",
"format": "url",
"title": "Documentation Link",
"default": "",
"examples": ["https://github.com/cardano-foundation/CIPs/blob/master/CIP-0068"]
}
},
"additionalProperties": false
}
]
}
}