-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideo.schema.json
70 lines (70 loc) · 2.81 KB
/
video.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
{
"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/assets/video",
"title": "Video",
"type": "object",
"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",
"https://ns.adobe.com/xdm/content/content",
"https://ns.adobe.com/xdm/assets/asset",
"https://ns.adobe.com/xdm/assets/rectangular"
],
"description":
"The Video class is for video assets, i.e. assets that consist of moving pictures and, optionally, sound.",
"definitions": {
"video": {
"properties": {
"xdm:extent": {
"title": "Duration",
"meta:usereditable": false,
"type": "integer",
"description":
"The duration of the video in milliseconds. This property is inspired by `dc:extent`. However, `dc:extent` does not specify units. `core:extent` is always an integer and describes the duration in milliseconds.",
"example": 8880000
},
"xmpDM:videoFrameRate": {
"type": "string",
"title": "Frame Rate",
"meta:usereditable": false,
"pattern": "((f\\d+(s\\d+)?)|PAL|NTSC|24)",
"description":
"The video frame rate in frames per second (FPS). Predefined values include: \n -`24`\n -`NTSC`\n -`PAL`\n Other values must include `f` and the integer value of the frame rate. Optionally, `s` and the integer value of the rate basis may be included.\n\nThese examples show common video and audio frame rates:\n- Film at 24 fps (frame rate = 24, rate basis = 1): `f24`\n- Speech-to-text in milliseconds (frame rate = 1000, rate basis = 1): `f1000`\n- NTSC at 29.97 fps (frame rate = 30000, rate basis = 1001): `f30000s1001`"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/assets/asset#/definitions/asset"
},
{
"$ref":
"https://ns.adobe.com/xdm/assets/rectangular#/definitions/rectangular"
},
{
"$ref": "#/definitions/video"
}
],
"required": [
"repo:id",
"repo:createdDate",
"xdm:repositoryCreatedBy",
"repo:lastModifiedDate",
"xdm:repositoryLastModifiedBy",
"repo:version",
"repo:size",
"xdm:path",
"repo:etag"
],
"meta:status": "experimental"
}