-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent.schema.json
65 lines (65 loc) · 2.16 KB
/
content.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
{
"meta:license": [
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "https://ns.adobe.com/xdm/content/content",
"title": "Content",
"type": "object",
"description": "",
"meta:extensible": true,
"meta:extends": [
"http://ns.adobe.com/adobecloud/core/1.0#/definitions/common-properties",
"http://ns.adobe.com/adobecloud/core/1.0#/definitions/date-properties",
"https://ns.adobe.com/xdm/external/hal/resource#/definitions/hal",
"http://ns.adobe.com/adobecloud/core/1.0/asset"
],
"definitions": {
"content": {
"properties": {
"@id": {
"type": "string",
"format": "uri",
"description":
"A unique identifier given to every addressable piece of content in a given repository."
},
"xdm:repositoryCreatedBy": {
"type": "string",
"meta:immutable": true,
"meta:usereditable": false,
"description":
"ID of the user who initiated the action that caused the resource to be created in the repository."
},
"xdm:repositoryLastModifiedBy": {
"type": "string",
"meta:usereditable": false,
"description":
"ID of the user who initiated the action that most recently caused the resource to be modified in the repository."
}
}
}
},
"allOf": [
{
"$ref": "http://ns.adobe.com/adobecloud/core/1.0/asset#/definitions/asset"
},
{
"$ref":
"http://ns.adobe.com/adobecloud/core/1.0#/definitions/common-properties"
},
{
"$ref":
"http://ns.adobe.com/adobecloud/core/1.0#/definitions/date-properties"
},
{
"$ref": "https://ns.adobe.com/xdm/external/hal/resource#/definitions/hal"
},
{
"$ref": "#/definitions/content"
}
],
"meta:status": "experimental"
}