-
Notifications
You must be signed in to change notification settings - Fork 0
/
statement.json
30 lines (30 loc) · 1.07 KB
/
statement.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "UOR Statement",
"type": "object",
"properties": {
"subject": {
"$ref": "../element.json",
"description": "The subject of the UOR Statement."
},
"predicate": {
"$ref": "../element.json",
"description": "The predicate of the UOR Statement."
},
"object": {
"$ref": "../element.json",
"description": "The object of the UOR Statement."
},
"uorVersion": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(-([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?(\u002B[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$",
"description": "Semantic Versioning (SemVer) of the UOR Statement."
},
"schemaType": {
"type": "string",
"description": "Type of schema used in the UOR Statement."
}
},
"required": ["subject", "predicate", "object", "uorVersion", "schemaType"],
"additionalProperties": false
}