@imferno/schema 2.0.1-beta.9550ead → 2.0.1-beta.9de606c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schemas/asset-map.json +12 -12
- package/schemas/imf-report.json +16 -0
- package/schemas/packing-list.json +10 -10
- package/schemas/volume-index.json +2 -2
package/package.json
CHANGED
package/schemas/asset-map.json
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
"description": "ASSETMAP.xml — maps UUIDs to physical file paths (ST 429-9 §6).",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"required": [
|
|
7
|
-
"
|
|
7
|
+
"assetList",
|
|
8
8
|
"id",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"issueDate",
|
|
10
|
+
"volumeCount"
|
|
11
11
|
],
|
|
12
12
|
"properties": {
|
|
13
|
-
"
|
|
13
|
+
"annotationText": {
|
|
14
14
|
"type": [
|
|
15
15
|
"string",
|
|
16
16
|
"null"
|
|
17
17
|
]
|
|
18
18
|
},
|
|
19
|
-
"
|
|
19
|
+
"assetList": {
|
|
20
20
|
"$ref": "#/definitions/AssetList"
|
|
21
21
|
},
|
|
22
22
|
"creator": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
|
-
"
|
|
36
|
+
"issueDate": {
|
|
37
37
|
"description": "ISO 8601 issue date (e.g. `\"2016-10-06T08:35:02-00:00\"`).",
|
|
38
38
|
"type": "string"
|
|
39
39
|
},
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"null"
|
|
44
44
|
]
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"volumeCount": {
|
|
47
47
|
"type": "integer",
|
|
48
48
|
"format": "uint32",
|
|
49
49
|
"minimum": 0.0
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"description": "A single asset entry in ASSETMAP.xml.",
|
|
55
55
|
"type": "object",
|
|
56
56
|
"required": [
|
|
57
|
-
"
|
|
57
|
+
"chunkList",
|
|
58
58
|
"id"
|
|
59
59
|
],
|
|
60
60
|
"properties": {
|
|
61
|
-
"
|
|
61
|
+
"chunkList": {
|
|
62
62
|
"$ref": "#/definitions/ChunkList"
|
|
63
63
|
},
|
|
64
64
|
"id": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
]
|
|
71
71
|
},
|
|
72
|
-
"
|
|
72
|
+
"packingList": {
|
|
73
73
|
"description": "Present and `true` when this entry refers to the Packing List file.",
|
|
74
74
|
"type": [
|
|
75
75
|
"boolean",
|
|
@@ -98,14 +98,14 @@
|
|
|
98
98
|
"type": "object",
|
|
99
99
|
"required": [
|
|
100
100
|
"path",
|
|
101
|
-
"
|
|
101
|
+
"volumeIndex"
|
|
102
102
|
],
|
|
103
103
|
"properties": {
|
|
104
104
|
"path": {
|
|
105
105
|
"description": "File path relative to the IMP root directory.",
|
|
106
106
|
"type": "string"
|
|
107
107
|
},
|
|
108
|
-
"
|
|
108
|
+
"volumeIndex": {
|
|
109
109
|
"type": "integer",
|
|
110
110
|
"format": "uint32",
|
|
111
111
|
"minimum": 0.0
|
package/schemas/imf-report.json
CHANGED
|
@@ -272,6 +272,15 @@
|
|
|
272
272
|
"type"
|
|
273
273
|
],
|
|
274
274
|
"properties": {
|
|
275
|
+
"channelCount": {
|
|
276
|
+
"description": "Audio channel count (e.g. 2, 6, 8) — only for audio sequences",
|
|
277
|
+
"type": [
|
|
278
|
+
"integer",
|
|
279
|
+
"null"
|
|
280
|
+
],
|
|
281
|
+
"format": "uint32",
|
|
282
|
+
"minimum": 0.0
|
|
283
|
+
},
|
|
275
284
|
"id": {
|
|
276
285
|
"type": "string"
|
|
277
286
|
},
|
|
@@ -288,6 +297,13 @@
|
|
|
288
297
|
"$ref": "#/definitions/CplResource"
|
|
289
298
|
}
|
|
290
299
|
},
|
|
300
|
+
"soundfield": {
|
|
301
|
+
"description": "MCA soundfield label (e.g. \"5.1\", \"7.1\", \"Atmos\") — only for audio sequences",
|
|
302
|
+
"type": [
|
|
303
|
+
"string",
|
|
304
|
+
"null"
|
|
305
|
+
]
|
|
306
|
+
},
|
|
291
307
|
"trackId": {
|
|
292
308
|
"type": "string"
|
|
293
309
|
},
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
"description": "PKL XML — Packing List (SMPTE ST 2067-2 §9).\n\nAssets carry SHA-1 (default) or SHA-256 checksums. The algorithm is determined by the optional `<HashAlgorithm>` element on each asset.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"required": [
|
|
7
|
-
"
|
|
7
|
+
"assetList",
|
|
8
8
|
"id",
|
|
9
|
-
"
|
|
9
|
+
"issueDate"
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
12
|
-
"
|
|
12
|
+
"annotationText": {
|
|
13
13
|
"type": [
|
|
14
14
|
"string",
|
|
15
15
|
"null"
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"assetList": {
|
|
19
19
|
"$ref": "#/definitions/PklAssetList"
|
|
20
20
|
},
|
|
21
21
|
"creator": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"null"
|
|
25
25
|
]
|
|
26
26
|
},
|
|
27
|
-
"
|
|
27
|
+
"groupId": {
|
|
28
28
|
"description": "Optional group identifier for partial deliveries (SMPTE ST 2067-2 §9).",
|
|
29
29
|
"anyOf": [
|
|
30
30
|
{
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"id": {
|
|
39
39
|
"$ref": "#/definitions/ImfUuid"
|
|
40
40
|
},
|
|
41
|
-
"
|
|
41
|
+
"issueDate": {
|
|
42
42
|
"description": "ISO 8601 issue date.",
|
|
43
43
|
"type": "string"
|
|
44
44
|
},
|
|
@@ -140,11 +140,11 @@
|
|
|
140
140
|
"required": [
|
|
141
141
|
"hash",
|
|
142
142
|
"id",
|
|
143
|
-
"
|
|
143
|
+
"mimeType",
|
|
144
144
|
"size"
|
|
145
145
|
],
|
|
146
146
|
"properties": {
|
|
147
|
-
"
|
|
147
|
+
"annotationText": {
|
|
148
148
|
"type": [
|
|
149
149
|
"string",
|
|
150
150
|
"null"
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"id": {
|
|
162
162
|
"$ref": "#/definitions/ImfUuid"
|
|
163
163
|
},
|
|
164
|
-
"
|
|
164
|
+
"mimeType": {
|
|
165
165
|
"description": "MIME type of the asset file (SMPTE ST 2067-2 §9.4).",
|
|
166
166
|
"allOf": [
|
|
167
167
|
{
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
}
|
|
170
170
|
]
|
|
171
171
|
},
|
|
172
|
-
"
|
|
172
|
+
"originalFileName": {
|
|
173
173
|
"type": [
|
|
174
174
|
"string",
|
|
175
175
|
"null"
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"description": "VOLINDEX document (SMPTE ST 2067-9 §5 / ST 429-9:2014).\n\nIn practice this is always `<Index>1</Index>` for single-volume IMF packages. The spec allows multi-volume packages but they are rarely used.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"required": [
|
|
7
|
-
"
|
|
7
|
+
"index"
|
|
8
8
|
],
|
|
9
9
|
"properties": {
|
|
10
|
-
"
|
|
10
|
+
"index": {
|
|
11
11
|
"description": "The volume count. Almost always `1`.",
|
|
12
12
|
"type": "integer",
|
|
13
13
|
"format": "uint32",
|