-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcdps-schema.json
More file actions
45 lines (45 loc) · 930 Bytes
/
cdps-schema.json
File metadata and controls
45 lines (45 loc) · 930 Bytes
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
{
"type": "array",
"items": {
"type": "object",
"properties": {
"output_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"output_index": {
"type": "integer",
"minimum": 0
},
"owner": {
"anyOf": [
{
"type": "string",
"pattern": "^([a-f0-9]{56}|)$"
},
{
"type": "string",
"enum": ["NULL"]
},
{
"type": "null"
}
]
},
"asset": {
"type": "string",
"minLength": 4,
"maxLength": 4
},
"collateralAmount": {
"type": "integer",
"minimum": 1
},
"mintedAmount": {
"type": "integer",
"minimum": 0
}
},
"required": ["output_hash", "output_index", "owner", "asset", "collateralAmount", "mintedAmount"]
}
}