-
Notifications
You must be signed in to change notification settings - Fork 28
/
Document.schema.json
95 lines (95 loc) · 4.5 KB
/
Document.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "Document.schema.json",
"title": "Document",
"definitions": {
"Document": {
"$id": "#Document",
"description": "Document is a tangible output from an activity",
"type": "object",
"allOf": [
{
"properties": {
"creationDate": {
"type": "string",
"format": "date-time",
"description": "The date and time the document was created. A date and time formatted in compliance with the ISO8601 standard must be used."
},
"description": {
"type": "string",
"description": "free-text description of the document"
},
"href": {
"type": "string",
"description": "The URI for the object itself."
},
"id": {
"type": "string",
"description": "Identifier of an instance of the document. Required to be unique within the document type. Used in URIs as the identifier for specific instances of a type."
},
"lastUpdate": {
"type": "string",
"format": "date-time",
"description": "The date and time the document was last modified. A date and time formatted in compliance with the ISO8601 standard must be used."
},
"lifecycleState": {
"type": "string",
"description": "The life cycle state of the document."
},
"name": {
"type": "string",
"description": "A string used to give a name to the document"
},
"type": {
"type": "string",
"description": "Name of the document type"
},
"version": {
"type": "string",
"description": "A particular form or variety of an artefact that is different from others or from the original. The form represents differences in properties that characterize an artefact, that are not enough to warrant creating a new artefact"
},
"characteristic": {
"type": "array",
"items": {
"$ref": "DocumentCharacteristic.schema.json#DocumentCharacteristic"
}
},
"relatedParty": {
"type": "array",
"items": {
"$ref": "../EngagedParty/RelatedPartyRef.schema.json#RelatedPartyRef"
}
},
"documentSpecification": {
"$ref": "DocumentSpecification.schema.json#DocumentSpecification"
},
"binaryAttachment": {
"type": "array",
"items": {
"$ref": "DocumentAttachment.schema.json#DocumentAttachment"
}
},
"category": {
"type": "array",
"items": {
"$ref": "../Customer/CategoryRef.schema.json#CategoryRef"
}
},
"documentRelationship": {
"type": "array",
"items": {
"$ref": "DocumentRelationship.schema.json#DocumentRelationship"
}
},
"relatedObject": {
"$ref": "RelatedObject.schema.json#RelatedObject"
}
}
},
{
"$ref": "CommonComponents.schema.json#polymorphicPattern"
}
]
}
}
}