@onmark/cli 0.4.0 → 0.5.1

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.
@@ -1,15 +1,16 @@
1
1
  // Generated by `cargo xtask schema`; do not edit.
2
2
  "use strict";
3
3
  export const validateBrowserRequest = validate20;
4
- const schema31 = { "$defs": { "BrowserCommand": { "description": "Closed commands understood by the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "Install one immutable browser plan.", "properties": { "plan": { "$ref": "#/$defs/BrowserPlan", "description": "Solved frame facts consumed by the runtime clock." }, "type": { "const": "load", "type": "string" } }, "required": ["type", "plan"], "type": "object" }, { "additionalProperties": false, "description": "Stabilize resources at the evaluation start frame.", "properties": { "evaluationStart": { "$ref": "#/$defs/WireFrame", "description": "First frame that may be evaluated by this unit." }, "type": { "const": "prepare", "type": "string" } }, "required": ["type", "evaluationStart"], "type": "object" }, { "additionalProperties": false, "description": "Evaluate one exact absolute frame.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Frame selected by the native executor." }, "type": { "const": "seek", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "Confirm staged media reached the compositor before accepting capture.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Frame whose staged media must be compositor-confirmed." }, "type": { "const": "confirm", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "Release page-owned resources for this session.", "properties": { "type": { "const": "dispose", "type": "string" } }, "required": ["type"], "type": "object" }] }, "BrowserNode": { "additionalProperties": false, "description": "Browser-facing identity retained from one Timeline element.", "properties": { "authoredId": { "type": ["string", "null"] }, "nodeId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["nodeId"], "type": "object" }, "BrowserNodeId": { "description": "Browser identity for one Timeline element or imported caption.\n\nIDs form dense renderable-semantic preorder within one Browser Plan.\n\nAuthored IDs, rather than this unit-local key, retain cross-projection\nsemantic identity.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "BrowserOverlay": { "additionalProperties": false, "description": "One solved overlay placement consumed by the browser presentation.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "kind": { "$ref": "#/$defs/BrowserOverlayKind" }, "node": { "$ref": "#/$defs/BrowserNode" }, "shotId": { "anyOf": [{ "$ref": "#/$defs/BrowserNodeId" }, { "type": "null" }] }, "text": { "maxLength": 65536, "type": "string" } }, "required": ["node", "kind", "text", "interval"], "type": "object" }, "BrowserOverlayKind": { "description": "Closed overlay roles understood by the browser presentation.", "oneOf": [{ "const": "title", "description": "Authored title content.", "type": "string" }, { "const": "callToAction", "description": "Authored call-to-action content.", "type": "string" }, { "const": "caption", "description": "Imported caption text.", "type": "string" }] }, "BrowserPlan": { "additionalProperties": false, "description": "Timeline facts consumed by the browser clock and presentation.", "properties": { "evaluation": { "$ref": "#/$defs/WireInterval" }, "film": { "$ref": "#/$defs/BrowserNode" }, "frameRate": { "$ref": "#/$defs/WireFrameRate" }, "output": { "$ref": "#/$defs/WireInterval" }, "overlays": { "items": { "$ref": "#/$defs/BrowserOverlay" }, "maxItems": 10000, "type": "array" }, "scenes": { "items": { "$ref": "#/$defs/BrowserScene" }, "maxItems": 10000, "type": "array" }, "shots": { "items": { "$ref": "#/$defs/BrowserShot" }, "maxItems": 10000, "type": "array" }, "timeline": { "$ref": "#/$defs/WireInterval" }, "timelineVersion": { "const": 3, "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "transitions": { "items": { "$ref": "#/$defs/BrowserTransition" }, "maxItems": 10000, "type": "array" }, "videos": { "items": { "$ref": "#/$defs/BrowserVideo" }, "maxItems": 10000, "type": "array" } }, "required": ["timelineVersion", "frameRate", "timeline", "evaluation", "output", "film", "scenes", "shots", "transitions", "videos", "overlays"], "type": "object" }, "BrowserScene": { "additionalProperties": false, "description": "One scene container intersecting this unit, with its complete Timeline interval.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" } }, "required": ["node", "interval"], "type": "object" }, "BrowserShot": { "additionalProperties": false, "description": "One shot container intersecting this unit, with its complete Timeline interval.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "sceneId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["node", "sceneId", "interval"], "type": "object" }, "BrowserTransition": { "additionalProperties": false, "description": "One solved transition between two adjacent browser shots.", "properties": { "incomingShotId": { "$ref": "#/$defs/BrowserNodeId" }, "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "outgoingShotId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["node", "outgoingShotId", "incomingShotId", "interval"], "type": "object" }, "BrowserVideo": { "additionalProperties": false, "description": "One primary video placement consumed by the browser presentation adapter.", "properties": { "assetId": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "shotId": { "$ref": "#/$defs/BrowserNodeId" }, "source": { "$ref": "#/$defs/BrowserVideoSource" }, "sourceTiming": { "$ref": "#/$defs/BrowserVideoTiming" } }, "required": ["node", "shotId", "assetId", "interval", "sourceTiming", "source"], "type": "object" }, "BrowserVideoSource": { "additionalProperties": false, "description": "Exact source-time mapping for one browser video placement.", "properties": { "endNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "holdLastNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "naturalEndNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "playbackRate": { "$ref": "#/$defs/WirePlaybackRate" }, "plays": { "format": "uint32", "minimum": 1, "type": "integer" }, "startNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } }, "required": ["startNanoseconds", "endNanoseconds", "naturalEndNanoseconds", "playbackRate", "plays", "holdLastNanoseconds"], "type": "object" }, "BrowserVideoTiming": { "description": "Exact source-frame timing projected into the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "Every source frame has one exact rational rate.", "properties": { "frameRate": { "$ref": "#/$defs/WireFrameRate", "description": "Exact source frames per second." }, "kind": { "const": "constant", "type": "string" } }, "required": ["kind", "frameRate"], "type": "object" }, { "additionalProperties": false, "description": "Every source frame carries one half-open timestamp interval.", "properties": { "boundaries": { "description": "Canonical decimal ticks from source zero through terminal end.", "items": { "type": "string" }, "maxItems": 100000, "minItems": 3, "type": "array" }, "kind": { "const": "variable", "type": "string" }, "timebase": { "$ref": "#/$defs/WireMediaTimebase", "description": "Exact seconds represented by one source timestamp tick." } }, "required": ["kind", "timebase", "boundaries"], "type": "object" }] }, "ProtocolVersion": { "const": 4, "description": "Version of the native-to-browser message contract.", "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "RequestId": { "description": "Correlation identity shared by one request and its response events.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "WireFrame": { "description": "Exact frame integer accepted by JavaScript without rounding.", "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "WireFrameRate": { "additionalProperties": false, "description": "Exact rational frame rate represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" }, "WireInterval": { "additionalProperties": false, "description": "One half-open browser frame interval.", "properties": { "end": { "$ref": "#/$defs/WireFrame" }, "start": { "$ref": "#/$defs/WireFrame" } }, "required": ["start", "end"], "type": "object" }, "WireMediaTimebase": { "additionalProperties": false, "description": "Exact media timestamp unit represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" }, "WirePlaybackRate": { "additionalProperties": false, "description": "Exact canonical playback ratio represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" } }, "$id": "https://onmark.dev/schemas/browser-request-v4.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "One versioned command sent from the native executor to the browser.", "properties": { "command": { "$ref": "#/$defs/BrowserCommand" }, "requestId": { "$ref": "#/$defs/RequestId" }, "version": { "$ref": "#/$defs/ProtocolVersion" } }, "required": ["version", "requestId", "command"], "title": "BrowserRequest", "type": "object", "x-onmark-runtime-host": "__ONMARK_RUNTIME__" };
5
- const schema59 = { "description": "Correlation identity shared by one request and its response events.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" };
6
- const schema60 = { "const": 4, "description": "Version of the native-to-browser message contract.", "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" };
7
- const schema32 = { "description": "Closed commands understood by the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "Install one immutable browser plan.", "properties": { "plan": { "$ref": "#/$defs/BrowserPlan", "description": "Solved frame facts consumed by the runtime clock." }, "type": { "const": "load", "type": "string" } }, "required": ["type", "plan"], "type": "object" }, { "additionalProperties": false, "description": "Stabilize resources at the evaluation start frame.", "properties": { "evaluationStart": { "$ref": "#/$defs/WireFrame", "description": "First frame that may be evaluated by this unit." }, "type": { "const": "prepare", "type": "string" } }, "required": ["type", "evaluationStart"], "type": "object" }, { "additionalProperties": false, "description": "Evaluate one exact absolute frame.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Frame selected by the native executor." }, "type": { "const": "seek", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "Confirm staged media reached the compositor before accepting capture.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Frame whose staged media must be compositor-confirmed." }, "type": { "const": "confirm", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "Release page-owned resources for this session.", "properties": { "type": { "const": "dispose", "type": "string" } }, "required": ["type"], "type": "object" }] };
8
- const schema35 = { "description": "Exact frame integer accepted by JavaScript without rounding.", "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" };
9
- const schema33 = { "additionalProperties": false, "description": "Timeline facts consumed by the browser clock and presentation.", "properties": { "evaluation": { "$ref": "#/$defs/WireInterval" }, "film": { "$ref": "#/$defs/BrowserNode" }, "frameRate": { "$ref": "#/$defs/WireFrameRate" }, "output": { "$ref": "#/$defs/WireInterval" }, "overlays": { "items": { "$ref": "#/$defs/BrowserOverlay" }, "maxItems": 10000, "type": "array" }, "scenes": { "items": { "$ref": "#/$defs/BrowserScene" }, "maxItems": 10000, "type": "array" }, "shots": { "items": { "$ref": "#/$defs/BrowserShot" }, "maxItems": 10000, "type": "array" }, "timeline": { "$ref": "#/$defs/WireInterval" }, "timelineVersion": { "const": 3, "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "transitions": { "items": { "$ref": "#/$defs/BrowserTransition" }, "maxItems": 10000, "type": "array" }, "videos": { "items": { "$ref": "#/$defs/BrowserVideo" }, "maxItems": 10000, "type": "array" } }, "required": ["timelineVersion", "frameRate", "timeline", "evaluation", "output", "film", "scenes", "shots", "transitions", "videos", "overlays"], "type": "object" };
10
- const schema39 = { "additionalProperties": false, "description": "Exact rational frame rate represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" };
4
+ const schema31 = { "$defs": { "BrowserCommand": { "description": "Closed commands understood by the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "Install one immutable browser plan.", "properties": { "mediaMode": { "$ref": "#/$defs/BrowserMediaMode", "description": "Browser responsibility for primary-media elements." }, "plan": { "$ref": "#/$defs/BrowserPlan", "description": "Solved frame facts consumed by the runtime clock." }, "type": { "const": "load", "type": "string" } }, "required": ["type", "plan", "mediaMode"], "type": "object" }, { "additionalProperties": false, "description": "Stabilize resources at the evaluation start frame.", "properties": { "evaluationStart": { "$ref": "#/$defs/WireFrame", "description": "First frame that may be evaluated by this unit." }, "type": { "const": "prepare", "type": "string" } }, "required": ["type", "evaluationStart"], "type": "object" }, { "additionalProperties": false, "description": "Evaluate one exact absolute frame.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Frame selected by the native executor." }, "type": { "const": "seek", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "Confirm staged media reached the compositor before accepting capture.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Frame whose staged media must be compositor-confirmed." }, "type": { "const": "confirm", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "Release page-owned resources for this session.", "properties": { "type": { "const": "dispose", "type": "string" } }, "required": ["type"], "type": "object" }] }, "BrowserMediaMode": { "description": "Browser responsibility for video elements in one loaded plan.", "oneOf": [{ "const": "decoded", "description": "Chromium decodes and composites every active video placement.", "type": "string" }, { "const": "omitted", "description": "Chromium omits video elements from its captured pixels.", "type": "string" }, { "const": "layoutOnly", "description": "Chromium omits video pixels but returns static layout evidence.", "type": "string" }] }, "BrowserNode": { "additionalProperties": false, "description": "Browser-facing identity retained from one Timeline element.", "properties": { "authoredId": { "type": ["string", "null"] }, "nodeId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["nodeId"], "type": "object" }, "BrowserNodeId": { "description": "Browser identity for one Timeline element or imported caption.\n\nIDs form dense renderable-semantic preorder within one Browser Plan.\n\nAuthored IDs, rather than this unit-local key, retain cross-projection\nsemantic identity.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "BrowserOverlay": { "additionalProperties": false, "description": "One solved overlay placement consumed by the browser presentation.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "kind": { "$ref": "#/$defs/BrowserOverlayKind" }, "node": { "$ref": "#/$defs/BrowserNode" }, "shotId": { "anyOf": [{ "$ref": "#/$defs/BrowserNodeId" }, { "type": "null" }] }, "text": { "maxLength": 65536, "type": "string" } }, "required": ["node", "kind", "text", "interval"], "type": "object" }, "BrowserOverlayKind": { "description": "Closed overlay roles understood by the browser presentation.", "oneOf": [{ "const": "title", "description": "Authored title content.", "type": "string" }, { "const": "callToAction", "description": "Authored call-to-action content.", "type": "string" }, { "const": "caption", "description": "Imported caption text.", "type": "string" }] }, "BrowserPlan": { "additionalProperties": false, "description": "Timeline facts consumed by the browser clock and presentation.", "properties": { "evaluation": { "$ref": "#/$defs/WireInterval" }, "film": { "$ref": "#/$defs/BrowserNode" }, "frameRate": { "$ref": "#/$defs/WireFrameRate" }, "output": { "$ref": "#/$defs/WireInterval" }, "overlays": { "items": { "$ref": "#/$defs/BrowserOverlay" }, "maxItems": 10000, "type": "array" }, "scenes": { "items": { "$ref": "#/$defs/BrowserScene" }, "maxItems": 10000, "type": "array" }, "shots": { "items": { "$ref": "#/$defs/BrowserShot" }, "maxItems": 10000, "type": "array" }, "timeline": { "$ref": "#/$defs/WireInterval" }, "timelineVersion": { "const": 3, "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "transitions": { "items": { "$ref": "#/$defs/BrowserTransition" }, "maxItems": 10000, "type": "array" }, "videos": { "items": { "$ref": "#/$defs/BrowserVideo" }, "maxItems": 10000, "type": "array" } }, "required": ["timelineVersion", "frameRate", "timeline", "evaluation", "output", "film", "scenes", "shots", "transitions", "videos", "overlays"], "type": "object" }, "BrowserScene": { "additionalProperties": false, "description": "One scene container intersecting this unit, with its complete Timeline interval.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" } }, "required": ["node", "interval"], "type": "object" }, "BrowserShot": { "additionalProperties": false, "description": "One shot container intersecting this unit, with its complete Timeline interval.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "sceneId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["node", "sceneId", "interval"], "type": "object" }, "BrowserTransition": { "additionalProperties": false, "description": "One solved transition between two adjacent browser shots.", "properties": { "incomingShotId": { "$ref": "#/$defs/BrowserNodeId" }, "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "outgoingShotId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["node", "outgoingShotId", "incomingShotId", "interval"], "type": "object" }, "BrowserVideo": { "additionalProperties": false, "description": "One primary video placement consumed by the browser presentation adapter.", "properties": { "assetId": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "shotId": { "$ref": "#/$defs/BrowserNodeId" }, "source": { "$ref": "#/$defs/BrowserVideoSource" }, "sourceTiming": { "$ref": "#/$defs/BrowserVideoTiming" } }, "required": ["node", "shotId", "assetId", "interval", "sourceTiming", "source"], "type": "object" }, "BrowserVideoSource": { "additionalProperties": false, "description": "Exact source-time mapping for one browser video placement.", "properties": { "endNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "holdLastNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "naturalEndNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "playbackRate": { "$ref": "#/$defs/WirePlaybackRate" }, "plays": { "format": "uint32", "minimum": 1, "type": "integer" }, "startNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } }, "required": ["startNanoseconds", "endNanoseconds", "naturalEndNanoseconds", "playbackRate", "plays", "holdLastNanoseconds"], "type": "object" }, "BrowserVideoTiming": { "description": "Exact source-frame timing projected into the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "Every source frame has one exact rational rate.", "properties": { "frameRate": { "$ref": "#/$defs/WireFrameRate", "description": "Exact source frames per second." }, "kind": { "const": "constant", "type": "string" } }, "required": ["kind", "frameRate"], "type": "object" }, { "additionalProperties": false, "description": "Every source frame carries one half-open timestamp interval.", "properties": { "boundaries": { "description": "Canonical decimal ticks from source zero through terminal end.", "items": { "type": "string" }, "maxItems": 100000, "minItems": 3, "type": "array" }, "kind": { "const": "variable", "type": "string" }, "timebase": { "$ref": "#/$defs/WireMediaTimebase", "description": "Exact seconds represented by one source timestamp tick." } }, "required": ["kind", "timebase", "boundaries"], "type": "object" }] }, "ProtocolVersion": { "const": 5, "description": "Version of the native-to-browser message contract.", "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "RequestId": { "description": "Correlation identity shared by one request and its response events.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "WireFrame": { "description": "Exact frame integer accepted by JavaScript without rounding.", "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "WireFrameRate": { "additionalProperties": false, "description": "Exact rational frame rate represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" }, "WireInterval": { "additionalProperties": false, "description": "One half-open browser frame interval.", "properties": { "end": { "$ref": "#/$defs/WireFrame" }, "start": { "$ref": "#/$defs/WireFrame" } }, "required": ["start", "end"], "type": "object" }, "WireMediaTimebase": { "additionalProperties": false, "description": "Exact media timestamp unit represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" }, "WirePlaybackRate": { "additionalProperties": false, "description": "Exact canonical playback ratio represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" } }, "$id": "https://onmark.dev/schemas/browser-request-v5.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "One versioned command sent from the native executor to the browser.", "properties": { "command": { "$ref": "#/$defs/BrowserCommand" }, "requestId": { "$ref": "#/$defs/RequestId" }, "version": { "$ref": "#/$defs/ProtocolVersion" } }, "required": ["version", "requestId", "command"], "title": "BrowserRequest", "type": "object", "x-onmark-runtime-host": "__ONMARK_RUNTIME__" };
5
+ const schema60 = { "description": "Correlation identity shared by one request and its response events.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" };
6
+ const schema61 = { "const": 5, "description": "Version of the native-to-browser message contract.", "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" };
7
+ const schema32 = { "description": "Closed commands understood by the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "Install one immutable browser plan.", "properties": { "mediaMode": { "$ref": "#/$defs/BrowserMediaMode", "description": "Browser responsibility for primary-media elements." }, "plan": { "$ref": "#/$defs/BrowserPlan", "description": "Solved frame facts consumed by the runtime clock." }, "type": { "const": "load", "type": "string" } }, "required": ["type", "plan", "mediaMode"], "type": "object" }, { "additionalProperties": false, "description": "Stabilize resources at the evaluation start frame.", "properties": { "evaluationStart": { "$ref": "#/$defs/WireFrame", "description": "First frame that may be evaluated by this unit." }, "type": { "const": "prepare", "type": "string" } }, "required": ["type", "evaluationStart"], "type": "object" }, { "additionalProperties": false, "description": "Evaluate one exact absolute frame.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Frame selected by the native executor." }, "type": { "const": "seek", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "Confirm staged media reached the compositor before accepting capture.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Frame whose staged media must be compositor-confirmed." }, "type": { "const": "confirm", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "Release page-owned resources for this session.", "properties": { "type": { "const": "dispose", "type": "string" } }, "required": ["type"], "type": "object" }] };
8
+ const schema33 = { "description": "Browser responsibility for video elements in one loaded plan.", "oneOf": [{ "const": "decoded", "description": "Chromium decodes and composites every active video placement.", "type": "string" }, { "const": "omitted", "description": "Chromium omits video elements from its captured pixels.", "type": "string" }, { "const": "layoutOnly", "description": "Chromium omits video pixels but returns static layout evidence.", "type": "string" }] };
9
+ const schema36 = { "description": "Exact frame integer accepted by JavaScript without rounding.", "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" };
10
+ const schema34 = { "additionalProperties": false, "description": "Timeline facts consumed by the browser clock and presentation.", "properties": { "evaluation": { "$ref": "#/$defs/WireInterval" }, "film": { "$ref": "#/$defs/BrowserNode" }, "frameRate": { "$ref": "#/$defs/WireFrameRate" }, "output": { "$ref": "#/$defs/WireInterval" }, "overlays": { "items": { "$ref": "#/$defs/BrowserOverlay" }, "maxItems": 10000, "type": "array" }, "scenes": { "items": { "$ref": "#/$defs/BrowserScene" }, "maxItems": 10000, "type": "array" }, "shots": { "items": { "$ref": "#/$defs/BrowserShot" }, "maxItems": 10000, "type": "array" }, "timeline": { "$ref": "#/$defs/WireInterval" }, "timelineVersion": { "const": 3, "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "transitions": { "items": { "$ref": "#/$defs/BrowserTransition" }, "maxItems": 10000, "type": "array" }, "videos": { "items": { "$ref": "#/$defs/BrowserVideo" }, "maxItems": 10000, "type": "array" } }, "required": ["timelineVersion", "frameRate", "timeline", "evaluation", "output", "film", "scenes", "shots", "transitions", "videos", "overlays"], "type": "object" };
11
+ const schema40 = { "additionalProperties": false, "description": "Exact rational frame rate represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" };
11
12
  const func1 = Object.prototype.hasOwnProperty;
12
- const schema34 = { "additionalProperties": false, "description": "One half-open browser frame interval.", "properties": { "end": { "$ref": "#/$defs/WireFrame" }, "start": { "$ref": "#/$defs/WireFrame" } }, "required": ["start", "end"], "type": "object" };
13
+ const schema35 = { "additionalProperties": false, "description": "One half-open browser frame interval.", "properties": { "end": { "$ref": "#/$defs/WireFrame" }, "start": { "$ref": "#/$defs/WireFrame" } }, "required": ["start", "end"], "type": "object" };
13
14
  function validate23(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14
15
  let vErrors = null;
15
16
  let errors = 0;
@@ -138,8 +139,8 @@ function validate23(data, { instancePath = "", parentData, parentDataProperty, r
138
139
  return errors === 0;
139
140
  }
140
141
  validate23.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
141
- const schema37 = { "additionalProperties": false, "description": "Browser-facing identity retained from one Timeline element.", "properties": { "authoredId": { "type": ["string", "null"] }, "nodeId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["nodeId"], "type": "object" };
142
- const schema38 = { "description": "Browser identity for one Timeline element or imported caption.\n\nIDs form dense renderable-semantic preorder within one Browser Plan.\n\nAuthored IDs, rather than this unit-local key, retain cross-projection\nsemantic identity.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" };
142
+ const schema38 = { "additionalProperties": false, "description": "Browser-facing identity retained from one Timeline element.", "properties": { "authoredId": { "type": ["string", "null"] }, "nodeId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["nodeId"], "type": "object" };
143
+ const schema39 = { "description": "Browser identity for one Timeline element or imported caption.\n\nIDs form dense renderable-semantic preorder within one Browser Plan.\n\nAuthored IDs, rather than this unit-local key, retain cross-projection\nsemantic identity.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" };
143
144
  function validate25(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
144
145
  let vErrors = null;
145
146
  let errors = 0;
@@ -176,7 +177,7 @@ function validate25(data, { instancePath = "", parentData, parentDataProperty, r
176
177
  if (data.authoredId !== undefined) {
177
178
  let data0 = data.authoredId;
178
179
  if ((typeof data0 !== "string") && (data0 !== null)) {
179
- const err2 = { instancePath: instancePath + "/authoredId", schemaPath: "#/properties/authoredId/type", keyword: "type", params: { type: schema37.properties.authoredId.type }, message: "must be string,null" };
180
+ const err2 = { instancePath: instancePath + "/authoredId", schemaPath: "#/properties/authoredId/type", keyword: "type", params: { type: schema38.properties.authoredId.type }, message: "must be string,null" };
180
181
  if (vErrors === null) {
181
182
  vErrors = [err2];
182
183
  }
@@ -236,8 +237,8 @@ function validate25(data, { instancePath = "", parentData, parentDataProperty, r
236
237
  return errors === 0;
237
238
  }
238
239
  validate25.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
239
- const schema40 = { "additionalProperties": false, "description": "One solved overlay placement consumed by the browser presentation.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "kind": { "$ref": "#/$defs/BrowserOverlayKind" }, "node": { "$ref": "#/$defs/BrowserNode" }, "shotId": { "anyOf": [{ "$ref": "#/$defs/BrowserNodeId" }, { "type": "null" }] }, "text": { "maxLength": 65536, "type": "string" } }, "required": ["node", "kind", "text", "interval"], "type": "object" };
240
- const schema41 = { "description": "Closed overlay roles understood by the browser presentation.", "oneOf": [{ "const": "title", "description": "Authored title content.", "type": "string" }, { "const": "callToAction", "description": "Authored call-to-action content.", "type": "string" }, { "const": "caption", "description": "Imported caption text.", "type": "string" }] };
240
+ const schema41 = { "additionalProperties": false, "description": "One solved overlay placement consumed by the browser presentation.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "kind": { "$ref": "#/$defs/BrowserOverlayKind" }, "node": { "$ref": "#/$defs/BrowserNode" }, "shotId": { "anyOf": [{ "$ref": "#/$defs/BrowserNodeId" }, { "type": "null" }] }, "text": { "maxLength": 65536, "type": "string" } }, "required": ["node", "kind", "text", "interval"], "type": "object" };
241
+ const schema42 = { "description": "Closed overlay roles understood by the browser presentation.", "oneOf": [{ "const": "title", "description": "Authored title content.", "type": "string" }, { "const": "callToAction", "description": "Authored call-to-action content.", "type": "string" }, { "const": "caption", "description": "Imported caption text.", "type": "string" }] };
241
242
  const func2 = (value) => { let length = 0; for (const _ of value)
242
243
  length += 1; return length; };
243
244
  function validate28(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
@@ -546,7 +547,7 @@ function validate28(data, { instancePath = "", parentData, parentDataProperty, r
546
547
  return errors === 0;
547
548
  }
548
549
  validate28.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
549
- const schema43 = { "additionalProperties": false, "description": "One scene container intersecting this unit, with its complete Timeline interval.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" } }, "required": ["node", "interval"], "type": "object" };
550
+ const schema44 = { "additionalProperties": false, "description": "One scene container intersecting this unit, with its complete Timeline interval.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" } }, "required": ["node", "interval"], "type": "object" };
550
551
  function validate32(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
551
552
  let vErrors = null;
552
553
  let errors = 0;
@@ -617,7 +618,7 @@ function validate32(data, { instancePath = "", parentData, parentDataProperty, r
617
618
  return errors === 0;
618
619
  }
619
620
  validate32.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
620
- const schema44 = { "additionalProperties": false, "description": "One shot container intersecting this unit, with its complete Timeline interval.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "sceneId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["node", "sceneId", "interval"], "type": "object" };
621
+ const schema45 = { "additionalProperties": false, "description": "One shot container intersecting this unit, with its complete Timeline interval.", "properties": { "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "sceneId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["node", "sceneId", "interval"], "type": "object" };
621
622
  function validate36(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
622
623
  let vErrors = null;
623
624
  let errors = 0;
@@ -733,7 +734,7 @@ function validate36(data, { instancePath = "", parentData, parentDataProperty, r
733
734
  return errors === 0;
734
735
  }
735
736
  validate36.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
736
- const schema46 = { "additionalProperties": false, "description": "One solved transition between two adjacent browser shots.", "properties": { "incomingShotId": { "$ref": "#/$defs/BrowserNodeId" }, "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "outgoingShotId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["node", "outgoingShotId", "incomingShotId", "interval"], "type": "object" };
737
+ const schema47 = { "additionalProperties": false, "description": "One solved transition between two adjacent browser shots.", "properties": { "incomingShotId": { "$ref": "#/$defs/BrowserNodeId" }, "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "outgoingShotId": { "$ref": "#/$defs/BrowserNodeId" } }, "required": ["node", "outgoingShotId", "incomingShotId", "interval"], "type": "object" };
737
738
  function validate41(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
738
739
  let vErrors = null;
739
740
  let errors = 0;
@@ -894,10 +895,10 @@ function validate41(data, { instancePath = "", parentData, parentDataProperty, r
894
895
  return errors === 0;
895
896
  }
896
897
  validate41.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
897
- const schema49 = { "additionalProperties": false, "description": "One primary video placement consumed by the browser presentation adapter.", "properties": { "assetId": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "shotId": { "$ref": "#/$defs/BrowserNodeId" }, "source": { "$ref": "#/$defs/BrowserVideoSource" }, "sourceTiming": { "$ref": "#/$defs/BrowserVideoTiming" } }, "required": ["node", "shotId", "assetId", "interval", "sourceTiming", "source"], "type": "object" };
898
+ const schema50 = { "additionalProperties": false, "description": "One primary video placement consumed by the browser presentation adapter.", "properties": { "assetId": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "interval": { "$ref": "#/$defs/WireInterval" }, "node": { "$ref": "#/$defs/BrowserNode" }, "shotId": { "$ref": "#/$defs/BrowserNodeId" }, "source": { "$ref": "#/$defs/BrowserVideoSource" }, "sourceTiming": { "$ref": "#/$defs/BrowserVideoTiming" } }, "required": ["node", "shotId", "assetId", "interval", "sourceTiming", "source"], "type": "object" };
898
899
  const pattern4 = new RegExp("^sha256:[0-9a-f]{64}$", "u");
899
- const schema51 = { "additionalProperties": false, "description": "Exact source-time mapping for one browser video placement.", "properties": { "endNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "holdLastNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "naturalEndNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "playbackRate": { "$ref": "#/$defs/WirePlaybackRate" }, "plays": { "format": "uint32", "minimum": 1, "type": "integer" }, "startNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } }, "required": ["startNanoseconds", "endNanoseconds", "naturalEndNanoseconds", "playbackRate", "plays", "holdLastNanoseconds"], "type": "object" };
900
- const schema52 = { "additionalProperties": false, "description": "Exact canonical playback ratio represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" };
900
+ const schema52 = { "additionalProperties": false, "description": "Exact source-time mapping for one browser video placement.", "properties": { "endNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "holdLastNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "naturalEndNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" }, "playbackRate": { "$ref": "#/$defs/WirePlaybackRate" }, "plays": { "format": "uint32", "minimum": 1, "type": "integer" }, "startNanoseconds": { "maxLength": 20, "minLength": 1, "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } }, "required": ["startNanoseconds", "endNanoseconds", "naturalEndNanoseconds", "playbackRate", "plays", "holdLastNanoseconds"], "type": "object" };
901
+ const schema53 = { "additionalProperties": false, "description": "Exact canonical playback ratio represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" };
901
902
  const pattern5 = new RegExp("^(0|[1-9][0-9]*)$", "u");
902
903
  function validate48(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
903
904
  let vErrors = null;
@@ -1319,8 +1320,8 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
1319
1320
  return errors === 0;
1320
1321
  }
1321
1322
  validate48.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
1322
- const schema53 = { "description": "Exact source-frame timing projected into the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "Every source frame has one exact rational rate.", "properties": { "frameRate": { "$ref": "#/$defs/WireFrameRate", "description": "Exact source frames per second." }, "kind": { "const": "constant", "type": "string" } }, "required": ["kind", "frameRate"], "type": "object" }, { "additionalProperties": false, "description": "Every source frame carries one half-open timestamp interval.", "properties": { "boundaries": { "description": "Canonical decimal ticks from source zero through terminal end.", "items": { "type": "string" }, "maxItems": 100000, "minItems": 3, "type": "array" }, "kind": { "const": "variable", "type": "string" }, "timebase": { "$ref": "#/$defs/WireMediaTimebase", "description": "Exact seconds represented by one source timestamp tick." } }, "required": ["kind", "timebase", "boundaries"], "type": "object" }] };
1323
- const schema55 = { "additionalProperties": false, "description": "Exact media timestamp unit represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" };
1323
+ const schema54 = { "description": "Exact source-frame timing projected into the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "Every source frame has one exact rational rate.", "properties": { "frameRate": { "$ref": "#/$defs/WireFrameRate", "description": "Exact source frames per second." }, "kind": { "const": "constant", "type": "string" } }, "required": ["kind", "frameRate"], "type": "object" }, { "additionalProperties": false, "description": "Every source frame carries one half-open timestamp interval.", "properties": { "boundaries": { "description": "Canonical decimal ticks from source zero through terminal end.", "items": { "type": "string" }, "maxItems": 100000, "minItems": 3, "type": "array" }, "kind": { "const": "variable", "type": "string" }, "timebase": { "$ref": "#/$defs/WireMediaTimebase", "description": "Exact seconds represented by one source timestamp tick." } }, "required": ["kind", "timebase", "boundaries"], "type": "object" }] };
1324
+ const schema56 = { "additionalProperties": false, "description": "Exact media timestamp unit represented with browser-safe integers.", "properties": { "denominator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" }, "numerator": { "format": "uint32", "maximum": 4294967295, "minimum": 1, "type": "integer" } }, "required": ["numerator", "denominator"], "type": "object" };
1324
1325
  function validate50(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
1325
1326
  let vErrors = null;
1326
1327
  let errors = 0;
@@ -2112,7 +2113,7 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
2112
2113
  errors++;
2113
2114
  }
2114
2115
  for (const key0 in data) {
2115
- if (!(func1.call(schema33.properties, key0))) {
2116
+ if (!(func1.call(schema34.properties, key0))) {
2116
2117
  const err11 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
2117
2118
  if (vErrors === null) {
2118
2119
  vErrors = [err11];
@@ -2519,17 +2520,144 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
2519
2520
  }
2520
2521
  errors++;
2521
2522
  }
2523
+ if (data.mediaMode === undefined) {
2524
+ const err2 = { instancePath, schemaPath: "#/oneOf/0/required", keyword: "required", params: { missingProperty: "mediaMode" }, message: "must have required property '" + "mediaMode" + "'" };
2525
+ if (vErrors === null) {
2526
+ vErrors = [err2];
2527
+ }
2528
+ else {
2529
+ vErrors.push(err2);
2530
+ }
2531
+ errors++;
2532
+ }
2522
2533
  for (const key0 in data) {
2523
- if (!((key0 === "plan") || (key0 === "type"))) {
2524
- const err2 = { instancePath, schemaPath: "#/oneOf/0/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
2534
+ if (!(((key0 === "mediaMode") || (key0 === "plan")) || (key0 === "type"))) {
2535
+ const err3 = { instancePath, schemaPath: "#/oneOf/0/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
2525
2536
  if (vErrors === null) {
2526
- vErrors = [err2];
2537
+ vErrors = [err3];
2527
2538
  }
2528
2539
  else {
2529
- vErrors.push(err2);
2540
+ vErrors.push(err3);
2541
+ }
2542
+ errors++;
2543
+ }
2544
+ }
2545
+ if (data.mediaMode !== undefined) {
2546
+ let data0 = data.mediaMode;
2547
+ const _errs6 = errors;
2548
+ let valid3 = false;
2549
+ let passing1 = null;
2550
+ const _errs7 = errors;
2551
+ if (typeof data0 !== "string") {
2552
+ const err4 = { instancePath: instancePath + "/mediaMode", schemaPath: "#/$defs/BrowserMediaMode/oneOf/0/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2553
+ if (vErrors === null) {
2554
+ vErrors = [err4];
2555
+ }
2556
+ else {
2557
+ vErrors.push(err4);
2558
+ }
2559
+ errors++;
2560
+ }
2561
+ if ("decoded" !== data0) {
2562
+ const err5 = { instancePath: instancePath + "/mediaMode", schemaPath: "#/$defs/BrowserMediaMode/oneOf/0/const", keyword: "const", params: { allowedValue: "decoded" }, message: "must be equal to constant" };
2563
+ if (vErrors === null) {
2564
+ vErrors = [err5];
2565
+ }
2566
+ else {
2567
+ vErrors.push(err5);
2568
+ }
2569
+ errors++;
2570
+ }
2571
+ var _valid1 = _errs7 === errors;
2572
+ if (_valid1) {
2573
+ valid3 = true;
2574
+ passing1 = 0;
2575
+ }
2576
+ const _errs9 = errors;
2577
+ if (typeof data0 !== "string") {
2578
+ const err6 = { instancePath: instancePath + "/mediaMode", schemaPath: "#/$defs/BrowserMediaMode/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2579
+ if (vErrors === null) {
2580
+ vErrors = [err6];
2581
+ }
2582
+ else {
2583
+ vErrors.push(err6);
2584
+ }
2585
+ errors++;
2586
+ }
2587
+ if ("omitted" !== data0) {
2588
+ const err7 = { instancePath: instancePath + "/mediaMode", schemaPath: "#/$defs/BrowserMediaMode/oneOf/1/const", keyword: "const", params: { allowedValue: "omitted" }, message: "must be equal to constant" };
2589
+ if (vErrors === null) {
2590
+ vErrors = [err7];
2591
+ }
2592
+ else {
2593
+ vErrors.push(err7);
2594
+ }
2595
+ errors++;
2596
+ }
2597
+ var _valid1 = _errs9 === errors;
2598
+ if (_valid1 && valid3) {
2599
+ valid3 = false;
2600
+ passing1 = [passing1, 1];
2601
+ }
2602
+ else {
2603
+ if (_valid1) {
2604
+ valid3 = true;
2605
+ passing1 = 1;
2606
+ }
2607
+ const _errs11 = errors;
2608
+ if (typeof data0 !== "string") {
2609
+ const err8 = { instancePath: instancePath + "/mediaMode", schemaPath: "#/$defs/BrowserMediaMode/oneOf/2/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2610
+ if (vErrors === null) {
2611
+ vErrors = [err8];
2612
+ }
2613
+ else {
2614
+ vErrors.push(err8);
2615
+ }
2616
+ errors++;
2617
+ }
2618
+ if ("layoutOnly" !== data0) {
2619
+ const err9 = { instancePath: instancePath + "/mediaMode", schemaPath: "#/$defs/BrowserMediaMode/oneOf/2/const", keyword: "const", params: { allowedValue: "layoutOnly" }, message: "must be equal to constant" };
2620
+ if (vErrors === null) {
2621
+ vErrors = [err9];
2622
+ }
2623
+ else {
2624
+ vErrors.push(err9);
2625
+ }
2626
+ errors++;
2627
+ }
2628
+ var _valid1 = _errs11 === errors;
2629
+ if (_valid1 && valid3) {
2630
+ valid3 = false;
2631
+ passing1 = [passing1, 2];
2632
+ }
2633
+ else {
2634
+ if (_valid1) {
2635
+ valid3 = true;
2636
+ passing1 = 2;
2637
+ }
2638
+ }
2639
+ }
2640
+ if (!valid3) {
2641
+ const err10 = { instancePath: instancePath + "/mediaMode", schemaPath: "#/$defs/BrowserMediaMode/oneOf", keyword: "oneOf", params: { passingSchemas: passing1 }, message: "must match exactly one schema in oneOf" };
2642
+ if (vErrors === null) {
2643
+ vErrors = [err10];
2644
+ }
2645
+ else {
2646
+ vErrors.push(err10);
2530
2647
  }
2531
2648
  errors++;
2532
2649
  }
2650
+ else {
2651
+ errors = _errs6;
2652
+ if (vErrors !== null) {
2653
+ if (_errs6) {
2654
+ vErrors.length = _errs6;
2655
+ }
2656
+ else {
2657
+ vErrors = null;
2658
+ }
2659
+ }
2660
+ }
2533
2661
  }
2534
2662
  if (data.plan !== undefined) {
2535
2663
  if (!(validate22(data.plan, { instancePath: instancePath + "/plan", parentData: data, parentDataProperty: "plan", rootData, dynamicAnchors }))) {
@@ -2538,36 +2666,36 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
2538
2666
  }
2539
2667
  }
2540
2668
  if (data.type !== undefined) {
2541
- let data1 = data.type;
2542
- if (typeof data1 !== "string") {
2543
- const err3 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/0/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2669
+ let data2 = data.type;
2670
+ if (typeof data2 !== "string") {
2671
+ const err11 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/0/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2544
2672
  if (vErrors === null) {
2545
- vErrors = [err3];
2673
+ vErrors = [err11];
2546
2674
  }
2547
2675
  else {
2548
- vErrors.push(err3);
2676
+ vErrors.push(err11);
2549
2677
  }
2550
2678
  errors++;
2551
2679
  }
2552
- if ("load" !== data1) {
2553
- const err4 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/0/properties/type/const", keyword: "const", params: { allowedValue: "load" }, message: "must be equal to constant" };
2680
+ if ("load" !== data2) {
2681
+ const err12 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/0/properties/type/const", keyword: "const", params: { allowedValue: "load" }, message: "must be equal to constant" };
2554
2682
  if (vErrors === null) {
2555
- vErrors = [err4];
2683
+ vErrors = [err12];
2556
2684
  }
2557
2685
  else {
2558
- vErrors.push(err4);
2686
+ vErrors.push(err12);
2559
2687
  }
2560
2688
  errors++;
2561
2689
  }
2562
2690
  }
2563
2691
  }
2564
2692
  else {
2565
- const err5 = { instancePath, schemaPath: "#/oneOf/0/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2693
+ const err13 = { instancePath, schemaPath: "#/oneOf/0/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2566
2694
  if (vErrors === null) {
2567
- vErrors = [err5];
2695
+ vErrors = [err13];
2568
2696
  }
2569
2697
  else {
2570
- vErrors.push(err5);
2698
+ vErrors.push(err13);
2571
2699
  }
2572
2700
  errors++;
2573
2701
  }
@@ -2577,110 +2705,110 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
2577
2705
  passing0 = 0;
2578
2706
  var props0 = true;
2579
2707
  }
2580
- const _errs7 = errors;
2708
+ const _errs16 = errors;
2581
2709
  if (data && typeof data == "object" && !Array.isArray(data)) {
2582
2710
  if (data.type === undefined) {
2583
- const err6 = { instancePath, schemaPath: "#/oneOf/1/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
2711
+ const err14 = { instancePath, schemaPath: "#/oneOf/1/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
2584
2712
  if (vErrors === null) {
2585
- vErrors = [err6];
2713
+ vErrors = [err14];
2586
2714
  }
2587
2715
  else {
2588
- vErrors.push(err6);
2716
+ vErrors.push(err14);
2589
2717
  }
2590
2718
  errors++;
2591
2719
  }
2592
2720
  if (data.evaluationStart === undefined) {
2593
- const err7 = { instancePath, schemaPath: "#/oneOf/1/required", keyword: "required", params: { missingProperty: "evaluationStart" }, message: "must have required property '" + "evaluationStart" + "'" };
2721
+ const err15 = { instancePath, schemaPath: "#/oneOf/1/required", keyword: "required", params: { missingProperty: "evaluationStart" }, message: "must have required property '" + "evaluationStart" + "'" };
2594
2722
  if (vErrors === null) {
2595
- vErrors = [err7];
2723
+ vErrors = [err15];
2596
2724
  }
2597
2725
  else {
2598
- vErrors.push(err7);
2726
+ vErrors.push(err15);
2599
2727
  }
2600
2728
  errors++;
2601
2729
  }
2602
2730
  for (const key1 in data) {
2603
2731
  if (!((key1 === "evaluationStart") || (key1 === "type"))) {
2604
- const err8 = { instancePath, schemaPath: "#/oneOf/1/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
2732
+ const err16 = { instancePath, schemaPath: "#/oneOf/1/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
2605
2733
  if (vErrors === null) {
2606
- vErrors = [err8];
2734
+ vErrors = [err16];
2607
2735
  }
2608
2736
  else {
2609
- vErrors.push(err8);
2737
+ vErrors.push(err16);
2610
2738
  }
2611
2739
  errors++;
2612
2740
  }
2613
2741
  }
2614
2742
  if (data.evaluationStart !== undefined) {
2615
- let data2 = data.evaluationStart;
2616
- if (!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))) {
2617
- const err9 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2743
+ let data3 = data.evaluationStart;
2744
+ if (!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))) {
2745
+ const err17 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2618
2746
  if (vErrors === null) {
2619
- vErrors = [err9];
2747
+ vErrors = [err17];
2620
2748
  }
2621
2749
  else {
2622
- vErrors.push(err9);
2750
+ vErrors.push(err17);
2623
2751
  }
2624
2752
  errors++;
2625
2753
  }
2626
- if ((typeof data2 == "number") && (isFinite(data2))) {
2627
- if (data2 > 9007199254740991 || isNaN(data2)) {
2628
- const err10 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
2754
+ if ((typeof data3 == "number") && (isFinite(data3))) {
2755
+ if (data3 > 9007199254740991 || isNaN(data3)) {
2756
+ const err18 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
2629
2757
  if (vErrors === null) {
2630
- vErrors = [err10];
2758
+ vErrors = [err18];
2631
2759
  }
2632
2760
  else {
2633
- vErrors.push(err10);
2761
+ vErrors.push(err18);
2634
2762
  }
2635
2763
  errors++;
2636
2764
  }
2637
- if (data2 < 0 || isNaN(data2)) {
2638
- const err11 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2765
+ if (data3 < 0 || isNaN(data3)) {
2766
+ const err19 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2639
2767
  if (vErrors === null) {
2640
- vErrors = [err11];
2768
+ vErrors = [err19];
2641
2769
  }
2642
2770
  else {
2643
- vErrors.push(err11);
2771
+ vErrors.push(err19);
2644
2772
  }
2645
2773
  errors++;
2646
2774
  }
2647
2775
  }
2648
2776
  }
2649
2777
  if (data.type !== undefined) {
2650
- let data3 = data.type;
2651
- if (typeof data3 !== "string") {
2652
- const err12 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/1/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2778
+ let data4 = data.type;
2779
+ if (typeof data4 !== "string") {
2780
+ const err20 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/1/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2653
2781
  if (vErrors === null) {
2654
- vErrors = [err12];
2782
+ vErrors = [err20];
2655
2783
  }
2656
2784
  else {
2657
- vErrors.push(err12);
2785
+ vErrors.push(err20);
2658
2786
  }
2659
2787
  errors++;
2660
2788
  }
2661
- if ("prepare" !== data3) {
2662
- const err13 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/1/properties/type/const", keyword: "const", params: { allowedValue: "prepare" }, message: "must be equal to constant" };
2789
+ if ("prepare" !== data4) {
2790
+ const err21 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/1/properties/type/const", keyword: "const", params: { allowedValue: "prepare" }, message: "must be equal to constant" };
2663
2791
  if (vErrors === null) {
2664
- vErrors = [err13];
2792
+ vErrors = [err21];
2665
2793
  }
2666
2794
  else {
2667
- vErrors.push(err13);
2795
+ vErrors.push(err21);
2668
2796
  }
2669
2797
  errors++;
2670
2798
  }
2671
2799
  }
2672
2800
  }
2673
2801
  else {
2674
- const err14 = { instancePath, schemaPath: "#/oneOf/1/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2802
+ const err22 = { instancePath, schemaPath: "#/oneOf/1/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2675
2803
  if (vErrors === null) {
2676
- vErrors = [err14];
2804
+ vErrors = [err22];
2677
2805
  }
2678
2806
  else {
2679
- vErrors.push(err14);
2807
+ vErrors.push(err22);
2680
2808
  }
2681
2809
  errors++;
2682
2810
  }
2683
- var _valid0 = _errs7 === errors;
2811
+ var _valid0 = _errs16 === errors;
2684
2812
  if (_valid0 && valid0) {
2685
2813
  valid0 = false;
2686
2814
  passing0 = [passing0, 1];
@@ -2693,110 +2821,110 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
2693
2821
  props0 = true;
2694
2822
  }
2695
2823
  }
2696
- const _errs15 = errors;
2824
+ const _errs24 = errors;
2697
2825
  if (data && typeof data == "object" && !Array.isArray(data)) {
2698
2826
  if (data.type === undefined) {
2699
- const err15 = { instancePath, schemaPath: "#/oneOf/2/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
2827
+ const err23 = { instancePath, schemaPath: "#/oneOf/2/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
2700
2828
  if (vErrors === null) {
2701
- vErrors = [err15];
2829
+ vErrors = [err23];
2702
2830
  }
2703
2831
  else {
2704
- vErrors.push(err15);
2832
+ vErrors.push(err23);
2705
2833
  }
2706
2834
  errors++;
2707
2835
  }
2708
2836
  if (data.frame === undefined) {
2709
- const err16 = { instancePath, schemaPath: "#/oneOf/2/required", keyword: "required", params: { missingProperty: "frame" }, message: "must have required property '" + "frame" + "'" };
2837
+ const err24 = { instancePath, schemaPath: "#/oneOf/2/required", keyword: "required", params: { missingProperty: "frame" }, message: "must have required property '" + "frame" + "'" };
2710
2838
  if (vErrors === null) {
2711
- vErrors = [err16];
2839
+ vErrors = [err24];
2712
2840
  }
2713
2841
  else {
2714
- vErrors.push(err16);
2842
+ vErrors.push(err24);
2715
2843
  }
2716
2844
  errors++;
2717
2845
  }
2718
2846
  for (const key2 in data) {
2719
2847
  if (!((key2 === "frame") || (key2 === "type"))) {
2720
- const err17 = { instancePath, schemaPath: "#/oneOf/2/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" };
2848
+ const err25 = { instancePath, schemaPath: "#/oneOf/2/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" };
2721
2849
  if (vErrors === null) {
2722
- vErrors = [err17];
2850
+ vErrors = [err25];
2723
2851
  }
2724
2852
  else {
2725
- vErrors.push(err17);
2853
+ vErrors.push(err25);
2726
2854
  }
2727
2855
  errors++;
2728
2856
  }
2729
2857
  }
2730
2858
  if (data.frame !== undefined) {
2731
- let data4 = data.frame;
2732
- if (!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))) {
2733
- const err18 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2859
+ let data5 = data.frame;
2860
+ if (!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))) {
2861
+ const err26 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2734
2862
  if (vErrors === null) {
2735
- vErrors = [err18];
2863
+ vErrors = [err26];
2736
2864
  }
2737
2865
  else {
2738
- vErrors.push(err18);
2866
+ vErrors.push(err26);
2739
2867
  }
2740
2868
  errors++;
2741
2869
  }
2742
- if ((typeof data4 == "number") && (isFinite(data4))) {
2743
- if (data4 > 9007199254740991 || isNaN(data4)) {
2744
- const err19 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
2870
+ if ((typeof data5 == "number") && (isFinite(data5))) {
2871
+ if (data5 > 9007199254740991 || isNaN(data5)) {
2872
+ const err27 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
2745
2873
  if (vErrors === null) {
2746
- vErrors = [err19];
2874
+ vErrors = [err27];
2747
2875
  }
2748
2876
  else {
2749
- vErrors.push(err19);
2877
+ vErrors.push(err27);
2750
2878
  }
2751
2879
  errors++;
2752
2880
  }
2753
- if (data4 < 0 || isNaN(data4)) {
2754
- const err20 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2881
+ if (data5 < 0 || isNaN(data5)) {
2882
+ const err28 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2755
2883
  if (vErrors === null) {
2756
- vErrors = [err20];
2884
+ vErrors = [err28];
2757
2885
  }
2758
2886
  else {
2759
- vErrors.push(err20);
2887
+ vErrors.push(err28);
2760
2888
  }
2761
2889
  errors++;
2762
2890
  }
2763
2891
  }
2764
2892
  }
2765
2893
  if (data.type !== undefined) {
2766
- let data5 = data.type;
2767
- if (typeof data5 !== "string") {
2768
- const err21 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/2/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2894
+ let data6 = data.type;
2895
+ if (typeof data6 !== "string") {
2896
+ const err29 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/2/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2769
2897
  if (vErrors === null) {
2770
- vErrors = [err21];
2898
+ vErrors = [err29];
2771
2899
  }
2772
2900
  else {
2773
- vErrors.push(err21);
2901
+ vErrors.push(err29);
2774
2902
  }
2775
2903
  errors++;
2776
2904
  }
2777
- if ("seek" !== data5) {
2778
- const err22 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/2/properties/type/const", keyword: "const", params: { allowedValue: "seek" }, message: "must be equal to constant" };
2905
+ if ("seek" !== data6) {
2906
+ const err30 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/2/properties/type/const", keyword: "const", params: { allowedValue: "seek" }, message: "must be equal to constant" };
2779
2907
  if (vErrors === null) {
2780
- vErrors = [err22];
2908
+ vErrors = [err30];
2781
2909
  }
2782
2910
  else {
2783
- vErrors.push(err22);
2911
+ vErrors.push(err30);
2784
2912
  }
2785
2913
  errors++;
2786
2914
  }
2787
2915
  }
2788
2916
  }
2789
2917
  else {
2790
- const err23 = { instancePath, schemaPath: "#/oneOf/2/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2918
+ const err31 = { instancePath, schemaPath: "#/oneOf/2/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2791
2919
  if (vErrors === null) {
2792
- vErrors = [err23];
2920
+ vErrors = [err31];
2793
2921
  }
2794
2922
  else {
2795
- vErrors.push(err23);
2923
+ vErrors.push(err31);
2796
2924
  }
2797
2925
  errors++;
2798
2926
  }
2799
- var _valid0 = _errs15 === errors;
2927
+ var _valid0 = _errs24 === errors;
2800
2928
  if (_valid0 && valid0) {
2801
2929
  valid0 = false;
2802
2930
  passing0 = [passing0, 2];
@@ -2809,110 +2937,110 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
2809
2937
  props0 = true;
2810
2938
  }
2811
2939
  }
2812
- const _errs23 = errors;
2940
+ const _errs32 = errors;
2813
2941
  if (data && typeof data == "object" && !Array.isArray(data)) {
2814
2942
  if (data.type === undefined) {
2815
- const err24 = { instancePath, schemaPath: "#/oneOf/3/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
2943
+ const err32 = { instancePath, schemaPath: "#/oneOf/3/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
2816
2944
  if (vErrors === null) {
2817
- vErrors = [err24];
2945
+ vErrors = [err32];
2818
2946
  }
2819
2947
  else {
2820
- vErrors.push(err24);
2948
+ vErrors.push(err32);
2821
2949
  }
2822
2950
  errors++;
2823
2951
  }
2824
2952
  if (data.frame === undefined) {
2825
- const err25 = { instancePath, schemaPath: "#/oneOf/3/required", keyword: "required", params: { missingProperty: "frame" }, message: "must have required property '" + "frame" + "'" };
2953
+ const err33 = { instancePath, schemaPath: "#/oneOf/3/required", keyword: "required", params: { missingProperty: "frame" }, message: "must have required property '" + "frame" + "'" };
2826
2954
  if (vErrors === null) {
2827
- vErrors = [err25];
2955
+ vErrors = [err33];
2828
2956
  }
2829
2957
  else {
2830
- vErrors.push(err25);
2958
+ vErrors.push(err33);
2831
2959
  }
2832
2960
  errors++;
2833
2961
  }
2834
2962
  for (const key3 in data) {
2835
2963
  if (!((key3 === "frame") || (key3 === "type"))) {
2836
- const err26 = { instancePath, schemaPath: "#/oneOf/3/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key3 }, message: "must NOT have additional properties" };
2964
+ const err34 = { instancePath, schemaPath: "#/oneOf/3/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key3 }, message: "must NOT have additional properties" };
2837
2965
  if (vErrors === null) {
2838
- vErrors = [err26];
2966
+ vErrors = [err34];
2839
2967
  }
2840
2968
  else {
2841
- vErrors.push(err26);
2969
+ vErrors.push(err34);
2842
2970
  }
2843
2971
  errors++;
2844
2972
  }
2845
2973
  }
2846
2974
  if (data.frame !== undefined) {
2847
- let data6 = data.frame;
2848
- if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
2849
- const err27 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2975
+ let data7 = data.frame;
2976
+ if (!(((typeof data7 == "number") && (!(data7 % 1) && !isNaN(data7))) && (isFinite(data7)))) {
2977
+ const err35 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2850
2978
  if (vErrors === null) {
2851
- vErrors = [err27];
2979
+ vErrors = [err35];
2852
2980
  }
2853
2981
  else {
2854
- vErrors.push(err27);
2982
+ vErrors.push(err35);
2855
2983
  }
2856
2984
  errors++;
2857
2985
  }
2858
- if ((typeof data6 == "number") && (isFinite(data6))) {
2859
- if (data6 > 9007199254740991 || isNaN(data6)) {
2860
- const err28 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
2986
+ if ((typeof data7 == "number") && (isFinite(data7))) {
2987
+ if (data7 > 9007199254740991 || isNaN(data7)) {
2988
+ const err36 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
2861
2989
  if (vErrors === null) {
2862
- vErrors = [err28];
2990
+ vErrors = [err36];
2863
2991
  }
2864
2992
  else {
2865
- vErrors.push(err28);
2993
+ vErrors.push(err36);
2866
2994
  }
2867
2995
  errors++;
2868
2996
  }
2869
- if (data6 < 0 || isNaN(data6)) {
2870
- const err29 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2997
+ if (data7 < 0 || isNaN(data7)) {
2998
+ const err37 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2871
2999
  if (vErrors === null) {
2872
- vErrors = [err29];
3000
+ vErrors = [err37];
2873
3001
  }
2874
3002
  else {
2875
- vErrors.push(err29);
3003
+ vErrors.push(err37);
2876
3004
  }
2877
3005
  errors++;
2878
3006
  }
2879
3007
  }
2880
3008
  }
2881
3009
  if (data.type !== undefined) {
2882
- let data7 = data.type;
2883
- if (typeof data7 !== "string") {
2884
- const err30 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/3/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3010
+ let data8 = data.type;
3011
+ if (typeof data8 !== "string") {
3012
+ const err38 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/3/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2885
3013
  if (vErrors === null) {
2886
- vErrors = [err30];
3014
+ vErrors = [err38];
2887
3015
  }
2888
3016
  else {
2889
- vErrors.push(err30);
3017
+ vErrors.push(err38);
2890
3018
  }
2891
3019
  errors++;
2892
3020
  }
2893
- if ("confirm" !== data7) {
2894
- const err31 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/3/properties/type/const", keyword: "const", params: { allowedValue: "confirm" }, message: "must be equal to constant" };
3021
+ if ("confirm" !== data8) {
3022
+ const err39 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/3/properties/type/const", keyword: "const", params: { allowedValue: "confirm" }, message: "must be equal to constant" };
2895
3023
  if (vErrors === null) {
2896
- vErrors = [err31];
3024
+ vErrors = [err39];
2897
3025
  }
2898
3026
  else {
2899
- vErrors.push(err31);
3027
+ vErrors.push(err39);
2900
3028
  }
2901
3029
  errors++;
2902
3030
  }
2903
3031
  }
2904
3032
  }
2905
3033
  else {
2906
- const err32 = { instancePath, schemaPath: "#/oneOf/3/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3034
+ const err40 = { instancePath, schemaPath: "#/oneOf/3/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2907
3035
  if (vErrors === null) {
2908
- vErrors = [err32];
3036
+ vErrors = [err40];
2909
3037
  }
2910
3038
  else {
2911
- vErrors.push(err32);
3039
+ vErrors.push(err40);
2912
3040
  }
2913
3041
  errors++;
2914
3042
  }
2915
- var _valid0 = _errs23 === errors;
3043
+ var _valid0 = _errs32 === errors;
2916
3044
  if (_valid0 && valid0) {
2917
3045
  valid0 = false;
2918
3046
  passing0 = [passing0, 3];
@@ -2925,65 +3053,65 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
2925
3053
  props0 = true;
2926
3054
  }
2927
3055
  }
2928
- const _errs31 = errors;
3056
+ const _errs40 = errors;
2929
3057
  if (data && typeof data == "object" && !Array.isArray(data)) {
2930
3058
  if (data.type === undefined) {
2931
- const err33 = { instancePath, schemaPath: "#/oneOf/4/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
3059
+ const err41 = { instancePath, schemaPath: "#/oneOf/4/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
2932
3060
  if (vErrors === null) {
2933
- vErrors = [err33];
3061
+ vErrors = [err41];
2934
3062
  }
2935
3063
  else {
2936
- vErrors.push(err33);
3064
+ vErrors.push(err41);
2937
3065
  }
2938
3066
  errors++;
2939
3067
  }
2940
3068
  for (const key4 in data) {
2941
3069
  if (!(key4 === "type")) {
2942
- const err34 = { instancePath, schemaPath: "#/oneOf/4/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key4 }, message: "must NOT have additional properties" };
3070
+ const err42 = { instancePath, schemaPath: "#/oneOf/4/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key4 }, message: "must NOT have additional properties" };
2943
3071
  if (vErrors === null) {
2944
- vErrors = [err34];
3072
+ vErrors = [err42];
2945
3073
  }
2946
3074
  else {
2947
- vErrors.push(err34);
3075
+ vErrors.push(err42);
2948
3076
  }
2949
3077
  errors++;
2950
3078
  }
2951
3079
  }
2952
3080
  if (data.type !== undefined) {
2953
- let data8 = data.type;
2954
- if (typeof data8 !== "string") {
2955
- const err35 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/4/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3081
+ let data9 = data.type;
3082
+ if (typeof data9 !== "string") {
3083
+ const err43 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/4/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2956
3084
  if (vErrors === null) {
2957
- vErrors = [err35];
3085
+ vErrors = [err43];
2958
3086
  }
2959
3087
  else {
2960
- vErrors.push(err35);
3088
+ vErrors.push(err43);
2961
3089
  }
2962
3090
  errors++;
2963
3091
  }
2964
- if ("dispose" !== data8) {
2965
- const err36 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/4/properties/type/const", keyword: "const", params: { allowedValue: "dispose" }, message: "must be equal to constant" };
3092
+ if ("dispose" !== data9) {
3093
+ const err44 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/4/properties/type/const", keyword: "const", params: { allowedValue: "dispose" }, message: "must be equal to constant" };
2966
3094
  if (vErrors === null) {
2967
- vErrors = [err36];
3095
+ vErrors = [err44];
2968
3096
  }
2969
3097
  else {
2970
- vErrors.push(err36);
3098
+ vErrors.push(err44);
2971
3099
  }
2972
3100
  errors++;
2973
3101
  }
2974
3102
  }
2975
3103
  }
2976
3104
  else {
2977
- const err37 = { instancePath, schemaPath: "#/oneOf/4/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3105
+ const err45 = { instancePath, schemaPath: "#/oneOf/4/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2978
3106
  if (vErrors === null) {
2979
- vErrors = [err37];
3107
+ vErrors = [err45];
2980
3108
  }
2981
3109
  else {
2982
- vErrors.push(err37);
3110
+ vErrors.push(err45);
2983
3111
  }
2984
3112
  errors++;
2985
3113
  }
2986
- var _valid0 = _errs31 === errors;
3114
+ var _valid0 = _errs40 === errors;
2987
3115
  if (_valid0 && valid0) {
2988
3116
  valid0 = false;
2989
3117
  passing0 = [passing0, 4];
@@ -3001,12 +3129,12 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
3001
3129
  }
3002
3130
  }
3003
3131
  if (!valid0) {
3004
- const err38 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
3132
+ const err46 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
3005
3133
  if (vErrors === null) {
3006
- vErrors = [err38];
3134
+ vErrors = [err46];
3007
3135
  }
3008
3136
  else {
3009
- vErrors.push(err38);
3137
+ vErrors.push(err46);
3010
3138
  }
3011
3139
  errors++;
3012
3140
  }
@@ -3027,7 +3155,7 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
3027
3155
  }
3028
3156
  validate21.evaluated = { "dynamicProps": true, "dynamicItems": false };
3029
3157
  function validate20(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
3030
- /*# sourceURL="https://onmark.dev/schemas/browser-request-v4.schema.json" */ ;
3158
+ /*# sourceURL="https://onmark.dev/schemas/browser-request-v5.schema.json" */ ;
3031
3159
  let vErrors = null;
3032
3160
  let errors = 0;
3033
3161
  const evaluated0 = validate20.evaluated;
@@ -3133,8 +3261,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
3133
3261
  }
3134
3262
  errors++;
3135
3263
  }
3136
- if (4 !== data2) {
3137
- const err8 = { instancePath: instancePath + "/version", schemaPath: "#/$defs/ProtocolVersion/const", keyword: "const", params: { allowedValue: 4 }, message: "must be equal to constant" };
3264
+ if (5 !== data2) {
3265
+ const err8 = { instancePath: instancePath + "/version", schemaPath: "#/$defs/ProtocolVersion/const", keyword: "const", params: { allowedValue: 5 }, message: "must be equal to constant" };
3138
3266
  if (vErrors === null) {
3139
3267
  vErrors = [err8];
3140
3268
  }
@@ -3168,26 +3296,589 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
3168
3296
  }
3169
3297
  }
3170
3298
  else {
3171
- const err11 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3299
+ const err11 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3300
+ if (vErrors === null) {
3301
+ vErrors = [err11];
3302
+ }
3303
+ else {
3304
+ vErrors.push(err11);
3305
+ }
3306
+ errors++;
3307
+ }
3308
+ validate20.errors = vErrors;
3309
+ return errors === 0;
3310
+ }
3311
+ validate20.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
3312
+ export const validateBrowserResponse = validate55;
3313
+ const schema62 = { "$defs": { "BrowserEvent": { "description": "Closed events emitted by the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "The immutable browser plan was accepted.", "properties": { "type": { "const": "loaded", "type": "string" } }, "required": ["type"], "type": "object" }, { "additionalProperties": false, "description": "Resources required at the evaluation start are stable.", "properties": { "evaluationStart": { "$ref": "#/$defs/WireFrame", "description": "Frame at which preparation completed." }, "mediaLayout": { "$ref": "#/$defs/BrowserMediaLayout", "description": "Exact static media layout observed by the browser." }, "type": { "const": "prepared", "type": "string" } }, "required": ["type", "evaluationStart", "mediaLayout"], "type": "object" }, { "additionalProperties": false, "description": "One requested frame has been staged for the compositor.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Exact frame represented by staged browser state." }, "type": { "const": "frameStaged", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "The captured payload's staged media passed compositor confirmation.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Exact frame confirmed by browser media state." }, "type": { "const": "frameReady", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "The browser rejected a command or could not reach readiness.", "properties": { "code": { "$ref": "#/$defs/ProtocolFailureCode", "description": "Stable machine-readable failure category." }, "message": { "description": "Direct explanation in browser/runtime terms.", "maxLength": 4096, "pattern": "\\S", "type": "string" }, "pendingResources": { "description": "Resources that prevented readiness, in caller-owned deterministic order.", "items": { "maxLength": 1024, "pattern": "\\S", "type": "string" }, "maxItems": 256, "type": "array" }, "type": { "const": "failed", "type": "string" } }, "required": ["type", "code", "message", "pendingResources"], "type": "object" }, { "additionalProperties": false, "description": "The browser session released its resources.", "properties": { "type": { "const": "disposed", "type": "string" } }, "required": ["type"], "type": "object" }] }, "BrowserMediaLayout": { "description": "Canonically ordered layout evidence for browser video placements.", "items": { "$ref": "#/$defs/BrowserMediaPlacement" }, "maxItems": 16, "type": "array" }, "BrowserMediaPlacement": { "additionalProperties": false, "description": "One video element's static, axis-aligned browser layout.", "properties": { "nodeId": { "$ref": "#/$defs/BrowserNodeId" }, "objectFit": { "$ref": "#/$defs/BrowserObjectFit" }, "objectPosition": { "$ref": "#/$defs/BrowserObjectPosition" }, "rectangle": { "$ref": "#/$defs/BrowserPixelRectangle" } }, "required": ["nodeId", "rectangle", "objectFit", "objectPosition"], "type": "object" }, "BrowserNodeId": { "description": "Browser identity for one Timeline element or imported caption.\n\nIDs form dense renderable-semantic preorder within one Browser Plan.\n\nAuthored IDs, rather than this unit-local key, retain cross-projection\nsemantic identity.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "BrowserObjectFit": { "description": "Closed CSS object-fit subset admitted by native media.", "oneOf": [{ "const": "fill", "description": "Distort source pixels to fill the element rectangle.", "type": "string" }, { "const": "contain", "description": "Preserve aspect ratio while fitting completely inside the rectangle.", "type": "string" }, { "const": "cover", "description": "Preserve aspect ratio while covering the complete rectangle.", "type": "string" }] }, "BrowserObjectPosition": { "additionalProperties": false, "description": "Fixed-point CSS object-position, where one million represents 100%.", "properties": { "x": { "format": "uint32", "maximum": 1000000, "minimum": 0, "type": "integer" }, "y": { "format": "uint32", "maximum": 1000000, "minimum": 0, "type": "integer" } }, "required": ["x", "y"], "type": "object" }, "BrowserPixelRectangle": { "additionalProperties": false, "description": "Positive pixel rectangle relative to the output viewport.", "properties": { "height": { "format": "uint32", "minimum": 0, "type": "integer" }, "width": { "format": "uint32", "minimum": 0, "type": "integer" }, "x": { "format": "uint32", "minimum": 0, "type": "integer" }, "y": { "format": "uint32", "minimum": 0, "type": "integer" } }, "required": ["x", "y", "width", "height"], "type": "object" }, "ProtocolFailureCode": { "description": "Stable browser protocol failure category.", "oneOf": [{ "const": "protocolMismatch", "description": "The envelope version is unsupported.", "type": "string" }, { "const": "invalidRequest", "description": "The command violates its wire contract.", "type": "string" }, { "const": "loadFailed", "description": "The immutable plan could not be installed.", "type": "string" }, { "const": "prepareFailed", "description": "Preparation could not stabilize required resources.", "type": "string" }, { "const": "seekFailed", "description": "The requested frame could not be evaluated.", "type": "string" }, { "const": "confirmFailed", "description": "The staged frame could not be confirmed after compositor capture.", "type": "string" }, { "const": "readinessTimeout", "description": "One or more resources missed the readiness deadline.", "type": "string" }, { "const": "internal", "description": "The runtime violated an internal invariant.", "type": "string" }] }, "ProtocolVersion": { "const": 5, "description": "Version of the native-to-browser message contract.", "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "RequestId": { "description": "Correlation identity shared by one request and its response events.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "WireFrame": { "description": "Exact frame integer accepted by JavaScript without rounding.", "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "$id": "https://onmark.dev/schemas/browser-response-v5.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "One versioned event returned by the browser runtime.", "properties": { "event": { "$ref": "#/$defs/BrowserEvent" }, "requestId": { "$ref": "#/$defs/RequestId" }, "version": { "$ref": "#/$defs/ProtocolVersion" } }, "required": ["version", "requestId", "event"], "title": "BrowserResponse", "type": "object", "x-onmark-max-failure-message-characters": 4096, "x-onmark-max-pending-resource-characters": 1024, "x-onmark-max-pending-resources": 256 };
3314
+ const schema74 = { "description": "Correlation identity shared by one request and its response events.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" };
3315
+ const schema75 = { "const": 5, "description": "Version of the native-to-browser message contract.", "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" };
3316
+ const schema63 = { "description": "Closed events emitted by the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "The immutable browser plan was accepted.", "properties": { "type": { "const": "loaded", "type": "string" } }, "required": ["type"], "type": "object" }, { "additionalProperties": false, "description": "Resources required at the evaluation start are stable.", "properties": { "evaluationStart": { "$ref": "#/$defs/WireFrame", "description": "Frame at which preparation completed." }, "mediaLayout": { "$ref": "#/$defs/BrowserMediaLayout", "description": "Exact static media layout observed by the browser." }, "type": { "const": "prepared", "type": "string" } }, "required": ["type", "evaluationStart", "mediaLayout"], "type": "object" }, { "additionalProperties": false, "description": "One requested frame has been staged for the compositor.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Exact frame represented by staged browser state." }, "type": { "const": "frameStaged", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "The captured payload's staged media passed compositor confirmation.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Exact frame confirmed by browser media state." }, "type": { "const": "frameReady", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "The browser rejected a command or could not reach readiness.", "properties": { "code": { "$ref": "#/$defs/ProtocolFailureCode", "description": "Stable machine-readable failure category." }, "message": { "description": "Direct explanation in browser/runtime terms.", "maxLength": 4096, "pattern": "\\S", "type": "string" }, "pendingResources": { "description": "Resources that prevented readiness, in caller-owned deterministic order.", "items": { "maxLength": 1024, "pattern": "\\S", "type": "string" }, "maxItems": 256, "type": "array" }, "type": { "const": "failed", "type": "string" } }, "required": ["type", "code", "message", "pendingResources"], "type": "object" }, { "additionalProperties": false, "description": "The browser session released its resources.", "properties": { "type": { "const": "disposed", "type": "string" } }, "required": ["type"], "type": "object" }] };
3317
+ const schema64 = { "description": "Exact frame integer accepted by JavaScript without rounding.", "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" };
3318
+ const schema73 = { "description": "Stable browser protocol failure category.", "oneOf": [{ "const": "protocolMismatch", "description": "The envelope version is unsupported.", "type": "string" }, { "const": "invalidRequest", "description": "The command violates its wire contract.", "type": "string" }, { "const": "loadFailed", "description": "The immutable plan could not be installed.", "type": "string" }, { "const": "prepareFailed", "description": "Preparation could not stabilize required resources.", "type": "string" }, { "const": "seekFailed", "description": "The requested frame could not be evaluated.", "type": "string" }, { "const": "confirmFailed", "description": "The staged frame could not be confirmed after compositor capture.", "type": "string" }, { "const": "readinessTimeout", "description": "One or more resources missed the readiness deadline.", "type": "string" }, { "const": "internal", "description": "The runtime violated an internal invariant.", "type": "string" }] };
3319
+ const schema65 = { "description": "Canonically ordered layout evidence for browser video placements.", "items": { "$ref": "#/$defs/BrowserMediaPlacement" }, "maxItems": 16, "type": "array" };
3320
+ const schema66 = { "additionalProperties": false, "description": "One video element's static, axis-aligned browser layout.", "properties": { "nodeId": { "$ref": "#/$defs/BrowserNodeId" }, "objectFit": { "$ref": "#/$defs/BrowserObjectFit" }, "objectPosition": { "$ref": "#/$defs/BrowserObjectPosition" }, "rectangle": { "$ref": "#/$defs/BrowserPixelRectangle" } }, "required": ["nodeId", "rectangle", "objectFit", "objectPosition"], "type": "object" };
3321
+ const schema67 = { "description": "Browser identity for one Timeline element or imported caption.\n\nIDs form dense renderable-semantic preorder within one Browser Plan.\n\nAuthored IDs, rather than this unit-local key, retain cross-projection\nsemantic identity.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" };
3322
+ const schema68 = { "description": "Closed CSS object-fit subset admitted by native media.", "oneOf": [{ "const": "fill", "description": "Distort source pixels to fill the element rectangle.", "type": "string" }, { "const": "contain", "description": "Preserve aspect ratio while fitting completely inside the rectangle.", "type": "string" }, { "const": "cover", "description": "Preserve aspect ratio while covering the complete rectangle.", "type": "string" }] };
3323
+ const schema69 = { "additionalProperties": false, "description": "Fixed-point CSS object-position, where one million represents 100%.", "properties": { "x": { "format": "uint32", "maximum": 1000000, "minimum": 0, "type": "integer" }, "y": { "format": "uint32", "maximum": 1000000, "minimum": 0, "type": "integer" } }, "required": ["x", "y"], "type": "object" };
3324
+ const schema70 = { "additionalProperties": false, "description": "Positive pixel rectangle relative to the output viewport.", "properties": { "height": { "format": "uint32", "minimum": 0, "type": "integer" }, "width": { "format": "uint32", "minimum": 0, "type": "integer" }, "x": { "format": "uint32", "minimum": 0, "type": "integer" }, "y": { "format": "uint32", "minimum": 0, "type": "integer" } }, "required": ["x", "y", "width", "height"], "type": "object" };
3325
+ function validate58(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
3326
+ let vErrors = null;
3327
+ let errors = 0;
3328
+ const evaluated0 = validate58.evaluated;
3329
+ if (evaluated0.dynamicProps) {
3330
+ evaluated0.props = undefined;
3331
+ }
3332
+ if (evaluated0.dynamicItems) {
3333
+ evaluated0.items = undefined;
3334
+ }
3335
+ if (data && typeof data == "object" && !Array.isArray(data)) {
3336
+ if (data.nodeId === undefined) {
3337
+ const err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "nodeId" }, message: "must have required property '" + "nodeId" + "'" };
3338
+ if (vErrors === null) {
3339
+ vErrors = [err0];
3340
+ }
3341
+ else {
3342
+ vErrors.push(err0);
3343
+ }
3344
+ errors++;
3345
+ }
3346
+ if (data.rectangle === undefined) {
3347
+ const err1 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "rectangle" }, message: "must have required property '" + "rectangle" + "'" };
3348
+ if (vErrors === null) {
3349
+ vErrors = [err1];
3350
+ }
3351
+ else {
3352
+ vErrors.push(err1);
3353
+ }
3354
+ errors++;
3355
+ }
3356
+ if (data.objectFit === undefined) {
3357
+ const err2 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "objectFit" }, message: "must have required property '" + "objectFit" + "'" };
3358
+ if (vErrors === null) {
3359
+ vErrors = [err2];
3360
+ }
3361
+ else {
3362
+ vErrors.push(err2);
3363
+ }
3364
+ errors++;
3365
+ }
3366
+ if (data.objectPosition === undefined) {
3367
+ const err3 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "objectPosition" }, message: "must have required property '" + "objectPosition" + "'" };
3368
+ if (vErrors === null) {
3369
+ vErrors = [err3];
3370
+ }
3371
+ else {
3372
+ vErrors.push(err3);
3373
+ }
3374
+ errors++;
3375
+ }
3376
+ for (const key0 in data) {
3377
+ if (!((((key0 === "nodeId") || (key0 === "objectFit")) || (key0 === "objectPosition")) || (key0 === "rectangle"))) {
3378
+ const err4 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
3379
+ if (vErrors === null) {
3380
+ vErrors = [err4];
3381
+ }
3382
+ else {
3383
+ vErrors.push(err4);
3384
+ }
3385
+ errors++;
3386
+ }
3387
+ }
3388
+ if (data.nodeId !== undefined) {
3389
+ let data0 = data.nodeId;
3390
+ if (!(((typeof data0 == "number") && (!(data0 % 1) && !isNaN(data0))) && (isFinite(data0)))) {
3391
+ const err5 = { instancePath: instancePath + "/nodeId", schemaPath: "#/$defs/BrowserNodeId/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3392
+ if (vErrors === null) {
3393
+ vErrors = [err5];
3394
+ }
3395
+ else {
3396
+ vErrors.push(err5);
3397
+ }
3398
+ errors++;
3399
+ }
3400
+ if ((typeof data0 == "number") && (isFinite(data0))) {
3401
+ if (data0 > 4294967295 || isNaN(data0)) {
3402
+ const err6 = { instancePath: instancePath + "/nodeId", schemaPath: "#/$defs/BrowserNodeId/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3403
+ if (vErrors === null) {
3404
+ vErrors = [err6];
3405
+ }
3406
+ else {
3407
+ vErrors.push(err6);
3408
+ }
3409
+ errors++;
3410
+ }
3411
+ if (data0 < 0 || isNaN(data0)) {
3412
+ const err7 = { instancePath: instancePath + "/nodeId", schemaPath: "#/$defs/BrowserNodeId/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3413
+ if (vErrors === null) {
3414
+ vErrors = [err7];
3415
+ }
3416
+ else {
3417
+ vErrors.push(err7);
3418
+ }
3419
+ errors++;
3420
+ }
3421
+ }
3422
+ }
3423
+ if (data.objectFit !== undefined) {
3424
+ let data1 = data.objectFit;
3425
+ const _errs7 = errors;
3426
+ let valid3 = false;
3427
+ let passing0 = null;
3428
+ const _errs8 = errors;
3429
+ if (typeof data1 !== "string") {
3430
+ const err8 = { instancePath: instancePath + "/objectFit", schemaPath: "#/$defs/BrowserObjectFit/oneOf/0/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3431
+ if (vErrors === null) {
3432
+ vErrors = [err8];
3433
+ }
3434
+ else {
3435
+ vErrors.push(err8);
3436
+ }
3437
+ errors++;
3438
+ }
3439
+ if ("fill" !== data1) {
3440
+ const err9 = { instancePath: instancePath + "/objectFit", schemaPath: "#/$defs/BrowserObjectFit/oneOf/0/const", keyword: "const", params: { allowedValue: "fill" }, message: "must be equal to constant" };
3441
+ if (vErrors === null) {
3442
+ vErrors = [err9];
3443
+ }
3444
+ else {
3445
+ vErrors.push(err9);
3446
+ }
3447
+ errors++;
3448
+ }
3449
+ var _valid0 = _errs8 === errors;
3450
+ if (_valid0) {
3451
+ valid3 = true;
3452
+ passing0 = 0;
3453
+ }
3454
+ const _errs10 = errors;
3455
+ if (typeof data1 !== "string") {
3456
+ const err10 = { instancePath: instancePath + "/objectFit", schemaPath: "#/$defs/BrowserObjectFit/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3457
+ if (vErrors === null) {
3458
+ vErrors = [err10];
3459
+ }
3460
+ else {
3461
+ vErrors.push(err10);
3462
+ }
3463
+ errors++;
3464
+ }
3465
+ if ("contain" !== data1) {
3466
+ const err11 = { instancePath: instancePath + "/objectFit", schemaPath: "#/$defs/BrowserObjectFit/oneOf/1/const", keyword: "const", params: { allowedValue: "contain" }, message: "must be equal to constant" };
3467
+ if (vErrors === null) {
3468
+ vErrors = [err11];
3469
+ }
3470
+ else {
3471
+ vErrors.push(err11);
3472
+ }
3473
+ errors++;
3474
+ }
3475
+ var _valid0 = _errs10 === errors;
3476
+ if (_valid0 && valid3) {
3477
+ valid3 = false;
3478
+ passing0 = [passing0, 1];
3479
+ }
3480
+ else {
3481
+ if (_valid0) {
3482
+ valid3 = true;
3483
+ passing0 = 1;
3484
+ }
3485
+ const _errs12 = errors;
3486
+ if (typeof data1 !== "string") {
3487
+ const err12 = { instancePath: instancePath + "/objectFit", schemaPath: "#/$defs/BrowserObjectFit/oneOf/2/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3488
+ if (vErrors === null) {
3489
+ vErrors = [err12];
3490
+ }
3491
+ else {
3492
+ vErrors.push(err12);
3493
+ }
3494
+ errors++;
3495
+ }
3496
+ if ("cover" !== data1) {
3497
+ const err13 = { instancePath: instancePath + "/objectFit", schemaPath: "#/$defs/BrowserObjectFit/oneOf/2/const", keyword: "const", params: { allowedValue: "cover" }, message: "must be equal to constant" };
3498
+ if (vErrors === null) {
3499
+ vErrors = [err13];
3500
+ }
3501
+ else {
3502
+ vErrors.push(err13);
3503
+ }
3504
+ errors++;
3505
+ }
3506
+ var _valid0 = _errs12 === errors;
3507
+ if (_valid0 && valid3) {
3508
+ valid3 = false;
3509
+ passing0 = [passing0, 2];
3510
+ }
3511
+ else {
3512
+ if (_valid0) {
3513
+ valid3 = true;
3514
+ passing0 = 2;
3515
+ }
3516
+ }
3517
+ }
3518
+ if (!valid3) {
3519
+ const err14 = { instancePath: instancePath + "/objectFit", schemaPath: "#/$defs/BrowserObjectFit/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
3520
+ if (vErrors === null) {
3521
+ vErrors = [err14];
3522
+ }
3523
+ else {
3524
+ vErrors.push(err14);
3525
+ }
3526
+ errors++;
3527
+ }
3528
+ else {
3529
+ errors = _errs7;
3530
+ if (vErrors !== null) {
3531
+ if (_errs7) {
3532
+ vErrors.length = _errs7;
3533
+ }
3534
+ else {
3535
+ vErrors = null;
3536
+ }
3537
+ }
3538
+ }
3539
+ }
3540
+ if (data.objectPosition !== undefined) {
3541
+ let data2 = data.objectPosition;
3542
+ if (data2 && typeof data2 == "object" && !Array.isArray(data2)) {
3543
+ if (data2.x === undefined) {
3544
+ const err15 = { instancePath: instancePath + "/objectPosition", schemaPath: "#/$defs/BrowserObjectPosition/required", keyword: "required", params: { missingProperty: "x" }, message: "must have required property '" + "x" + "'" };
3545
+ if (vErrors === null) {
3546
+ vErrors = [err15];
3547
+ }
3548
+ else {
3549
+ vErrors.push(err15);
3550
+ }
3551
+ errors++;
3552
+ }
3553
+ if (data2.y === undefined) {
3554
+ const err16 = { instancePath: instancePath + "/objectPosition", schemaPath: "#/$defs/BrowserObjectPosition/required", keyword: "required", params: { missingProperty: "y" }, message: "must have required property '" + "y" + "'" };
3555
+ if (vErrors === null) {
3556
+ vErrors = [err16];
3557
+ }
3558
+ else {
3559
+ vErrors.push(err16);
3560
+ }
3561
+ errors++;
3562
+ }
3563
+ for (const key1 in data2) {
3564
+ if (!((key1 === "x") || (key1 === "y"))) {
3565
+ const err17 = { instancePath: instancePath + "/objectPosition", schemaPath: "#/$defs/BrowserObjectPosition/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
3566
+ if (vErrors === null) {
3567
+ vErrors = [err17];
3568
+ }
3569
+ else {
3570
+ vErrors.push(err17);
3571
+ }
3572
+ errors++;
3573
+ }
3574
+ }
3575
+ if (data2.x !== undefined) {
3576
+ let data3 = data2.x;
3577
+ if (!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))) {
3578
+ const err18 = { instancePath: instancePath + "/objectPosition/x", schemaPath: "#/$defs/BrowserObjectPosition/properties/x/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3579
+ if (vErrors === null) {
3580
+ vErrors = [err18];
3581
+ }
3582
+ else {
3583
+ vErrors.push(err18);
3584
+ }
3585
+ errors++;
3586
+ }
3587
+ if ((typeof data3 == "number") && (isFinite(data3))) {
3588
+ if (data3 > 1000000 || isNaN(data3)) {
3589
+ const err19 = { instancePath: instancePath + "/objectPosition/x", schemaPath: "#/$defs/BrowserObjectPosition/properties/x/maximum", keyword: "maximum", params: { comparison: "<=", limit: 1000000 }, message: "must be <= 1000000" };
3590
+ if (vErrors === null) {
3591
+ vErrors = [err19];
3592
+ }
3593
+ else {
3594
+ vErrors.push(err19);
3595
+ }
3596
+ errors++;
3597
+ }
3598
+ if (data3 < 0 || isNaN(data3)) {
3599
+ const err20 = { instancePath: instancePath + "/objectPosition/x", schemaPath: "#/$defs/BrowserObjectPosition/properties/x/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3600
+ if (vErrors === null) {
3601
+ vErrors = [err20];
3602
+ }
3603
+ else {
3604
+ vErrors.push(err20);
3605
+ }
3606
+ errors++;
3607
+ }
3608
+ }
3609
+ }
3610
+ if (data2.y !== undefined) {
3611
+ let data4 = data2.y;
3612
+ if (!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))) {
3613
+ const err21 = { instancePath: instancePath + "/objectPosition/y", schemaPath: "#/$defs/BrowserObjectPosition/properties/y/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3614
+ if (vErrors === null) {
3615
+ vErrors = [err21];
3616
+ }
3617
+ else {
3618
+ vErrors.push(err21);
3619
+ }
3620
+ errors++;
3621
+ }
3622
+ if ((typeof data4 == "number") && (isFinite(data4))) {
3623
+ if (data4 > 1000000 || isNaN(data4)) {
3624
+ const err22 = { instancePath: instancePath + "/objectPosition/y", schemaPath: "#/$defs/BrowserObjectPosition/properties/y/maximum", keyword: "maximum", params: { comparison: "<=", limit: 1000000 }, message: "must be <= 1000000" };
3625
+ if (vErrors === null) {
3626
+ vErrors = [err22];
3627
+ }
3628
+ else {
3629
+ vErrors.push(err22);
3630
+ }
3631
+ errors++;
3632
+ }
3633
+ if (data4 < 0 || isNaN(data4)) {
3634
+ const err23 = { instancePath: instancePath + "/objectPosition/y", schemaPath: "#/$defs/BrowserObjectPosition/properties/y/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3635
+ if (vErrors === null) {
3636
+ vErrors = [err23];
3637
+ }
3638
+ else {
3639
+ vErrors.push(err23);
3640
+ }
3641
+ errors++;
3642
+ }
3643
+ }
3644
+ }
3645
+ }
3646
+ else {
3647
+ const err24 = { instancePath: instancePath + "/objectPosition", schemaPath: "#/$defs/BrowserObjectPosition/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3648
+ if (vErrors === null) {
3649
+ vErrors = [err24];
3650
+ }
3651
+ else {
3652
+ vErrors.push(err24);
3653
+ }
3654
+ errors++;
3655
+ }
3656
+ }
3657
+ if (data.rectangle !== undefined) {
3658
+ let data5 = data.rectangle;
3659
+ if (data5 && typeof data5 == "object" && !Array.isArray(data5)) {
3660
+ if (data5.x === undefined) {
3661
+ const err25 = { instancePath: instancePath + "/rectangle", schemaPath: "#/$defs/BrowserPixelRectangle/required", keyword: "required", params: { missingProperty: "x" }, message: "must have required property '" + "x" + "'" };
3662
+ if (vErrors === null) {
3663
+ vErrors = [err25];
3664
+ }
3665
+ else {
3666
+ vErrors.push(err25);
3667
+ }
3668
+ errors++;
3669
+ }
3670
+ if (data5.y === undefined) {
3671
+ const err26 = { instancePath: instancePath + "/rectangle", schemaPath: "#/$defs/BrowserPixelRectangle/required", keyword: "required", params: { missingProperty: "y" }, message: "must have required property '" + "y" + "'" };
3672
+ if (vErrors === null) {
3673
+ vErrors = [err26];
3674
+ }
3675
+ else {
3676
+ vErrors.push(err26);
3677
+ }
3678
+ errors++;
3679
+ }
3680
+ if (data5.width === undefined) {
3681
+ const err27 = { instancePath: instancePath + "/rectangle", schemaPath: "#/$defs/BrowserPixelRectangle/required", keyword: "required", params: { missingProperty: "width" }, message: "must have required property '" + "width" + "'" };
3682
+ if (vErrors === null) {
3683
+ vErrors = [err27];
3684
+ }
3685
+ else {
3686
+ vErrors.push(err27);
3687
+ }
3688
+ errors++;
3689
+ }
3690
+ if (data5.height === undefined) {
3691
+ const err28 = { instancePath: instancePath + "/rectangle", schemaPath: "#/$defs/BrowserPixelRectangle/required", keyword: "required", params: { missingProperty: "height" }, message: "must have required property '" + "height" + "'" };
3692
+ if (vErrors === null) {
3693
+ vErrors = [err28];
3694
+ }
3695
+ else {
3696
+ vErrors.push(err28);
3697
+ }
3698
+ errors++;
3699
+ }
3700
+ for (const key2 in data5) {
3701
+ if (!((((key2 === "height") || (key2 === "width")) || (key2 === "x")) || (key2 === "y"))) {
3702
+ const err29 = { instancePath: instancePath + "/rectangle", schemaPath: "#/$defs/BrowserPixelRectangle/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" };
3703
+ if (vErrors === null) {
3704
+ vErrors = [err29];
3705
+ }
3706
+ else {
3707
+ vErrors.push(err29);
3708
+ }
3709
+ errors++;
3710
+ }
3711
+ }
3712
+ if (data5.height !== undefined) {
3713
+ let data6 = data5.height;
3714
+ if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
3715
+ const err30 = { instancePath: instancePath + "/rectangle/height", schemaPath: "#/$defs/BrowserPixelRectangle/properties/height/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3716
+ if (vErrors === null) {
3717
+ vErrors = [err30];
3718
+ }
3719
+ else {
3720
+ vErrors.push(err30);
3721
+ }
3722
+ errors++;
3723
+ }
3724
+ if ((typeof data6 == "number") && (isFinite(data6))) {
3725
+ if (data6 < 0 || isNaN(data6)) {
3726
+ const err31 = { instancePath: instancePath + "/rectangle/height", schemaPath: "#/$defs/BrowserPixelRectangle/properties/height/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3727
+ if (vErrors === null) {
3728
+ vErrors = [err31];
3729
+ }
3730
+ else {
3731
+ vErrors.push(err31);
3732
+ }
3733
+ errors++;
3734
+ }
3735
+ }
3736
+ }
3737
+ if (data5.width !== undefined) {
3738
+ let data7 = data5.width;
3739
+ if (!(((typeof data7 == "number") && (!(data7 % 1) && !isNaN(data7))) && (isFinite(data7)))) {
3740
+ const err32 = { instancePath: instancePath + "/rectangle/width", schemaPath: "#/$defs/BrowserPixelRectangle/properties/width/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3741
+ if (vErrors === null) {
3742
+ vErrors = [err32];
3743
+ }
3744
+ else {
3745
+ vErrors.push(err32);
3746
+ }
3747
+ errors++;
3748
+ }
3749
+ if ((typeof data7 == "number") && (isFinite(data7))) {
3750
+ if (data7 < 0 || isNaN(data7)) {
3751
+ const err33 = { instancePath: instancePath + "/rectangle/width", schemaPath: "#/$defs/BrowserPixelRectangle/properties/width/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3752
+ if (vErrors === null) {
3753
+ vErrors = [err33];
3754
+ }
3755
+ else {
3756
+ vErrors.push(err33);
3757
+ }
3758
+ errors++;
3759
+ }
3760
+ }
3761
+ }
3762
+ if (data5.x !== undefined) {
3763
+ let data8 = data5.x;
3764
+ if (!(((typeof data8 == "number") && (!(data8 % 1) && !isNaN(data8))) && (isFinite(data8)))) {
3765
+ const err34 = { instancePath: instancePath + "/rectangle/x", schemaPath: "#/$defs/BrowserPixelRectangle/properties/x/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3766
+ if (vErrors === null) {
3767
+ vErrors = [err34];
3768
+ }
3769
+ else {
3770
+ vErrors.push(err34);
3771
+ }
3772
+ errors++;
3773
+ }
3774
+ if ((typeof data8 == "number") && (isFinite(data8))) {
3775
+ if (data8 < 0 || isNaN(data8)) {
3776
+ const err35 = { instancePath: instancePath + "/rectangle/x", schemaPath: "#/$defs/BrowserPixelRectangle/properties/x/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3777
+ if (vErrors === null) {
3778
+ vErrors = [err35];
3779
+ }
3780
+ else {
3781
+ vErrors.push(err35);
3782
+ }
3783
+ errors++;
3784
+ }
3785
+ }
3786
+ }
3787
+ if (data5.y !== undefined) {
3788
+ let data9 = data5.y;
3789
+ if (!(((typeof data9 == "number") && (!(data9 % 1) && !isNaN(data9))) && (isFinite(data9)))) {
3790
+ const err36 = { instancePath: instancePath + "/rectangle/y", schemaPath: "#/$defs/BrowserPixelRectangle/properties/y/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3791
+ if (vErrors === null) {
3792
+ vErrors = [err36];
3793
+ }
3794
+ else {
3795
+ vErrors.push(err36);
3796
+ }
3797
+ errors++;
3798
+ }
3799
+ if ((typeof data9 == "number") && (isFinite(data9))) {
3800
+ if (data9 < 0 || isNaN(data9)) {
3801
+ const err37 = { instancePath: instancePath + "/rectangle/y", schemaPath: "#/$defs/BrowserPixelRectangle/properties/y/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3802
+ if (vErrors === null) {
3803
+ vErrors = [err37];
3804
+ }
3805
+ else {
3806
+ vErrors.push(err37);
3807
+ }
3808
+ errors++;
3809
+ }
3810
+ }
3811
+ }
3812
+ }
3813
+ else {
3814
+ const err38 = { instancePath: instancePath + "/rectangle", schemaPath: "#/$defs/BrowserPixelRectangle/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3815
+ if (vErrors === null) {
3816
+ vErrors = [err38];
3817
+ }
3818
+ else {
3819
+ vErrors.push(err38);
3820
+ }
3821
+ errors++;
3822
+ }
3823
+ }
3824
+ }
3825
+ else {
3826
+ const err39 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3827
+ if (vErrors === null) {
3828
+ vErrors = [err39];
3829
+ }
3830
+ else {
3831
+ vErrors.push(err39);
3832
+ }
3833
+ errors++;
3834
+ }
3835
+ validate58.errors = vErrors;
3836
+ return errors === 0;
3837
+ }
3838
+ validate58.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
3839
+ function validate57(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
3840
+ let vErrors = null;
3841
+ let errors = 0;
3842
+ const evaluated0 = validate57.evaluated;
3843
+ if (evaluated0.dynamicProps) {
3844
+ evaluated0.props = undefined;
3845
+ }
3846
+ if (evaluated0.dynamicItems) {
3847
+ evaluated0.items = undefined;
3848
+ }
3849
+ if (Array.isArray(data)) {
3850
+ if (data.length > 16) {
3851
+ const err0 = { instancePath, schemaPath: "#/maxItems", keyword: "maxItems", params: { limit: 16 }, message: "must NOT have more than 16 items" };
3852
+ if (vErrors === null) {
3853
+ vErrors = [err0];
3854
+ }
3855
+ else {
3856
+ vErrors.push(err0);
3857
+ }
3858
+ errors++;
3859
+ }
3860
+ const len0 = data.length;
3861
+ for (let i0 = 0; i0 < len0; i0++) {
3862
+ if (!(validate58(data[i0], { instancePath: instancePath + "/" + i0, parentData: data, parentDataProperty: i0, rootData, dynamicAnchors }))) {
3863
+ vErrors = vErrors === null ? validate58.errors : vErrors.concat(validate58.errors);
3864
+ errors = vErrors.length;
3865
+ }
3866
+ }
3867
+ }
3868
+ else {
3869
+ const err1 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3172
3870
  if (vErrors === null) {
3173
- vErrors = [err11];
3871
+ vErrors = [err1];
3174
3872
  }
3175
3873
  else {
3176
- vErrors.push(err11);
3874
+ vErrors.push(err1);
3177
3875
  }
3178
3876
  errors++;
3179
3877
  }
3180
- validate20.errors = vErrors;
3878
+ validate57.errors = vErrors;
3181
3879
  return errors === 0;
3182
3880
  }
3183
- validate20.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
3184
- export const validateBrowserResponse = validate55;
3185
- const schema61 = { "$defs": { "BrowserEvent": { "description": "Closed events emitted by the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "The immutable browser plan was accepted.", "properties": { "type": { "const": "loaded", "type": "string" } }, "required": ["type"], "type": "object" }, { "additionalProperties": false, "description": "Resources required at the evaluation start are stable.", "properties": { "evaluationStart": { "$ref": "#/$defs/WireFrame", "description": "Frame at which preparation completed." }, "type": { "const": "prepared", "type": "string" } }, "required": ["type", "evaluationStart"], "type": "object" }, { "additionalProperties": false, "description": "One requested frame has been staged for the compositor.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Exact frame represented by staged browser state." }, "type": { "const": "frameStaged", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "The captured payload's staged media passed compositor confirmation.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Exact frame confirmed by browser media state." }, "type": { "const": "frameReady", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "The browser rejected a command or could not reach readiness.", "properties": { "code": { "$ref": "#/$defs/ProtocolFailureCode", "description": "Stable machine-readable failure category." }, "message": { "description": "Direct explanation in browser/runtime terms.", "maxLength": 4096, "pattern": "\\S", "type": "string" }, "pendingResources": { "description": "Resources that prevented readiness, in caller-owned deterministic order.", "items": { "maxLength": 1024, "pattern": "\\S", "type": "string" }, "maxItems": 256, "type": "array" }, "type": { "const": "failed", "type": "string" } }, "required": ["type", "code", "message", "pendingResources"], "type": "object" }, { "additionalProperties": false, "description": "The browser session released its resources.", "properties": { "type": { "const": "disposed", "type": "string" } }, "required": ["type"], "type": "object" }] }, "ProtocolFailureCode": { "description": "Stable browser protocol failure category.", "oneOf": [{ "const": "protocolMismatch", "description": "The envelope version is unsupported.", "type": "string" }, { "const": "invalidRequest", "description": "The command violates its wire contract.", "type": "string" }, { "const": "loadFailed", "description": "The immutable plan could not be installed.", "type": "string" }, { "const": "prepareFailed", "description": "Preparation could not stabilize required resources.", "type": "string" }, { "const": "seekFailed", "description": "The requested frame could not be evaluated.", "type": "string" }, { "const": "confirmFailed", "description": "The staged frame could not be confirmed after compositor capture.", "type": "string" }, { "const": "readinessTimeout", "description": "One or more resources missed the readiness deadline.", "type": "string" }, { "const": "internal", "description": "The runtime violated an internal invariant.", "type": "string" }] }, "ProtocolVersion": { "const": 4, "description": "Version of the native-to-browser message contract.", "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "RequestId": { "description": "Correlation identity shared by one request and its response events.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "WireFrame": { "description": "Exact frame integer accepted by JavaScript without rounding.", "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "$id": "https://onmark.dev/schemas/browser-response-v4.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "One versioned event returned by the browser runtime.", "properties": { "event": { "$ref": "#/$defs/BrowserEvent" }, "requestId": { "$ref": "#/$defs/RequestId" }, "version": { "$ref": "#/$defs/ProtocolVersion" } }, "required": ["version", "requestId", "event"], "title": "BrowserResponse", "type": "object", "x-onmark-max-failure-message-characters": 4096, "x-onmark-max-pending-resource-characters": 1024, "x-onmark-max-pending-resources": 256 };
3186
- const schema67 = { "description": "Correlation identity shared by one request and its response events.", "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" };
3187
- const schema68 = { "const": 4, "description": "Version of the native-to-browser message contract.", "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" };
3188
- const schema62 = { "description": "Closed events emitted by the browser runtime.", "oneOf": [{ "additionalProperties": false, "description": "The immutable browser plan was accepted.", "properties": { "type": { "const": "loaded", "type": "string" } }, "required": ["type"], "type": "object" }, { "additionalProperties": false, "description": "Resources required at the evaluation start are stable.", "properties": { "evaluationStart": { "$ref": "#/$defs/WireFrame", "description": "Frame at which preparation completed." }, "type": { "const": "prepared", "type": "string" } }, "required": ["type", "evaluationStart"], "type": "object" }, { "additionalProperties": false, "description": "One requested frame has been staged for the compositor.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Exact frame represented by staged browser state." }, "type": { "const": "frameStaged", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "The captured payload's staged media passed compositor confirmation.", "properties": { "frame": { "$ref": "#/$defs/WireFrame", "description": "Exact frame confirmed by browser media state." }, "type": { "const": "frameReady", "type": "string" } }, "required": ["type", "frame"], "type": "object" }, { "additionalProperties": false, "description": "The browser rejected a command or could not reach readiness.", "properties": { "code": { "$ref": "#/$defs/ProtocolFailureCode", "description": "Stable machine-readable failure category." }, "message": { "description": "Direct explanation in browser/runtime terms.", "maxLength": 4096, "pattern": "\\S", "type": "string" }, "pendingResources": { "description": "Resources that prevented readiness, in caller-owned deterministic order.", "items": { "maxLength": 1024, "pattern": "\\S", "type": "string" }, "maxItems": 256, "type": "array" }, "type": { "const": "failed", "type": "string" } }, "required": ["type", "code", "message", "pendingResources"], "type": "object" }, { "additionalProperties": false, "description": "The browser session released its resources.", "properties": { "type": { "const": "disposed", "type": "string" } }, "required": ["type"], "type": "object" }] };
3189
- const schema63 = { "description": "Exact frame integer accepted by JavaScript without rounding.", "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" };
3190
- const schema66 = { "description": "Stable browser protocol failure category.", "oneOf": [{ "const": "protocolMismatch", "description": "The envelope version is unsupported.", "type": "string" }, { "const": "invalidRequest", "description": "The command violates its wire contract.", "type": "string" }, { "const": "loadFailed", "description": "The immutable plan could not be installed.", "type": "string" }, { "const": "prepareFailed", "description": "Preparation could not stabilize required resources.", "type": "string" }, { "const": "seekFailed", "description": "The requested frame could not be evaluated.", "type": "string" }, { "const": "confirmFailed", "description": "The staged frame could not be confirmed after compositor capture.", "type": "string" }, { "const": "readinessTimeout", "description": "One or more resources missed the readiness deadline.", "type": "string" }, { "const": "internal", "description": "The runtime violated an internal invariant.", "type": "string" }] };
3881
+ validate57.evaluated = { "items": true, "dynamicProps": false, "dynamicItems": false };
3191
3882
  const pattern9 = new RegExp("\\S", "u");
3192
3883
  function validate56(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
3193
3884
  let vErrors = null;
@@ -3288,14 +3979,24 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3288
3979
  }
3289
3980
  errors++;
3290
3981
  }
3982
+ if (data.mediaLayout === undefined) {
3983
+ const err7 = { instancePath, schemaPath: "#/oneOf/1/required", keyword: "required", params: { missingProperty: "mediaLayout" }, message: "must have required property '" + "mediaLayout" + "'" };
3984
+ if (vErrors === null) {
3985
+ vErrors = [err7];
3986
+ }
3987
+ else {
3988
+ vErrors.push(err7);
3989
+ }
3990
+ errors++;
3991
+ }
3291
3992
  for (const key1 in data) {
3292
- if (!((key1 === "evaluationStart") || (key1 === "type"))) {
3293
- const err7 = { instancePath, schemaPath: "#/oneOf/1/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
3993
+ if (!(((key1 === "evaluationStart") || (key1 === "mediaLayout")) || (key1 === "type"))) {
3994
+ const err8 = { instancePath, schemaPath: "#/oneOf/1/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
3294
3995
  if (vErrors === null) {
3295
- vErrors = [err7];
3996
+ vErrors = [err8];
3296
3997
  }
3297
3998
  else {
3298
- vErrors.push(err7);
3999
+ vErrors.push(err8);
3299
4000
  }
3300
4001
  errors++;
3301
4002
  }
@@ -3303,69 +4004,75 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3303
4004
  if (data.evaluationStart !== undefined) {
3304
4005
  let data1 = data.evaluationStart;
3305
4006
  if (!(((typeof data1 == "number") && (!(data1 % 1) && !isNaN(data1))) && (isFinite(data1)))) {
3306
- const err8 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
4007
+ const err9 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3307
4008
  if (vErrors === null) {
3308
- vErrors = [err8];
4009
+ vErrors = [err9];
3309
4010
  }
3310
4011
  else {
3311
- vErrors.push(err8);
4012
+ vErrors.push(err9);
3312
4013
  }
3313
4014
  errors++;
3314
4015
  }
3315
4016
  if ((typeof data1 == "number") && (isFinite(data1))) {
3316
4017
  if (data1 > 9007199254740991 || isNaN(data1)) {
3317
- const err9 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
4018
+ const err10 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
3318
4019
  if (vErrors === null) {
3319
- vErrors = [err9];
4020
+ vErrors = [err10];
3320
4021
  }
3321
4022
  else {
3322
- vErrors.push(err9);
4023
+ vErrors.push(err10);
3323
4024
  }
3324
4025
  errors++;
3325
4026
  }
3326
4027
  if (data1 < 0 || isNaN(data1)) {
3327
- const err10 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
4028
+ const err11 = { instancePath: instancePath + "/evaluationStart", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3328
4029
  if (vErrors === null) {
3329
- vErrors = [err10];
4030
+ vErrors = [err11];
3330
4031
  }
3331
4032
  else {
3332
- vErrors.push(err10);
4033
+ vErrors.push(err11);
3333
4034
  }
3334
4035
  errors++;
3335
4036
  }
3336
4037
  }
3337
4038
  }
4039
+ if (data.mediaLayout !== undefined) {
4040
+ if (!(validate57(data.mediaLayout, { instancePath: instancePath + "/mediaLayout", parentData: data, parentDataProperty: "mediaLayout", rootData, dynamicAnchors }))) {
4041
+ vErrors = vErrors === null ? validate57.errors : vErrors.concat(validate57.errors);
4042
+ errors = vErrors.length;
4043
+ }
4044
+ }
3338
4045
  if (data.type !== undefined) {
3339
- let data2 = data.type;
3340
- if (typeof data2 !== "string") {
3341
- const err11 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/1/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4046
+ let data3 = data.type;
4047
+ if (typeof data3 !== "string") {
4048
+ const err12 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/1/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3342
4049
  if (vErrors === null) {
3343
- vErrors = [err11];
4050
+ vErrors = [err12];
3344
4051
  }
3345
4052
  else {
3346
- vErrors.push(err11);
4053
+ vErrors.push(err12);
3347
4054
  }
3348
4055
  errors++;
3349
4056
  }
3350
- if ("prepared" !== data2) {
3351
- const err12 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/1/properties/type/const", keyword: "const", params: { allowedValue: "prepared" }, message: "must be equal to constant" };
4057
+ if ("prepared" !== data3) {
4058
+ const err13 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/1/properties/type/const", keyword: "const", params: { allowedValue: "prepared" }, message: "must be equal to constant" };
3352
4059
  if (vErrors === null) {
3353
- vErrors = [err12];
4060
+ vErrors = [err13];
3354
4061
  }
3355
4062
  else {
3356
- vErrors.push(err12);
4063
+ vErrors.push(err13);
3357
4064
  }
3358
4065
  errors++;
3359
4066
  }
3360
4067
  }
3361
4068
  }
3362
4069
  else {
3363
- const err13 = { instancePath, schemaPath: "#/oneOf/1/type", keyword: "type", params: { type: "object" }, message: "must be object" };
4070
+ const err14 = { instancePath, schemaPath: "#/oneOf/1/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3364
4071
  if (vErrors === null) {
3365
- vErrors = [err13];
4072
+ vErrors = [err14];
3366
4073
  }
3367
4074
  else {
3368
- vErrors.push(err13);
4075
+ vErrors.push(err14);
3369
4076
  }
3370
4077
  errors++;
3371
4078
  }
@@ -3382,110 +4089,110 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3382
4089
  props0 = true;
3383
4090
  }
3384
4091
  }
3385
- const _errs14 = errors;
4092
+ const _errs15 = errors;
3386
4093
  if (data && typeof data == "object" && !Array.isArray(data)) {
3387
4094
  if (data.type === undefined) {
3388
- const err14 = { instancePath, schemaPath: "#/oneOf/2/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
4095
+ const err15 = { instancePath, schemaPath: "#/oneOf/2/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
3389
4096
  if (vErrors === null) {
3390
- vErrors = [err14];
4097
+ vErrors = [err15];
3391
4098
  }
3392
4099
  else {
3393
- vErrors.push(err14);
4100
+ vErrors.push(err15);
3394
4101
  }
3395
4102
  errors++;
3396
4103
  }
3397
4104
  if (data.frame === undefined) {
3398
- const err15 = { instancePath, schemaPath: "#/oneOf/2/required", keyword: "required", params: { missingProperty: "frame" }, message: "must have required property '" + "frame" + "'" };
4105
+ const err16 = { instancePath, schemaPath: "#/oneOf/2/required", keyword: "required", params: { missingProperty: "frame" }, message: "must have required property '" + "frame" + "'" };
3399
4106
  if (vErrors === null) {
3400
- vErrors = [err15];
4107
+ vErrors = [err16];
3401
4108
  }
3402
4109
  else {
3403
- vErrors.push(err15);
4110
+ vErrors.push(err16);
3404
4111
  }
3405
4112
  errors++;
3406
4113
  }
3407
4114
  for (const key2 in data) {
3408
4115
  if (!((key2 === "frame") || (key2 === "type"))) {
3409
- const err16 = { instancePath, schemaPath: "#/oneOf/2/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" };
4116
+ const err17 = { instancePath, schemaPath: "#/oneOf/2/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" };
3410
4117
  if (vErrors === null) {
3411
- vErrors = [err16];
4118
+ vErrors = [err17];
3412
4119
  }
3413
4120
  else {
3414
- vErrors.push(err16);
4121
+ vErrors.push(err17);
3415
4122
  }
3416
4123
  errors++;
3417
4124
  }
3418
4125
  }
3419
4126
  if (data.frame !== undefined) {
3420
- let data3 = data.frame;
3421
- if (!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))) {
3422
- const err17 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
4127
+ let data4 = data.frame;
4128
+ if (!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))) {
4129
+ const err18 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3423
4130
  if (vErrors === null) {
3424
- vErrors = [err17];
4131
+ vErrors = [err18];
3425
4132
  }
3426
4133
  else {
3427
- vErrors.push(err17);
4134
+ vErrors.push(err18);
3428
4135
  }
3429
4136
  errors++;
3430
4137
  }
3431
- if ((typeof data3 == "number") && (isFinite(data3))) {
3432
- if (data3 > 9007199254740991 || isNaN(data3)) {
3433
- const err18 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
4138
+ if ((typeof data4 == "number") && (isFinite(data4))) {
4139
+ if (data4 > 9007199254740991 || isNaN(data4)) {
4140
+ const err19 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
3434
4141
  if (vErrors === null) {
3435
- vErrors = [err18];
4142
+ vErrors = [err19];
3436
4143
  }
3437
4144
  else {
3438
- vErrors.push(err18);
4145
+ vErrors.push(err19);
3439
4146
  }
3440
4147
  errors++;
3441
4148
  }
3442
- if (data3 < 0 || isNaN(data3)) {
3443
- const err19 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
4149
+ if (data4 < 0 || isNaN(data4)) {
4150
+ const err20 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3444
4151
  if (vErrors === null) {
3445
- vErrors = [err19];
4152
+ vErrors = [err20];
3446
4153
  }
3447
4154
  else {
3448
- vErrors.push(err19);
4155
+ vErrors.push(err20);
3449
4156
  }
3450
4157
  errors++;
3451
4158
  }
3452
4159
  }
3453
4160
  }
3454
4161
  if (data.type !== undefined) {
3455
- let data4 = data.type;
3456
- if (typeof data4 !== "string") {
3457
- const err20 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/2/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4162
+ let data5 = data.type;
4163
+ if (typeof data5 !== "string") {
4164
+ const err21 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/2/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3458
4165
  if (vErrors === null) {
3459
- vErrors = [err20];
4166
+ vErrors = [err21];
3460
4167
  }
3461
4168
  else {
3462
- vErrors.push(err20);
4169
+ vErrors.push(err21);
3463
4170
  }
3464
4171
  errors++;
3465
4172
  }
3466
- if ("frameStaged" !== data4) {
3467
- const err21 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/2/properties/type/const", keyword: "const", params: { allowedValue: "frameStaged" }, message: "must be equal to constant" };
4173
+ if ("frameStaged" !== data5) {
4174
+ const err22 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/2/properties/type/const", keyword: "const", params: { allowedValue: "frameStaged" }, message: "must be equal to constant" };
3468
4175
  if (vErrors === null) {
3469
- vErrors = [err21];
4176
+ vErrors = [err22];
3470
4177
  }
3471
4178
  else {
3472
- vErrors.push(err21);
4179
+ vErrors.push(err22);
3473
4180
  }
3474
4181
  errors++;
3475
4182
  }
3476
4183
  }
3477
4184
  }
3478
4185
  else {
3479
- const err22 = { instancePath, schemaPath: "#/oneOf/2/type", keyword: "type", params: { type: "object" }, message: "must be object" };
4186
+ const err23 = { instancePath, schemaPath: "#/oneOf/2/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3480
4187
  if (vErrors === null) {
3481
- vErrors = [err22];
4188
+ vErrors = [err23];
3482
4189
  }
3483
4190
  else {
3484
- vErrors.push(err22);
4191
+ vErrors.push(err23);
3485
4192
  }
3486
4193
  errors++;
3487
4194
  }
3488
- var _valid0 = _errs14 === errors;
4195
+ var _valid0 = _errs15 === errors;
3489
4196
  if (_valid0 && valid0) {
3490
4197
  valid0 = false;
3491
4198
  passing0 = [passing0, 2];
@@ -3498,110 +4205,110 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3498
4205
  props0 = true;
3499
4206
  }
3500
4207
  }
3501
- const _errs22 = errors;
4208
+ const _errs23 = errors;
3502
4209
  if (data && typeof data == "object" && !Array.isArray(data)) {
3503
4210
  if (data.type === undefined) {
3504
- const err23 = { instancePath, schemaPath: "#/oneOf/3/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
4211
+ const err24 = { instancePath, schemaPath: "#/oneOf/3/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
3505
4212
  if (vErrors === null) {
3506
- vErrors = [err23];
4213
+ vErrors = [err24];
3507
4214
  }
3508
4215
  else {
3509
- vErrors.push(err23);
4216
+ vErrors.push(err24);
3510
4217
  }
3511
4218
  errors++;
3512
4219
  }
3513
4220
  if (data.frame === undefined) {
3514
- const err24 = { instancePath, schemaPath: "#/oneOf/3/required", keyword: "required", params: { missingProperty: "frame" }, message: "must have required property '" + "frame" + "'" };
4221
+ const err25 = { instancePath, schemaPath: "#/oneOf/3/required", keyword: "required", params: { missingProperty: "frame" }, message: "must have required property '" + "frame" + "'" };
3515
4222
  if (vErrors === null) {
3516
- vErrors = [err24];
4223
+ vErrors = [err25];
3517
4224
  }
3518
4225
  else {
3519
- vErrors.push(err24);
4226
+ vErrors.push(err25);
3520
4227
  }
3521
4228
  errors++;
3522
4229
  }
3523
4230
  for (const key3 in data) {
3524
4231
  if (!((key3 === "frame") || (key3 === "type"))) {
3525
- const err25 = { instancePath, schemaPath: "#/oneOf/3/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key3 }, message: "must NOT have additional properties" };
4232
+ const err26 = { instancePath, schemaPath: "#/oneOf/3/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key3 }, message: "must NOT have additional properties" };
3526
4233
  if (vErrors === null) {
3527
- vErrors = [err25];
4234
+ vErrors = [err26];
3528
4235
  }
3529
4236
  else {
3530
- vErrors.push(err25);
4237
+ vErrors.push(err26);
3531
4238
  }
3532
4239
  errors++;
3533
4240
  }
3534
4241
  }
3535
4242
  if (data.frame !== undefined) {
3536
- let data5 = data.frame;
3537
- if (!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))) {
3538
- const err26 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
4243
+ let data6 = data.frame;
4244
+ if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
4245
+ const err27 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3539
4246
  if (vErrors === null) {
3540
- vErrors = [err26];
4247
+ vErrors = [err27];
3541
4248
  }
3542
4249
  else {
3543
- vErrors.push(err26);
4250
+ vErrors.push(err27);
3544
4251
  }
3545
4252
  errors++;
3546
4253
  }
3547
- if ((typeof data5 == "number") && (isFinite(data5))) {
3548
- if (data5 > 9007199254740991 || isNaN(data5)) {
3549
- const err27 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
4254
+ if ((typeof data6 == "number") && (isFinite(data6))) {
4255
+ if (data6 > 9007199254740991 || isNaN(data6)) {
4256
+ const err28 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/maximum", keyword: "maximum", params: { comparison: "<=", limit: 9007199254740991 }, message: "must be <= 9007199254740991" };
3550
4257
  if (vErrors === null) {
3551
- vErrors = [err27];
4258
+ vErrors = [err28];
3552
4259
  }
3553
4260
  else {
3554
- vErrors.push(err27);
4261
+ vErrors.push(err28);
3555
4262
  }
3556
4263
  errors++;
3557
4264
  }
3558
- if (data5 < 0 || isNaN(data5)) {
3559
- const err28 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
4265
+ if (data6 < 0 || isNaN(data6)) {
4266
+ const err29 = { instancePath: instancePath + "/frame", schemaPath: "#/$defs/WireFrame/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3560
4267
  if (vErrors === null) {
3561
- vErrors = [err28];
4268
+ vErrors = [err29];
3562
4269
  }
3563
4270
  else {
3564
- vErrors.push(err28);
4271
+ vErrors.push(err29);
3565
4272
  }
3566
4273
  errors++;
3567
4274
  }
3568
4275
  }
3569
4276
  }
3570
4277
  if (data.type !== undefined) {
3571
- let data6 = data.type;
3572
- if (typeof data6 !== "string") {
3573
- const err29 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/3/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4278
+ let data7 = data.type;
4279
+ if (typeof data7 !== "string") {
4280
+ const err30 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/3/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3574
4281
  if (vErrors === null) {
3575
- vErrors = [err29];
4282
+ vErrors = [err30];
3576
4283
  }
3577
4284
  else {
3578
- vErrors.push(err29);
4285
+ vErrors.push(err30);
3579
4286
  }
3580
4287
  errors++;
3581
4288
  }
3582
- if ("frameReady" !== data6) {
3583
- const err30 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/3/properties/type/const", keyword: "const", params: { allowedValue: "frameReady" }, message: "must be equal to constant" };
4289
+ if ("frameReady" !== data7) {
4290
+ const err31 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/3/properties/type/const", keyword: "const", params: { allowedValue: "frameReady" }, message: "must be equal to constant" };
3584
4291
  if (vErrors === null) {
3585
- vErrors = [err30];
4292
+ vErrors = [err31];
3586
4293
  }
3587
4294
  else {
3588
- vErrors.push(err30);
4295
+ vErrors.push(err31);
3589
4296
  }
3590
4297
  errors++;
3591
4298
  }
3592
4299
  }
3593
4300
  }
3594
4301
  else {
3595
- const err31 = { instancePath, schemaPath: "#/oneOf/3/type", keyword: "type", params: { type: "object" }, message: "must be object" };
4302
+ const err32 = { instancePath, schemaPath: "#/oneOf/3/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3596
4303
  if (vErrors === null) {
3597
- vErrors = [err31];
4304
+ vErrors = [err32];
3598
4305
  }
3599
4306
  else {
3600
- vErrors.push(err31);
4307
+ vErrors.push(err32);
3601
4308
  }
3602
4309
  errors++;
3603
4310
  }
3604
- var _valid0 = _errs22 === errors;
4311
+ var _valid0 = _errs23 === errors;
3605
4312
  if (_valid0 && valid0) {
3606
4313
  valid0 = false;
3607
4314
  passing0 = [passing0, 3];
@@ -3614,113 +4321,113 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3614
4321
  props0 = true;
3615
4322
  }
3616
4323
  }
3617
- const _errs30 = errors;
4324
+ const _errs31 = errors;
3618
4325
  if (data && typeof data == "object" && !Array.isArray(data)) {
3619
4326
  if (data.type === undefined) {
3620
- const err32 = { instancePath, schemaPath: "#/oneOf/4/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
4327
+ const err33 = { instancePath, schemaPath: "#/oneOf/4/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
3621
4328
  if (vErrors === null) {
3622
- vErrors = [err32];
4329
+ vErrors = [err33];
3623
4330
  }
3624
4331
  else {
3625
- vErrors.push(err32);
4332
+ vErrors.push(err33);
3626
4333
  }
3627
4334
  errors++;
3628
4335
  }
3629
4336
  if (data.code === undefined) {
3630
- const err33 = { instancePath, schemaPath: "#/oneOf/4/required", keyword: "required", params: { missingProperty: "code" }, message: "must have required property '" + "code" + "'" };
4337
+ const err34 = { instancePath, schemaPath: "#/oneOf/4/required", keyword: "required", params: { missingProperty: "code" }, message: "must have required property '" + "code" + "'" };
3631
4338
  if (vErrors === null) {
3632
- vErrors = [err33];
4339
+ vErrors = [err34];
3633
4340
  }
3634
4341
  else {
3635
- vErrors.push(err33);
4342
+ vErrors.push(err34);
3636
4343
  }
3637
4344
  errors++;
3638
4345
  }
3639
4346
  if (data.message === undefined) {
3640
- const err34 = { instancePath, schemaPath: "#/oneOf/4/required", keyword: "required", params: { missingProperty: "message" }, message: "must have required property '" + "message" + "'" };
4347
+ const err35 = { instancePath, schemaPath: "#/oneOf/4/required", keyword: "required", params: { missingProperty: "message" }, message: "must have required property '" + "message" + "'" };
3641
4348
  if (vErrors === null) {
3642
- vErrors = [err34];
4349
+ vErrors = [err35];
3643
4350
  }
3644
4351
  else {
3645
- vErrors.push(err34);
4352
+ vErrors.push(err35);
3646
4353
  }
3647
4354
  errors++;
3648
4355
  }
3649
4356
  if (data.pendingResources === undefined) {
3650
- const err35 = { instancePath, schemaPath: "#/oneOf/4/required", keyword: "required", params: { missingProperty: "pendingResources" }, message: "must have required property '" + "pendingResources" + "'" };
4357
+ const err36 = { instancePath, schemaPath: "#/oneOf/4/required", keyword: "required", params: { missingProperty: "pendingResources" }, message: "must have required property '" + "pendingResources" + "'" };
3651
4358
  if (vErrors === null) {
3652
- vErrors = [err35];
4359
+ vErrors = [err36];
3653
4360
  }
3654
4361
  else {
3655
- vErrors.push(err35);
4362
+ vErrors.push(err36);
3656
4363
  }
3657
4364
  errors++;
3658
4365
  }
3659
4366
  for (const key4 in data) {
3660
4367
  if (!((((key4 === "code") || (key4 === "message")) || (key4 === "pendingResources")) || (key4 === "type"))) {
3661
- const err36 = { instancePath, schemaPath: "#/oneOf/4/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key4 }, message: "must NOT have additional properties" };
4368
+ const err37 = { instancePath, schemaPath: "#/oneOf/4/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key4 }, message: "must NOT have additional properties" };
3662
4369
  if (vErrors === null) {
3663
- vErrors = [err36];
4370
+ vErrors = [err37];
3664
4371
  }
3665
4372
  else {
3666
- vErrors.push(err36);
4373
+ vErrors.push(err37);
3667
4374
  }
3668
4375
  errors++;
3669
4376
  }
3670
4377
  }
3671
4378
  if (data.code !== undefined) {
3672
- let data7 = data.code;
3673
- const _errs35 = errors;
4379
+ let data8 = data.code;
4380
+ const _errs36 = errors;
3674
4381
  let valid10 = false;
3675
4382
  let passing1 = null;
3676
- const _errs36 = errors;
3677
- if (typeof data7 !== "string") {
3678
- const err37 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/0/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4383
+ const _errs37 = errors;
4384
+ if (typeof data8 !== "string") {
4385
+ const err38 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/0/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3679
4386
  if (vErrors === null) {
3680
- vErrors = [err37];
4387
+ vErrors = [err38];
3681
4388
  }
3682
4389
  else {
3683
- vErrors.push(err37);
4390
+ vErrors.push(err38);
3684
4391
  }
3685
4392
  errors++;
3686
4393
  }
3687
- if ("protocolMismatch" !== data7) {
3688
- const err38 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/0/const", keyword: "const", params: { allowedValue: "protocolMismatch" }, message: "must be equal to constant" };
4394
+ if ("protocolMismatch" !== data8) {
4395
+ const err39 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/0/const", keyword: "const", params: { allowedValue: "protocolMismatch" }, message: "must be equal to constant" };
3689
4396
  if (vErrors === null) {
3690
- vErrors = [err38];
4397
+ vErrors = [err39];
3691
4398
  }
3692
4399
  else {
3693
- vErrors.push(err38);
4400
+ vErrors.push(err39);
3694
4401
  }
3695
4402
  errors++;
3696
4403
  }
3697
- var _valid1 = _errs36 === errors;
4404
+ var _valid1 = _errs37 === errors;
3698
4405
  if (_valid1) {
3699
4406
  valid10 = true;
3700
4407
  passing1 = 0;
3701
4408
  }
3702
- const _errs38 = errors;
3703
- if (typeof data7 !== "string") {
3704
- const err39 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4409
+ const _errs39 = errors;
4410
+ if (typeof data8 !== "string") {
4411
+ const err40 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3705
4412
  if (vErrors === null) {
3706
- vErrors = [err39];
4413
+ vErrors = [err40];
3707
4414
  }
3708
4415
  else {
3709
- vErrors.push(err39);
4416
+ vErrors.push(err40);
3710
4417
  }
3711
4418
  errors++;
3712
4419
  }
3713
- if ("invalidRequest" !== data7) {
3714
- const err40 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/1/const", keyword: "const", params: { allowedValue: "invalidRequest" }, message: "must be equal to constant" };
4420
+ if ("invalidRequest" !== data8) {
4421
+ const err41 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/1/const", keyword: "const", params: { allowedValue: "invalidRequest" }, message: "must be equal to constant" };
3715
4422
  if (vErrors === null) {
3716
- vErrors = [err40];
4423
+ vErrors = [err41];
3717
4424
  }
3718
4425
  else {
3719
- vErrors.push(err40);
4426
+ vErrors.push(err41);
3720
4427
  }
3721
4428
  errors++;
3722
4429
  }
3723
- var _valid1 = _errs38 === errors;
4430
+ var _valid1 = _errs39 === errors;
3724
4431
  if (_valid1 && valid10) {
3725
4432
  valid10 = false;
3726
4433
  passing1 = [passing1, 1];
@@ -3730,28 +4437,28 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3730
4437
  valid10 = true;
3731
4438
  passing1 = 1;
3732
4439
  }
3733
- const _errs40 = errors;
3734
- if (typeof data7 !== "string") {
3735
- const err41 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/2/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4440
+ const _errs41 = errors;
4441
+ if (typeof data8 !== "string") {
4442
+ const err42 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/2/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3736
4443
  if (vErrors === null) {
3737
- vErrors = [err41];
4444
+ vErrors = [err42];
3738
4445
  }
3739
4446
  else {
3740
- vErrors.push(err41);
4447
+ vErrors.push(err42);
3741
4448
  }
3742
4449
  errors++;
3743
4450
  }
3744
- if ("loadFailed" !== data7) {
3745
- const err42 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/2/const", keyword: "const", params: { allowedValue: "loadFailed" }, message: "must be equal to constant" };
4451
+ if ("loadFailed" !== data8) {
4452
+ const err43 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/2/const", keyword: "const", params: { allowedValue: "loadFailed" }, message: "must be equal to constant" };
3746
4453
  if (vErrors === null) {
3747
- vErrors = [err42];
4454
+ vErrors = [err43];
3748
4455
  }
3749
4456
  else {
3750
- vErrors.push(err42);
4457
+ vErrors.push(err43);
3751
4458
  }
3752
4459
  errors++;
3753
4460
  }
3754
- var _valid1 = _errs40 === errors;
4461
+ var _valid1 = _errs41 === errors;
3755
4462
  if (_valid1 && valid10) {
3756
4463
  valid10 = false;
3757
4464
  passing1 = [passing1, 2];
@@ -3761,28 +4468,28 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3761
4468
  valid10 = true;
3762
4469
  passing1 = 2;
3763
4470
  }
3764
- const _errs42 = errors;
3765
- if (typeof data7 !== "string") {
3766
- const err43 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/3/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4471
+ const _errs43 = errors;
4472
+ if (typeof data8 !== "string") {
4473
+ const err44 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/3/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3767
4474
  if (vErrors === null) {
3768
- vErrors = [err43];
4475
+ vErrors = [err44];
3769
4476
  }
3770
4477
  else {
3771
- vErrors.push(err43);
4478
+ vErrors.push(err44);
3772
4479
  }
3773
4480
  errors++;
3774
4481
  }
3775
- if ("prepareFailed" !== data7) {
3776
- const err44 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/3/const", keyword: "const", params: { allowedValue: "prepareFailed" }, message: "must be equal to constant" };
4482
+ if ("prepareFailed" !== data8) {
4483
+ const err45 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/3/const", keyword: "const", params: { allowedValue: "prepareFailed" }, message: "must be equal to constant" };
3777
4484
  if (vErrors === null) {
3778
- vErrors = [err44];
4485
+ vErrors = [err45];
3779
4486
  }
3780
4487
  else {
3781
- vErrors.push(err44);
4488
+ vErrors.push(err45);
3782
4489
  }
3783
4490
  errors++;
3784
4491
  }
3785
- var _valid1 = _errs42 === errors;
4492
+ var _valid1 = _errs43 === errors;
3786
4493
  if (_valid1 && valid10) {
3787
4494
  valid10 = false;
3788
4495
  passing1 = [passing1, 3];
@@ -3792,28 +4499,28 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3792
4499
  valid10 = true;
3793
4500
  passing1 = 3;
3794
4501
  }
3795
- const _errs44 = errors;
3796
- if (typeof data7 !== "string") {
3797
- const err45 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/4/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4502
+ const _errs45 = errors;
4503
+ if (typeof data8 !== "string") {
4504
+ const err46 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/4/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3798
4505
  if (vErrors === null) {
3799
- vErrors = [err45];
4506
+ vErrors = [err46];
3800
4507
  }
3801
4508
  else {
3802
- vErrors.push(err45);
4509
+ vErrors.push(err46);
3803
4510
  }
3804
4511
  errors++;
3805
4512
  }
3806
- if ("seekFailed" !== data7) {
3807
- const err46 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/4/const", keyword: "const", params: { allowedValue: "seekFailed" }, message: "must be equal to constant" };
4513
+ if ("seekFailed" !== data8) {
4514
+ const err47 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/4/const", keyword: "const", params: { allowedValue: "seekFailed" }, message: "must be equal to constant" };
3808
4515
  if (vErrors === null) {
3809
- vErrors = [err46];
4516
+ vErrors = [err47];
3810
4517
  }
3811
4518
  else {
3812
- vErrors.push(err46);
4519
+ vErrors.push(err47);
3813
4520
  }
3814
4521
  errors++;
3815
4522
  }
3816
- var _valid1 = _errs44 === errors;
4523
+ var _valid1 = _errs45 === errors;
3817
4524
  if (_valid1 && valid10) {
3818
4525
  valid10 = false;
3819
4526
  passing1 = [passing1, 4];
@@ -3823,28 +4530,28 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3823
4530
  valid10 = true;
3824
4531
  passing1 = 4;
3825
4532
  }
3826
- const _errs46 = errors;
3827
- if (typeof data7 !== "string") {
3828
- const err47 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/5/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4533
+ const _errs47 = errors;
4534
+ if (typeof data8 !== "string") {
4535
+ const err48 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/5/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3829
4536
  if (vErrors === null) {
3830
- vErrors = [err47];
4537
+ vErrors = [err48];
3831
4538
  }
3832
4539
  else {
3833
- vErrors.push(err47);
4540
+ vErrors.push(err48);
3834
4541
  }
3835
4542
  errors++;
3836
4543
  }
3837
- if ("confirmFailed" !== data7) {
3838
- const err48 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/5/const", keyword: "const", params: { allowedValue: "confirmFailed" }, message: "must be equal to constant" };
4544
+ if ("confirmFailed" !== data8) {
4545
+ const err49 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/5/const", keyword: "const", params: { allowedValue: "confirmFailed" }, message: "must be equal to constant" };
3839
4546
  if (vErrors === null) {
3840
- vErrors = [err48];
4547
+ vErrors = [err49];
3841
4548
  }
3842
4549
  else {
3843
- vErrors.push(err48);
4550
+ vErrors.push(err49);
3844
4551
  }
3845
4552
  errors++;
3846
4553
  }
3847
- var _valid1 = _errs46 === errors;
4554
+ var _valid1 = _errs47 === errors;
3848
4555
  if (_valid1 && valid10) {
3849
4556
  valid10 = false;
3850
4557
  passing1 = [passing1, 5];
@@ -3854,28 +4561,28 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3854
4561
  valid10 = true;
3855
4562
  passing1 = 5;
3856
4563
  }
3857
- const _errs48 = errors;
3858
- if (typeof data7 !== "string") {
3859
- const err49 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/6/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4564
+ const _errs49 = errors;
4565
+ if (typeof data8 !== "string") {
4566
+ const err50 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/6/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3860
4567
  if (vErrors === null) {
3861
- vErrors = [err49];
4568
+ vErrors = [err50];
3862
4569
  }
3863
4570
  else {
3864
- vErrors.push(err49);
4571
+ vErrors.push(err50);
3865
4572
  }
3866
4573
  errors++;
3867
4574
  }
3868
- if ("readinessTimeout" !== data7) {
3869
- const err50 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/6/const", keyword: "const", params: { allowedValue: "readinessTimeout" }, message: "must be equal to constant" };
4575
+ if ("readinessTimeout" !== data8) {
4576
+ const err51 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/6/const", keyword: "const", params: { allowedValue: "readinessTimeout" }, message: "must be equal to constant" };
3870
4577
  if (vErrors === null) {
3871
- vErrors = [err50];
4578
+ vErrors = [err51];
3872
4579
  }
3873
4580
  else {
3874
- vErrors.push(err50);
4581
+ vErrors.push(err51);
3875
4582
  }
3876
4583
  errors++;
3877
4584
  }
3878
- var _valid1 = _errs48 === errors;
4585
+ var _valid1 = _errs49 === errors;
3879
4586
  if (_valid1 && valid10) {
3880
4587
  valid10 = false;
3881
4588
  passing1 = [passing1, 6];
@@ -3885,28 +4592,28 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3885
4592
  valid10 = true;
3886
4593
  passing1 = 6;
3887
4594
  }
3888
- const _errs50 = errors;
3889
- if (typeof data7 !== "string") {
3890
- const err51 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/7/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4595
+ const _errs51 = errors;
4596
+ if (typeof data8 !== "string") {
4597
+ const err52 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/7/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3891
4598
  if (vErrors === null) {
3892
- vErrors = [err51];
4599
+ vErrors = [err52];
3893
4600
  }
3894
4601
  else {
3895
- vErrors.push(err51);
4602
+ vErrors.push(err52);
3896
4603
  }
3897
4604
  errors++;
3898
4605
  }
3899
- if ("internal" !== data7) {
3900
- const err52 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/7/const", keyword: "const", params: { allowedValue: "internal" }, message: "must be equal to constant" };
4606
+ if ("internal" !== data8) {
4607
+ const err53 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf/7/const", keyword: "const", params: { allowedValue: "internal" }, message: "must be equal to constant" };
3901
4608
  if (vErrors === null) {
3902
- vErrors = [err52];
4609
+ vErrors = [err53];
3903
4610
  }
3904
4611
  else {
3905
- vErrors.push(err52);
4612
+ vErrors.push(err53);
3906
4613
  }
3907
4614
  errors++;
3908
4615
  }
3909
- var _valid1 = _errs50 === errors;
4616
+ var _valid1 = _errs51 === errors;
3910
4617
  if (_valid1 && valid10) {
3911
4618
  valid10 = false;
3912
4619
  passing1 = [passing1, 7];
@@ -3924,20 +4631,20 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3924
4631
  }
3925
4632
  }
3926
4633
  if (!valid10) {
3927
- const err53 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf", keyword: "oneOf", params: { passingSchemas: passing1 }, message: "must match exactly one schema in oneOf" };
4634
+ const err54 = { instancePath: instancePath + "/code", schemaPath: "#/$defs/ProtocolFailureCode/oneOf", keyword: "oneOf", params: { passingSchemas: passing1 }, message: "must match exactly one schema in oneOf" };
3928
4635
  if (vErrors === null) {
3929
- vErrors = [err53];
4636
+ vErrors = [err54];
3930
4637
  }
3931
4638
  else {
3932
- vErrors.push(err53);
4639
+ vErrors.push(err54);
3933
4640
  }
3934
4641
  errors++;
3935
4642
  }
3936
4643
  else {
3937
- errors = _errs35;
4644
+ errors = _errs36;
3938
4645
  if (vErrors !== null) {
3939
- if (_errs35) {
3940
- vErrors.length = _errs35;
4646
+ if (_errs36) {
4647
+ vErrors.length = _errs36;
3941
4648
  }
3942
4649
  else {
3943
4650
  vErrors = null;
@@ -3946,136 +4653,136 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
3946
4653
  }
3947
4654
  }
3948
4655
  if (data.message !== undefined) {
3949
- let data8 = data.message;
3950
- if (typeof data8 === "string") {
3951
- if (func2(data8) > 4096) {
3952
- const err54 = { instancePath: instancePath + "/message", schemaPath: "#/oneOf/4/properties/message/maxLength", keyword: "maxLength", params: { limit: 4096 }, message: "must NOT have more than 4096 characters" };
4656
+ let data9 = data.message;
4657
+ if (typeof data9 === "string") {
4658
+ if (func2(data9) > 4096) {
4659
+ const err55 = { instancePath: instancePath + "/message", schemaPath: "#/oneOf/4/properties/message/maxLength", keyword: "maxLength", params: { limit: 4096 }, message: "must NOT have more than 4096 characters" };
3953
4660
  if (vErrors === null) {
3954
- vErrors = [err54];
4661
+ vErrors = [err55];
3955
4662
  }
3956
4663
  else {
3957
- vErrors.push(err54);
4664
+ vErrors.push(err55);
3958
4665
  }
3959
4666
  errors++;
3960
4667
  }
3961
- if (!pattern9.test(data8)) {
3962
- const err55 = { instancePath: instancePath + "/message", schemaPath: "#/oneOf/4/properties/message/pattern", keyword: "pattern", params: { pattern: "\\S" }, message: "must match pattern \"" + "\\S" + "\"" };
4668
+ if (!pattern9.test(data9)) {
4669
+ const err56 = { instancePath: instancePath + "/message", schemaPath: "#/oneOf/4/properties/message/pattern", keyword: "pattern", params: { pattern: "\\S" }, message: "must match pattern \"" + "\\S" + "\"" };
3963
4670
  if (vErrors === null) {
3964
- vErrors = [err55];
4671
+ vErrors = [err56];
3965
4672
  }
3966
4673
  else {
3967
- vErrors.push(err55);
4674
+ vErrors.push(err56);
3968
4675
  }
3969
4676
  errors++;
3970
4677
  }
3971
4678
  }
3972
4679
  else {
3973
- const err56 = { instancePath: instancePath + "/message", schemaPath: "#/oneOf/4/properties/message/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4680
+ const err57 = { instancePath: instancePath + "/message", schemaPath: "#/oneOf/4/properties/message/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3974
4681
  if (vErrors === null) {
3975
- vErrors = [err56];
4682
+ vErrors = [err57];
3976
4683
  }
3977
4684
  else {
3978
- vErrors.push(err56);
4685
+ vErrors.push(err57);
3979
4686
  }
3980
4687
  errors++;
3981
4688
  }
3982
4689
  }
3983
4690
  if (data.pendingResources !== undefined) {
3984
- let data9 = data.pendingResources;
3985
- if (Array.isArray(data9)) {
3986
- if (data9.length > 256) {
3987
- const err57 = { instancePath: instancePath + "/pendingResources", schemaPath: "#/oneOf/4/properties/pendingResources/maxItems", keyword: "maxItems", params: { limit: 256 }, message: "must NOT have more than 256 items" };
4691
+ let data10 = data.pendingResources;
4692
+ if (Array.isArray(data10)) {
4693
+ if (data10.length > 256) {
4694
+ const err58 = { instancePath: instancePath + "/pendingResources", schemaPath: "#/oneOf/4/properties/pendingResources/maxItems", keyword: "maxItems", params: { limit: 256 }, message: "must NOT have more than 256 items" };
3988
4695
  if (vErrors === null) {
3989
- vErrors = [err57];
4696
+ vErrors = [err58];
3990
4697
  }
3991
4698
  else {
3992
- vErrors.push(err57);
4699
+ vErrors.push(err58);
3993
4700
  }
3994
4701
  errors++;
3995
4702
  }
3996
- const len0 = data9.length;
4703
+ const len0 = data10.length;
3997
4704
  for (let i0 = 0; i0 < len0; i0++) {
3998
- let data10 = data9[i0];
3999
- if (typeof data10 === "string") {
4000
- if (func2(data10) > 1024) {
4001
- const err58 = { instancePath: instancePath + "/pendingResources/" + i0, schemaPath: "#/oneOf/4/properties/pendingResources/items/maxLength", keyword: "maxLength", params: { limit: 1024 }, message: "must NOT have more than 1024 characters" };
4705
+ let data11 = data10[i0];
4706
+ if (typeof data11 === "string") {
4707
+ if (func2(data11) > 1024) {
4708
+ const err59 = { instancePath: instancePath + "/pendingResources/" + i0, schemaPath: "#/oneOf/4/properties/pendingResources/items/maxLength", keyword: "maxLength", params: { limit: 1024 }, message: "must NOT have more than 1024 characters" };
4002
4709
  if (vErrors === null) {
4003
- vErrors = [err58];
4710
+ vErrors = [err59];
4004
4711
  }
4005
4712
  else {
4006
- vErrors.push(err58);
4713
+ vErrors.push(err59);
4007
4714
  }
4008
4715
  errors++;
4009
4716
  }
4010
- if (!pattern9.test(data10)) {
4011
- const err59 = { instancePath: instancePath + "/pendingResources/" + i0, schemaPath: "#/oneOf/4/properties/pendingResources/items/pattern", keyword: "pattern", params: { pattern: "\\S" }, message: "must match pattern \"" + "\\S" + "\"" };
4717
+ if (!pattern9.test(data11)) {
4718
+ const err60 = { instancePath: instancePath + "/pendingResources/" + i0, schemaPath: "#/oneOf/4/properties/pendingResources/items/pattern", keyword: "pattern", params: { pattern: "\\S" }, message: "must match pattern \"" + "\\S" + "\"" };
4012
4719
  if (vErrors === null) {
4013
- vErrors = [err59];
4720
+ vErrors = [err60];
4014
4721
  }
4015
4722
  else {
4016
- vErrors.push(err59);
4723
+ vErrors.push(err60);
4017
4724
  }
4018
4725
  errors++;
4019
4726
  }
4020
4727
  }
4021
4728
  else {
4022
- const err60 = { instancePath: instancePath + "/pendingResources/" + i0, schemaPath: "#/oneOf/4/properties/pendingResources/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4729
+ const err61 = { instancePath: instancePath + "/pendingResources/" + i0, schemaPath: "#/oneOf/4/properties/pendingResources/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4023
4730
  if (vErrors === null) {
4024
- vErrors = [err60];
4731
+ vErrors = [err61];
4025
4732
  }
4026
4733
  else {
4027
- vErrors.push(err60);
4734
+ vErrors.push(err61);
4028
4735
  }
4029
4736
  errors++;
4030
4737
  }
4031
4738
  }
4032
4739
  }
4033
4740
  else {
4034
- const err61 = { instancePath: instancePath + "/pendingResources", schemaPath: "#/oneOf/4/properties/pendingResources/type", keyword: "type", params: { type: "array" }, message: "must be array" };
4741
+ const err62 = { instancePath: instancePath + "/pendingResources", schemaPath: "#/oneOf/4/properties/pendingResources/type", keyword: "type", params: { type: "array" }, message: "must be array" };
4035
4742
  if (vErrors === null) {
4036
- vErrors = [err61];
4743
+ vErrors = [err62];
4037
4744
  }
4038
4745
  else {
4039
- vErrors.push(err61);
4746
+ vErrors.push(err62);
4040
4747
  }
4041
4748
  errors++;
4042
4749
  }
4043
4750
  }
4044
4751
  if (data.type !== undefined) {
4045
- let data11 = data.type;
4046
- if (typeof data11 !== "string") {
4047
- const err62 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/4/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4752
+ let data12 = data.type;
4753
+ if (typeof data12 !== "string") {
4754
+ const err63 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/4/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4048
4755
  if (vErrors === null) {
4049
- vErrors = [err62];
4756
+ vErrors = [err63];
4050
4757
  }
4051
4758
  else {
4052
- vErrors.push(err62);
4759
+ vErrors.push(err63);
4053
4760
  }
4054
4761
  errors++;
4055
4762
  }
4056
- if ("failed" !== data11) {
4057
- const err63 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/4/properties/type/const", keyword: "const", params: { allowedValue: "failed" }, message: "must be equal to constant" };
4763
+ if ("failed" !== data12) {
4764
+ const err64 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/4/properties/type/const", keyword: "const", params: { allowedValue: "failed" }, message: "must be equal to constant" };
4058
4765
  if (vErrors === null) {
4059
- vErrors = [err63];
4766
+ vErrors = [err64];
4060
4767
  }
4061
4768
  else {
4062
- vErrors.push(err63);
4769
+ vErrors.push(err64);
4063
4770
  }
4064
4771
  errors++;
4065
4772
  }
4066
4773
  }
4067
4774
  }
4068
4775
  else {
4069
- const err64 = { instancePath, schemaPath: "#/oneOf/4/type", keyword: "type", params: { type: "object" }, message: "must be object" };
4776
+ const err65 = { instancePath, schemaPath: "#/oneOf/4/type", keyword: "type", params: { type: "object" }, message: "must be object" };
4070
4777
  if (vErrors === null) {
4071
- vErrors = [err64];
4778
+ vErrors = [err65];
4072
4779
  }
4073
4780
  else {
4074
- vErrors.push(err64);
4781
+ vErrors.push(err65);
4075
4782
  }
4076
4783
  errors++;
4077
4784
  }
4078
- var _valid0 = _errs30 === errors;
4785
+ var _valid0 = _errs31 === errors;
4079
4786
  if (_valid0 && valid0) {
4080
4787
  valid0 = false;
4081
4788
  passing0 = [passing0, 4];
@@ -4088,65 +4795,65 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
4088
4795
  props0 = true;
4089
4796
  }
4090
4797
  }
4091
- const _errs60 = errors;
4798
+ const _errs61 = errors;
4092
4799
  if (data && typeof data == "object" && !Array.isArray(data)) {
4093
4800
  if (data.type === undefined) {
4094
- const err65 = { instancePath, schemaPath: "#/oneOf/5/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
4801
+ const err66 = { instancePath, schemaPath: "#/oneOf/5/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property '" + "type" + "'" };
4095
4802
  if (vErrors === null) {
4096
- vErrors = [err65];
4803
+ vErrors = [err66];
4097
4804
  }
4098
4805
  else {
4099
- vErrors.push(err65);
4806
+ vErrors.push(err66);
4100
4807
  }
4101
4808
  errors++;
4102
4809
  }
4103
4810
  for (const key5 in data) {
4104
4811
  if (!(key5 === "type")) {
4105
- const err66 = { instancePath, schemaPath: "#/oneOf/5/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key5 }, message: "must NOT have additional properties" };
4812
+ const err67 = { instancePath, schemaPath: "#/oneOf/5/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key5 }, message: "must NOT have additional properties" };
4106
4813
  if (vErrors === null) {
4107
- vErrors = [err66];
4814
+ vErrors = [err67];
4108
4815
  }
4109
4816
  else {
4110
- vErrors.push(err66);
4817
+ vErrors.push(err67);
4111
4818
  }
4112
4819
  errors++;
4113
4820
  }
4114
4821
  }
4115
4822
  if (data.type !== undefined) {
4116
- let data12 = data.type;
4117
- if (typeof data12 !== "string") {
4118
- const err67 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/5/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4823
+ let data13 = data.type;
4824
+ if (typeof data13 !== "string") {
4825
+ const err68 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/5/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
4119
4826
  if (vErrors === null) {
4120
- vErrors = [err67];
4827
+ vErrors = [err68];
4121
4828
  }
4122
4829
  else {
4123
- vErrors.push(err67);
4830
+ vErrors.push(err68);
4124
4831
  }
4125
4832
  errors++;
4126
4833
  }
4127
- if ("disposed" !== data12) {
4128
- const err68 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/5/properties/type/const", keyword: "const", params: { allowedValue: "disposed" }, message: "must be equal to constant" };
4834
+ if ("disposed" !== data13) {
4835
+ const err69 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/5/properties/type/const", keyword: "const", params: { allowedValue: "disposed" }, message: "must be equal to constant" };
4129
4836
  if (vErrors === null) {
4130
- vErrors = [err68];
4837
+ vErrors = [err69];
4131
4838
  }
4132
4839
  else {
4133
- vErrors.push(err68);
4840
+ vErrors.push(err69);
4134
4841
  }
4135
4842
  errors++;
4136
4843
  }
4137
4844
  }
4138
4845
  }
4139
4846
  else {
4140
- const err69 = { instancePath, schemaPath: "#/oneOf/5/type", keyword: "type", params: { type: "object" }, message: "must be object" };
4847
+ const err70 = { instancePath, schemaPath: "#/oneOf/5/type", keyword: "type", params: { type: "object" }, message: "must be object" };
4141
4848
  if (vErrors === null) {
4142
- vErrors = [err69];
4849
+ vErrors = [err70];
4143
4850
  }
4144
4851
  else {
4145
- vErrors.push(err69);
4852
+ vErrors.push(err70);
4146
4853
  }
4147
4854
  errors++;
4148
4855
  }
4149
- var _valid0 = _errs60 === errors;
4856
+ var _valid0 = _errs61 === errors;
4150
4857
  if (_valid0 && valid0) {
4151
4858
  valid0 = false;
4152
4859
  passing0 = [passing0, 5];
@@ -4165,12 +4872,12 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
4165
4872
  }
4166
4873
  }
4167
4874
  if (!valid0) {
4168
- const err70 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
4875
+ const err71 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
4169
4876
  if (vErrors === null) {
4170
- vErrors = [err70];
4877
+ vErrors = [err71];
4171
4878
  }
4172
4879
  else {
4173
- vErrors.push(err70);
4880
+ vErrors.push(err71);
4174
4881
  }
4175
4882
  errors++;
4176
4883
  }
@@ -4191,7 +4898,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
4191
4898
  }
4192
4899
  validate56.evaluated = { "dynamicProps": true, "dynamicItems": false };
4193
4900
  function validate55(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
4194
- /*# sourceURL="https://onmark.dev/schemas/browser-response-v4.schema.json" */ ;
4901
+ /*# sourceURL="https://onmark.dev/schemas/browser-response-v5.schema.json" */ ;
4195
4902
  let vErrors = null;
4196
4903
  let errors = 0;
4197
4904
  const evaluated0 = validate55.evaluated;
@@ -4297,8 +5004,8 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
4297
5004
  }
4298
5005
  errors++;
4299
5006
  }
4300
- if (4 !== data2) {
4301
- const err8 = { instancePath: instancePath + "/version", schemaPath: "#/$defs/ProtocolVersion/const", keyword: "const", params: { allowedValue: 4 }, message: "must be equal to constant" };
5007
+ if (5 !== data2) {
5008
+ const err8 = { instancePath: instancePath + "/version", schemaPath: "#/$defs/ProtocolVersion/const", keyword: "const", params: { allowedValue: 5 }, message: "must be equal to constant" };
4302
5009
  if (vErrors === null) {
4303
5010
  vErrors = [err8];
4304
5011
  }