-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathicarResource.json
32 lines (28 loc) · 1.09 KB
/
icarResource.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
{
"description": "Base class for a resource, defining self-link and meta data. Resources should use AllOf to incorporate this class.",
"type": "object",
"discriminator": {
"propertyName": "resourceType"
},
"required": [
"resourceType"
],
"properties": {
"resourceType" : {
"type": "string",
"description": "Uniform resource identifier (URI) or shortname of the logical resourceType. The ResourceType catalog defines the set of allowed resourceTypes."
},
"@self": {
"type": "string",
"description": "Uniform resource identifier (URI) of the resource (rel=self)."
},
"meta": {
"$ref": "../types/icarMetaDataType.json",
"description": "Meta-data for the resource. Mandatory if you wish to support synchronisation.\n Systems should maintain and provide meta data if at all possible.\nICAR ADE working group intend meta to be required in the next major release of ADE."
},
"location": {
"$ref": "../types/icarLocationIdentifierType.json",
"description": "Unique location scheme and identifier combination."
}
}
}