changedOutput schema / properties / data / properties / items / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "canonical_url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "companion_references": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "canonical_url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "target_id": {
- "maxLength": 160,
- "pattern": "^[a-z0-9]+(?:[-.][a-z0-9]+)*$",
- "type": "string"
- },
- "target_type": {
- "enum": [
- "chapter",
- "key_idea",
- "reference",
- "notable_segment",
- "card"
- ],
- "type": "string"
- }
- },
- "required": [
- "target_type",
- "target_id",
- "canonical_url"
- ],
- "type": "object"
- },
- "maxItems": 40,
- "type": "array"
- },
- "episode": {
- "additionalProperties": false,
- "properties": {
- "canonical_url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "slug": {
- "maxLength": 160,
- "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
- "type": "string"
- },
- "title": {
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "slug",
- "title",
- "canonical_url"
- ],
- "type": "object"
- },
- "hook": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "id": {
- "maxLength": 160,
- "pattern": "^[a-z0-9]+(?:[-.][a-z0-9]+)*$",
- "type": "string"
- },
- "media": {
- "additionalProperties": false,
- "properties": {
- "bytes": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "key": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "mime": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "url",
- "key",
- "mime",
- "bytes",
- "sha256"
- ],
- "type": "object"
- },
- "publications": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "platform": {
- "enum": [
- "x",
- "youtube"
- ],
- "type": "string"
- },
- "published_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "status": {
- "enum": [
- "not_posted",
- "published",
- "failed"
- ],
- "type": "string"
- },
- "updated_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "platform",
- "status",
- "updated_at"
- ],
- "type": "object"
- },
- "maxItems": 2,
- "type": "array"
- },
- "release_evidence": {
- "additionalProperties": false,
- "properties": {
- "artifact_manifest_sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "content_version": {
- "pattern": "^sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- "correction_status": {
- "enum": [
- "current",
- "corrected"
- ],
- "type": "string"
- },
- "release_id": {
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,159}$",
- "type": "string"
- },
- "release_sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "transcript_version": {
- "pattern": "^sha256:[a-f0-9]{64}$",
- "type": "string"
- }
- },
- "required": [
- "release_id",
- "release_sha256",
- "content_version",
- "transcript_version",
- "artifact_manifest_sha256",
- "correction_status"
- ],
- "type": "object"
- },
- "schema_version": {
- "const": "htrtf.public-clip.v1",
- "type": "string"
- },
- "title": {
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "transcript": {
- "additionalProperties": false,
- "properties": {
- "citations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "canonical_url": {
- "format": "uri",
- "type": "string"
- },
- "citation_text": {
- "minLength": 1,
- "type": "string"
- },
- "content_version": {
- "pattern": "^[a-z0-9]+(?:[-.][a-z0-9]+)*$",
- "type": "string"
- },
- "end_ms": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "episode_slug": {
- "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
- "type": "string"
- },
- "episode_title": {
- "minLength": 1,
- "type": "string"
- },
- "speaker": {
- "minLength": 1,
- "type": "string"
- },
- "start_ms": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "transcript_version": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "turn_id": {
- "pattern": "^turn-[0-9]{4}$",
- "type": "string"
- }
- },
- "required": [
- "canonical_url",
- "episode_slug",
- "episode_title",
- "speaker",
- "start_ms",
- "end_ms",
- "turn_id",
- "transcript_version",
- "content_version",
- "citation_text"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "minItems": 1,
- "type": "array"
- },
- "end_ms": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "start_ms": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "turn_ids": {
- "items": {
- "pattern": "^turn-[0-9]{4}$",
- "type": "string"
- },
- "maxItems": 200,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "start_ms",
- "end_ms",
- "turn_ids",
- "citations"
- ],
- "type": "object"
- }
- },
- "required": [
- "schema_version",
- "id",
- "canonical_url",
- "episode",
- "title",
- "hook",
- "transcript",
- "companion_references",
- "media",
- "publications",
- "release_evidence"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "canonical_url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "catalog_evidence": {
- "additionalProperties": false,
- "properties": {
- "catalog_id": {
- "const": "htrtf-youtube-clips",
- "type": "string"
- },
- "catalog_sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "catalog_version": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- },
- "entry_sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- }
- },
- "required": [
- "catalog_id",
- "catalog_version",
- "catalog_sha256",
- "entry_sha256"
- ],
- "type": "object"
- },
- "episode": {
- "additionalProperties": false,
- "properties": {
- "canonical_url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "slug": {
- "maxLength": 160,
- "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
- "type": "string"
- },
- "title": {
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "slug",
- "title",
- "canonical_url"
- ],
- "type": "object"
- },
- "hook": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "id": {
- "pattern": "^youtube-[A-Za-z0-9_-]{11}$",
- "type": "string"
- },
- "provenance": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "legacy-source-artifact",
- "type": "string"
- },
- "source_artifact": {
- "additionalProperties": false,
- "properties": {
- "bytes": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "duration_ms": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "height": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "mime": {
- "const": "video/mp4",
- "type": "string"
- },
- "qa_evidence_sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "rights_evidence_sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "width": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "mime",
- "bytes",
- "sha256",
- "duration_ms",
- "width",
- "height",
- "qa_evidence_sha256",
- "rights_evidence_sha256"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "source_artifact"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "metricool-publication-only",
- "type": "string"
- },
- "local_source_status": {
- "const": "not-provided",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "local_source_status"
- ],
- "type": "object"
- }
- ]
- },
- "publication_receipt": {
- "additionalProperties": false,
- "properties": {
- "brand_id": {
- "const": 6553294,
- "type": "number"
- },
- "channel_id": {
- "const": "UCIVKfN6pV2FibatladP_fWA",
- "type": "string"
- },
- "network": {
- "const": "youtube",
- "type": "string"
- },
- "post_id": {
- "pattern": "^[0-9]+$",
- "type": "string"
- },
- "provider": {
- "const": "metricool",
- "type": "string"
- },
- "published_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "record_id": {
- "pattern": "^[A-Za-z0-9_-]{11}$",
- "type": "string"
- },
- "source_sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "title": {
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "provider",
- "brand_id",
- "network",
- "record_id",
- "channel_id",
- "title",
- "published_at",
- "source_sha256"
- ],
- "type": "object"
- },
- "schema_version": {
- "const": "htrtf.external-clip.v1",
- "type": "string"
- },
- "title": {
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "transcript": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "end_ms": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "source": {
- "const": "released-transcript",
- "type": "string"
- },
- "start_ms": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "status": {
- "const": "available",
- "type": "string"
- },
- "turns": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "citation": {
- "additionalProperties": false,
- "properties": {
- "canonical_url": {
- "format": "uri",
- "type": "string"
- },
- "citation_text": {
- "minLength": 1,
- "type": "string"
- },
- "content_version": {
- "pattern": "^[a-z0-9]+(?:[-.][a-z0-9]+)*$",
- "type": "string"
- },
- "end_ms": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "episode_slug": {
- "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
- "type": "string"
- },
- "episode_title": {
- "minLength": 1,
- "type": "string"
- },
- "speaker": {
- "minLength": 1,
- "type": "string"
- },
- "start_ms": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "transcript_version": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "turn_id": {
- "pattern": "^turn-[0-9]{4}$",
- "type": "string"
- }
- },
- "required": [
- "canonical_url",
- "episode_slug",
- "episode_title",
- "speaker",
- "start_ms",
- "end_ms",
- "turn_id",
- "transcript_version",
- "content_version",
- "citation_text"
- ],
- "type": "object"
- },
- "end_ms": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "speaker": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "start_ms": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "text": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- "turn_id": {
- "pattern": "^turn-[0-9]{4}$",
- "type": "string"
- }
- },
- "required": [
- "turn_id",
- "speaker",
- "start_ms",
- "end_ms",
- "text",
- "citation"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "minItems": 1,
- "type": "array"
- },
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "status",
- "source",
- "sha256",
- "url",
- "start_ms",
- "end_ms",
- "turns"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "provenance": {
- "additionalProperties": false,
- "properties": {
- "episodeId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "episodeSlug": {
- "maxLength": 160,
- "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
- "type": "string"
- },
- "requiredEvidence": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "episodeId",
- "episodeSlug",
- "requiredEvidence"
- ],
- "type": "object"
- },
- "reason": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "source": {
- "const": "released-transcript",
- "type": "string"
- },
- "status": {
- "const": "unavailable",
- "type": "string"
- }
- },
- "required": [
- "status",
- "source",
- "reason",
- "provenance"
- ],
- "type": "object"
- }
- ]
- },
- "youtube": {
- "additionalProperties": false,
- "properties": {
- "channel_id": {
- "const": "UCIVKfN6pV2FibatladP_fWA",
- "type": "string"
- },
- "embed_url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "published_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "shorts_url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "thumbnail_url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "video_id": {
- "pattern": "^[A-Za-z0-9_-]{11}$",
- "type": "string"
- }
- },
- "required": [
- "video_id",
- "channel_id",
- "shorts_url",
- "embed_url",
- "thumbnail_url",
- "published_at"
- ],
- "type": "object"
- }
- },
- "required": [
- "schema_version",
- "id",
- "canonical_url",
- "episode",
- "title",
- "hook",
- "youtube",
- "publication_receipt",
- "provenance",
- "transcript",
- "catalog_evidence"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "canonical_url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "companion_references": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "canonical_url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "target_id": {
+ "maxLength": 160,
+ "pattern": "^[a-z0-9]+(?:[-.][a-z0-9]+)*$",
+ "type": "string"
+ },
+ "target_type": {
+ "enum": [
+ "chapter",
+ "key_idea",
+ "reference",
+ "notable_segment",
+ "card"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "target_type",
+ "target_id",
+ "canonical_url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "episode": {
+ "additionalProperties": false,
+ "properties": {
+ "canonical_url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "slug": {
+ "maxLength": 160,
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "title",
+ "canonical_url"
+ ],
+ "type": "object"
+ },
+ "hook": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 160,
+ "pattern": "^[a-z0-9]+(?:[-.][a-z0-9]+)*$",
+ "type": "string"
+ },
+ "media": {
+ "additionalProperties": false,
+ "properties": {
+ "bytes": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "key": {
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mime": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "key",
+ "mime",
+ "bytes",
+ "sha256"
+ ],
+ "type": "object"
+ },
+ "publications": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "platform": {
+ "enum": [
+ "x",
+ "youtube"
+ ],
+ "type": "string"
+ },
+ "published_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "not_posted",
+ "published",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "platform",
+ "status",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "release_evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact_manifest_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "content_version": {
+ "pattern": "^sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "correction_status": {
+ "enum": [
+ "current",
+ "corrected"
+ ],
+ "type": "string"
+ },
+ "release_id": {
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,159}$",
+ "type": "string"
+ },
+ "release_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "transcript_version": {
+ "pattern": "^sha256:[a-f0-9]{64}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "release_id",
+ "release_sha256",
+ "content_version",
+ "transcript_version",
+ "artifact_manifest_sha256",
+ "correction_status"
+ ],
+ "type": "object"
+ },
+ "schema_version": {
+ "const": "htrtf.public-clip.v1",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "transcript": {
+ "additionalProperties": false,
+ "properties": {
+ "citations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "canonical_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "citation_text": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "content_version": {
+ "pattern": "^[a-z0-9]+(?:[-.][a-z0-9]+)*$",
+ "type": "string"
+ },
+ "end_ms": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "episode_slug": {
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "episode_title": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "speaker": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "start_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "transcript_version": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "turn_id": {
+ "pattern": "^turn-[0-9]{4}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "canonical_url",
+ "episode_slug",
+ "episode_title",
+ "speaker",
+ "start_ms",
+ "end_ms",
+ "turn_id",
+ "transcript_version",
+ "content_version",
+ "citation_text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 200,
+ "minItems": 1,
+ "type": "array"
+ },
+ "end_ms": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "start_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "turn_ids": {
+ "items": {
+ "pattern": "^turn-[0-9]{4}$",
+ "type": "string"
+ },
+ "maxItems": 200,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "start_ms",
+ "end_ms",
+ "turn_ids",
+ "citations"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "schema_version",
+ "id",
+ "canonical_url",
+ "episode",
+ "title",
+ "hook",
+ "transcript",
+ "companion_references",
+ "media",
+ "publications",
+ "release_evidence"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "canonical_url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "catalog_evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "catalog_id": {
+ "const": "htrtf-youtube-clips",
+ "type": "string"
+ },
+ "catalog_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "catalog_version": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "entry_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "catalog_id",
+ "catalog_version",
+ "catalog_sha256",
+ "entry_sha256"
+ ],
+ "type": "object"
+ },
+ "episode": {
+ "additionalProperties": false,
+ "properties": {
+ "canonical_url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "slug": {
+ "maxLength": 160,
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "title",
+ "canonical_url"
+ ],
+ "type": "object"
+ },
+ "hook": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^youtube-[A-Za-z0-9_-]{11}$",
+ "type": "string"
+ },
+ "provenance": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "legacy-source-artifact",
+ "type": "string"
+ },
+ "source_artifact": {
+ "additionalProperties": false,
+ "properties": {
+ "bytes": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "duration_ms": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "height": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "mime": {
+ "const": "video/mp4",
+ "type": "string"
+ },
+ "qa_evidence_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "rights_evidence_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "width": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "mime",
+ "bytes",
+ "sha256",
+ "duration_ms",
+ "width",
+ "height",
+ "qa_evidence_sha256",
+ "rights_evidence_sha256"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "source_artifact"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "metricool-publication-only",
+ "type": "string"
+ },
+ "local_source_status": {
+ "const": "not-provided",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "local_source_status"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "publication_receipt": {
+ "additionalProperties": false,
+ "properties": {
+ "brand_id": {
+ "const": 6553294,
+ "type": "number"
+ },
+ "channel_id": {
+ "const": "UCIVKfN6pV2FibatladP_fWA",
+ "type": "string"
+ },
+ "network": {
+ "const": "youtube",
+ "type": "string"
+ },
+ "post_id": {
+ "pattern": "^[0-9]+$",
+ "type": "string"
+ },
+ "provider": {
+ "const": "metricool",
+ "type": "string"
+ },
+ "published_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "record_id": {
+ "pattern": "^[A-Za-z0-9_-]{11}$",
+ "type": "string"
+ },
+ "source_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "provider",
+ "brand_id",
+ "network",
+ "record_id",
+ "channel_id",
+ "title",
+ "published_at",
+ "source_sha256"
+ ],
+ "type": "object"
+ },
+ "schema_version": {
+ "const": "htrtf.external-clip.v1",
+ "type": "string"
+ },
+ "slug": {
+ "maxLength": 120,
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "transcript": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "end_ms": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "source": {
+ "const": "released-transcript",
+ "type": "string"
+ },
+ "start_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "status": {
+ "const": "available",
+ "type": "string"
+ },
+ "turns": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "citation": {
+ "additionalProperties": false,
+ "properties": {
+ "canonical_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "citation_text": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "content_version": {
+ "pattern": "^[a-z0-9]+(?:[-.][a-z0-9]+)*$",
+ "type": "string"
+ },
+ "end_ms": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "episode_slug": {
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "episode_title": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "speaker": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "start_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "transcript_version": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "turn_id": {
+ "pattern": "^turn-[0-9]{4}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "canonical_url",
+ "episode_slug",
+ "episode_title",
+ "speaker",
+ "start_ms",
+ "end_ms",
+ "turn_id",
+ "transcript_version",
+ "content_version",
+ "citation_text"
+ ],
+ "type": "object"
+ },
+ "end_ms": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "speaker": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "start_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "text": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "turn_id": {
+ "pattern": "^turn-[0-9]{4}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "turn_id",
+ "speaker",
+ "start_ms",
+ "end_ms",
+ "text",
+ "citation"
+ ],
+ "type": "object"
+ },
+ "maxItems": 200,
+ "minItems": 1,
+ "type": "array"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "source",
+ "sha256",
+ "url",
+ "start_ms",
+ "end_ms",
+ "turns"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "end_ms": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "asr_output_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "channel_id": {
+ "const": "UCIVKfN6pV2FibatladP_fWA",
+ "type": "string"
+ },
+ "engine": {
+ "const": "openai-whisper",
+ "type": "string"
+ },
+ "language": {
+ "const": "en",
+ "type": "string"
+ },
+ "media_duration_ms": {
+ "exclusiveMinimum": 0,
+ "maximum": 180000,
+ "type": "integer"
+ },
+ "media_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "review_status": {
+ "const": "machine-generated",
+ "type": "string"
+ },
+ "transcript_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "video_id": {
+ "pattern": "^[A-Za-z0-9_-]{11}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video_id",
+ "channel_id",
+ "media_sha256",
+ "media_duration_ms",
+ "transcript_sha256",
+ "asr_output_sha256",
+ "engine",
+ "model",
+ "language",
+ "review_status"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "const": "youtube-asr",
+ "type": "string"
+ },
+ "start_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "status": {
+ "const": "available",
+ "type": "string"
+ },
+ "turns": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "end_ms": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "speaker": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "start_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "text": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "turn_id": {
+ "pattern": "^asr-[0-9]{4}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "turn_id",
+ "speaker",
+ "start_ms",
+ "end_ms",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "status",
+ "source",
+ "evidence",
+ "start_ms",
+ "end_ms",
+ "turns"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "provenance": {
+ "additionalProperties": false,
+ "properties": {
+ "episodeId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "episodeSlug": {
+ "maxLength": 160,
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "requiredEvidence": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "episodeId",
+ "episodeSlug",
+ "requiredEvidence"
+ ],
+ "type": "object"
+ },
+ "reason": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "source": {
+ "const": "released-transcript",
+ "type": "string"
+ },
+ "status": {
+ "const": "unavailable",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "source",
+ "reason",
+ "provenance"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "youtube": {
+ "additionalProperties": false,
+ "properties": {
+ "channel_id": {
+ "const": "UCIVKfN6pV2FibatladP_fWA",
+ "type": "string"
+ },
+ "embed_url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "published_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "shorts_url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "thumbnail_url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "video_id": {
+ "pattern": "^[A-Za-z0-9_-]{11}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video_id",
+ "channel_id",
+ "shorts_url",
+ "embed_url",
+ "thumbnail_url",
+ "published_at"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "schema_version",
+ "id",
+ "canonical_url",
+ "episode",
+ "title",
+ "hook",
+ "youtube",
+ "publication_receipt",
+ "provenance",
+ "transcript",
+ "catalog_evidence"
+ ],
+ "type": "object"
+ }
+]