@imferno/wasm 3.0.2-beta.ead4fd5 → 3.0.2-beta.f5a3d3f

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 CHANGED
@@ -17,28 +17,29 @@ The package ships a prebuilt `.wasm` binary -- no build step required.
17
17
  ## Usage
18
18
 
19
19
  ```javascript
20
- import { buildReport, formatReport, codes, getVersion } from '@imferno/wasm';
20
+ import { validate, formatReport, codes, getVersion } from '@imferno/wasm';
21
21
 
22
22
  // Validate a full IMF package (pass all XML files as a map)
23
- const report = await buildReport({
23
+ const result = await validate({
24
24
  'ASSETMAP.xml': assetmapXml,
25
25
  'PKL_abc.xml': pklXml,
26
26
  'CPL_def.xml': cplXml,
27
27
  });
28
28
 
29
- // Pretty-print the report
30
- console.log(await formatReport(report));
29
+ // Pretty-print the result
30
+ console.log(await formatReport(result));
31
31
 
32
32
  // Check compliance programmatically
33
- if (!report.validation.is_compliant) {
34
- for (const err of report.validation.errors) {
33
+ if (!result.validation.is_compliant) {
34
+ for (const err of result.validation.errors) {
35
35
  console.error(err.code, err.message);
36
36
  }
37
37
  }
38
38
 
39
39
  // Inspect package metadata
40
- console.log('CPL count:', report.package.cplCount);
41
- console.log('CPLs:', report.cpls);
40
+ const cpls = Object.values(result.package.compositionPlaylists);
41
+ console.log('CPL count:', cpls.length);
42
+ console.log('Titles:', cpls.map((cpl) => cpl.contentTitle));
42
43
 
43
44
  // Get library version
44
45
  console.log(await getVersion());
@@ -72,10 +73,15 @@ WASM initialization is handled automatically on first call.
72
73
 
73
74
  | Export | Description |
74
75
  |--------|-------------|
75
- | `buildReport(files, options?)` | Parse and validate an IMF package, returns an `ImfReport` |
76
- | `formatReport(report)` | Render an `ImfReport` as a human-readable string |
76
+ | `validate(files, options?)` | Parse and validate an IMF package, returns `{ package, validation }` (`ValidationResult`) |
77
+ | `parsePackage(files)` | Parse without validating, returns the full package (`Imferno`) |
78
+ | `buildReport(files, options?)` | Legacy: parse and validate, returns an `ImfReport` summary |
79
+ | `formatReport(result)` | Render a `ValidationResult` (or legacy `ImfReport`) as a human-readable string |
77
80
  | `codes` | Typed validation code constants for use in `rules` config |
78
81
  | `getVersion()` | Get library version |
82
+ | `init(wasmBytes?)` | Optional explicit initialisation |
83
+
84
+ All value types (`ValidationResult`, `ValidationIssue`, `ValidateOptions`, ...) are exported for TypeScript.
79
85
 
80
86
  All exports are **async** (WASM must be initialized before use).
81
87
 
@@ -118,7 +124,7 @@ All exports are **async** (WASM must be initialized before use).
118
124
  | Field | Values | Default |
119
125
  |-------|--------|---------|
120
126
  | `coreSpec` | `"auto"`, `"v2013"`, `"v2016"`, `"v2020"` | auto-detect |
121
- | `app2eSpec` | `"auto"`, `"none"`, `"v2020"`, `"v2021"`, `"v2023"` | auto-detect |
127
+ | `app2eSpec` | `"auto"`, `"none"`, `"v2014"`, `"v2016"`, `"v2020"`, `"v2023"`, `"v2026"` | auto-detect |
122
128
  | `rules` | ESLint-style rules object (`{ [code]: severity }`) | all enabled |
123
129
 
124
130
  Rule severities: `"critical"`, `"error"`, `"warning"`, `"info"`, `"off"`.
package/codes.d.ts CHANGED
@@ -3,6 +3,12 @@ export declare const codes: {
3
3
  readonly ST429_9_2014: {
4
4
  readonly VolindexMissing: "ST429-9:2014:7/VolindexMissing";
5
5
  readonly MalformedXml: "ST429-9:2014:7/MalformedXml";
6
+ readonly PathNotRelative: "ST429-9:2014:A.2/PathNotRelative";
7
+ readonly PathCharacters: "ST429-9:2014:A.2/PathCharacters";
8
+ readonly PathTooLong: "ST429-9:2014:A.2/PathTooLong";
9
+ readonly PathTooManySegments: "ST429-9:2014:A.2/PathTooManySegments";
10
+ readonly PathDuplicate: "ST429-9:2014:A.2/PathDuplicate";
11
+ readonly AssetMapFileName: "ST429-9:2014:A.4/AssetMapFileName";
6
12
  };
7
13
  readonly ST377_1_2011: {
8
14
  readonly NotMxf: "ST377-1:2011:5/NotMxf";
@@ -12,6 +18,7 @@ export declare const codes: {
12
18
  readonly NonHeaderFirstPartition: "ST377-1:2011:6.4/NonHeaderFirstPartition";
13
19
  readonly HeaderPartitionOpen: "ST377-1:2011:8.3.3/HeaderPartitionOpen";
14
20
  readonly MissingHeaderMetadata: "ST377-1:2011:8.3.3/MissingHeaderMetadata";
21
+ readonly StructuralComponentDurationMissing: "ST377-1:2011:B.8/StructuralComponentDurationMissing";
15
22
  };
16
23
  readonly ST2067_2_2020: {
17
24
  readonly AssetMap: "ST2067-2:2020:7/AssetMap";
@@ -22,6 +29,7 @@ export declare const codes: {
22
29
  readonly FileNotFound: "ST2067-2:2020:8.3/FileNotFound";
23
30
  readonly ChecksumMismatch: "ST2067-2:2020:8.3/ChecksumMismatch";
24
31
  readonly UnresolvedUuid: "ST2067-2:2020:7/UnresolvedUuid";
32
+ readonly TrackFileNotInPackage: "ST2067-2:2020:7.1/TrackFileNotInPackage";
25
33
  readonly DuplicateUuid: "ST2067-2:2020:7/DuplicateUuid";
26
34
  readonly IoError: "IMF:General/IoError";
27
35
  readonly EssenceDescriptorList: "ST2067-2:2020:6.4.2/EssenceDescriptorList";
@@ -50,7 +58,6 @@ export declare const codes: {
50
58
  readonly UniqueResourceId: "ST2067-2:2013:6.1/UniqueResourceId";
51
59
  readonly IntrinsicDuration: "ST2067-2:2013:6.10/IntrinsicDuration";
52
60
  readonly EntryPoint: "ST2067-2:2013:6.10/EntryPoint";
53
- readonly SourceDuration: "ST2067-2:2013:6.10/SourceDuration";
54
61
  readonly ResourceDuration: "ST2067-2:2013:6.10/ResourceDuration";
55
62
  readonly RepeatCount: "ST2067-2:2013:6.10/RepeatCount";
56
63
  readonly TrackFileId: "ST2067-2:2013:6.10/TrackFileId";
@@ -65,9 +72,10 @@ export declare const codes: {
65
72
  readonly SoundfieldGroup: "ST2067-2:2013:ST377-4/SoundfieldGroup";
66
73
  readonly MCATagSymbol: "ST2067-2:2013:ST377-4/MCATagSymbol";
67
74
  readonly SoundfieldChannelCount: "ST2067-2:2013:ST377-4/SoundfieldChannelCount";
68
- readonly DigitalSignature: "ST2067-2:2013:8/DigitalSignature";
75
+ readonly DigitalSignature: "ST2067-2:2013:6.9/DigitalSignature";
69
76
  readonly DanglingEssenceDescriptor: "ST2067-2:2013:6.4.2/DanglingEssenceDescriptor";
70
77
  readonly EssenceDescriptorList: "ST2067-2:2013:6.4.2/EssenceDescriptorList";
78
+ readonly CplIdAssetMapMismatch: "ST2067-2:2013:7.2/CplIdAssetMapMismatch";
71
79
  };
72
80
  readonly ST2067_2_2016_Core: {
73
81
  readonly ResourceListEmpty: "ST2067-2:2016:XSD/ResourceList-Empty";
@@ -90,7 +98,6 @@ export declare const codes: {
90
98
  readonly UniqueResourceId: "ST2067-2:2016:6.1/UniqueResourceId";
91
99
  readonly IntrinsicDuration: "ST2067-2:2016:6.10/IntrinsicDuration";
92
100
  readonly EntryPoint: "ST2067-2:2016:6.10/EntryPoint";
93
- readonly SourceDuration: "ST2067-2:2016:6.10/SourceDuration";
94
101
  readonly ResourceDuration: "ST2067-2:2016:6.10/ResourceDuration";
95
102
  readonly RepeatCount: "ST2067-2:2016:6.10/RepeatCount";
96
103
  readonly TrackFileId: "ST2067-2:2016:6.10/TrackFileId";
@@ -105,9 +112,10 @@ export declare const codes: {
105
112
  readonly SoundfieldGroup: "ST2067-2:2016:ST377-4/SoundfieldGroup";
106
113
  readonly MCATagSymbol: "ST2067-2:2016:ST377-4/MCATagSymbol";
107
114
  readonly SoundfieldChannelCount: "ST2067-2:2016:ST377-4/SoundfieldChannelCount";
108
- readonly DigitalSignature: "ST2067-2:2016:8/DigitalSignature";
115
+ readonly DigitalSignature: "ST2067-2:2016:6.9/DigitalSignature";
109
116
  readonly DanglingEssenceDescriptor: "ST2067-2:2016:6.4.2/DanglingEssenceDescriptor";
110
117
  readonly EssenceDescriptorList: "ST2067-2:2016:6.4.2/EssenceDescriptorList";
118
+ readonly CplIdAssetMapMismatch: "ST2067-2:2016:7.3.1/CplIdAssetMapMismatch";
111
119
  };
112
120
  readonly ST2067_2_2020_Core: {
113
121
  readonly ResourceListEmpty: "ST2067-2:2020:XSD/ResourceList-Empty";
@@ -130,7 +138,6 @@ export declare const codes: {
130
138
  readonly UniqueResourceId: "ST2067-2:2020:6.1/UniqueResourceId";
131
139
  readonly IntrinsicDuration: "ST2067-2:2020:6.10/IntrinsicDuration";
132
140
  readonly EntryPoint: "ST2067-2:2020:6.10/EntryPoint";
133
- readonly SourceDuration: "ST2067-2:2020:6.10/SourceDuration";
134
141
  readonly ResourceDuration: "ST2067-2:2020:6.10/ResourceDuration";
135
142
  readonly RepeatCount: "ST2067-2:2020:6.10/RepeatCount";
136
143
  readonly TrackFileId: "ST2067-2:2020:6.10/TrackFileId";
@@ -145,9 +152,10 @@ export declare const codes: {
145
152
  readonly SoundfieldGroup: "ST2067-2:2020:ST377-4/SoundfieldGroup";
146
153
  readonly MCATagSymbol: "ST2067-2:2020:ST377-4/MCATagSymbol";
147
154
  readonly SoundfieldChannelCount: "ST2067-2:2020:ST377-4/SoundfieldChannelCount";
148
- readonly DigitalSignature: "ST2067-2:2020:8/DigitalSignature";
155
+ readonly DigitalSignature: "ST2067-2:2020:6.9/DigitalSignature";
149
156
  readonly DanglingEssenceDescriptor: "ST2067-2:2020:6.4.2/DanglingEssenceDescriptor";
150
157
  readonly EssenceDescriptorList: "ST2067-2:2020:6.4.2/EssenceDescriptorList";
158
+ readonly CplIdAssetMapMismatch: "ST2067-2:2020:7.3.1/CplIdAssetMapMismatch";
151
159
  };
152
160
  readonly ST2067_3_2013: {
153
161
  readonly ContentKindUnknown: "ST2067-3:2013:5.5.1.2/ContentKindUnknown";
@@ -191,15 +199,90 @@ export declare const codes: {
191
199
  readonly CplNotFound: "ST2067-9:2018:7.3.1.1/CplNotFound";
192
200
  readonly DuplicateCplId: "ST2067-9:2018:7.3.1.1/DuplicateCplId";
193
201
  };
202
+ readonly ST2067_21_2014: {
203
+ readonly ColorSystem: "ST2067-21:2014:6.1/ColorSystem";
204
+ readonly BlackRefLevel: "ST2067-21:2014:6.1.4/BlackRefLevel";
205
+ readonly WhiteRefLevel: "ST2067-21:2014:6.1.4/WhiteRefLevel";
206
+ readonly ColorRange: "ST2067-21:2014:6.1.4/ColorRange";
207
+ readonly ApplicationIdentification: "ST2067-21:2014:7/ApplicationIdentification";
208
+ readonly AppIdMismatch: "ST2067-21:2014:7/AppIdMismatch";
209
+ };
210
+ readonly ST2067_21_2016: {
211
+ readonly ColorSystem: "ST2067-21:2016:6.1/ColorSystem";
212
+ readonly ComponentRefValues: "ST2067-21:2016:6.2/ComponentRefValues";
213
+ readonly BlackRefLevel: "ST2067-21:2016:6.3/BlackRefLevel";
214
+ readonly WhiteRefLevel: "ST2067-21:2016:6.3/WhiteRefLevel";
215
+ readonly ColorRange: "ST2067-21:2016:6.3/ColorRange";
216
+ readonly ApplicationIdentification: "ST2067-21:2016:7.1/ApplicationIdentification";
217
+ readonly AppIdMismatch: "ST2067-21:2016:7.1/AppIdMismatch";
218
+ readonly MaxCLLMaxFALL: "ST2067-21:2016:7.2/MaxCLLMaxFALL";
219
+ };
194
220
  readonly ST2067_21_2020: {
221
+ readonly FrameRate: "ST2067-21:2020:5.2/FrameRate";
222
+ readonly Resolution: "ST2067-21:2020:5.2/Resolution";
223
+ readonly ColorSystem: "ST2067-21:2020:6.2/ColorSystem";
224
+ readonly RequiredStoredWidth: "ST2067-21:2020:6.2/Required-StoredWidth";
225
+ readonly RequiredStoredHeight: "ST2067-21:2020:6.2/Required-StoredHeight";
226
+ readonly RequiredSampleRate: "ST2067-21:2020:6.2/Required-SampleRate";
227
+ readonly RequiredFrameLayout: "ST2067-21:2020:6.2/Required-FrameLayout";
228
+ readonly RequiredColorPrimaries: "ST2067-21:2020:6.2/Required-ColorPrimaries";
229
+ readonly RequiredTransferCharacteristic: "ST2067-21:2020:6.2/Required-TransferCharacteristic";
230
+ readonly RequiredPictureCompression: "ST2067-21:2020:6.2/Required-PictureCompression";
231
+ readonly RequiredComponentDepth: "ST2067-21:2020:6.2/Required-ComponentDepth";
232
+ readonly AlphaTransparency: "ST2067-21:2020:6.2.1/AlphaTransparency";
233
+ readonly CodingEquationsMissing: "ST2067-21:2020:6.2.1/CodingEquationsMissing";
234
+ readonly ColorPrimariesMissing: "ST2067-21:2020:6.2.1/ColorPrimariesMissing";
235
+ readonly FieldDominance: "ST2067-21:2020:6.2.1/FieldDominance";
236
+ readonly FrameLayout: "ST2067-21:2020:6.2.1/FrameLayout";
237
+ readonly FrameLayoutInterlaced: "ST2067-21:2020:6.2.1/FrameLayoutInterlaced";
238
+ readonly ImageAlignmentOffset: "ST2067-21:2020:6.2.1/ImageAlignmentOffset";
239
+ readonly ImageEndOffset: "ST2067-21:2020:6.2.1/ImageEndOffset";
240
+ readonly ImageStartOffset: "ST2067-21:2020:6.2.1/ImageStartOffset";
241
+ readonly SampledHeight: "ST2067-21:2020:6.2.1/SampledHeight";
242
+ readonly SampledWidth: "ST2067-21:2020:6.2.1/SampledWidth";
243
+ readonly SampledXOffset: "ST2067-21:2020:6.2.1/SampledXOffset";
244
+ readonly SampledYOffset: "ST2067-21:2020:6.2.1/SampledYOffset";
245
+ readonly StoredF2Offset: "ST2067-21:2020:6.2.1/StoredF2Offset";
246
+ readonly TransferCharacteristicMissing: "ST2067-21:2020:6.2.1/TransferCharacteristicMissing";
247
+ readonly TransferCharacteristicUnknown: "ST2067-21:2020:6.2.2/TransferCharacteristicUnknown";
248
+ readonly CodingEquationsUnknown: "ST2067-21:2020:6.2.3/CodingEquationsUnknown";
249
+ readonly ColorPrimariesUnknown: "ST2067-21:2020:6.2.4/ColorPrimariesUnknown";
250
+ readonly J2KRequired: "ST2067-21:2020:6.2.5/J2KRequired";
251
+ readonly AlphaMaxRef: "ST2067-21:2020:6.3/AlphaMaxRef";
252
+ readonly AlphaMinRef: "ST2067-21:2020:6.3/AlphaMinRef";
253
+ readonly ComponentMaxRef: "ST2067-21:2020:6.3/ComponentMaxRef";
254
+ readonly ComponentMinRef: "ST2067-21:2020:6.3/ComponentMinRef";
255
+ readonly Palette: "ST2067-21:2020:6.3/Palette";
256
+ readonly PaletteLayout: "ST2067-21:2020:6.3/PaletteLayout";
257
+ readonly ScanningDirection: "ST2067-21:2020:6.3/ScanningDirection";
258
+ readonly ComponentRefValues: "ST2067-21:2020:6.3.2/ComponentRefValues";
259
+ readonly AlphaSampleDepth: "ST2067-21:2020:6.4/AlphaSampleDepth";
260
+ readonly ColorSiting: "ST2067-21:2020:6.4/ColorSiting";
261
+ readonly ComponentDepth: "ST2067-21:2020:6.4/ComponentDepth";
262
+ readonly HorizontalSubsampling: "ST2067-21:2020:6.4/HorizontalSubsampling";
263
+ readonly PaddingBits: "ST2067-21:2020:6.4/PaddingBits";
264
+ readonly ReversedByteOrder: "ST2067-21:2020:6.4/ReversedByteOrder";
265
+ readonly VerticalSubsampling: "ST2067-21:2020:6.4/VerticalSubsampling";
266
+ readonly BlackRefLevel: "ST2067-21:2020:6.4.3/BlackRefLevel";
267
+ readonly ColorRange: "ST2067-21:2020:6.4.3/ColorRange";
268
+ readonly WhiteRefLevel: "ST2067-21:2020:6.4.3/WhiteRefLevel";
269
+ readonly CodingStyle: "ST2067-21:2020:6.5.2/CodingStyle";
270
+ readonly J2CLayout: "ST2067-21:2020:6.5.2/J2CLayout";
271
+ readonly JPEG2000SubDescriptor: "ST2067-21:2020:6.5.2/JPEG2000SubDescriptor";
272
+ readonly J2KHTNotAllowed: "ST2067-21:2020:6.2.5/J2K-HT-Not-Allowed";
273
+ readonly J2K4KResolution: "ST2067-21:2020:6.2.5/J2K-4K-Resolution";
274
+ readonly J2K2KResolution: "ST2067-21:2020:6.2.5/J2K-2K-Resolution";
275
+ readonly J2KBCPResolution: "ST2067-21:2020:6.2.5/J2K-BCP-Resolution";
276
+ readonly J2KProfileNotAllowed: "ST2067-21:2020:6.2.5/J2K-Profile-Not-Allowed";
277
+ readonly ApplicationIdentification: "ST2067-21:2020:7.1/ApplicationIdentification";
278
+ readonly HomogeneousImageEssence: "ST2067-21:2020:7.2/HomogeneousImageEssence";
195
279
  readonly AppIdMismatch: "ST2067-21:2020:7.1/AppIdMismatch";
280
+ readonly SegmentDurationMultiple: "ST2067-21:2020:7.4/SegmentDurationMultiple";
281
+ readonly MaxCLLMaxFALL: "ST2067-21:2020:7.5/MaxCLLMaxFALL";
196
282
  };
197
283
  readonly ST2067_21_2023: {
198
284
  readonly FrameRate: "ST2067-21:2023:5.2/FrameRate";
199
285
  readonly Resolution: "ST2067-21:2023:5.2/Resolution";
200
- readonly EmptyLanguageTag: "ST2067-21:2023:5.3/EmptyLanguageTag";
201
- readonly MalformedLanguageTag: "ST2067-21:2023:5.3/MalformedLanguageTag";
202
- readonly RegionCode: "ST2067-21:2023:5.3/RegionCode";
203
286
  readonly ColorSystem: "ST2067-21:2023:6.2/ColorSystem";
204
287
  readonly RequiredStoredWidth: "ST2067-21:2023:6.2/Required-StoredWidth";
205
288
  readonly RequiredStoredHeight: "ST2067-21:2023:6.2/Required-StoredHeight";
@@ -209,8 +292,6 @@ export declare const codes: {
209
292
  readonly RequiredTransferCharacteristic: "ST2067-21:2023:6.2/Required-TransferCharacteristic";
210
293
  readonly RequiredPictureCompression: "ST2067-21:2023:6.2/Required-PictureCompression";
211
294
  readonly RequiredComponentDepth: "ST2067-21:2023:6.2/Required-ComponentDepth";
212
- readonly RequiredChannelCount: "ST2067-21:2023:6.5/Required-ChannelCount";
213
- readonly RequiredQuantizationBits: "ST2067-21:2023:6.5/Required-QuantizationBits";
214
295
  readonly AlphaTransparency: "ST2067-21:2023:6.2.1/AlphaTransparency";
215
296
  readonly CodingEquationsMissing: "ST2067-21:2023:6.2.1/CodingEquationsMissing";
216
297
  readonly ColorPrimariesMissing: "ST2067-21:2023:6.2.1/ColorPrimariesMissing";
@@ -248,78 +329,144 @@ export declare const codes: {
248
329
  readonly BlackRefLevel: "ST2067-21:2023:6.4.3/BlackRefLevel";
249
330
  readonly ColorRange: "ST2067-21:2023:6.4.3/ColorRange";
250
331
  readonly WhiteRefLevel: "ST2067-21:2023:6.4.3/WhiteRefLevel";
251
- readonly AudioSampleRate: "ST2067-21:2023:6.5/AudioSampleRate";
252
- readonly QuantizationBits: "ST2067-21:2023:6.5/QuantizationBits";
253
332
  readonly CodingStyle: "ST2067-21:2023:6.5.2/CodingStyle";
254
333
  readonly J2CLayout: "ST2067-21:2023:6.5.2/J2CLayout";
255
334
  readonly J2KExtendedCapabilities: "ST2067-21:2023:6.5.2/J2KExtendedCapabilities";
256
335
  readonly JPEG2000SubDescriptor: "ST2067-21:2023:6.5.2/JPEG2000SubDescriptor";
257
- readonly J2KHTNotAllowed: "ST2067-21:2023:6.2.5/J2K-HT-Not-Allowed";
258
336
  readonly J2K4KResolution: "ST2067-21:2023:6.2.5/J2K-4K-Resolution";
259
337
  readonly J2K2KResolution: "ST2067-21:2023:6.2.5/J2K-2K-Resolution";
260
338
  readonly J2KBCPResolution: "ST2067-21:2023:6.2.5/J2K-BCP-Resolution";
339
+ readonly J2KProfileNotAllowed: "ST2067-21:2023:6.2.5/J2K-Profile-Not-Allowed";
261
340
  readonly ApplicationIdentification: "ST2067-21:2023:7.1/ApplicationIdentification";
262
- readonly ContentMaturityRatingAgency: "ST2067-21:2023:7.1/ContentMaturityRating-Agency";
263
- readonly ContentMaturityRatingAgencyURI: "ST2067-21:2023:7.1/ContentMaturityRating-Agency-URI";
264
341
  readonly HomogeneousImageEssence: "ST2067-21:2023:7.2/HomogeneousImageEssence";
265
342
  readonly AppIdMismatch: "ST2067-21:2023:7.1/AppIdMismatch";
266
343
  readonly SegmentDurationMultiple: "ST2067-21:2023:7.4/SegmentDurationMultiple";
267
344
  readonly MaxCLLMaxFALL: "ST2067-21:2023:7.5/MaxCLLMaxFALL";
268
345
  };
269
- readonly ST2067_21_2025: {
270
- readonly FNTimedText: "ST2067-21:2025:5.6/FNTimedText";
271
- readonly HICTimedText: "ST2067-21:2025:5.6/HICTimedText";
346
+ readonly ST2067_21_2026: {
347
+ readonly FrameRate: "ST2067-21:2026:6.2.1/FrameRate";
348
+ readonly Resolution: "ST2067-21:2026:6.2.1/Resolution";
349
+ readonly ColorSystem: "ST2067-21:2026:7.2/ColorSystem";
350
+ readonly RequiredStoredWidth: "ST2067-21:2026:7.2.1.1/Required-StoredWidth";
351
+ readonly RequiredStoredHeight: "ST2067-21:2026:7.2.1.1/Required-StoredHeight";
352
+ readonly RequiredSampleRate: "ST2067-21:2026:7.2.1.1/Required-SampleRate";
353
+ readonly RequiredFrameLayout: "ST2067-21:2026:7.2.1.1/Required-FrameLayout";
354
+ readonly RequiredColorPrimaries: "ST2067-21:2026:7.2.1.1/Required-ColorPrimaries";
355
+ readonly RequiredTransferCharacteristic: "ST2067-21:2026:7.2.1.1/Required-TransferCharacteristic";
356
+ readonly RequiredPictureCompression: "ST2067-21:2026:7.2.1.1/Required-PictureCompression";
357
+ readonly RequiredComponentDepth: "ST2067-21:2026:7.4.1/Required-ComponentDepth";
358
+ readonly CodingEquationsMissing: "ST2067-21:2026:7.2.1.1/CodingEquationsMissing";
359
+ readonly ColorPrimariesMissing: "ST2067-21:2026:7.2.1.1/ColorPrimariesMissing";
360
+ readonly FieldDominance: "ST2067-21:2026:7.2.1.1/FieldDominance";
361
+ readonly FrameLayout: "ST2067-21:2026:7.2.1.4/FrameLayout";
362
+ readonly FrameLayoutInterlaced: "ST2067-21:2026:6.2.1/FrameLayoutInterlaced";
363
+ readonly ImageAlignmentOffset: "ST2067-21:2026:7.2.1.1/ImageAlignmentOffset";
364
+ readonly ImageEndOffset: "ST2067-21:2026:7.2.1.1/ImageEndOffset";
365
+ readonly ImageStartOffset: "ST2067-21:2026:7.2.1.1/ImageStartOffset";
366
+ readonly SampledHeight: "ST2067-21:2026:7.2.1.1/SampledHeight";
367
+ readonly SampledWidth: "ST2067-21:2026:7.2.1.1/SampledWidth";
368
+ readonly SampledXOffset: "ST2067-21:2026:7.2.1.1/SampledXOffset";
369
+ readonly SampledYOffset: "ST2067-21:2026:7.2.1.1/SampledYOffset";
370
+ readonly StoredF2Offset: "ST2067-21:2026:7.2.1.1/StoredF2Offset";
371
+ readonly TransferCharacteristicMissing: "ST2067-21:2026:7.2.1.1/TransferCharacteristicMissing";
372
+ readonly TransferCharacteristicUnknown: "ST2067-21:2026:7.2.2/TransferCharacteristicUnknown";
373
+ readonly CodingEquationsUnknown: "ST2067-21:2026:7.2.3/CodingEquationsUnknown";
374
+ readonly ColorPrimariesUnknown: "ST2067-21:2026:7.2.4/ColorPrimariesUnknown";
375
+ readonly J2KRequired: "ST2067-21:2026:7.2.5/J2KRequired";
376
+ readonly AlphaMaxRef: "ST2067-21:2026:7.3.1/AlphaMaxRef";
377
+ readonly AlphaMinRef: "ST2067-21:2026:7.3.1/AlphaMinRef";
378
+ readonly ComponentMaxRef: "ST2067-21:2026:7.3.1/ComponentMaxRef";
379
+ readonly ComponentMinRef: "ST2067-21:2026:7.3.1/ComponentMinRef";
380
+ readonly Palette: "ST2067-21:2026:7.3.1/Palette";
381
+ readonly PaletteLayout: "ST2067-21:2026:7.3.1/PaletteLayout";
382
+ readonly ScanningDirection: "ST2067-21:2026:7.3.1/ScanningDirection";
383
+ readonly ComponentRefValues: "ST2067-21:2026:7.3.2/ComponentRefValues";
384
+ readonly AlphaSampleDepth: "ST2067-21:2026:7.4.1/AlphaSampleDepth";
385
+ readonly ColorSiting: "ST2067-21:2026:7.4.1/ColorSiting";
386
+ readonly ComponentDepth: "ST2067-21:2026:7.4.1/ComponentDepth";
387
+ readonly HorizontalSubsampling: "ST2067-21:2026:7.4.2/HorizontalSubsampling";
388
+ readonly PaddingBits: "ST2067-21:2026:7.4.1/PaddingBits";
389
+ readonly ReversedByteOrder: "ST2067-21:2026:7.4.1/ReversedByteOrder";
390
+ readonly VerticalSubsampling: "ST2067-21:2026:7.4.1/VerticalSubsampling";
391
+ readonly BlackRefLevel: "ST2067-21:2026:7.4.3/BlackRefLevel";
392
+ readonly ColorRange: "ST2067-21:2026:7.4.3/ColorRange";
393
+ readonly WhiteRefLevel: "ST2067-21:2026:7.4.3/WhiteRefLevel";
394
+ readonly CodingStyle: "ST2067-21:2026:7.5.1/CodingStyle";
395
+ readonly J2CLayout: "ST2067-21:2026:7.5.2/J2CLayout";
396
+ readonly J2KExtendedCapabilities: "ST2067-21:2026:7.5.1/J2KExtendedCapabilities";
397
+ readonly JPEG2000SubDescriptor: "ST2067-21:2026:7.5.1/JPEG2000SubDescriptor";
398
+ readonly HTIRVParameterBMax: "ST2067-21:2026:H/HT-IRV-ParameterB-Max";
399
+ readonly HTIRVParameterBRecommended: "ST2067-21:2026:H/HT-IRV-ParameterB-Recommended";
400
+ readonly J2K4KResolution: "ST2067-21:2026:7.2.5/J2K-4K-Resolution";
401
+ readonly J2K2KResolution: "ST2067-21:2026:7.2.5/J2K-2K-Resolution";
402
+ readonly J2KBCPResolution: "ST2067-21:2026:7.2.5/J2K-BCP-Resolution";
403
+ readonly J2K8KResolution: "ST2067-21:2026:7.2.5/J2K-8K-Resolution";
404
+ readonly ApplicationIdentification: "ST2067-21:2026:8.1/ApplicationIdentification";
405
+ readonly AppIdMismatch: "ST2067-21:2026:8.1/AppIdMismatch";
406
+ readonly HomogeneousImageEssence: "ST2067-21:2026:8.2/HomogeneousImageEssence";
407
+ readonly SegmentDurationMultiple: "ST2067-21:2026:8.3.2/SegmentDurationMultiple";
408
+ readonly MaxCLLMaxFALL: "ST2067-21:2026:8.3.3/MaxCLLMaxFALL";
272
409
  };
273
410
  readonly ST2067_201_2019: {
274
411
  readonly CodecForbidden: "ST2067-201:2019:5.9/CodecForbidden";
275
- readonly ElectrospatialFormulationForbidden: "ST2067-201:2019:5.9/ElectrospatialFormulationForbidden";
412
+ readonly ElectrospatialFormulationInvalid: "ST2067-201:2019:5.9/ElectrospatialFormulationInvalid";
276
413
  readonly QuantizationBitsMissing: "ST2067-201:2019:5.9/QuantizationBitsMissing";
277
414
  readonly QuantizationBitsInvalid: "ST2067-201:2019:5.9/QuantizationBitsInvalid";
278
- readonly ContainerFormatMissing: "ST2067-201:2019:5.3/ContainerFormatMissing";
279
- readonly EssenceContainerInvalid: "ST2067-201:2019:5.3/EssenceContainerInvalid";
415
+ readonly ContainerFormatMissing: "ST2067-201:2019:5.9/ContainerFormatMissing";
416
+ readonly EssenceContainerInvalid: "ST2067-201:2019:5.9/EssenceContainerInvalid";
280
417
  readonly AudioSamplingRateMissing: "ST2067-201:2019:5.9/AudioSamplingRateMissing";
281
418
  readonly AudioSamplingRateInvalid: "ST2067-201:2019:5.9/AudioSamplingRateInvalid";
282
419
  readonly SoundCompressionMissing: "ST2067-201:2019:5.9/SoundCompressionMissing";
283
420
  readonly SoundCompressionInvalid: "ST2067-201:2019:5.9/SoundCompressionInvalid";
284
421
  readonly ChannelCountNotZero: "ST2067-201:2019:5.9/ChannelCountNotZero";
285
- readonly SubDescriptorMissing: "ST2067-201:2019:5.9/SubDescriptorMissing";
286
- readonly MCATagSymbolMissing: "ST2067-201:2019:5.9/MCATagSymbolMissing";
287
- readonly MCATagSymbolInvalid: "ST2067-201:2019:5.9/MCATagSymbolInvalid";
288
- readonly MCATagNameMissing: "ST2067-201:2019:5.9/MCATagNameMissing";
289
- readonly MCATagNameInvalid: "ST2067-201:2019:5.9/MCATagNameInvalid";
290
- readonly MCALabelDictionaryIDMissing: "ST2067-201:2019:5.9/MCALabelDictionaryIDMissing";
291
- readonly MCALabelDictionaryIDInvalid: "ST2067-201:2019:5.9/MCALabelDictionaryIDInvalid";
422
+ readonly SubDescriptorMissing: "ST2067-201:2019:5.10.2/SubDescriptorMissing";
423
+ readonly MCATagSymbolMissing: "ST2067-201:2019:5.10.4/MCATagSymbolMissing";
424
+ readonly MCATagSymbolInvalid: "ST2067-201:2019:5.10.4/MCATagSymbolInvalid";
425
+ readonly MCATagNameMissing: "ST2067-201:2019:5.10.3/MCATagNameMissing";
426
+ readonly MCATagNameInvalid: "ST2067-201:2019:5.10.4/MCATagNameInvalid";
427
+ readonly MCALabelDictionaryIDMissing: "ST2067-201:2019:5.10.4/MCALabelDictionaryIDMissing";
428
+ readonly MCALabelDictionaryIDInvalid: "ST2067-201:2019:5.10.4/MCALabelDictionaryIDInvalid";
292
429
  readonly IABSequenceNoResources: "ST2067-201:2019:6.2/IABSequenceNoResources";
293
430
  readonly IABSequenceSourceEncodingInvalid: "ST2067-201:2019:6.2/IABSequenceSourceEncodingInvalid";
431
+ readonly ForbiddenMCASubDescriptor: "ST2067-201:2019:5.10.2/ForbiddenMCASubDescriptor";
432
+ readonly SubDescriptorDuplicate: "ST2067-201:2019:5.10.2/SubDescriptorDuplicate";
433
+ readonly MCAChannelIDForbidden: "ST2067-201:2019:C.2/MCAChannelIDForbidden";
434
+ readonly EditRateNotIntegerMultiple: "ST2067-201:2019:6.2/EditRateNotIntegerMultiple";
294
435
  };
295
436
  readonly ST2067_201_2021: {
296
437
  readonly CodecForbidden: "ST2067-201:2021:5.9/CodecForbidden";
297
- readonly ElectrospatialFormulationForbidden: "ST2067-201:2021:5.9/ElectrospatialFormulationForbidden";
438
+ readonly ElectrospatialFormulationInvalid: "ST2067-201:2021:5.9/ElectrospatialFormulationInvalid";
298
439
  readonly QuantizationBitsMissing: "ST2067-201:2021:5.9/QuantizationBitsMissing";
299
440
  readonly QuantizationBitsInvalid: "ST2067-201:2021:5.9/QuantizationBitsInvalid";
300
- readonly ContainerFormatMissing: "ST2067-201:2021:5.3/ContainerFormatMissing";
301
- readonly EssenceContainerInvalid: "ST2067-201:2021:5.3/EssenceContainerInvalid";
441
+ readonly ContainerFormatMissing: "ST2067-201:2021:5.9/ContainerFormatMissing";
442
+ readonly EssenceContainerInvalid: "ST2067-201:2021:5.9/EssenceContainerInvalid";
302
443
  readonly AudioSamplingRateMissing: "ST2067-201:2021:5.9/AudioSamplingRateMissing";
303
444
  readonly AudioSamplingRateInvalid: "ST2067-201:2021:5.9/AudioSamplingRateInvalid";
304
445
  readonly SoundCompressionMissing: "ST2067-201:2021:5.9/SoundCompressionMissing";
305
446
  readonly SoundCompressionInvalid: "ST2067-201:2021:5.9/SoundCompressionInvalid";
306
- readonly ChannelCountNotZero: "ST2067-201:2021:5.9/ChannelCountNotZero";
307
- readonly SubDescriptorMissing: "ST2067-201:2021:5.9/SubDescriptorMissing";
308
- readonly MCATagSymbolMissing: "ST2067-201:2021:5.9/MCATagSymbolMissing";
309
- readonly MCATagSymbolInvalid: "ST2067-201:2021:5.9/MCATagSymbolInvalid";
310
- readonly MCATagNameMissing: "ST2067-201:2021:5.9/MCATagNameMissing";
311
- readonly MCATagNameInvalid: "ST2067-201:2021:5.9/MCATagNameInvalid";
312
- readonly MCALabelDictionaryIDMissing: "ST2067-201:2021:5.9/MCALabelDictionaryIDMissing";
313
- readonly MCALabelDictionaryIDInvalid: "ST2067-201:2021:5.9/MCALabelDictionaryIDInvalid";
447
+ readonly SubDescriptorMissing: "ST2067-201:2021:5.10.2/SubDescriptorMissing";
448
+ readonly MCATagSymbolMissing: "ST2067-201:2021:5.10.4/MCATagSymbolMissing";
449
+ readonly MCATagSymbolInvalid: "ST2067-201:2021:5.10.4/MCATagSymbolInvalid";
450
+ readonly MCATagNameMissing: "ST2067-201:2021:5.10.3/MCATagNameMissing";
451
+ readonly MCATagNameInvalid: "ST2067-201:2021:5.10.4/MCATagNameInvalid";
452
+ readonly MCALabelDictionaryIDMissing: "ST2067-201:2021:5.10.4/MCALabelDictionaryIDMissing";
453
+ readonly MCALabelDictionaryIDInvalid: "ST2067-201:2021:5.10.4/MCALabelDictionaryIDInvalid";
314
454
  readonly IABSequenceNoResources: "ST2067-201:2021:6.2/IABSequenceNoResources";
315
455
  readonly IABSequenceSourceEncodingInvalid: "ST2067-201:2021:6.2/IABSequenceSourceEncodingInvalid";
456
+ readonly ForbiddenMCASubDescriptor: "ST2067-201:2021:5.10.2/ForbiddenMCASubDescriptor";
457
+ readonly SubDescriptorDuplicate: "ST2067-201:2021:5.10.2/SubDescriptorDuplicate";
458
+ readonly MCAChannelIDForbidden: "ST2067-201:2021:C.2/MCAChannelIDForbidden";
459
+ readonly EditRateNotIntegerMultiple: "ST2067-201:2021:6.2/EditRateNotIntegerMultiple";
316
460
  };
317
- readonly ST2067_202_2022: {
318
- readonly SubDescriptorMissing: "ST2067-202:2022:5/SubDescriptorMissing";
319
- readonly NamespaceUriMissing: "ST2067-202:2022:5/NamespaceUriMissing";
320
- readonly ISXDSequenceNoResources: "ST2067-202:2022:6/ISXDSequenceNoResources";
321
- readonly ISXDSequenceSourceEncodingInvalid: "ST2067-202:2022:6/ISXDSequenceSourceEncodingInvalid";
322
- readonly NamespaceUriMismatch: "ST2067-202:2022:6/NamespaceUriMismatch";
461
+ readonly ST2067_202_2023: {
462
+ readonly NamespaceUriMissing: "ST2067-202:2023:9.2/NamespaceUriMissing";
463
+ readonly ISXDSequenceNoResources: "ST2067-202:2023:6/ISXDSequenceNoResources";
464
+ readonly ISXDSequenceSourceEncodingInvalid: "ST2067-202:2023:6/ISXDSequenceSourceEncodingInvalid";
465
+ readonly NamespaceUriMismatch: "ST2067-202:2023:6/NamespaceUriMismatch";
466
+ readonly EditRateMismatch: "ST2067-202:2023:6/EditRateMismatch";
467
+ readonly ISXDVirtualTrackMissing: "ST2067-202:2023:6/ISXDVirtualTrackMissing";
468
+ readonly DataEssenceCodingMissing: "ST2067-202:2023:9.3/DataEssenceCodingMissing";
469
+ readonly DataEssenceCodingInvalid: "ST2067-202:2023:9.3/DataEssenceCodingInvalid";
323
470
  };
324
471
  readonly Imferno: {
325
472
  readonly UnreferencedAsset: "IMFERNO:Package/UnreferencedAsset";
@@ -331,5 +478,6 @@ export declare const codes: {
331
478
  readonly ReadDirError: "IMFERNO:Package/ReadDirError";
332
479
  readonly DirEntryError: "IMFERNO:Package/DirEntryError";
333
480
  readonly PathTraversal: "IMFERNO:Package/PathTraversal";
481
+ readonly ApplicationProfileNotValidated: "IMFERNO:Package/ApplicationProfileNotValidated";
334
482
  }
335
483
  };