forked from cardano-foundation/CIPs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
registry.schema.json
64 lines (64 loc) · 2.26 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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/cardano-foundation/CIPs/blob/master/CIP-0010",
"type": "array",
"title": "Transaction Metadata Label Registry",
"description": "JSON schema for transaction metadata label registry",
"default": [],
"examples": [
[
{
"transaction_metadatum_label": 1967,
"description": "nut.link metadata oracles registry"
},
{
"transaction_metadatum_label": 1968,
"description": "nut.link metadata oracles data points"
}
]
],
"additionalItems": false,
"items": {
"$id": "#/items",
"anyOf": [
{
"$id": "#/items/anyOf/0",
"type": "object",
"title": "The first anyOf schema",
"description": "An entry in the transaction metadata label registry",
"default": {},
"examples": [
{
"transaction_metadatum_label": 1967,
"description": "nut.link metadata oracles registry"
}
],
"required": [
"transaction_metadatum_label",
"description"
],
"properties": {
"transaction_metadatum_label": {
"$id": "#/items/anyOf/0/properties/transaction_metadatum_label",
"type": "integer",
"title": "The transaction_metadatum_label number",
"default": 0,
"examples": [
1967
]
},
"description": {
"$id": "#/items/anyOf/0/properties/description",
"type": "string",
"title": "The metadatum label description",
"default": "",
"examples": [
"nut.link metadata oracles registry"
]
}
},
"additionalProperties": true
}
]
}
}