-
Notifications
You must be signed in to change notification settings - Fork 6
/
whoami.json
39 lines (39 loc) · 1.08 KB
/
whoami.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
{
"$id": "https://harp-tech.org/2023-07/whoami",
"$schema": "https://json-schema.org/draft-07/schema",
"definitions": {
"device": {
"properties": {
"authors": {
"type": "string"
},
"name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_]*$"
},
"copyright": {
"type": "string"
},
"projectUrl": {
"type": "string"
},
"repositoryUrl": {
"type": "string"
}
},
"required": ["name"],
"type": "object"
}
},
"properties": {
"devices": {
"description": "A map of device WhoAmI to device information",
"patternProperties": {
"^[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]$": {
"$ref": "#/definitions/device"
}
},
"type": "object"
}
}
}