@imferno/node 3.0.2-fix-review-cpl-core.07a5149 → 3.0.2-fix-review-extension-sequences.b9aa7d1
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/codes.d.ts +4 -8
- package/codes.js +4 -8
- package/package.json +7 -7
- package/types.d.ts +19 -1
package/codes.d.ts
CHANGED
|
@@ -115,15 +115,10 @@ export declare const codes: {
|
|
|
115
115
|
readonly TrackFileId: "ST2067-3/TrackFileId";
|
|
116
116
|
readonly SourceEncodingMissing: "ST2067-3/SourceEncodingMissing";
|
|
117
117
|
readonly VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity";
|
|
118
|
+
readonly VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind";
|
|
119
|
+
readonly ResourceTypeMixed: "ST2067-3/ResourceTypeMixed";
|
|
120
|
+
readonly MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType";
|
|
118
121
|
readonly DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor";
|
|
119
|
-
readonly UniqueSequenceId: "ST2067-3/UniqueSequenceId";
|
|
120
|
-
readonly ContentMaturityRatingAgencyDuplicate: "ST2067-3/ContentMaturityRatingAgencyDuplicate";
|
|
121
|
-
readonly LocaleRegionInvalid: "ST2067-3/LocaleRegionInvalid";
|
|
122
|
-
readonly SignerWithoutSignature: "ST2067-3/SignerWithoutSignature";
|
|
123
|
-
readonly SignatureWithoutSigner: "ST2067-3/SignatureWithoutSigner";
|
|
124
|
-
readonly HashAlgorithmMissing: "ST2067-3/HashAlgorithmMissing";
|
|
125
|
-
readonly HashAlgorithmWithoutHash: "ST2067-3/HashAlgorithmWithoutHash";
|
|
126
|
-
readonly ResourceHashMismatch: "ST2067-3/ResourceHashMismatch";
|
|
127
122
|
};
|
|
128
123
|
readonly ST2067_5: {
|
|
129
124
|
readonly OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier";
|
|
@@ -257,6 +252,7 @@ export declare const codes: {
|
|
|
257
252
|
readonly NotValidated: "XSD/NotValidated";
|
|
258
253
|
};
|
|
259
254
|
readonly IMFERNO: {
|
|
255
|
+
readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
|
|
260
256
|
readonly EditionAssumed: "IMFERNO/EditionAssumed";
|
|
261
257
|
readonly EditionConflict: "IMFERNO/EditionConflict";
|
|
262
258
|
readonly EditionPinned: "IMFERNO/EditionPinned";
|
package/codes.js
CHANGED
|
@@ -115,15 +115,10 @@ const codes = {
|
|
|
115
115
|
TrackFileId: "ST2067-3/TrackFileId",
|
|
116
116
|
SourceEncodingMissing: "ST2067-3/SourceEncodingMissing",
|
|
117
117
|
VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity",
|
|
118
|
+
VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind",
|
|
119
|
+
ResourceTypeMixed: "ST2067-3/ResourceTypeMixed",
|
|
120
|
+
MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType",
|
|
118
121
|
DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor",
|
|
119
|
-
UniqueSequenceId: "ST2067-3/UniqueSequenceId",
|
|
120
|
-
ContentMaturityRatingAgencyDuplicate: "ST2067-3/ContentMaturityRatingAgencyDuplicate",
|
|
121
|
-
LocaleRegionInvalid: "ST2067-3/LocaleRegionInvalid",
|
|
122
|
-
SignerWithoutSignature: "ST2067-3/SignerWithoutSignature",
|
|
123
|
-
SignatureWithoutSigner: "ST2067-3/SignatureWithoutSigner",
|
|
124
|
-
HashAlgorithmMissing: "ST2067-3/HashAlgorithmMissing",
|
|
125
|
-
HashAlgorithmWithoutHash: "ST2067-3/HashAlgorithmWithoutHash",
|
|
126
|
-
ResourceHashMismatch: "ST2067-3/ResourceHashMismatch",
|
|
127
122
|
},
|
|
128
123
|
ST2067_5: {
|
|
129
124
|
OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier",
|
|
@@ -257,6 +252,7 @@ const codes = {
|
|
|
257
252
|
NotValidated: "XSD/NotValidated",
|
|
258
253
|
},
|
|
259
254
|
IMFERNO: {
|
|
255
|
+
ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated",
|
|
260
256
|
EditionAssumed: "IMFERNO/EditionAssumed",
|
|
261
257
|
EditionConflict: "IMFERNO/EditionConflict",
|
|
262
258
|
EditionPinned: "IMFERNO/EditionPinned",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imferno/node",
|
|
3
|
-
"version": "3.0.2-fix-review-
|
|
3
|
+
"version": "3.0.2-fix-review-extension-sequences.b9aa7d1",
|
|
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-fix-review-
|
|
49
|
-
"@imferno/node-darwin-x64": "3.0.2-fix-review-
|
|
50
|
-
"@imferno/node-linux-x64-gnu": "3.0.2-fix-review-
|
|
51
|
-
"@imferno/node-linux-arm64-gnu": "3.0.2-fix-review-
|
|
52
|
-
"@imferno/node-win32-x64-msvc": "3.0.2-fix-review-
|
|
53
|
-
"@imferno/node-win32-arm64-msvc": "3.0.2-fix-review-
|
|
48
|
+
"@imferno/node-darwin-arm64": "3.0.2-fix-review-extension-sequences.b9aa7d1",
|
|
49
|
+
"@imferno/node-darwin-x64": "3.0.2-fix-review-extension-sequences.b9aa7d1",
|
|
50
|
+
"@imferno/node-linux-x64-gnu": "3.0.2-fix-review-extension-sequences.b9aa7d1",
|
|
51
|
+
"@imferno/node-linux-arm64-gnu": "3.0.2-fix-review-extension-sequences.b9aa7d1",
|
|
52
|
+
"@imferno/node-win32-x64-msvc": "3.0.2-fix-review-extension-sequences.b9aa7d1",
|
|
53
|
+
"@imferno/node-win32-arm64-msvc": "3.0.2-fix-review-extension-sequences.b9aa7d1"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
package/types.d.ts
CHANGED
|
@@ -355,6 +355,10 @@ export interface ValidationReport {
|
|
|
355
355
|
* Whether the package is compliant with base SMPTE standards
|
|
356
356
|
*/
|
|
357
357
|
is_compliant: boolean;
|
|
358
|
+
/**
|
|
359
|
+
* 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.
|
|
360
|
+
*/
|
|
361
|
+
is_fully_validated: boolean;
|
|
358
362
|
/**
|
|
359
363
|
* Whether the package is playable despite issues
|
|
360
364
|
*/
|
|
@@ -1154,6 +1158,10 @@ export interface Segment {
|
|
|
1154
1158
|
SequenceList: SequenceList;
|
|
1155
1159
|
}
|
|
1156
1160
|
export interface SequenceList {
|
|
1161
|
+
/**
|
|
1162
|
+
* 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.
|
|
1163
|
+
*/
|
|
1164
|
+
ExtensionSequence?: ExtensionSequence[];
|
|
1157
1165
|
ForcedNarrativeSequence?: ForcedNarrativeSequence[];
|
|
1158
1166
|
HearingImpairedCaptionsSequence?: HearingImpairedCaptionsSequence[];
|
|
1159
1167
|
IABSequence?: IABSequence[];
|
|
@@ -1163,8 +1171,13 @@ export interface SequenceList {
|
|
|
1163
1171
|
MarkerSequence?: MarkerSequence[];
|
|
1164
1172
|
SubtitlesSequence?: SubtitlesSequence[];
|
|
1165
1173
|
}
|
|
1166
|
-
|
|
1174
|
+
/**
|
|
1175
|
+
* 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, `None` when unbound).
|
|
1176
|
+
*/
|
|
1177
|
+
export interface ExtensionSequence {
|
|
1167
1178
|
Id: ImfUuid;
|
|
1179
|
+
Name?: string;
|
|
1180
|
+
Namespace?: string | null;
|
|
1168
1181
|
ResourceList: ResourceList;
|
|
1169
1182
|
TrackId: ImfUuid;
|
|
1170
1183
|
}
|
|
@@ -1208,6 +1221,11 @@ export interface MarkerInfo {
|
|
|
1208
1221
|
Label: MarkerLabelElement;
|
|
1209
1222
|
Offset: number;
|
|
1210
1223
|
}
|
|
1224
|
+
export interface ForcedNarrativeSequence {
|
|
1225
|
+
Id: ImfUuid;
|
|
1226
|
+
ResourceList: ResourceList;
|
|
1227
|
+
TrackId: ImfUuid;
|
|
1228
|
+
}
|
|
1211
1229
|
export interface HearingImpairedCaptionsSequence {
|
|
1212
1230
|
Id: ImfUuid;
|
|
1213
1231
|
ResourceList: ResourceList;
|