-
Notifications
You must be signed in to change notification settings - Fork 0
/
version.schema.json
43 lines (41 loc) · 1.21 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
40
41
42
43
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "version.schema.json",
"title": "Versioning",
"description": "This utility is used to versioning of the content",
"type": "object",
"properties": {
"id": {
"description": "The unique identifier for an versioned entity",
"type": "string"
},
"applicationID": {
"description": "identifier of the application or client",
"type": "string"
},
"contentID":{
"description": "identifier of the content entity",
"type": "string"
},
"dateAdded": {
"description": "Added date of the version created",
"type": "string"
},
"data": {
"type": "string",
"description": "decodable encoded data string to remove the dependency of the contant structure",
},
"assets": {
"type": "array",
"description": "contains identifiers of assigned sections",
"items": {
"type": "string"
}
},
"parent": {
"type": "string",
"description": "contains the identifier of immediate parent",
}
},
"required": ["id", "applicationID", "contentID", "dateAdded"]
}