@imferno/schema 2.0.0 → 2.0.1-beta.03660c5
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/README.md +1 -1
- package/package.json +1 -1
- package/schemas/imf-report.json +13 -4
- package/schemas/packing-list.json +1 -1
- package/schemas/validation-report.json +13 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @imferno/schema
|
|
2
2
|
|
|
3
|
-
JSON Schema definitions for SMPTE ST 2067 (IMF) types. Use these schemas to validate the JSON output from [`imferno`](https://www.npmjs.com/package/imferno)
|
|
3
|
+
JSON Schema definitions for SMPTE ST 2067 (IMF) types. Use these schemas to validate the JSON output from [`imferno`](https://www.npmjs.com/package/imferno), [`@imferno/wasm`](https://www.npmjs.com/package/@imferno/wasm), or [`@imferno/node`](https://www.npmjs.com/package/@imferno/node).
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
package/package.json
CHANGED
package/schemas/imf-report.json
CHANGED
|
@@ -290,15 +290,24 @@
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
|
+
"ImfUuid": {
|
|
294
|
+
"description": "A SMPTE IMF UUID, serialised as a bare UUID string (e.g. \"0eb3d1b9-b77b-4d3f-bbe5-7c69b15dca85\")",
|
|
295
|
+
"type": "string",
|
|
296
|
+
"format": "uuid"
|
|
297
|
+
},
|
|
293
298
|
"Location": {
|
|
294
299
|
"description": "Location where the issue was found",
|
|
295
300
|
"type": "object",
|
|
296
301
|
"properties": {
|
|
297
302
|
"cpl_id": {
|
|
298
303
|
"description": "CPL UUID if applicable",
|
|
299
|
-
"
|
|
300
|
-
|
|
301
|
-
|
|
304
|
+
"anyOf": [
|
|
305
|
+
{
|
|
306
|
+
"$ref": "#/definitions/ImfUuid"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "null"
|
|
310
|
+
}
|
|
302
311
|
]
|
|
303
312
|
},
|
|
304
313
|
"file": {
|
|
@@ -495,7 +504,7 @@
|
|
|
495
504
|
]
|
|
496
505
|
},
|
|
497
506
|
"code": {
|
|
498
|
-
"description": "Error code (e.g., \"
|
|
507
|
+
"description": "Error code (e.g., \"ST2067-2:2020:8.3/FileNotFound\")",
|
|
499
508
|
"type": "string"
|
|
500
509
|
},
|
|
501
510
|
"context": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"definitions": {
|
|
53
53
|
"AssetHash": {
|
|
54
|
-
"description": "A decoded asset hash from a Packing List, per SMPTE ST 2067-2 §9.\n\nPKL files carry base64-encoded SHA-1 digests for each tracked asset.",
|
|
54
|
+
"description": "A decoded asset hash from a Packing List, per SMPTE ST 2067-2 §9.\n\nPKL files carry base64-encoded SHA-1 or SHA-256 digests for each tracked asset.",
|
|
55
55
|
"type": "object",
|
|
56
56
|
"required": [
|
|
57
57
|
"algorithm",
|
|
@@ -159,15 +159,24 @@
|
|
|
159
159
|
}
|
|
160
160
|
]
|
|
161
161
|
},
|
|
162
|
+
"ImfUuid": {
|
|
163
|
+
"description": "A SMPTE IMF UUID, serialised as a bare UUID string (e.g. \"0eb3d1b9-b77b-4d3f-bbe5-7c69b15dca85\")",
|
|
164
|
+
"type": "string",
|
|
165
|
+
"format": "uuid"
|
|
166
|
+
},
|
|
162
167
|
"Location": {
|
|
163
168
|
"description": "Location where the issue was found",
|
|
164
169
|
"type": "object",
|
|
165
170
|
"properties": {
|
|
166
171
|
"cpl_id": {
|
|
167
172
|
"description": "CPL UUID if applicable",
|
|
168
|
-
"
|
|
169
|
-
|
|
170
|
-
|
|
173
|
+
"anyOf": [
|
|
174
|
+
{
|
|
175
|
+
"$ref": "#/definitions/ImfUuid"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "null"
|
|
179
|
+
}
|
|
171
180
|
]
|
|
172
181
|
},
|
|
173
182
|
"file": {
|
|
@@ -279,7 +288,7 @@
|
|
|
279
288
|
]
|
|
280
289
|
},
|
|
281
290
|
"code": {
|
|
282
|
-
"description": "Error code (e.g., \"
|
|
291
|
+
"description": "Error code (e.g., \"ST2067-2:2020:8.3/FileNotFound\")",
|
|
283
292
|
"type": "string"
|
|
284
293
|
},
|
|
285
294
|
"context": {
|