forked from cardano-foundation/CIPs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.json
37 lines (37 loc) · 799 Bytes
/
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
{
"definitions": {
"network": {
"$id": "#/definitions/network",
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"NetworkId": {
"type": "integer",
"minimum": 0,
"exclusiveMaximum": 16
},
"NetworkMagic": {
"type": "integer",
"minimum": 0,
"exclusiveMaximum": 4294967295
},
"GenesisHash": {
"type": "string",
"pattern": "^[0-9a-fA-F]+$",
"minLength": 64,
"maxLength": 64
}
},
"required": [
"Name",
"NetworkId",
"NetworkMagic",
"GenesisHash"
]
}
},
"type": "object",
"additionalProperties": { "$ref": "#/definitions/network" }
}