-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathversion-schema.json
39 lines (39 loc) · 1.18 KB
/
version-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
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "VersionSchema",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Version"
}
],
"$id": "https://w3id.org/dspace/2024/1/common/version-schema.json",
"definitions": {
"Version": {
"type": "object",
"properties": {
"@context": {
"type": "string",
"const": "https://w3id.org/dspace/2024/1/context.json"
},
"protocolVersions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": ["version", "path"]
},
"minItems": 1
}
},
"required": ["@context", "protocolVersions"]
}
}
}