forked from eclipse-thingweb/playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tm-versioning-2.json
32 lines (32 loc) · 997 Bytes
/
tm-versioning-2.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
{
"title": "tm-versioning-2",
"description": "Due to the definition of Thing Model the term instance MUST be omitted within the version container.",
"$schema ": "https://json-schema.org/draft/2019-09/schema#",
"is-complex": false,
"type": "object",
"properties": {
"version": {
"anyOf": [
{
"type": "object",
"properties": {
"model": {
"type": "string"
}
},
"not": {
"type": "object",
"properties": {
"instance": {
"type": "string"
}
},
"required": ["instance"]
}
}
]
}
},
"required": ["version"],
"additionalProperties": true
}