@imferno/node 3.0.2-beta.6b1e6f0 → 3.0.2-beta.73bef25

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.
Files changed (4) hide show
  1. package/codes.d.ts +163 -0
  2. package/codes.js +163 -0
  3. package/package.json +7 -7
  4. package/types.d.ts +53 -6
package/codes.d.ts CHANGED
@@ -8,6 +8,16 @@ export declare const codes: {
8
8
  readonly HeaderPartitionOpen: "ST377-1/HeaderPartitionOpen";
9
9
  readonly MissingHeaderMetadata: "ST377-1/MissingHeaderMetadata";
10
10
  readonly StructuralComponentDurationMissing: "ST377-1/StructuralComponentDurationMissing";
11
+ readonly FileDescriptorEssenceContainerMissing: "ST377-1/FileDescriptorEssenceContainerMissing";
12
+ readonly PrefaceEssenceContainersIncomplete: "ST377-1/PrefaceEssenceContainersIncomplete";
13
+ readonly PartitionEssenceContainersIncomplete: "ST377-1/PartitionEssenceContainersIncomplete";
14
+ readonly OpenPartitionEssenceContainersIncomplete: "ST377-1/OpenPartitionEssenceContainersIncomplete";
15
+ readonly FooterPartitionMissing: "ST377-1/FooterPartitionMissing";
16
+ readonly RunInPresent: "ST377-1/RunInPresent";
17
+ readonly OperationalPatternMarkerBit: "ST377-1/OperationalPatternMarkerBit";
18
+ readonly SequenceDurationMismatch: "ST377-1/SequenceDurationMismatch";
19
+ readonly StaticTrackComponentDuration: "ST377-1/StaticTrackComponentDuration";
20
+ readonly StaticTrackDmComponentDuration: "ST377-1/StaticTrackDmComponentDuration";
11
21
  };
12
22
  readonly ST377_4: {
13
23
  readonly MCALinkIDMissing: "ST377-4/MCALinkIDMissing";
@@ -19,6 +29,7 @@ export declare const codes: {
19
29
  readonly ST429_8: {
20
30
  readonly SizeMismatch: "ST429-8/SizeMismatch";
21
31
  readonly ChecksumMismatch: "ST429-8/ChecksumMismatch";
32
+ readonly MalformedXml: "ST429-8/MalformedXml";
22
33
  };
23
34
  readonly ST429_9: {
24
35
  readonly AssetListEmpty: "ST429-9/AssetListEmpty";
@@ -33,10 +44,20 @@ export declare const codes: {
33
44
  readonly AssetMapHasNoPackingList: "ST429-9/AssetMapHasNoPackingList";
34
45
  readonly PklIdNotInAssetMap: "ST429-9/PklIdNotInAssetMap";
35
46
  readonly AssetMapMalformedXml: "ST429-9/AssetMapMalformedXml";
47
+ readonly PackingListFlagNotPkl: "ST429-9/PackingListFlagNotPkl";
48
+ readonly VolumeCountNotOne: "ST429-9/VolumeCountNotOne";
49
+ readonly ChunkCountNotOne: "ST429-9/ChunkCountNotOne";
50
+ readonly ChunkVolumeIndexNotOne: "ST429-9/ChunkVolumeIndexNotOne";
51
+ readonly ChunkOffsetNotZero: "ST429-9/ChunkOffsetNotZero";
52
+ readonly ChunkLengthMismatch: "ST429-9/ChunkLengthMismatch";
53
+ readonly SymbolicLink: "ST429-9/SymbolicLink";
36
54
  };
37
55
  readonly ST2067_2: {
38
56
  readonly NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist";
57
+ readonly ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing";
58
+ readonly ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate";
39
59
  readonly PklMalformedXml: "ST2067-2/PklMalformedXml";
60
+ readonly NoPackingList: "ST2067-2/NoPackingList";
40
61
  readonly NoCpls: "ST2067-2/NoCpls";
41
62
  readonly SizeMismatch: "ST2067-2/SizeMismatch";
42
63
  readonly FileNotFound: "ST2067-2/FileNotFound";
@@ -58,6 +79,8 @@ export declare const codes: {
58
79
  readonly SoundfieldChannelCount: "ST2067-2/SoundfieldChannelCount";
59
80
  readonly DigitalSignature: "ST2067-2/DigitalSignature";
60
81
  readonly EssenceDescriptorList: "ST2067-2/EssenceDescriptorList";
82
+ readonly EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing";
83
+ readonly EssenceDescriptorDiffersFromTrackFile: "ST2067-2/EssenceDescriptorDiffersFromTrackFile";
61
84
  readonly CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch";
62
85
  readonly OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A";
63
86
  readonly SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM";
@@ -86,8 +109,23 @@ export declare const codes: {
86
109
  readonly TimedTextNamespaceNotIMSC: "ST2067-2/TimedTextNamespaceNotIMSC";
87
110
  readonly TimedTextResourceMIMETypeUnsupported: "ST2067-2/TimedTextResourceMIMETypeUnsupported";
88
111
  readonly TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13";
112
+ readonly TimedTextDataEssenceCodingPresent: "ST2067-2/TimedTextDataEssenceCodingPresent";
113
+ readonly TopLevelFilePackageOriginNotZero: "ST2067-2/TopLevelFilePackageOriginNotZero";
114
+ readonly TopLevelFilePackageFiller: "ST2067-2/TopLevelFilePackageFiller";
89
115
  readonly MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount";
90
116
  readonly AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing";
117
+ readonly TrackFileMediaType: "ST2067-2/TrackFileMediaType";
118
+ readonly CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch";
119
+ readonly MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch";
120
+ readonly AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch";
121
+ readonly ContentVersionMissing: "ST2067-2/ContentVersionMissing";
122
+ readonly ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing";
123
+ readonly ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch";
124
+ readonly AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch";
125
+ readonly TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch";
126
+ readonly PackageUidForm: "ST2067-2/PackageUidForm";
127
+ readonly UuidNotVersion4: "ST2067-2/UuidNotVersion4";
128
+ readonly AssetIdNotType5: "ST2067-2/AssetIdNotType5";
91
129
  };
92
130
  readonly ST2067_3: {
93
131
  readonly ContentTitleEmpty: "ST2067-3/ContentTitleEmpty";
@@ -115,7 +153,12 @@ export declare const codes: {
115
153
  readonly TrackFileId: "ST2067-3/TrackFileId";
116
154
  readonly SourceEncodingMissing: "ST2067-3/SourceEncodingMissing";
117
155
  readonly VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity";
156
+ readonly VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind";
157
+ readonly ExtensionSequenceNotSequenceType: "ST2067-3/ExtensionSequenceNotSequenceType";
158
+ readonly ResourceTypeMixed: "ST2067-3/ResourceTypeMixed";
159
+ readonly MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType";
118
160
  readonly DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor";
161
+ readonly CplMediaType: "ST2067-3/CplMediaType";
119
162
  readonly UniqueSequenceId: "ST2067-3/UniqueSequenceId";
120
163
  readonly ContentMaturityRatingAgencyDuplicate: "ST2067-3/ContentMaturityRatingAgencyDuplicate";
121
164
  readonly LocaleRegionInvalid: "ST2067-3/LocaleRegionInvalid";
@@ -127,6 +170,8 @@ export declare const codes: {
127
170
  };
128
171
  readonly ST2067_5: {
129
172
  readonly OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier";
173
+ readonly KagSizeNotOne: "ST2067-5/KagSizeNotOne";
174
+ readonly EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle";
130
175
  };
131
176
  readonly ST2067_9: {
132
177
  readonly MalformedXml: "ST2067-9/MalformedXml";
@@ -138,6 +183,57 @@ export declare const codes: {
138
183
  readonly CplNotFound: "ST2067-9/CplNotFound";
139
184
  readonly DuplicateCplId: "ST2067-9/DuplicateCplId";
140
185
  };
186
+ readonly ST2067_20: {
187
+ readonly ApplicationIdentification: "ST2067-20/ApplicationIdentification";
188
+ readonly AppIdMismatch: "ST2067-20/AppIdMismatch";
189
+ readonly ImageCharacteristics: "ST2067-20/ImageCharacteristics";
190
+ readonly TransferCharacteristic: "ST2067-20/TransferCharacteristic";
191
+ readonly CodingEquations: "ST2067-20/CodingEquations";
192
+ readonly ColorPrimaries: "ST2067-20/ColorPrimaries";
193
+ readonly J2KRequired: "ST2067-20/J2KRequired";
194
+ readonly PictureEssenceCoding: "ST2067-20/PictureEssenceCoding";
195
+ readonly FrameLayout: "ST2067-20/FrameLayout";
196
+ readonly StoredF2Offset: "ST2067-20/StoredF2Offset";
197
+ readonly SampledWidth: "ST2067-20/SampledWidth";
198
+ readonly SampledHeight: "ST2067-20/SampledHeight";
199
+ readonly SampledXOffset: "ST2067-20/SampledXOffset";
200
+ readonly SampledYOffset: "ST2067-20/SampledYOffset";
201
+ readonly DisplayF2Offset: "ST2067-20/DisplayF2Offset";
202
+ readonly AlphaTransparency: "ST2067-20/AlphaTransparency";
203
+ readonly ImageAlignmentOffset: "ST2067-20/ImageAlignmentOffset";
204
+ readonly ImageStartOffset: "ST2067-20/ImageStartOffset";
205
+ readonly ImageEndOffset: "ST2067-20/ImageEndOffset";
206
+ readonly FieldDominance: "ST2067-20/FieldDominance";
207
+ readonly TransferCharacteristicMissing: "ST2067-20/TransferCharacteristicMissing";
208
+ readonly ColorPrimariesMissing: "ST2067-20/ColorPrimariesMissing";
209
+ readonly CodingEquationsMissing: "ST2067-20/CodingEquationsMissing";
210
+ readonly RequiredPictureCompression: "ST2067-20/RequiredPictureCompression";
211
+ readonly ComponentMaxRef: "ST2067-20/ComponentMaxRef";
212
+ readonly ComponentMinRef: "ST2067-20/ComponentMinRef";
213
+ readonly AlphaMaxRef: "ST2067-20/AlphaMaxRef";
214
+ readonly AlphaMinRef: "ST2067-20/AlphaMinRef";
215
+ readonly ScanningDirection: "ST2067-20/ScanningDirection";
216
+ readonly Palette: "ST2067-20/Palette";
217
+ readonly PaletteLayout: "ST2067-20/PaletteLayout";
218
+ readonly ComponentRefValues: "ST2067-20/ComponentRefValues";
219
+ readonly ComponentDepth: "ST2067-20/ComponentDepth";
220
+ readonly VerticalSubsampling: "ST2067-20/VerticalSubsampling";
221
+ readonly ColorSiting: "ST2067-20/ColorSiting";
222
+ readonly ReversedByteOrder: "ST2067-20/ReversedByteOrder";
223
+ readonly PaddingBits: "ST2067-20/PaddingBits";
224
+ readonly AlphaSampleDepth: "ST2067-20/AlphaSampleDepth";
225
+ readonly RefLevelMissing: "ST2067-20/RefLevelMissing";
226
+ readonly HorizontalSubsampling: "ST2067-20/HorizontalSubsampling";
227
+ readonly BlackRefLevel: "ST2067-20/BlackRefLevel";
228
+ readonly WhiteRefLevel: "ST2067-20/WhiteRefLevel";
229
+ readonly ColorRange: "ST2067-20/ColorRange";
230
+ readonly Jpeg2000SubDescriptor: "ST2067-20/Jpeg2000SubDescriptor";
231
+ readonly CodingStyle: "ST2067-20/CodingStyle";
232
+ readonly J2CLayout: "ST2067-20/J2CLayout";
233
+ readonly J2CLayoutValue: "ST2067-20/J2CLayoutValue";
234
+ readonly HomogeneousImageEssence: "ST2067-20/HomogeneousImageEssence";
235
+ readonly SegmentDurationMultiple: "ST2067-20/SegmentDurationMultiple";
236
+ };
141
237
  readonly ST2067_21: {
142
238
  readonly ColorSystem: "ST2067-21/ColorSystem";
143
239
  readonly BlackRefLevel: "ST2067-21/BlackRefLevel";
@@ -235,7 +331,11 @@ export declare const codes: {
235
331
  readonly SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate";
236
332
  readonly MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden";
237
333
  readonly EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple";
334
+ readonly ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate";
238
335
  readonly IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended";
336
+ readonly ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing";
337
+ readonly ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid";
338
+ readonly EssenceNotHomogeneous: "ST2067-201/EssenceNotHomogeneous";
239
339
  };
240
340
  readonly ST2067_202: {
241
341
  readonly NamespaceUriMissing: "ST2067-202/NamespaceUriMissing";
@@ -246,6 +346,64 @@ export declare const codes: {
246
346
  readonly ISXDVirtualTrackMissing: "ST2067-202/ISXDVirtualTrackMissing";
247
347
  readonly DataEssenceCodingMissing: "ST2067-202/DataEssenceCodingMissing";
248
348
  readonly DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid";
349
+ readonly EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid";
350
+ };
351
+ readonly ST2067_203: {
352
+ readonly SequenceResourceNotTrackFile: "ST2067-203/SequenceResourceNotTrackFile";
353
+ readonly VirtualTrackParameterSetMissing: "ST2067-203/VirtualTrackParameterSetMissing";
354
+ readonly VirtualTrackParameterSetDuplicate: "ST2067-203/VirtualTrackParameterSetDuplicate";
355
+ readonly VirtualTrackParameterSetIdDuplicate: "ST2067-203/VirtualTrackParameterSetIdDuplicate";
356
+ readonly VirtualTrackParameterSetOrphaned: "ST2067-203/VirtualTrackParameterSetOrphaned";
357
+ readonly VirtualTrackParameterSetInvalid: "ST2067-203/VirtualTrackParameterSetInvalid";
358
+ readonly OperationalModeUnknown: "ST2067-203/OperationalModeUnknown";
359
+ readonly OperationalModeNotRecognized: "ST2067-203/OperationalModeNotRecognized";
360
+ readonly SoundfieldGroupSelectorDuplicate: "ST2067-203/SoundfieldGroupSelectorDuplicate";
361
+ readonly SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-203/SoundfieldGroupSelectorResourceIdOrphaned";
362
+ readonly SoundfieldGroupLinkIdDuplicate: "ST2067-203/SoundfieldGroupLinkIdDuplicate";
363
+ readonly EditRateNotHomogeneous: "ST2067-203/EditRateNotHomogeneous";
364
+ readonly EditRateNotMultipleOfMainImage: "ST2067-203/EditRateNotMultipleOfMainImage";
365
+ readonly TrackFileNotMGA: "ST2067-203/TrackFileNotMGA";
366
+ readonly TrackFileAudioSampleRate: "ST2067-203/TrackFileAudioSampleRate";
367
+ readonly TrackFileQuantizationBits: "ST2067-203/TrackFileQuantizationBits";
368
+ readonly TrackFileSoundCompression: "ST2067-203/TrackFileSoundCompression";
369
+ readonly TrackFileReferenceItemMissing: "ST2067-203/TrackFileReferenceItemMissing";
370
+ readonly TrackFileNotClipWrapped: "ST2067-203/TrackFileNotClipWrapped";
371
+ readonly ContainerConstraintsSubDescriptorMissing: "ST2067-203/ContainerConstraintsSubDescriptorMissing";
372
+ readonly SADMSectionCount: "ST2067-203/SADMSectionCount";
373
+ readonly SADMSectionIdentifier: "ST2067-203/SADMSectionIdentifier";
374
+ readonly SADMSectionNotFirst: "ST2067-203/SADMSectionNotFirst";
375
+ readonly AudioMetadataPackUsed: "ST2067-203/AudioMetadataPackUsed";
376
+ readonly SADMSubDescriptorMismatch: "ST2067-203/SADMSubDescriptorMismatch";
377
+ readonly SADMProfileLevelULBatchMissing: "ST2067-203/SADMProfileLevelULBatchMissing";
378
+ readonly ForbiddenMCASubDescriptor: "ST2067-203/ForbiddenMCASubDescriptor";
379
+ readonly SoundfieldGroupLabelForSupplementalSection: "ST2067-203/SoundfieldGroupLabelForSupplementalSection";
380
+ readonly SoundfieldGroupLabelValue: "ST2067-203/SoundfieldGroupLabelValue";
381
+ readonly MCATagNameMissing: "ST2067-203/MCATagNameMissing";
382
+ readonly MCAChannelIDPresent: "ST2067-203/MCAChannelIDPresent";
383
+ readonly SoundfieldGroupLabelItemMissing: "ST2067-203/SoundfieldGroupLabelItemMissing";
384
+ readonly ResourceEditRateNotTrackFile: "ST2067-203/ResourceEditRateNotTrackFile";
385
+ readonly AudioSampleRateNotHomogeneous: "ST2067-203/AudioSampleRateNotHomogeneous";
386
+ readonly SoundfieldGroupLinkIdNotInTrackFile: "ST2067-203/SoundfieldGroupLinkIdNotInTrackFile";
387
+ readonly OperationalModeALabelItems: "ST2067-203/OperationalModeALabelItems";
388
+ };
389
+ readonly ST2067_204: {
390
+ readonly SequenceResourceNotTrackFile: "ST2067-204/SequenceResourceNotTrackFile";
391
+ readonly VirtualTrackParameterSetMissing: "ST2067-204/VirtualTrackParameterSetMissing";
392
+ readonly VirtualTrackParameterSetDuplicate: "ST2067-204/VirtualTrackParameterSetDuplicate";
393
+ readonly VirtualTrackParameterSetIdDuplicate: "ST2067-204/VirtualTrackParameterSetIdDuplicate";
394
+ readonly VirtualTrackParameterSetOrphaned: "ST2067-204/VirtualTrackParameterSetOrphaned";
395
+ readonly VirtualTrackParameterSetInvalid: "ST2067-204/VirtualTrackParameterSetInvalid";
396
+ readonly OperationalModeUnknown: "ST2067-204/OperationalModeUnknown";
397
+ readonly OperationalModeNotRecognized: "ST2067-204/OperationalModeNotRecognized";
398
+ readonly SoundfieldGroupSelectorDuplicate: "ST2067-204/SoundfieldGroupSelectorDuplicate";
399
+ readonly SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-204/SoundfieldGroupSelectorResourceIdOrphaned";
400
+ readonly SoundfieldGroupLinkIdDuplicate: "ST2067-204/SoundfieldGroupLinkIdDuplicate";
401
+ readonly EditRateNotHomogeneous: "ST2067-204/EditRateNotHomogeneous";
402
+ readonly TrackFileNotWAVEPCM: "ST2067-204/TrackFileNotWAVEPCM";
403
+ readonly TrackFileChannelAssignment: "ST2067-204/TrackFileChannelAssignment";
404
+ readonly ForbiddenMCASubDescriptor: "ST2067-204/ForbiddenMCASubDescriptor";
405
+ readonly ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile";
406
+ readonly AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous";
249
407
  };
250
408
  readonly XSD: {
251
409
  readonly ElementMissing: "XSD/ElementMissing";
@@ -257,6 +415,9 @@ export declare const codes: {
257
415
  readonly NotValidated: "XSD/NotValidated";
258
416
  };
259
417
  readonly IMFERNO: {
418
+ readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
419
+ readonly SequenceListUnreadable: "IMFERNO/SequenceListUnreadable";
420
+ readonly TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated";
260
421
  readonly EditionAssumed: "IMFERNO/EditionAssumed";
261
422
  readonly EditionConflict: "IMFERNO/EditionConflict";
262
423
  readonly EditionPinned: "IMFERNO/EditionPinned";
@@ -267,6 +428,7 @@ export declare const codes: {
267
428
  readonly PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed";
268
429
  readonly RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed";
269
430
  readonly MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable";
431
+ readonly MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated";
270
432
  readonly EssenceContainersDetected: "IMFERNO/EssenceContainersDetected";
271
433
  readonly IoError: "IMFERNO/IoError";
272
434
  readonly UnreferencedAsset: "IMFERNO/UnreferencedAsset";
@@ -274,6 +436,7 @@ export declare const codes: {
274
436
  readonly ParseError: "IMFERNO/ParseError";
275
437
  readonly PklParseError: "IMFERNO/PklParseError";
276
438
  readonly XmlAssetParseError: "IMFERNO/XmlAssetParseError";
439
+ readonly CplUnparseable: "IMFERNO/CplUnparseable";
277
440
  readonly XmlReadError: "IMFERNO/XmlReadError";
278
441
  readonly ReadDirError: "IMFERNO/ReadDirError";
279
442
  readonly DirEntryError: "IMFERNO/DirEntryError";
package/codes.js CHANGED
@@ -8,6 +8,16 @@ const codes = {
8
8
  HeaderPartitionOpen: "ST377-1/HeaderPartitionOpen",
9
9
  MissingHeaderMetadata: "ST377-1/MissingHeaderMetadata",
10
10
  StructuralComponentDurationMissing: "ST377-1/StructuralComponentDurationMissing",
11
+ FileDescriptorEssenceContainerMissing: "ST377-1/FileDescriptorEssenceContainerMissing",
12
+ PrefaceEssenceContainersIncomplete: "ST377-1/PrefaceEssenceContainersIncomplete",
13
+ PartitionEssenceContainersIncomplete: "ST377-1/PartitionEssenceContainersIncomplete",
14
+ OpenPartitionEssenceContainersIncomplete: "ST377-1/OpenPartitionEssenceContainersIncomplete",
15
+ FooterPartitionMissing: "ST377-1/FooterPartitionMissing",
16
+ RunInPresent: "ST377-1/RunInPresent",
17
+ OperationalPatternMarkerBit: "ST377-1/OperationalPatternMarkerBit",
18
+ SequenceDurationMismatch: "ST377-1/SequenceDurationMismatch",
19
+ StaticTrackComponentDuration: "ST377-1/StaticTrackComponentDuration",
20
+ StaticTrackDmComponentDuration: "ST377-1/StaticTrackDmComponentDuration",
11
21
  },
12
22
  ST377_4: {
13
23
  MCALinkIDMissing: "ST377-4/MCALinkIDMissing",
@@ -19,6 +29,7 @@ const codes = {
19
29
  ST429_8: {
20
30
  SizeMismatch: "ST429-8/SizeMismatch",
21
31
  ChecksumMismatch: "ST429-8/ChecksumMismatch",
32
+ MalformedXml: "ST429-8/MalformedXml",
22
33
  },
23
34
  ST429_9: {
24
35
  AssetListEmpty: "ST429-9/AssetListEmpty",
@@ -33,10 +44,20 @@ const codes = {
33
44
  AssetMapHasNoPackingList: "ST429-9/AssetMapHasNoPackingList",
34
45
  PklIdNotInAssetMap: "ST429-9/PklIdNotInAssetMap",
35
46
  AssetMapMalformedXml: "ST429-9/AssetMapMalformedXml",
47
+ PackingListFlagNotPkl: "ST429-9/PackingListFlagNotPkl",
48
+ VolumeCountNotOne: "ST429-9/VolumeCountNotOne",
49
+ ChunkCountNotOne: "ST429-9/ChunkCountNotOne",
50
+ ChunkVolumeIndexNotOne: "ST429-9/ChunkVolumeIndexNotOne",
51
+ ChunkOffsetNotZero: "ST429-9/ChunkOffsetNotZero",
52
+ ChunkLengthMismatch: "ST429-9/ChunkLengthMismatch",
53
+ SymbolicLink: "ST429-9/SymbolicLink",
36
54
  },
37
55
  ST2067_2: {
38
56
  NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist",
57
+ ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing",
58
+ ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate",
39
59
  PklMalformedXml: "ST2067-2/PklMalformedXml",
60
+ NoPackingList: "ST2067-2/NoPackingList",
40
61
  NoCpls: "ST2067-2/NoCpls",
41
62
  SizeMismatch: "ST2067-2/SizeMismatch",
42
63
  FileNotFound: "ST2067-2/FileNotFound",
@@ -58,6 +79,8 @@ const codes = {
58
79
  SoundfieldChannelCount: "ST2067-2/SoundfieldChannelCount",
59
80
  DigitalSignature: "ST2067-2/DigitalSignature",
60
81
  EssenceDescriptorList: "ST2067-2/EssenceDescriptorList",
82
+ EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing",
83
+ EssenceDescriptorDiffersFromTrackFile: "ST2067-2/EssenceDescriptorDiffersFromTrackFile",
61
84
  CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch",
62
85
  OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A",
63
86
  SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM",
@@ -86,8 +109,23 @@ const codes = {
86
109
  TimedTextNamespaceNotIMSC: "ST2067-2/TimedTextNamespaceNotIMSC",
87
110
  TimedTextResourceMIMETypeUnsupported: "ST2067-2/TimedTextResourceMIMETypeUnsupported",
88
111
  TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13",
112
+ TimedTextDataEssenceCodingPresent: "ST2067-2/TimedTextDataEssenceCodingPresent",
113
+ TopLevelFilePackageOriginNotZero: "ST2067-2/TopLevelFilePackageOriginNotZero",
114
+ TopLevelFilePackageFiller: "ST2067-2/TopLevelFilePackageFiller",
89
115
  MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount",
90
116
  AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing",
117
+ TrackFileMediaType: "ST2067-2/TrackFileMediaType",
118
+ CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch",
119
+ MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch",
120
+ AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch",
121
+ ContentVersionMissing: "ST2067-2/ContentVersionMissing",
122
+ ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing",
123
+ ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch",
124
+ AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch",
125
+ TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch",
126
+ PackageUidForm: "ST2067-2/PackageUidForm",
127
+ UuidNotVersion4: "ST2067-2/UuidNotVersion4",
128
+ AssetIdNotType5: "ST2067-2/AssetIdNotType5",
91
129
  },
92
130
  ST2067_3: {
93
131
  ContentTitleEmpty: "ST2067-3/ContentTitleEmpty",
@@ -115,7 +153,12 @@ const codes = {
115
153
  TrackFileId: "ST2067-3/TrackFileId",
116
154
  SourceEncodingMissing: "ST2067-3/SourceEncodingMissing",
117
155
  VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity",
156
+ VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind",
157
+ ExtensionSequenceNotSequenceType: "ST2067-3/ExtensionSequenceNotSequenceType",
158
+ ResourceTypeMixed: "ST2067-3/ResourceTypeMixed",
159
+ MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType",
118
160
  DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor",
161
+ CplMediaType: "ST2067-3/CplMediaType",
119
162
  UniqueSequenceId: "ST2067-3/UniqueSequenceId",
120
163
  ContentMaturityRatingAgencyDuplicate: "ST2067-3/ContentMaturityRatingAgencyDuplicate",
121
164
  LocaleRegionInvalid: "ST2067-3/LocaleRegionInvalid",
@@ -127,6 +170,8 @@ const codes = {
127
170
  },
128
171
  ST2067_5: {
129
172
  OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier",
173
+ KagSizeNotOne: "ST2067-5/KagSizeNotOne",
174
+ EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle",
130
175
  },
131
176
  ST2067_9: {
132
177
  MalformedXml: "ST2067-9/MalformedXml",
@@ -138,6 +183,57 @@ const codes = {
138
183
  CplNotFound: "ST2067-9/CplNotFound",
139
184
  DuplicateCplId: "ST2067-9/DuplicateCplId",
140
185
  },
186
+ ST2067_20: {
187
+ ApplicationIdentification: "ST2067-20/ApplicationIdentification",
188
+ AppIdMismatch: "ST2067-20/AppIdMismatch",
189
+ ImageCharacteristics: "ST2067-20/ImageCharacteristics",
190
+ TransferCharacteristic: "ST2067-20/TransferCharacteristic",
191
+ CodingEquations: "ST2067-20/CodingEquations",
192
+ ColorPrimaries: "ST2067-20/ColorPrimaries",
193
+ J2KRequired: "ST2067-20/J2KRequired",
194
+ PictureEssenceCoding: "ST2067-20/PictureEssenceCoding",
195
+ FrameLayout: "ST2067-20/FrameLayout",
196
+ StoredF2Offset: "ST2067-20/StoredF2Offset",
197
+ SampledWidth: "ST2067-20/SampledWidth",
198
+ SampledHeight: "ST2067-20/SampledHeight",
199
+ SampledXOffset: "ST2067-20/SampledXOffset",
200
+ SampledYOffset: "ST2067-20/SampledYOffset",
201
+ DisplayF2Offset: "ST2067-20/DisplayF2Offset",
202
+ AlphaTransparency: "ST2067-20/AlphaTransparency",
203
+ ImageAlignmentOffset: "ST2067-20/ImageAlignmentOffset",
204
+ ImageStartOffset: "ST2067-20/ImageStartOffset",
205
+ ImageEndOffset: "ST2067-20/ImageEndOffset",
206
+ FieldDominance: "ST2067-20/FieldDominance",
207
+ TransferCharacteristicMissing: "ST2067-20/TransferCharacteristicMissing",
208
+ ColorPrimariesMissing: "ST2067-20/ColorPrimariesMissing",
209
+ CodingEquationsMissing: "ST2067-20/CodingEquationsMissing",
210
+ RequiredPictureCompression: "ST2067-20/RequiredPictureCompression",
211
+ ComponentMaxRef: "ST2067-20/ComponentMaxRef",
212
+ ComponentMinRef: "ST2067-20/ComponentMinRef",
213
+ AlphaMaxRef: "ST2067-20/AlphaMaxRef",
214
+ AlphaMinRef: "ST2067-20/AlphaMinRef",
215
+ ScanningDirection: "ST2067-20/ScanningDirection",
216
+ Palette: "ST2067-20/Palette",
217
+ PaletteLayout: "ST2067-20/PaletteLayout",
218
+ ComponentRefValues: "ST2067-20/ComponentRefValues",
219
+ ComponentDepth: "ST2067-20/ComponentDepth",
220
+ VerticalSubsampling: "ST2067-20/VerticalSubsampling",
221
+ ColorSiting: "ST2067-20/ColorSiting",
222
+ ReversedByteOrder: "ST2067-20/ReversedByteOrder",
223
+ PaddingBits: "ST2067-20/PaddingBits",
224
+ AlphaSampleDepth: "ST2067-20/AlphaSampleDepth",
225
+ RefLevelMissing: "ST2067-20/RefLevelMissing",
226
+ HorizontalSubsampling: "ST2067-20/HorizontalSubsampling",
227
+ BlackRefLevel: "ST2067-20/BlackRefLevel",
228
+ WhiteRefLevel: "ST2067-20/WhiteRefLevel",
229
+ ColorRange: "ST2067-20/ColorRange",
230
+ Jpeg2000SubDescriptor: "ST2067-20/Jpeg2000SubDescriptor",
231
+ CodingStyle: "ST2067-20/CodingStyle",
232
+ J2CLayout: "ST2067-20/J2CLayout",
233
+ J2CLayoutValue: "ST2067-20/J2CLayoutValue",
234
+ HomogeneousImageEssence: "ST2067-20/HomogeneousImageEssence",
235
+ SegmentDurationMultiple: "ST2067-20/SegmentDurationMultiple",
236
+ },
141
237
  ST2067_21: {
142
238
  ColorSystem: "ST2067-21/ColorSystem",
143
239
  BlackRefLevel: "ST2067-21/BlackRefLevel",
@@ -235,7 +331,11 @@ const codes = {
235
331
  SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate",
236
332
  MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden",
237
333
  EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple",
334
+ ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate",
238
335
  IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended",
336
+ ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing",
337
+ ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid",
338
+ EssenceNotHomogeneous: "ST2067-201/EssenceNotHomogeneous",
239
339
  },
240
340
  ST2067_202: {
241
341
  NamespaceUriMissing: "ST2067-202/NamespaceUriMissing",
@@ -246,6 +346,64 @@ const codes = {
246
346
  ISXDVirtualTrackMissing: "ST2067-202/ISXDVirtualTrackMissing",
247
347
  DataEssenceCodingMissing: "ST2067-202/DataEssenceCodingMissing",
248
348
  DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid",
349
+ EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid",
350
+ },
351
+ ST2067_203: {
352
+ SequenceResourceNotTrackFile: "ST2067-203/SequenceResourceNotTrackFile",
353
+ VirtualTrackParameterSetMissing: "ST2067-203/VirtualTrackParameterSetMissing",
354
+ VirtualTrackParameterSetDuplicate: "ST2067-203/VirtualTrackParameterSetDuplicate",
355
+ VirtualTrackParameterSetIdDuplicate: "ST2067-203/VirtualTrackParameterSetIdDuplicate",
356
+ VirtualTrackParameterSetOrphaned: "ST2067-203/VirtualTrackParameterSetOrphaned",
357
+ VirtualTrackParameterSetInvalid: "ST2067-203/VirtualTrackParameterSetInvalid",
358
+ OperationalModeUnknown: "ST2067-203/OperationalModeUnknown",
359
+ OperationalModeNotRecognized: "ST2067-203/OperationalModeNotRecognized",
360
+ SoundfieldGroupSelectorDuplicate: "ST2067-203/SoundfieldGroupSelectorDuplicate",
361
+ SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-203/SoundfieldGroupSelectorResourceIdOrphaned",
362
+ SoundfieldGroupLinkIdDuplicate: "ST2067-203/SoundfieldGroupLinkIdDuplicate",
363
+ EditRateNotHomogeneous: "ST2067-203/EditRateNotHomogeneous",
364
+ EditRateNotMultipleOfMainImage: "ST2067-203/EditRateNotMultipleOfMainImage",
365
+ TrackFileNotMGA: "ST2067-203/TrackFileNotMGA",
366
+ TrackFileAudioSampleRate: "ST2067-203/TrackFileAudioSampleRate",
367
+ TrackFileQuantizationBits: "ST2067-203/TrackFileQuantizationBits",
368
+ TrackFileSoundCompression: "ST2067-203/TrackFileSoundCompression",
369
+ TrackFileReferenceItemMissing: "ST2067-203/TrackFileReferenceItemMissing",
370
+ TrackFileNotClipWrapped: "ST2067-203/TrackFileNotClipWrapped",
371
+ ContainerConstraintsSubDescriptorMissing: "ST2067-203/ContainerConstraintsSubDescriptorMissing",
372
+ SADMSectionCount: "ST2067-203/SADMSectionCount",
373
+ SADMSectionIdentifier: "ST2067-203/SADMSectionIdentifier",
374
+ SADMSectionNotFirst: "ST2067-203/SADMSectionNotFirst",
375
+ AudioMetadataPackUsed: "ST2067-203/AudioMetadataPackUsed",
376
+ SADMSubDescriptorMismatch: "ST2067-203/SADMSubDescriptorMismatch",
377
+ SADMProfileLevelULBatchMissing: "ST2067-203/SADMProfileLevelULBatchMissing",
378
+ ForbiddenMCASubDescriptor: "ST2067-203/ForbiddenMCASubDescriptor",
379
+ SoundfieldGroupLabelForSupplementalSection: "ST2067-203/SoundfieldGroupLabelForSupplementalSection",
380
+ SoundfieldGroupLabelValue: "ST2067-203/SoundfieldGroupLabelValue",
381
+ MCATagNameMissing: "ST2067-203/MCATagNameMissing",
382
+ MCAChannelIDPresent: "ST2067-203/MCAChannelIDPresent",
383
+ SoundfieldGroupLabelItemMissing: "ST2067-203/SoundfieldGroupLabelItemMissing",
384
+ ResourceEditRateNotTrackFile: "ST2067-203/ResourceEditRateNotTrackFile",
385
+ AudioSampleRateNotHomogeneous: "ST2067-203/AudioSampleRateNotHomogeneous",
386
+ SoundfieldGroupLinkIdNotInTrackFile: "ST2067-203/SoundfieldGroupLinkIdNotInTrackFile",
387
+ OperationalModeALabelItems: "ST2067-203/OperationalModeALabelItems",
388
+ },
389
+ ST2067_204: {
390
+ SequenceResourceNotTrackFile: "ST2067-204/SequenceResourceNotTrackFile",
391
+ VirtualTrackParameterSetMissing: "ST2067-204/VirtualTrackParameterSetMissing",
392
+ VirtualTrackParameterSetDuplicate: "ST2067-204/VirtualTrackParameterSetDuplicate",
393
+ VirtualTrackParameterSetIdDuplicate: "ST2067-204/VirtualTrackParameterSetIdDuplicate",
394
+ VirtualTrackParameterSetOrphaned: "ST2067-204/VirtualTrackParameterSetOrphaned",
395
+ VirtualTrackParameterSetInvalid: "ST2067-204/VirtualTrackParameterSetInvalid",
396
+ OperationalModeUnknown: "ST2067-204/OperationalModeUnknown",
397
+ OperationalModeNotRecognized: "ST2067-204/OperationalModeNotRecognized",
398
+ SoundfieldGroupSelectorDuplicate: "ST2067-204/SoundfieldGroupSelectorDuplicate",
399
+ SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-204/SoundfieldGroupSelectorResourceIdOrphaned",
400
+ SoundfieldGroupLinkIdDuplicate: "ST2067-204/SoundfieldGroupLinkIdDuplicate",
401
+ EditRateNotHomogeneous: "ST2067-204/EditRateNotHomogeneous",
402
+ TrackFileNotWAVEPCM: "ST2067-204/TrackFileNotWAVEPCM",
403
+ TrackFileChannelAssignment: "ST2067-204/TrackFileChannelAssignment",
404
+ ForbiddenMCASubDescriptor: "ST2067-204/ForbiddenMCASubDescriptor",
405
+ ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile",
406
+ AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous",
249
407
  },
250
408
  XSD: {
251
409
  ElementMissing: "XSD/ElementMissing",
@@ -257,6 +415,9 @@ const codes = {
257
415
  NotValidated: "XSD/NotValidated",
258
416
  },
259
417
  IMFERNO: {
418
+ ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated",
419
+ SequenceListUnreadable: "IMFERNO/SequenceListUnreadable",
420
+ TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated",
260
421
  EditionAssumed: "IMFERNO/EditionAssumed",
261
422
  EditionConflict: "IMFERNO/EditionConflict",
262
423
  EditionPinned: "IMFERNO/EditionPinned",
@@ -267,6 +428,7 @@ const codes = {
267
428
  PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed",
268
429
  RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed",
269
430
  MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable",
431
+ MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated",
270
432
  EssenceContainersDetected: "IMFERNO/EssenceContainersDetected",
271
433
  IoError: "IMFERNO/IoError",
272
434
  UnreferencedAsset: "IMFERNO/UnreferencedAsset",
@@ -274,6 +436,7 @@ const codes = {
274
436
  ParseError: "IMFERNO/ParseError",
275
437
  PklParseError: "IMFERNO/PklParseError",
276
438
  XmlAssetParseError: "IMFERNO/XmlAssetParseError",
439
+ CplUnparseable: "IMFERNO/CplUnparseable",
277
440
  XmlReadError: "IMFERNO/XmlReadError",
278
441
  ReadDirError: "IMFERNO/ReadDirError",
279
442
  DirEntryError: "IMFERNO/DirEntryError",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/node",
3
- "version": "3.0.2-beta.6b1e6f0",
3
+ "version": "3.0.2-beta.73bef25",
4
4
  "description": "Native Node.js bindings for the imferno SMPTE ST 2067 IMF validator",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -45,12 +45,12 @@
45
45
  "test": "vitest run"
46
46
  },
47
47
  "optionalDependencies": {
48
- "@imferno/node-darwin-arm64": "3.0.2-beta.6b1e6f0",
49
- "@imferno/node-darwin-x64": "3.0.2-beta.6b1e6f0",
50
- "@imferno/node-linux-x64-gnu": "3.0.2-beta.6b1e6f0",
51
- "@imferno/node-linux-arm64-gnu": "3.0.2-beta.6b1e6f0",
52
- "@imferno/node-win32-x64-msvc": "3.0.2-beta.6b1e6f0",
53
- "@imferno/node-win32-arm64-msvc": "3.0.2-beta.6b1e6f0"
48
+ "@imferno/node-darwin-arm64": "3.0.2-beta.73bef25",
49
+ "@imferno/node-darwin-x64": "3.0.2-beta.73bef25",
50
+ "@imferno/node-linux-x64-gnu": "3.0.2-beta.73bef25",
51
+ "@imferno/node-linux-arm64-gnu": "3.0.2-beta.73bef25",
52
+ "@imferno/node-win32-x64-msvc": "3.0.2-beta.73bef25",
53
+ "@imferno/node-win32-arm64-msvc": "3.0.2-beta.73bef25"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
package/types.d.ts CHANGED
@@ -66,9 +66,12 @@ export type Spec =
66
66
  | "ST2067-3"
67
67
  | "ST2067-5"
68
68
  | "ST2067-9"
69
+ | "ST2067-20"
69
70
  | "ST2067-21"
70
71
  | "ST2067-201"
71
72
  | "ST2067-202"
73
+ | "ST2067-203"
74
+ | "ST2067-204"
72
75
  | "XSD"
73
76
  | "IMFERNO";
74
77
  /**
@@ -355,6 +358,10 @@ export interface ValidationReport {
355
358
  * Whether the package is compliant with base SMPTE standards
356
359
  */
357
360
  is_compliant: boolean;
361
+ /**
362
+ * Whether everything in the package was validated. False when a finding says part of it was not (e.g. `IMFERNO:Cpl/ExtensionSequenceNotValidated` for S-ADM audio): then `is_compliant` only covers what was checked. A rule override that switches such a finding `off` moves it to `suppressed` but keeps this false.
363
+ */
364
+ is_fully_validated: boolean;
358
365
  /**
359
366
  * Whether the package is playable despite issues
360
367
  */
@@ -400,13 +407,17 @@ export interface ValidationIssue {
400
407
  context: {
401
408
  [k: string]: string | undefined;
402
409
  };
410
+ /**
411
+ * Technical detail behind the message: the values, identifiers, URIs, file paths and clause text a person needs to locate or verify the finding. Shown after the message and the suggestion.
412
+ */
413
+ detail?: string | null;
403
414
  /**
404
415
  * Edition of the spec that was applied (`"2016"`; empty for single-edition pseudo-specs).
405
416
  */
406
417
  edition: string;
407
418
  location: Location;
408
419
  /**
409
- * Human-readable message
420
+ * What is wrong, in one short plain sentence for a person to read.
410
421
  */
411
422
  message: string;
412
423
  /**
@@ -418,7 +429,7 @@ export interface ValidationIssue {
418
429
  spec: Spec;
419
430
  strength: Strength;
420
431
  /**
421
- * Suggestion for how to fix
432
+ * What to do about it.
422
433
  */
423
434
  suggestion?: string | null;
424
435
  }
@@ -556,10 +567,21 @@ export interface ChunkList {
556
567
  * A single file path entry in a ChunkList.
557
568
  */
558
569
  export interface Chunk {
570
+ /**
571
+ * `<Length>` in bytes, when present.
572
+ */
573
+ length?: number | null;
574
+ /**
575
+ * `<Offset>` in bytes, when present.
576
+ */
577
+ offset?: number | null;
559
578
  /**
560
579
  * File path relative to the IMP root directory.
561
580
  */
562
581
  path: string;
582
+ /**
583
+ * `<VolumeIndex>`; 1 when absent.
584
+ */
563
585
  volumeIndex: number;
564
586
  }
565
587
  /**
@@ -905,9 +927,9 @@ export interface IABEssenceDescriptor {
905
927
  */
906
928
  ContainerFormat?: string | null;
907
929
  /**
908
- * ST 2067-201 §5.9: ElectrospatialFormulation shall NOT be present.
930
+ * ST 2067-201 §5.9: if present, ElectrospatialFormulation shall be 15 (multi-channel mode default). Kept as written: RegXML writes the enumeration as its register symbol (`ElectroSpatialFormulation_MultiChannelMode`), some writers as the number. See `IABEssenceDescriptor::electrospatial_formulation_value`.
909
931
  */
910
- ElectrospatialFormulation?: number | null;
932
+ ElectrospatialFormulation?: string | null;
911
933
  InstanceID?: string | null;
912
934
  LinkedTrackID?: number | null;
913
935
  /**
@@ -931,7 +953,7 @@ export interface IABSubDescriptors {
931
953
  /**
932
954
  * Presence-only stub for ST 2067-201:2026 Annex E `IABChannelSubDescriptor`.
933
955
  *
934
- * The 2026 spec defines the full item set in Table E.1 (`IABBedMetaID`, `IABChannelID`, `IABAudioDescription`, `IABAudioDescriptionText`); imferno's CPL parser only needs to count occurrences to fire the `IabChannelSubDescriptorRecommended` warning, so the inner shape is intentionally permissive — any nested content deserialises into the catch-all map without affecting presence.
956
+ * The 2026 spec defines the full item set in Table E.1 (`IABBedMetaID`, `IABChannelID`, `IABAudioDescription`, `IABAudioDescriptionText`); imferno's CPL parser only needs to count occurrences to fire the `IabChannelSubDescriptorRecommended` notice, so the inner shape is intentionally permissive — any nested content deserialises into the catch-all map without affecting presence.
935
957
  */
936
958
  export interface IABChannelSubDescriptor {
937
959
  /**
@@ -960,6 +982,10 @@ export interface IABSoundfieldLabelSubDescriptor {
960
982
  * ISXD (Immersive Sound XML Data) essence descriptor — Dolby Atmos sidecar format
961
983
  */
962
984
  export interface ISXDDataEssenceDescriptor {
985
+ /**
986
+ * ST 2067-202 §9.1: the Essence Container UL shall be the Frame Wrapped ISXD Container UL (Table 3).
987
+ */
988
+ ContainerFormat?: string | null;
963
989
  DataEssenceCoding?: string | null;
964
990
  InstanceID?: string | null;
965
991
  LinkedTrackID?: number | null;
@@ -1085,6 +1111,10 @@ export interface WAVEPCMDescriptor {
1085
1111
  InstanceID?: string | null;
1086
1112
  LinkedTrackID?: number | null;
1087
1113
  QuantizationBits?: number | null;
1114
+ /**
1115
+ * ST 2067-2 Annex F (2013, 2016) / Annex E (2020): the edit rate of the image the audio is designed to sync to (§5.3.5 Table 6).
1116
+ */
1117
+ ReferenceImageEditRate?: EditRate | null;
1088
1118
  SampleRate?: EditRate | null;
1089
1119
  SubDescriptors?: AudioSubDescriptors | null;
1090
1120
  }
@@ -1106,6 +1136,9 @@ export interface SoundfieldGroupLabelSubDescriptor {
1106
1136
  */
1107
1137
  RFC5646SpokenLanguage?: LanguageTag | null;
1108
1138
  }
1139
+ /**
1140
+ * The CPL's `ExtensionProperties`: ApplicationIdentification (the Application IDs of every ST 2067-2 instance, space-separated), MaxCLL and MaxFALL.
1141
+ */
1109
1142
  export interface ExtensionProperties {
1110
1143
  ApplicationIdentification?: string | null;
1111
1144
  MaxCLL?: number | null;
@@ -1154,6 +1187,10 @@ export interface Segment {
1154
1187
  SequenceList: SequenceList;
1155
1188
  }
1156
1189
  export interface SequenceList {
1190
+ /**
1191
+ * Sequences whose element imferno does not model (ST 2067-3 §6.9.3 Extension Sequences, e.g. ST 2067-203 `MGASADMSignalSequence` or ST 2067-2 `CommentarySequence`), in document order. Filled by `parse_cpl` from the source XML so their EssenceDescriptor and Track File references resolve; no other rules are applied to them.
1192
+ */
1193
+ ExtensionSequence?: ExtensionSequence[];
1157
1194
  ForcedNarrativeSequence?: ForcedNarrativeSequence[];
1158
1195
  HearingImpairedCaptionsSequence?: HearingImpairedCaptionsSequence[];
1159
1196
  IABSequence?: IABSequence[];
@@ -1163,8 +1200,13 @@ export interface SequenceList {
1163
1200
  MarkerSequence?: MarkerSequence[];
1164
1201
  SubtitlesSequence?: SubtitlesSequence[];
1165
1202
  }
1166
- export interface ForcedNarrativeSequence {
1203
+ /**
1204
+ * A Sequence of a kind imferno does not model (ST 2067-3 §6.9.3 Extension Sequence). Every Sequence derives from SequenceType, so its Id, TrackId and Resources are kept; the element is named by `name` (local name) and `namespace` (namespace URI; null when the element has no namespace).
1205
+ */
1206
+ export interface ExtensionSequence {
1167
1207
  Id: ImfUuid;
1208
+ Name?: string;
1209
+ Namespace?: string | null;
1168
1210
  ResourceList: ResourceList;
1169
1211
  TrackId: ImfUuid;
1170
1212
  }
@@ -1208,6 +1250,11 @@ export interface MarkerInfo {
1208
1250
  Label: MarkerLabelElement;
1209
1251
  Offset: number;
1210
1252
  }
1253
+ export interface ForcedNarrativeSequence {
1254
+ Id: ImfUuid;
1255
+ ResourceList: ResourceList;
1256
+ TrackId: ImfUuid;
1257
+ }
1211
1258
  export interface HearingImpairedCaptionsSequence {
1212
1259
  Id: ImfUuid;
1213
1260
  ResourceList: ResourceList;