-
Notifications
You must be signed in to change notification settings - Fork 2
/
org-config.schema.json
45 lines (42 loc) · 1.21 KB
/
org-config.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Organization Configuration",
"description": "Schema for the organization configuration file.",
"type": "object",
"properties": {
"$schema": {
"description": "The schema version.",
"type": "string"
},
"name": {
"description": "The name of the organization.",
"type": "string"
},
"schemaId": {
"description": "The UID for the attestation schema.",
"type": "string",
"pattern": "^0x[A-Fa-f0-9]{64}$"
},
"authorizedAttestor": {
"description": "The address of the authorized attestor.",
"type": "string",
"pattern": "^0x[A-Fa-f0-9]{40}$"
},
"network": {
"description": "The network for the organization.",
"type": "string",
"enum": ["eth-sepolia", "optimism-mainnet"]
},
"color": {
"description": "The organisaiton color in UI.",
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$"
},
"startBlock": {
"description": "The block number at which the organization was created.",
"type": "integer"
}
},
"required": ["name", "schemaId", "authorizedAttestor", "network"],
"additionalProperties": false
}