forked from hbacila/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.schema.json
53 lines (53 loc) · 2.62 KB
/
common.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
{
"meta:license": [
"Copyright 2018 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": "http://ns.adobe.com/adobecloud/core/1.0",
"type": "object",
"title": "Common Properties",
"description": "Common Properties for storage in Adobe Experience Platform.",
"definitions": {
"common-properties": {
"properties": {
"repo:name": {
"type": "string"
},
"repo:path": {
"type": "string"
},
"dc:format": {
"meta:usereditable": false,
"type": "string",
"title": "Format",
"pattern": "\\w+\\/[-.\\w]+(?:\\+[-.\\w]+)?",
"examples": ["application/vnd.adobe.photoshop"],
"description": "The physical or digital manifestation of the resource. Typically, Format should include the media-type of the resource. Format may be used to determine the software, hardware or other equipment needed to display or operate the resource. Recommended best practice is to select a value from a controlled vocabulary (for example, the list of [Internet Media Types](http://www.iana.org/ assignments/media-types/) defining computer media formats)."
}
}
},
"date-properties": {
"properties": {
"repo:createDate": {
"type": "string",
"format": "date-time",
"meta:immutable": true,
"meta:usereditable": false,
"examples": ["2004-10-23T12:00:00-06:00"],
"description": "The server date and time when the resource was created in the repository, such as when an asset file is first uploaded or a directory is created by the server as the parent of a new asset. The date time property should conform to ISO 8601 standard. An example form is \"2004-10-23T12:00:00-06:00\"."
},
"repo:modifyDate": {
"type": "string",
"format": "date-time",
"meta:usereditable": false,
"examples": ["2004-10-23T12:00:00-06:00"],
"description": "The server date and time when the resource was last modified in the repository, such as when a new version of an asset is uploaded or a directory's child resource is added or removed. The date time property should conform to ISO 8601 standard. An example form is \"2004-10-23T12:00:00-06:00\"."
}
}
}
},
"meta:status": "experimental"
}