@imferno/wasm 3.0.2-beta.f424a0b → 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,12 +3,22 @@ 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";
9
15
  readonly ParseError: "ST377-1:2011:5/ParseError";
10
16
  readonly NoEssenceContainers: "ST377-1:2011:11/NoEssenceContainers";
11
17
  readonly OP1a: "ST377-1:2011:7/OP1a";
18
+ readonly NonHeaderFirstPartition: "ST377-1:2011:6.4/NonHeaderFirstPartition";
19
+ readonly HeaderPartitionOpen: "ST377-1:2011:8.3.3/HeaderPartitionOpen";
20
+ readonly MissingHeaderMetadata: "ST377-1:2011:8.3.3/MissingHeaderMetadata";
21
+ readonly StructuralComponentDurationMissing: "ST377-1:2011:B.8/StructuralComponentDurationMissing";
12
22
  };
13
23
  readonly ST2067_2_2020: {
14
24
  readonly AssetMap: "ST2067-2:2020:7/AssetMap";
@@ -19,9 +29,13 @@ export declare const codes: {
19
29
  readonly FileNotFound: "ST2067-2:2020:8.3/FileNotFound";
20
30
  readonly ChecksumMismatch: "ST2067-2:2020:8.3/ChecksumMismatch";
21
31
  readonly UnresolvedUuid: "ST2067-2:2020:7/UnresolvedUuid";
32
+ readonly TrackFileNotInPackage: "ST2067-2:2020:7.1/TrackFileNotInPackage";
22
33
  readonly DuplicateUuid: "ST2067-2:2020:7/DuplicateUuid";
23
34
  readonly IoError: "IMF:General/IoError";
24
35
  readonly EssenceDescriptorList: "ST2067-2:2020:6.4.2/EssenceDescriptorList";
36
+ readonly PklUnknownNamespace: "ST2067-2:2020:9/PklUnknownNamespace";
37
+ readonly AssetMapHasNoPackingList: "ST429-9:2014:6.3/AssetMapHasNoPackingList";
38
+ readonly PklIdNotInAssetMap: "ST429-9:2014:6.3/PklIdNotInAssetMap";
25
39
  };
26
40
  readonly ST2067_2_2013_Core: {
27
41
  readonly ResourceListEmpty: "ST2067-2:2013:XSD/ResourceList-Empty";
@@ -44,7 +58,6 @@ export declare const codes: {
44
58
  readonly UniqueResourceId: "ST2067-2:2013:6.1/UniqueResourceId";
45
59
  readonly IntrinsicDuration: "ST2067-2:2013:6.10/IntrinsicDuration";
46
60
  readonly EntryPoint: "ST2067-2:2013:6.10/EntryPoint";
47
- readonly SourceDuration: "ST2067-2:2013:6.10/SourceDuration";
48
61
  readonly ResourceDuration: "ST2067-2:2013:6.10/ResourceDuration";
49
62
  readonly RepeatCount: "ST2067-2:2013:6.10/RepeatCount";
50
63
  readonly TrackFileId: "ST2067-2:2013:6.10/TrackFileId";
@@ -59,9 +72,10 @@ export declare const codes: {
59
72
  readonly SoundfieldGroup: "ST2067-2:2013:ST377-4/SoundfieldGroup";
60
73
  readonly MCATagSymbol: "ST2067-2:2013:ST377-4/MCATagSymbol";
61
74
  readonly SoundfieldChannelCount: "ST2067-2:2013:ST377-4/SoundfieldChannelCount";
62
- readonly DigitalSignature: "ST2067-2:2013:8/DigitalSignature";
75
+ readonly DigitalSignature: "ST2067-2:2013:6.9/DigitalSignature";
63
76
  readonly DanglingEssenceDescriptor: "ST2067-2:2013:6.4.2/DanglingEssenceDescriptor";
64
77
  readonly EssenceDescriptorList: "ST2067-2:2013:6.4.2/EssenceDescriptorList";
78
+ readonly CplIdAssetMapMismatch: "ST2067-2:2013:7.2/CplIdAssetMapMismatch";
65
79
  };
66
80
  readonly ST2067_2_2016_Core: {
67
81
  readonly ResourceListEmpty: "ST2067-2:2016:XSD/ResourceList-Empty";
@@ -84,7 +98,6 @@ export declare const codes: {
84
98
  readonly UniqueResourceId: "ST2067-2:2016:6.1/UniqueResourceId";
85
99
  readonly IntrinsicDuration: "ST2067-2:2016:6.10/IntrinsicDuration";
86
100
  readonly EntryPoint: "ST2067-2:2016:6.10/EntryPoint";
87
- readonly SourceDuration: "ST2067-2:2016:6.10/SourceDuration";
88
101
  readonly ResourceDuration: "ST2067-2:2016:6.10/ResourceDuration";
89
102
  readonly RepeatCount: "ST2067-2:2016:6.10/RepeatCount";
90
103
  readonly TrackFileId: "ST2067-2:2016:6.10/TrackFileId";
@@ -99,9 +112,10 @@ export declare const codes: {
99
112
  readonly SoundfieldGroup: "ST2067-2:2016:ST377-4/SoundfieldGroup";
100
113
  readonly MCATagSymbol: "ST2067-2:2016:ST377-4/MCATagSymbol";
101
114
  readonly SoundfieldChannelCount: "ST2067-2:2016:ST377-4/SoundfieldChannelCount";
102
- readonly DigitalSignature: "ST2067-2:2016:8/DigitalSignature";
115
+ readonly DigitalSignature: "ST2067-2:2016:6.9/DigitalSignature";
103
116
  readonly DanglingEssenceDescriptor: "ST2067-2:2016:6.4.2/DanglingEssenceDescriptor";
104
117
  readonly EssenceDescriptorList: "ST2067-2:2016:6.4.2/EssenceDescriptorList";
118
+ readonly CplIdAssetMapMismatch: "ST2067-2:2016:7.3.1/CplIdAssetMapMismatch";
105
119
  };
106
120
  readonly ST2067_2_2020_Core: {
107
121
  readonly ResourceListEmpty: "ST2067-2:2020:XSD/ResourceList-Empty";
@@ -124,7 +138,6 @@ export declare const codes: {
124
138
  readonly UniqueResourceId: "ST2067-2:2020:6.1/UniqueResourceId";
125
139
  readonly IntrinsicDuration: "ST2067-2:2020:6.10/IntrinsicDuration";
126
140
  readonly EntryPoint: "ST2067-2:2020:6.10/EntryPoint";
127
- readonly SourceDuration: "ST2067-2:2020:6.10/SourceDuration";
128
141
  readonly ResourceDuration: "ST2067-2:2020:6.10/ResourceDuration";
129
142
  readonly RepeatCount: "ST2067-2:2020:6.10/RepeatCount";
130
143
  readonly TrackFileId: "ST2067-2:2020:6.10/TrackFileId";
@@ -139,9 +152,10 @@ export declare const codes: {
139
152
  readonly SoundfieldGroup: "ST2067-2:2020:ST377-4/SoundfieldGroup";
140
153
  readonly MCATagSymbol: "ST2067-2:2020:ST377-4/MCATagSymbol";
141
154
  readonly SoundfieldChannelCount: "ST2067-2:2020:ST377-4/SoundfieldChannelCount";
142
- readonly DigitalSignature: "ST2067-2:2020:8/DigitalSignature";
155
+ readonly DigitalSignature: "ST2067-2:2020:6.9/DigitalSignature";
143
156
  readonly DanglingEssenceDescriptor: "ST2067-2:2020:6.4.2/DanglingEssenceDescriptor";
144
157
  readonly EssenceDescriptorList: "ST2067-2:2020:6.4.2/EssenceDescriptorList";
158
+ readonly CplIdAssetMapMismatch: "ST2067-2:2020:7.3.1/CplIdAssetMapMismatch";
145
159
  };
146
160
  readonly ST2067_3_2013: {
147
161
  readonly ContentKindUnknown: "ST2067-3:2013:5.5.1.2/ContentKindUnknown";
@@ -175,22 +189,6 @@ export declare const codes: {
175
189
  readonly ContentVersionIdDuplicate: "ST2067-3:2016:6.1.9/ContentVersionIdDuplicate";
176
190
  readonly SegmentDurationIntegerEditUnits: "ST2067-3:2016:7.3/SegmentDurationIntegerEditUnits";
177
191
  };
178
- readonly ST2067_3_2020: {
179
- readonly ContentKindUnknown: "ST2067-3:2020:5.5.1.2/ContentKindUnknown";
180
- readonly SourceEncodingNoEssenceDescriptorList: "ST2067-3:2020:6.4.2/SourceEncodingNoEssenceDescriptorList";
181
- readonly SourceEncodingUnresolved: "ST2067-3:2020:6.4.2/SourceEncodingUnresolved";
182
- readonly EssenceDescriptorListEmpty: "ST2067-3:2020:6.4.2/EssenceDescriptorListEmpty";
183
- readonly ContentVersionListEmpty: "ST2067-3:2020:6.11/ContentVersionListEmpty";
184
- readonly ContentVersionIdInvalid: "ST2067-3:2020:6.11/ContentVersionIdInvalid";
185
- readonly ContentVersionLabelTextMissing: "ST2067-3:2020:6.11/ContentVersionLabelTextMissing";
186
- readonly LocaleLanguageTagInvalid: "ST2067-3:2020:6.12/LocaleLanguageTagInvalid";
187
- readonly TrackIdNotUnique: "ST2067-3:2020:7.3/TrackIdNotUnique";
188
- readonly MarkerOffsetOutOfRange: "ST2067-3:2020:7.4/MarkerOffsetOutOfRange";
189
- readonly MarkerLabelUnknown: "ST2067-3:2020:7.4/MarkerLabelUnknown";
190
- readonly SegmentDuration: "ST2067-3:2020:7.2.2/SegmentDuration";
191
- readonly ContentVersionIdDuplicate: "ST2067-3:2020:6.1.9/ContentVersionIdDuplicate";
192
- readonly SegmentDurationIntegerEditUnits: "ST2067-3:2020:7.3/SegmentDurationIntegerEditUnits";
193
- };
194
192
  readonly ST2067_9_2018: {
195
193
  readonly MalformedXml: "ST2067-9:2018:6.1/MalformedXml";
196
194
  readonly SidecarAssetReferencedByVirtualTrack: "ST2067-9:2018:5/SidecarAssetReferencedByVirtualTrack";
@@ -201,15 +199,90 @@ export declare const codes: {
201
199
  readonly CplNotFound: "ST2067-9:2018:7.3.1.1/CplNotFound";
202
200
  readonly DuplicateCplId: "ST2067-9:2018:7.3.1.1/DuplicateCplId";
203
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
+ };
204
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";
205
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";
206
282
  };
207
283
  readonly ST2067_21_2023: {
208
284
  readonly FrameRate: "ST2067-21:2023:5.2/FrameRate";
209
285
  readonly Resolution: "ST2067-21:2023:5.2/Resolution";
210
- readonly EmptyLanguageTag: "ST2067-21:2023:5.3/EmptyLanguageTag";
211
- readonly MalformedLanguageTag: "ST2067-21:2023:5.3/MalformedLanguageTag";
212
- readonly RegionCode: "ST2067-21:2023:5.3/RegionCode";
213
286
  readonly ColorSystem: "ST2067-21:2023:6.2/ColorSystem";
214
287
  readonly RequiredStoredWidth: "ST2067-21:2023:6.2/Required-StoredWidth";
215
288
  readonly RequiredStoredHeight: "ST2067-21:2023:6.2/Required-StoredHeight";
@@ -219,8 +292,6 @@ export declare const codes: {
219
292
  readonly RequiredTransferCharacteristic: "ST2067-21:2023:6.2/Required-TransferCharacteristic";
220
293
  readonly RequiredPictureCompression: "ST2067-21:2023:6.2/Required-PictureCompression";
221
294
  readonly RequiredComponentDepth: "ST2067-21:2023:6.2/Required-ComponentDepth";
222
- readonly RequiredChannelCount: "ST2067-21:2023:6.5/Required-ChannelCount";
223
- readonly RequiredQuantizationBits: "ST2067-21:2023:6.5/Required-QuantizationBits";
224
295
  readonly AlphaTransparency: "ST2067-21:2023:6.2.1/AlphaTransparency";
225
296
  readonly CodingEquationsMissing: "ST2067-21:2023:6.2.1/CodingEquationsMissing";
226
297
  readonly ColorPrimariesMissing: "ST2067-21:2023:6.2.1/ColorPrimariesMissing";
@@ -258,80 +329,144 @@ export declare const codes: {
258
329
  readonly BlackRefLevel: "ST2067-21:2023:6.4.3/BlackRefLevel";
259
330
  readonly ColorRange: "ST2067-21:2023:6.4.3/ColorRange";
260
331
  readonly WhiteRefLevel: "ST2067-21:2023:6.4.3/WhiteRefLevel";
261
- readonly AudioSampleRate: "ST2067-21:2023:6.5/AudioSampleRate";
262
- readonly QuantizationBits: "ST2067-21:2023:6.5/QuantizationBits";
263
332
  readonly CodingStyle: "ST2067-21:2023:6.5.2/CodingStyle";
264
333
  readonly J2CLayout: "ST2067-21:2023:6.5.2/J2CLayout";
265
334
  readonly J2KExtendedCapabilities: "ST2067-21:2023:6.5.2/J2KExtendedCapabilities";
266
335
  readonly JPEG2000SubDescriptor: "ST2067-21:2023:6.5.2/JPEG2000SubDescriptor";
267
- readonly J2KHTNotAllowed: "ST2067-21:2023:6.2.5/J2K-HT-Not-Allowed";
268
336
  readonly J2K4KResolution: "ST2067-21:2023:6.2.5/J2K-4K-Resolution";
269
337
  readonly J2K2KResolution: "ST2067-21:2023:6.2.5/J2K-2K-Resolution";
270
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";
271
340
  readonly ApplicationIdentification: "ST2067-21:2023:7.1/ApplicationIdentification";
272
- readonly ContentMaturityRatingAgency: "ST2067-21:2023:7.1/ContentMaturityRating-Agency";
273
- readonly ContentMaturityRatingAgencyURI: "ST2067-21:2023:7.1/ContentMaturityRating-Agency-URI";
274
341
  readonly HomogeneousImageEssence: "ST2067-21:2023:7.2/HomogeneousImageEssence";
275
342
  readonly AppIdMismatch: "ST2067-21:2023:7.1/AppIdMismatch";
276
343
  readonly SegmentDurationMultiple: "ST2067-21:2023:7.4/SegmentDurationMultiple";
277
344
  readonly MaxCLLMaxFALL: "ST2067-21:2023:7.5/MaxCLLMaxFALL";
278
345
  };
279
- readonly ST2067_21_2025: {
280
- readonly FNTimedText: "ST2067-21:2025:5.6/FNTimedText";
281
- 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";
282
409
  };
283
410
  readonly ST2067_201_2019: {
284
411
  readonly CodecForbidden: "ST2067-201:2019:5.9/CodecForbidden";
285
- readonly ElectrospatialFormulationForbidden: "ST2067-201:2019:5.9/ElectrospatialFormulationForbidden";
412
+ readonly ElectrospatialFormulationInvalid: "ST2067-201:2019:5.9/ElectrospatialFormulationInvalid";
286
413
  readonly QuantizationBitsMissing: "ST2067-201:2019:5.9/QuantizationBitsMissing";
287
414
  readonly QuantizationBitsInvalid: "ST2067-201:2019:5.9/QuantizationBitsInvalid";
288
- readonly ContainerFormatMissing: "ST2067-201:2019:5.3/ContainerFormatMissing";
289
- 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";
290
417
  readonly AudioSamplingRateMissing: "ST2067-201:2019:5.9/AudioSamplingRateMissing";
291
418
  readonly AudioSamplingRateInvalid: "ST2067-201:2019:5.9/AudioSamplingRateInvalid";
292
419
  readonly SoundCompressionMissing: "ST2067-201:2019:5.9/SoundCompressionMissing";
293
420
  readonly SoundCompressionInvalid: "ST2067-201:2019:5.9/SoundCompressionInvalid";
294
421
  readonly ChannelCountNotZero: "ST2067-201:2019:5.9/ChannelCountNotZero";
295
- readonly SubDescriptorMissing: "ST2067-201:2019:5.9/SubDescriptorMissing";
296
- readonly MCATagSymbolMissing: "ST2067-201:2019:5.9/MCATagSymbolMissing";
297
- readonly MCATagSymbolInvalid: "ST2067-201:2019:5.9/MCATagSymbolInvalid";
298
- readonly MCATagNameMissing: "ST2067-201:2019:5.9/MCATagNameMissing";
299
- readonly MCATagNameInvalid: "ST2067-201:2019:5.9/MCATagNameInvalid";
300
- readonly MCALabelDictionaryIDMissing: "ST2067-201:2019:5.9/MCALabelDictionaryIDMissing";
301
- readonly MCALabelDictionaryIDInvalid: "ST2067-201:2019:5.9/MCALabelDictionaryIDInvalid";
302
- readonly MainAudioMissing: "ST2067-201:2019:6.2/MainAudioMissing";
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";
303
429
  readonly IABSequenceNoResources: "ST2067-201:2019:6.2/IABSequenceNoResources";
304
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";
305
435
  };
306
436
  readonly ST2067_201_2021: {
307
437
  readonly CodecForbidden: "ST2067-201:2021:5.9/CodecForbidden";
308
- readonly ElectrospatialFormulationForbidden: "ST2067-201:2021:5.9/ElectrospatialFormulationForbidden";
438
+ readonly ElectrospatialFormulationInvalid: "ST2067-201:2021:5.9/ElectrospatialFormulationInvalid";
309
439
  readonly QuantizationBitsMissing: "ST2067-201:2021:5.9/QuantizationBitsMissing";
310
440
  readonly QuantizationBitsInvalid: "ST2067-201:2021:5.9/QuantizationBitsInvalid";
311
- readonly ContainerFormatMissing: "ST2067-201:2021:5.3/ContainerFormatMissing";
312
- 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";
313
443
  readonly AudioSamplingRateMissing: "ST2067-201:2021:5.9/AudioSamplingRateMissing";
314
444
  readonly AudioSamplingRateInvalid: "ST2067-201:2021:5.9/AudioSamplingRateInvalid";
315
445
  readonly SoundCompressionMissing: "ST2067-201:2021:5.9/SoundCompressionMissing";
316
446
  readonly SoundCompressionInvalid: "ST2067-201:2021:5.9/SoundCompressionInvalid";
317
- readonly ChannelCountNotZero: "ST2067-201:2021:5.9/ChannelCountNotZero";
318
- readonly SubDescriptorMissing: "ST2067-201:2021:5.9/SubDescriptorMissing";
319
- readonly MCATagSymbolMissing: "ST2067-201:2021:5.9/MCATagSymbolMissing";
320
- readonly MCATagSymbolInvalid: "ST2067-201:2021:5.9/MCATagSymbolInvalid";
321
- readonly MCATagNameMissing: "ST2067-201:2021:5.9/MCATagNameMissing";
322
- readonly MCATagNameInvalid: "ST2067-201:2021:5.9/MCATagNameInvalid";
323
- readonly MCALabelDictionaryIDMissing: "ST2067-201:2021:5.9/MCALabelDictionaryIDMissing";
324
- readonly MCALabelDictionaryIDInvalid: "ST2067-201:2021:5.9/MCALabelDictionaryIDInvalid";
325
- readonly MainAudioMissing: "ST2067-201:2021:6.2/MainAudioMissing";
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";
326
454
  readonly IABSequenceNoResources: "ST2067-201:2021:6.2/IABSequenceNoResources";
327
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";
328
460
  };
329
- readonly ST2067_202_2022: {
330
- readonly SubDescriptorMissing: "ST2067-202:2022:5/SubDescriptorMissing";
331
- readonly NamespaceUriMissing: "ST2067-202:2022:5/NamespaceUriMissing";
332
- readonly ISXDSequenceNoResources: "ST2067-202:2022:6/ISXDSequenceNoResources";
333
- readonly ISXDSequenceSourceEncodingInvalid: "ST2067-202:2022:6/ISXDSequenceSourceEncodingInvalid";
334
- 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";
335
470
  };
336
471
  readonly Imferno: {
337
472
  readonly UnreferencedAsset: "IMFERNO:Package/UnreferencedAsset";
@@ -343,5 +478,6 @@ export declare const codes: {
343
478
  readonly ReadDirError: "IMFERNO:Package/ReadDirError";
344
479
  readonly DirEntryError: "IMFERNO:Package/DirEntryError";
345
480
  readonly PathTraversal: "IMFERNO:Package/PathTraversal";
481
+ readonly ApplicationProfileNotValidated: "IMFERNO:Package/ApplicationProfileNotValidated";
346
482
  }
347
483
  };