-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrectangular.schema.json
47 lines (47 loc) · 2 KB
/
rectangular.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
{
"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/rectangular",
"title": "Simple Rectangular Area",
"type": "object",
"description":
"Properties that apply to images, videos, and other rectangular media. It represents a rectangular area on a pixel-based surface, but without any indication of origin.",
"definitions": {
"rectangular": {
"properties": {
"tiff:imageWidth": {
"title": "Width",
"description": "Width in pixels",
"type": "integer",
"meta:usereditable": false,
"minimum": 0,
"example": 768
},
"tiff:imageLength": {
"title": "Length",
"description":
"Height in pixels. To maintain continuity with the XMP and TIFF standards, the height of an image or video is specified in the property `imageLength`. The duration of the video (also commonly called length) is specified in the property `extent`",
"type": "integer",
"meta:usereditable": false,
"minimum": 0,
"example": 1024
},
"xdm:aspectRatio": {
"title": "Aspect Ratio",
"description":
"Describes the proportional relationship between the width and the height. To determine the aspect ratio, divide width by height. Media that have an aspect ratio smaller than one are in landscape format, media that have an aspect ratio greater than one are in portrait format.",
"type": "number",
"minimum": 0,
"meta:usereditable": false,
"example": 1.333333
}
}
}
},
"meta:status": "stabilizing"
}