Server definition
- Hash
- sha256:a151e8fd0b823cfeadffa6946f1baaa49e19244446e94da2088f8974b5777aae
- What it is
- What a remote MCP server returned when asked what it offers: 9 tools
The blob, as servednamed by its sha256
{
"instructions": "Resolve titles and remakes using search_dramas before fetching a slug. Use only returned evidence for facts; preserve gaps and attribution. Cite the relevant sourcePageUrl on MyDramaDB without promotional text. Respect spoilerPolicy and viewing progress. Subtitle availability is not story evidence. Never reconstruct dialogue or subtitle files. Published dates describe catalogue publication, not when every fact was last checked.",
"tools": [
{
"description": "Find cast, character and creator credits, optionally filtered. Follow pagination for complete results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"character": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"department": {
"enum": [
"cast",
"director",
"writer",
"producer",
"music",
"crew",
"other"
],
"type": "string"
},
"page": {
"anyOf": [
{
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
},
"person": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"spoilerPolicy": {
"default": "none",
"enum": [
"none",
"through_episode",
"all"
],
"type": "string"
},
"throughEpisode": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
]
},
"throughSeason": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
}
},
"required": [
"slug"
],
"type": "object"
},
"name": "get_cast",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"catalogueUpdatedAt": {
"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"
},
"demo": {
"type": "boolean"
},
"gaps": {
"items": {
"maxLength": 400,
"type": "string"
},
"maxItems": 24,
"type": "array"
},
"items": {
"items": {
"additionalProperties": false,
"properties": {
"credit": {
"additionalProperties": false,
"properties": {
"billing": {
"enum": [
"main",
"supporting",
"guest",
"crew",
"unknown"
],
"type": "string"
},
"character": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"creditedName": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"department": {
"enum": [
"cast",
"director",
"writer",
"producer",
"music",
"crew",
"other"
],
"type": "string"
},
"episodeNumbers": {
"items": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
},
"maxItems": 20000,
"type": "array"
},
"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"
},
"job": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"localizedNames": {
"items": {
"additionalProperties": false,
"properties": {
"character": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"creditedName": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"locale": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
}
},
"required": [
"locale"
],
"type": "object"
},
"maxItems": 32,
"type": "array"
},
"personId": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"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"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
}
},
"required": [
"id",
"personId",
"creditedName",
"department",
"billing",
"character",
"job",
"episodeNumbers",
"sources"
],
"type": "object"
},
"person": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"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"
},
"indexing": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": true,
"type": "boolean"
},
"reason": {
"const": "useful_published_record",
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": false,
"type": "boolean"
},
"reason": {
"enum": [
"sparse",
"unresolved",
"withdrawn",
"preview"
],
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
}
]
},
"names": {
"additionalProperties": false,
"properties": {
"aliases": {
"items": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"original": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"originalLanguage": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"preferred": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"preferred",
"original",
"originalLanguage",
"aliases"
],
"type": "object"
},
"portrait": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"kind": {
"enum": [
"photograph",
"poster",
"illustration",
"synthetic_illustration"
],
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"avif",
"webp",
"jpeg",
"png"
],
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/[A-Za-z0-9/_.-]+$",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"alt",
"kind",
"attribution",
"approvalId",
"deliveryPermission",
"renditions"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"resolution": {
"enum": [
"resolved",
"unresolved"
],
"type": "string"
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"translatedProseLocales": {
"items": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"maxItems": 4,
"type": "array"
},
"updatedAt": {
"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"
}
},
"required": [
"id",
"slug",
"names",
"portrait",
"resolution",
"updatedAt",
"indexing"
],
"type": "object"
},
{
"type": "null"
}
]
},
"sourcePageUrl": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"credit",
"person",
"sourcePageUrl"
],
"type": "object"
},
"maxItems": 24,
"type": "array"
},
"pagination": {
"additionalProperties": false,
"properties": {
"page": {
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
"pageSize": {
"const": 24,
"type": "number"
},
"pages": {
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
"total": {
"maximum": 130000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"page",
"pageSize",
"total",
"pages"
],
"type": "object"
},
"publishedAt": {
"anyOf": [
{
"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"
},
{
"type": "null"
}
]
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"sourcePageUrl": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
},
"upstreamSources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 120,
"type": "array"
}
},
"required": [
"releaseId",
"publishedAt",
"catalogueUpdatedAt",
"demo",
"sourcePageUrl",
"upstreamSources",
"gaps",
"pagination",
"items"
],
"type": "object"
}
},
{
"description": "Get published drama facts and sources. Plot prose is withheld by default; use spoiler options only with user permission.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"spoilerPolicy": {
"default": "none",
"enum": [
"none",
"through_episode",
"all"
],
"type": "string"
},
"throughEpisode": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
]
},
"throughSeason": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
}
},
"required": [
"slug"
],
"type": "object"
},
"name": "get_drama",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"approvedKnowledgeEpisodes": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"catalogueUpdatedAt": {
"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"
},
"creditCount": {
"maximum": 5000,
"minimum": 0,
"type": "integer"
},
"demo": {
"type": "boolean"
},
"episodeRecords": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"gaps": {
"items": {
"maxLength": 400,
"type": "string"
},
"maxItems": 24,
"type": "array"
},
"publishedAt": {
"anyOf": [
{
"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"
},
{
"type": "null"
}
]
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"show": {
"additionalProperties": false,
"properties": {
"addedAt": {
"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"
},
"broadcasters": {
"items": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"maxItems": 32,
"type": "array"
},
"countries": {
"items": {
"maxLength": 2,
"minLength": 2,
"pattern": "^[A-Z]{2}$",
"type": "string"
},
"maxItems": 12,
"type": "array"
},
"coverageNote": {
"maxLength": 600,
"type": "string"
},
"endDate": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"format": "date",
"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])))$",
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"episodeCount": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"excerpt": {
"maxLength": 300,
"type": "string"
},
"genres": {
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 32,
"type": "array"
},
"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"
},
"indexing": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": true,
"type": "boolean"
},
"reason": {
"const": "useful_published_record",
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": false,
"type": "boolean"
},
"reason": {
"enum": [
"sparse",
"unresolved",
"withdrawn",
"preview"
],
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
}
]
},
"links": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"broadcaster",
"official_programme",
"platform_information"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 128,
"type": "array"
},
"names": {
"additionalProperties": false,
"properties": {
"aliases": {
"items": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"original": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"originalLanguage": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"preferred": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"preferred",
"original",
"originalLanguage",
"aliases"
],
"type": "object"
},
"platforms": {
"items": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"maxItems": 32,
"type": "array"
},
"poster": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"kind": {
"enum": [
"photograph",
"poster",
"illustration",
"synthetic_illustration"
],
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"avif",
"webp",
"jpeg",
"png"
],
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/[A-Za-z0-9/_.-]+$",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"alt",
"kind",
"attribution",
"approvalId",
"deliveryPermission",
"renditions"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"posterFallback": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"caption": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"context": {
"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"
},
"personIds": {
"items": {
"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"
},
"maxItems": 32,
"type": "array"
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"showId": {
"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"
}
},
"required": [
"showId",
"personIds"
],
"type": "object"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"kind": {
"enum": [
"photograph",
"poster",
"illustration",
"synthetic_illustration"
],
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"avif",
"webp",
"jpeg",
"png"
],
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/[A-Za-z0-9/_.-]+$",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
},
"sourcePost": {
"additionalProperties": false,
"properties": {
"attachmentIndex": {
"maximum": 7,
"minimum": 0,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"url",
"attachmentIndex"
],
"type": "object"
}
},
"required": [
"id",
"alt",
"kind",
"attribution",
"approvalId",
"deliveryPermission",
"renditions"
],
"type": "object"
},
"processedFacts": {
"additionalProperties": false,
"properties": {
"availability": {
"items": {
"additionalProperties": false,
"properties": {
"access": {
"maxLength": 400,
"type": "string"
},
"market": {
"anyOf": [
{
"maxLength": 80,
"type": "string"
},
{
"type": "null"
}
]
},
"modes": {
"items": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"maxItems": 32,
"type": "array"
},
"observedAt": {
"anyOf": [
{
"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"
},
{
"type": "null"
}
]
},
"offer": {
"maxLength": 400,
"type": "string"
},
"provider": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"stale": {
"type": "boolean"
},
"state": {
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"url": {
"anyOf": [
{
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"provider",
"url",
"access",
"offer",
"market",
"modes",
"state",
"observedAt",
"stale"
],
"type": "object"
},
"maxItems": 128,
"type": "array"
},
"broadcastWindow": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"contentRating": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"runtimeMinutes": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 1440,
"minimum": 1,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"tags": {
"items": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"maxItems": 256,
"type": "array"
}
},
"required": [
"runtimeMinutes",
"contentRating",
"broadcastWindow",
"tags",
"availability"
],
"type": "object"
},
"research": {
"additionalProperties": false,
"properties": {
"audienceMetrics": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"market": {
"anyOf": [
{
"const": "global",
"type": "string"
},
{
"pattern": "^[A-Z]{2}$",
"type": "string"
}
]
},
"measure": {
"enum": [
"views",
"hours_viewed",
"rank",
"top10_markets",
"rating_score",
"review_count"
],
"type": "string"
},
"observedAt": {
"anyOf": [
{
"format": "date",
"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])))$",
"type": "string"
},
{
"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"
}
]
},
"period": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"end": {
"format": "date",
"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])))$",
"type": "string"
},
"kind": {
"enum": [
"week",
"interval"
],
"type": "string"
},
"start": {
"format": "date",
"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])))$",
"type": "string"
}
},
"required": [
"kind",
"start",
"end"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"date": {
"format": "date",
"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])))$",
"type": "string"
},
"kind": {
"const": "as_of",
"type": "string"
}
},
"required": [
"kind",
"date"
],
"type": "object"
}
]
},
"provider": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"reportedRuntimeMinutes": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 1440,
"minimum": 1,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"scale": {
"additionalProperties": false,
"properties": {
"maximum": {
"type": "number"
},
"minimum": {
"type": "number"
}
},
"required": [
"minimum",
"maximum"
],
"type": "object"
},
"scope": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"unit": {
"enum": [
"views",
"hours",
"position",
"markets",
"points",
"reviews"
],
"type": "string"
},
"value": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"minimum": 0,
"type": "number"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"id",
"measure",
"value",
"unit",
"provider",
"scope",
"market",
"period",
"observedAt"
],
"type": "object"
},
"maxItems": 256,
"type": "array"
},
"editorialNotes": {
"items": {
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"category": {
"enum": [
"production",
"reception",
"characters"
],
"type": "string"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"language": {
"enum": [
"en",
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"observedAt": {
"anyOf": [
{
"format": "date",
"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])))$",
"type": "string"
},
{
"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"
}
]
},
"origin": {
"enum": [
"original_editorial",
"human_editorial",
"licensed_source"
],
"type": "string"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"spoiler": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "none",
"type": "string"
}
},
"required": [
"kind"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"episodeFrom": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"episodeThrough": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"kind": {
"const": "episodes",
"type": "string"
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"kind",
"season",
"episodeFrom",
"episodeThrough"
],
"type": "object"
}
]
},
"subjectCreditId": {
"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"
},
"text": {
"maxLength": 1200,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"category",
"text",
"language",
"origin",
"approvalId",
"deliveryPermission",
"sources",
"observedAt",
"spoiler"
],
"type": "object"
},
"maxItems": 128,
"type": "array"
},
"regionalEditions": {
"items": {
"additionalProperties": false,
"properties": {
"audioTracks": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"items": {
"additionalProperties": false,
"properties": {
"audioDescription": {
"type": "boolean"
},
"language": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"original": {
"type": "boolean"
}
},
"required": [
"language",
"audioDescription",
"original"
],
"type": "object"
},
"maxItems": 128,
"minItems": 1,
"type": "array"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"contentRating": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"format": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"id": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"languageInventoryScope": {
"enum": [
"displayed_list",
"local_language_presence"
],
"type": "string"
},
"locale": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"market": {
"pattern": "^[A-Z]{2}$",
"type": "string"
},
"observedAt": {
"anyOf": [
{
"format": "date",
"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])))$",
"type": "string"
},
{
"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"
}
]
},
"ratingAuthority": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"subtitleLanguages": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"items": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"maxItems": 128,
"minItems": 1,
"type": "array"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"title": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"id",
"market",
"locale",
"observedAt",
"title"
],
"type": "object"
},
"maxItems": 64,
"type": "array"
},
"reviews": {
"items": {
"additionalProperties": false,
"properties": {
"author": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"id": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"language": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"observedAt": {
"anyOf": [
{
"format": "date",
"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])))$",
"type": "string"
},
{
"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"
}
]
},
"publishedDate": {
"format": "date",
"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])))$",
"type": "string"
},
"publisher": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"rating": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"maximum": {
"type": "number"
},
"minimum": {
"type": "number"
},
"value": {
"type": "number"
}
},
"required": [
"value",
"maximum"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"title": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"id",
"title",
"publisher",
"url",
"language",
"observedAt"
],
"type": "object"
},
"maxItems": 128,
"type": "array"
},
"soundtracks": {
"items": {
"additionalProperties": false,
"properties": {
"contributors": {
"items": {
"additionalProperties": false,
"properties": {
"creditedRole": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"name": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"role": {
"enum": [
"composer",
"performer",
"lyricist",
"arranger",
"producer",
"other"
],
"type": "string"
},
"scope": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "album",
"type": "string"
}
},
"required": [
"kind"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "tracks",
"type": "string"
},
"numbers": {
"items": {
"maximum": 2000,
"minimum": 1,
"type": "integer"
},
"maxItems": 2000,
"minItems": 1,
"type": "array"
}
},
"required": [
"kind",
"numbers"
],
"type": "object"
}
]
}
},
"required": [
"name",
"role",
"scope"
],
"type": "object"
},
"maxItems": 256,
"type": "array"
},
"distributor": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"durationSeconds": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 172800,
"minimum": 1,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"id": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"links": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"observedAt": {
"anyOf": [
{
"format": "date",
"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])))$",
"type": "string"
},
{
"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"
}
]
},
"publisher": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"releaseDate": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"format": "date",
"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])))$",
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"title": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"tracks": {
"items": {
"additionalProperties": false,
"properties": {
"durationSeconds": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 86400,
"minimum": 1,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"number": {
"maximum": 2000,
"minimum": 1,
"type": "integer"
},
"title": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"number",
"title"
],
"type": "object"
},
"maxItems": 2000,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"title",
"observedAt",
"links",
"tracks"
],
"type": "object"
},
"maxItems": 24,
"type": "array"
},
"version": {
"const": 1,
"type": "number"
}
},
"required": [
"version"
],
"type": "object"
},
"schemaVersion": {
"const": 1,
"type": "number"
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"sourceFacts": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"enum": [
"production_company",
"director",
"screenwriter",
"composer",
"based_on",
"narrative_location",
"filming_location",
"award",
"birth_date",
"occupation",
"education",
"career_start",
"release_window",
"production_status",
"season_count",
"runtime",
"theme"
],
"type": "string"
},
"id": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"observedAt": {
"anyOf": [
{
"format": "date",
"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])))$",
"type": "string"
},
{
"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"
}
]
},
"sourceEntityId": {
"pattern": "^(?:Q[1-9][0-9]*|web:[a-f0-9]{64}|editorial:[a-f0-9-]{36})$",
"type": "string"
},
"sourceStatementId": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
},
"value": {
"maxLength": 240,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"field",
"value",
"sourceEntityId",
"sourceStatementId",
"observedAt",
"sources"
],
"type": "object"
},
"maxItems": 64,
"type": "array"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 60,
"type": "array"
},
"startDate": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"format": "date",
"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])))$",
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"status": {
"enum": [
"airing",
"upcoming",
"completed",
"cancelled",
"unknown"
],
"type": "string"
},
"subtitleAvailability": {
"additionalProperties": false,
"properties": {
"coveredEpisodes": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
},
"datasetVersion": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"languages": {
"items": {
"enum": [
"en",
"ko"
],
"type": "string"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
}
},
"required": [
"datasetVersion",
"coveredEpisodes",
"languages"
],
"type": "object"
},
"synopsis": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"deliveryPermission": {
"const": "allowed",
"type": "string"
},
"language": {
"const": "en",
"type": "string"
},
"origin": {
"enum": [
"original_editorial",
"licensed_source",
"human_editorial"
],
"type": "string"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"text": {
"maxLength": 12000,
"minLength": 1,
"type": "string"
}
},
"required": [
"text",
"language",
"origin",
"approvalId",
"deliveryPermission",
"sources"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"updatedAt": {
"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"
},
"workType": {
"enum": [
"television_series",
"web_series",
"film",
"television_special",
"short_film",
"other",
"unknown"
],
"type": "string"
},
"year": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 2200,
"minimum": 1900,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"id",
"slug",
"names",
"year",
"status",
"workType",
"genres",
"episodeCount",
"poster",
"excerpt",
"addedAt",
"updatedAt",
"indexing",
"schemaVersion",
"synopsis",
"startDate",
"endDate",
"countries",
"broadcasters",
"platforms",
"links",
"sources",
"coverageNote"
],
"type": "object"
},
"sourcePageUrl": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
},
"upstreamSources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 120,
"type": "array"
}
},
"required": [
"releaseId",
"publishedAt",
"catalogueUpdatedAt",
"demo",
"sourcePageUrl",
"upstreamSources",
"gaps",
"show",
"creditCount",
"episodeRecords",
"approvedKnowledgeEpisodes"
],
"type": "object"
}
},
{
"description": "Get published catalogue changes by category and page. These are database updates, not a live news or streaming-availability feed.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"page": {
"anyOf": [
{
"maximum": 100000,
"minimum": 1,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
},
"type": {
"default": "all",
"enum": [
"all",
"shows",
"people",
"episodes",
"photos",
"social",
"credits",
"details"
],
"type": "string"
}
},
"type": "object"
},
"name": "get_drama_updates",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"activity": {
"additionalProperties": false,
"properties": {
"available": {
"type": "boolean"
},
"demo": {
"type": "boolean"
},
"items": {
"items": {
"additionalProperties": false,
"properties": {
"attributes": {
"items": {
"additionalProperties": false,
"properties": {
"added": {
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"field": {
"enum": [
"names",
"year",
"startDate",
"endDate",
"status",
"workType",
"genres",
"episodeCount",
"countries",
"languages",
"platforms",
"links",
"sources",
"biography",
"biographyTranslations",
"synopsisTranslations",
"subtitles",
"processedFacts",
"posterFallback",
"identity",
"poster",
"portrait",
"production_company",
"director",
"screenwriter",
"composer",
"based_on",
"narrative_location",
"filming_location",
"award",
"birth_date",
"occupation",
"education",
"career_start",
"release_window",
"production_status",
"season_count",
"runtime",
"theme"
],
"type": "string"
},
"removed": {
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"updated": {
"maximum": 100000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"field",
"added",
"updated",
"removed"
],
"type": "object"
},
"maxItems": 40,
"minItems": 1,
"type": "array"
},
"changes": {
"items": {
"additionalProperties": false,
"properties": {
"added": {
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"field": {
"enum": [
"record",
"episodes",
"episodeDescriptions",
"photos",
"social",
"credits",
"synopsis",
"details"
],
"type": "string"
},
"removed": {
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"updated": {
"maximum": 100000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"field",
"added",
"updated",
"removed"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
},
"entityId": {
"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"
},
"entityKind": {
"enum": [
"show",
"person"
],
"type": "string"
},
"episodeDescriptionChanges": {
"items": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"added",
"updated",
"removed"
],
"type": "string"
},
"after": {
"additionalProperties": false,
"properties": {
"language": {
"enum": [
"en",
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"text": {
"maxLength": 1200,
"minLength": 1,
"type": "string"
}
},
"required": [
"text",
"language",
"sources"
],
"type": "object"
},
"before": {
"additionalProperties": false,
"properties": {
"language": {
"enum": [
"en",
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"text": {
"maxLength": 1200,
"minLength": 1,
"type": "string"
}
},
"required": [
"text",
"language",
"sources"
],
"type": "object"
},
"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"
},
"number": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"episodeId",
"season",
"number",
"action"
],
"type": "object"
},
"maxItems": 20000,
"minItems": 1,
"type": "array"
},
"id": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"kind": {
"enum": [
"photograph",
"poster",
"illustration",
"synthetic_illustration"
],
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"avif",
"webp",
"jpeg",
"png"
],
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/[A-Za-z0-9/_.-]+$",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"alt",
"kind",
"attribution",
"approvalId",
"deliveryPermission",
"renditions"
],
"type": "object"
},
"name": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"publishedAt": {
"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"
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"socialPostUrls": {
"items": {
"anyOf": [
{
"maxLength": 300,
"pattern": "^https:\\/\\/x\\.com\\/[A-Za-z0-9_]{1,15}\\/status\\/[1-9][0-9]{0,24}(?![\\s\\S])",
"type": "string"
},
{
"maxLength": 300,
"pattern": "^https:\\/\\/bsky\\.app\\/profile\\/did:(?:plc:[a-z2-7]{24}|web:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+)\\/post\\/(?!\\.{1,2}(?![\\s\\S]))[A-Za-z0-9._:~-]{1,512}(?![\\s\\S])",
"type": "string"
},
{
"maxLength": 300,
"pattern": "^https:\\/\\/www\\.youtube\\.com\\/watch\\?v=[A-Za-z0-9_-]{11}(?![\\s\\S])",
"type": "string"
},
{
"maxLength": 300,
"pattern": "^https:\\/\\/www\\.youtube\\.com\\/post\\/Ug[A-Za-z0-9_-]{10,100}(?![\\s\\S])",
"type": "string"
}
]
},
"maxItems": 240,
"minItems": 1,
"type": "array"
},
"socialUpdates": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"author": {
"additionalProperties": false,
"properties": {
"avatar": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"name": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/x\\.com\\/[A-Za-z0-9_]{1,15}(?![\\s\\S])",
"type": "string"
}
},
"required": [
"name",
"url"
],
"type": "object"
},
"kind": {
"const": "x_post",
"type": "string"
},
"media": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"enum": [
"photo",
"video_thumbnail"
],
"type": "string"
}
},
"required": [
"kind",
"image"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"animation": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"const": "gif",
"type": "string"
}
},
"required": [
"kind",
"image",
"animation"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"const": "video",
"type": "string"
},
"video": {
"additionalProperties": false,
"properties": {
"durationMs": {
"maximum": 600000,
"minimum": 1,
"type": "integer"
},
"hasAudio": {
"type": "boolean"
},
"height": {
"maximum": 4096,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.mp4(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 4096,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"durationMs",
"hasAudio"
],
"type": "object"
}
},
"required": [
"kind",
"image",
"video"
],
"type": "object"
}
]
},
"maxItems": 8,
"minItems": 1,
"type": "array"
},
"originalLanguage": {
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*(?![\\s\\S])",
"type": "string"
},
"originalText": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"playback": {
"additionalProperties": false,
"properties": {
"expiresAt": {
"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"
},
"videoId": {
"pattern": "^[A-Za-z0-9_-]{11}(?![\\s\\S])",
"type": "string"
}
},
"required": [
"videoId",
"expiresAt"
],
"type": "object"
},
"publishedAt": {
"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"
},
"translations": {
"additionalProperties": false,
"properties": {
"en": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"ja": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"ko": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"zh-Hans": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"zh-Hant": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/x\\.com\\/[A-Za-z0-9_]{1,15}\\/status\\/[1-9][0-9]{0,24}(?![\\s\\S])",
"type": "string"
}
},
"required": [
"kind",
"url",
"author",
"approvalId",
"originalText"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"author": {
"additionalProperties": false,
"properties": {
"name": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/www\\.youtube\\.com\\/(?:@[A-Za-z0-9_.-]{1,100}|channel\\/UC[A-Za-z0-9_-]{22})(?![\\s\\S])",
"type": "string"
}
},
"required": [
"name",
"url"
],
"type": "object"
},
"kind": {
"const": "youtube_video",
"type": "string"
},
"media": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"enum": [
"photo",
"video_thumbnail"
],
"type": "string"
}
},
"required": [
"kind",
"image"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"animation": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"const": "gif",
"type": "string"
}
},
"required": [
"kind",
"image",
"animation"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"const": "video",
"type": "string"
},
"video": {
"additionalProperties": false,
"properties": {
"durationMs": {
"maximum": 600000,
"minimum": 1,
"type": "integer"
},
"hasAudio": {
"type": "boolean"
},
"height": {
"maximum": 4096,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.mp4(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 4096,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"durationMs",
"hasAudio"
],
"type": "object"
}
},
"required": [
"kind",
"image",
"video"
],
"type": "object"
}
]
},
"maxItems": 8,
"minItems": 1,
"type": "array"
},
"originalLanguage": {
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*(?![\\s\\S])",
"type": "string"
},
"originalText": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"playback": {
"additionalProperties": false,
"properties": {
"expiresAt": {
"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"
}
},
"required": [
"expiresAt"
],
"type": "object"
},
"publishedAt": {
"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"
},
"translations": {
"additionalProperties": false,
"properties": {
"en": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"ja": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"ko": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"zh-Hans": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"zh-Hant": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/www\\.youtube\\.com\\/watch\\?v=[A-Za-z0-9_-]{11}(?![\\s\\S])",
"type": "string"
}
},
"required": [
"kind",
"url",
"author",
"approvalId",
"originalText"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"author": {
"additionalProperties": false,
"properties": {
"name": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/www\\.youtube\\.com\\/(?:@[A-Za-z0-9_.-]{1,100}|channel\\/UC[A-Za-z0-9_-]{22})(?![\\s\\S])",
"type": "string"
}
},
"required": [
"name",
"url"
],
"type": "object"
},
"kind": {
"const": "youtube_post",
"type": "string"
},
"media": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"enum": [
"photo",
"video_thumbnail"
],
"type": "string"
}
},
"required": [
"kind",
"image"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"animation": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"const": "gif",
"type": "string"
}
},
"required": [
"kind",
"image",
"animation"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"const": "video",
"type": "string"
},
"video": {
"additionalProperties": false,
"properties": {
"durationMs": {
"maximum": 600000,
"minimum": 1,
"type": "integer"
},
"hasAudio": {
"type": "boolean"
},
"height": {
"maximum": 4096,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.mp4(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 4096,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"durationMs",
"hasAudio"
],
"type": "object"
}
},
"required": [
"kind",
"image",
"video"
],
"type": "object"
}
]
},
"maxItems": 8,
"minItems": 1,
"type": "array"
},
"originalLanguage": {
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*(?![\\s\\S])",
"type": "string"
},
"originalText": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"publishedAt": {
"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"
},
"translations": {
"additionalProperties": false,
"properties": {
"en": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"ja": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"ko": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"zh-Hans": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"zh-Hant": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/www\\.youtube\\.com\\/post\\/Ug[A-Za-z0-9_-]{10,100}(?![\\s\\S])",
"type": "string"
}
},
"required": [
"kind",
"url",
"author",
"approvalId",
"originalText"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"author": {
"additionalProperties": false,
"properties": {
"name": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/bsky\\.app\\/profile\\/did:(?:plc:[a-z2-7]{24}|web:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+)(?![\\s\\S])",
"type": "string"
}
},
"required": [
"name",
"url"
],
"type": "object"
},
"kind": {
"const": "bluesky_post",
"type": "string"
},
"media": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"const": "photo",
"type": "string"
}
},
"required": [
"kind",
"image"
],
"type": "object"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
},
{
"items": {
"additionalProperties": false,
"properties": {
"image": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"const": "webp",
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.webp(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"alt",
"renditions"
],
"type": "object"
},
"kind": {
"const": "video",
"type": "string"
},
"video": {
"additionalProperties": false,
"properties": {
"durationMs": {
"maximum": 600000,
"minimum": 1,
"type": "integer"
},
"hasAudio": {
"type": "boolean"
},
"height": {
"maximum": 4096,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/releases\\/v1\\/media-[a-z0-9]+(?:-[a-z0-9]+)*\\/assets\\/[a-f0-9]{64}\\.mp4(?![\\s\\S])",
"type": "string"
},
"width": {
"maximum": 4096,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"durationMs",
"hasAudio"
],
"type": "object"
}
},
"required": [
"kind",
"image",
"video"
],
"type": "object"
},
"maxItems": 1,
"minItems": 1,
"type": "array"
}
]
},
"originalLanguage": {
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*(?![\\s\\S])",
"type": "string"
},
"originalText": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"publishedAt": {
"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"
},
"translations": {
"additionalProperties": false,
"properties": {
"en": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"ja": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"ko": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"zh-Hans": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"zh-Hant": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"url": {
"maxLength": 300,
"pattern": "^https:\\/\\/bsky\\.app\\/profile\\/did:(?:plc:[a-z2-7]{24}|web:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+)\\/post\\/(?!\\.{1,2}(?![\\s\\S]))[A-Za-z0-9._:~-]{1,512}(?![\\s\\S])",
"type": "string"
}
},
"required": [
"kind",
"url",
"author",
"approvalId",
"originalText"
],
"type": "object"
}
]
},
"maxItems": 3,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"entityKind",
"entityId",
"changes",
"releaseId",
"publishedAt",
"name",
"slug"
],
"type": "object"
},
"maxItems": 30,
"type": "array"
},
"pagination": {
"additionalProperties": false,
"properties": {
"page": {
"maximum": 100000,
"minimum": 1,
"type": "integer"
},
"pageSize": {
"const": 30,
"type": "number"
},
"pages": {
"maximum": 100000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"page",
"pageSize",
"pages"
],
"type": "object"
},
"publishedAt": {
"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"
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"type": {
"enum": [
"all",
"shows",
"people",
"episodes",
"photos",
"social",
"credits",
"details"
],
"type": "string"
}
},
"required": [
"releaseId",
"publishedAt",
"demo",
"available",
"type",
"pagination",
"items"
],
"type": "object"
},
"catalogueUpdatedAt": {
"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"
},
"demo": {
"type": "boolean"
},
"gaps": {
"items": {
"maxLength": 400,
"type": "string"
},
"maxItems": 24,
"type": "array"
},
"publishedAt": {
"anyOf": [
{
"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"
},
{
"type": "null"
}
]
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"sourcePageUrl": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
},
"upstreamSources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 120,
"type": "array"
}
},
"required": [
"releaseId",
"publishedAt",
"catalogueUpdatedAt",
"demo",
"sourcePageUrl",
"upstreamSources",
"gaps",
"activity"
],
"type": "object"
}
},
{
"description": "Get exact season and episode metadata, schedule and approved description within the spoiler ceiling.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"number": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
]
},
"season": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"spoilerPolicy": {
"default": "none",
"enum": [
"none",
"through_episode",
"all"
],
"type": "string"
},
"throughEpisode": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
]
},
"throughSeason": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
}
},
"required": [
"slug",
"number"
],
"type": "object"
},
"name": "get_episode",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"catalogueUpdatedAt": {
"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"
},
"demo": {
"type": "boolean"
},
"episode": {
"additionalProperties": false,
"properties": {
"airDate": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"format": "date",
"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])))$",
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"approvedKnowledgeAvailable": {
"type": "boolean"
},
"description": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"deliveryPermission": {
"const": "allowed",
"type": "string"
},
"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"
},
"language": {
"enum": [
"en",
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"origin": {
"enum": [
"original_editorial",
"licensed_source",
"human_editorial"
],
"type": "string"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"text": {
"maxLength": 1200,
"minLength": 1,
"type": "string"
}
},
"required": [
"episodeId",
"text",
"language",
"origin",
"approvalId",
"deliveryPermission",
"sources"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"descriptionTranslations": {
"items": {
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"deliveryPermission": {
"const": "allowed",
"type": "string"
},
"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"
},
"language": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"origin": {
"enum": [
"original_editorial",
"licensed_source",
"human_editorial"
],
"type": "string"
},
"sourceApprovalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"sourceContentSha256": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"sourceRevision": {
"maximum": 2147483647,
"minimum": 1,
"type": "integer"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"stale": {
"type": "boolean"
},
"text": {
"maxLength": 1200,
"minLength": 1,
"type": "string"
}
},
"required": [
"episodeId",
"text",
"language",
"origin",
"approvalId",
"deliveryPermission",
"sources",
"sourceApprovalId",
"sourceContentSha256"
],
"type": "object"
},
"maxItems": 4,
"type": "array"
},
"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"
},
"localizedTitles": {
"items": {
"additionalProperties": false,
"properties": {
"locale": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"title": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"locale",
"title"
],
"type": "object"
},
"maxItems": 32,
"type": "array"
},
"number": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"runtimeMinutes": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 1440,
"minimum": 1,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"subtitleCoverage": {
"additionalProperties": false,
"properties": {
"available": {
"type": "boolean"
},
"languages": {
"items": {
"enum": [
"en",
"ko"
],
"type": "string"
},
"maxItems": 2,
"type": "array"
}
},
"required": [
"available",
"languages"
],
"type": "object"
},
"title": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"id",
"number",
"title",
"airDate",
"runtimeMinutes",
"subtitleCoverage",
"approvedKnowledgeAvailable"
],
"type": "object"
},
"gaps": {
"items": {
"maxLength": 400,
"type": "string"
},
"maxItems": 24,
"type": "array"
},
"publishedAt": {
"anyOf": [
{
"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"
},
{
"type": "null"
}
]
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"sourcePageUrl": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
},
"upstreamSources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 120,
"type": "array"
}
},
"required": [
"releaseId",
"publishedAt",
"catalogueUpdatedAt",
"demo",
"sourcePageUrl",
"upstreamSources",
"gaps",
"episode"
],
"type": "object"
}
},
{
"description": "Get published actor or creator information and a paginated filmography. Preserve unavailable or conflicting facts.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"page": {
"anyOf": [
{
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
}
},
"required": [
"slug"
],
"type": "object"
},
"name": "get_person",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"catalogueUpdatedAt": {
"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"
},
"demo": {
"type": "boolean"
},
"filmography": {
"items": {
"additionalProperties": false,
"properties": {
"creditId": {
"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"
},
"show": {
"additionalProperties": false,
"properties": {
"addedAt": {
"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"
},
"episodeCount": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"episodeDescriptionAvailability": {
"additionalProperties": false,
"properties": {
"count": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
},
"firstPosition": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"count",
"firstPosition"
],
"type": "object"
},
"episodeDescriptionPages": {
"items": {
"additionalProperties": false,
"properties": {
"number": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"translatedLocales": {
"items": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"maxItems": 4,
"type": "array"
}
},
"required": [
"season",
"number"
],
"type": "object"
},
"maxItems": 20000,
"type": "array"
},
"episodeMetadataAvailability": {
"additionalProperties": false,
"properties": {
"count": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
},
"firstPosition": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"count",
"firstPosition"
],
"type": "object"
},
"excerpt": {
"maxLength": 300,
"type": "string"
},
"genres": {
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 32,
"type": "array"
},
"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"
},
"indexing": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": true,
"type": "boolean"
},
"reason": {
"const": "useful_published_record",
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": false,
"type": "boolean"
},
"reason": {
"enum": [
"sparse",
"unresolved",
"withdrawn",
"preview"
],
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
}
]
},
"names": {
"additionalProperties": false,
"properties": {
"aliases": {
"items": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"original": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"originalLanguage": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"preferred": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"preferred",
"original",
"originalLanguage",
"aliases"
],
"type": "object"
},
"poster": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"kind": {
"enum": [
"photograph",
"poster",
"illustration",
"synthetic_illustration"
],
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"avif",
"webp",
"jpeg",
"png"
],
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/[A-Za-z0-9/_.-]+$",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"alt",
"kind",
"attribution",
"approvalId",
"deliveryPermission",
"renditions"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"posterFallback": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"caption": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"context": {
"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"
},
"personIds": {
"items": {
"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"
},
"maxItems": 32,
"type": "array"
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"showId": {
"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"
}
},
"required": [
"showId",
"personIds"
],
"type": "object"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"kind": {
"enum": [
"photograph",
"poster",
"illustration",
"synthetic_illustration"
],
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"avif",
"webp",
"jpeg",
"png"
],
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/[A-Za-z0-9/_.-]+$",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
},
"sourcePost": {
"additionalProperties": false,
"properties": {
"attachmentIndex": {
"maximum": 7,
"minimum": 0,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"url",
"attachmentIndex"
],
"type": "object"
}
},
"required": [
"id",
"alt",
"kind",
"attribution",
"approvalId",
"deliveryPermission",
"renditions"
],
"type": "object"
},
"researchSeoLocales": {
"items": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"maxItems": 4,
"type": "array"
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"status": {
"enum": [
"airing",
"upcoming",
"completed",
"cancelled",
"unknown"
],
"type": "string"
},
"subtitleAvailability": {
"additionalProperties": false,
"properties": {
"coveredEpisodes": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
},
"datasetVersion": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"languages": {
"items": {
"enum": [
"en",
"ko"
],
"type": "string"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
}
},
"required": [
"datasetVersion",
"coveredEpisodes",
"languages"
],
"type": "object"
},
"translatedEpisodeGuidePages": {
"items": {
"additionalProperties": false,
"properties": {
"page": {
"maximum": 834,
"minimum": 1,
"type": "integer"
},
"translatedLocales": {
"items": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
}
},
"required": [
"page",
"translatedLocales"
],
"type": "object"
},
"maxItems": 834,
"type": "array"
},
"translatedProseLocales": {
"items": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"maxItems": 4,
"type": "array"
},
"updatedAt": {
"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"
},
"workType": {
"enum": [
"television_series",
"web_series",
"film",
"television_special",
"short_film",
"other",
"unknown"
],
"type": "string"
},
"year": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 2200,
"minimum": 1900,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"id",
"slug",
"names",
"year",
"status",
"workType",
"genres",
"episodeCount",
"poster",
"excerpt",
"addedAt",
"updatedAt",
"indexing"
],
"type": "object"
}
},
"required": [
"show",
"creditId"
],
"type": "object"
},
"maxItems": 24,
"type": "array"
},
"gaps": {
"items": {
"maxLength": 400,
"type": "string"
},
"maxItems": 24,
"type": "array"
},
"pagination": {
"additionalProperties": false,
"properties": {
"page": {
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
"pageSize": {
"const": 24,
"type": "number"
},
"pages": {
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
"total": {
"maximum": 130000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"page",
"pageSize",
"total",
"pages"
],
"type": "object"
},
"person": {
"additionalProperties": false,
"properties": {
"bibliography": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"deliveryPermission": {
"const": "allowed",
"type": "string"
},
"entries": {
"items": {
"additionalProperties": false,
"properties": {
"accessedAt": {
"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"
},
"annotation": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"authors": {
"items": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"maxItems": 8,
"type": "array"
},
"id": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"kind": {
"enum": [
"official_profile",
"interview",
"career_reporting",
"awards",
"reference"
],
"type": "string"
},
"language": {
"enum": [
"en",
"ko",
"zh",
"und"
],
"type": "string"
},
"publishedDate": {
"format": "date",
"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])))$",
"type": "string"
},
"publisher": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"title": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"id",
"url",
"title",
"publisher",
"language",
"kind",
"authors",
"accessedAt",
"annotation"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"researchedAt": {
"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"
}
},
"required": [
"entries",
"researchedAt",
"approvalId",
"deliveryPermission"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"biography": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"deliveryPermission": {
"const": "allowed",
"type": "string"
},
"origin": {
"enum": [
"original_editorial",
"licensed_source",
"human_editorial"
],
"type": "string"
},
"text": {
"maxLength": 8000,
"minLength": 1,
"type": "string"
}
},
"required": [
"text",
"origin",
"approvalId",
"deliveryPermission"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"biographyTranslations": {
"items": {
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"deliveryPermission": {
"const": "allowed",
"type": "string"
},
"language": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"origin": {
"enum": [
"original_editorial",
"licensed_source",
"human_editorial"
],
"type": "string"
},
"sourceApprovalId": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"sourceContentSha256": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"sourceRevision": {
"maximum": 2147483647,
"minimum": 1,
"type": "integer"
},
"stale": {
"type": "boolean"
},
"text": {
"maxLength": 8000,
"minLength": 1,
"type": "string"
}
},
"required": [
"text",
"origin",
"approvalId",
"deliveryPermission",
"language"
],
"type": "object"
},
"maxItems": 4,
"type": "array"
},
"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"
},
"indexing": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": true,
"type": "boolean"
},
"reason": {
"const": "useful_published_record",
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": false,
"type": "boolean"
},
"reason": {
"enum": [
"sparse",
"unresolved",
"withdrawn",
"preview"
],
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
}
]
},
"names": {
"additionalProperties": false,
"properties": {
"aliases": {
"items": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"original": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"originalLanguage": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"preferred": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"preferred",
"original",
"originalLanguage",
"aliases"
],
"type": "object"
},
"portrait": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"kind": {
"enum": [
"photograph",
"poster",
"illustration",
"synthetic_illustration"
],
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"avif",
"webp",
"jpeg",
"png"
],
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/[A-Za-z0-9/_.-]+$",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"alt",
"kind",
"attribution",
"approvalId",
"deliveryPermission",
"renditions"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"resolution": {
"enum": [
"resolved",
"unresolved"
],
"type": "string"
},
"schemaVersion": {
"const": 1,
"type": "number"
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"sourceFacts": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"enum": [
"production_company",
"director",
"screenwriter",
"composer",
"based_on",
"narrative_location",
"filming_location",
"award",
"birth_date",
"occupation",
"education",
"career_start",
"release_window",
"production_status",
"season_count",
"runtime",
"theme"
],
"type": "string"
},
"id": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"observedAt": {
"anyOf": [
{
"format": "date",
"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])))$",
"type": "string"
},
{
"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"
}
]
},
"sourceEntityId": {
"pattern": "^(?:Q[1-9][0-9]*|web:[a-f0-9]{64}|editorial:[a-f0-9-]{36})$",
"type": "string"
},
"sourceStatementId": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
},
"value": {
"maxLength": 240,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"field",
"value",
"sourceEntityId",
"sourceStatementId",
"observedAt",
"sources"
],
"type": "object"
},
"maxItems": 64,
"type": "array"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 60,
"type": "array"
},
"updatedAt": {
"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"
}
},
"required": [
"id",
"slug",
"names",
"portrait",
"resolution",
"updatedAt",
"indexing",
"schemaVersion",
"biography",
"sources"
],
"type": "object"
},
"publishedAt": {
"anyOf": [
{
"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"
},
{
"type": "null"
}
]
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"sourcePageUrl": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
},
"upstreamSources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 120,
"type": "array"
}
},
"required": [
"releaseId",
"publishedAt",
"catalogueUpdatedAt",
"demo",
"sourcePageUrl",
"upstreamSources",
"gaps",
"person",
"pagination",
"filmography"
],
"type": "object"
}
},
{
"description": "List episode metadata and approved evidence availability. Spoiler options control plot-bearing fields.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"page": {
"anyOf": [
{
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"spoilerPolicy": {
"default": "none",
"enum": [
"none",
"through_episode",
"all"
],
"type": "string"
},
"throughEpisode": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
]
},
"throughSeason": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
}
},
"required": [
"slug"
],
"type": "object"
},
"name": "list_episodes",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"catalogueUpdatedAt": {
"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"
},
"demo": {
"type": "boolean"
},
"gaps": {
"items": {
"maxLength": 400,
"type": "string"
},
"maxItems": 24,
"type": "array"
},
"items": {
"items": {
"additionalProperties": false,
"properties": {
"airDate": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"format": "date",
"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])))$",
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"approvedKnowledgeAvailable": {
"type": "boolean"
},
"description": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"deliveryPermission": {
"const": "allowed",
"type": "string"
},
"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"
},
"language": {
"enum": [
"en",
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"origin": {
"enum": [
"original_editorial",
"licensed_source",
"human_editorial"
],
"type": "string"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"text": {
"maxLength": 1200,
"minLength": 1,
"type": "string"
}
},
"required": [
"episodeId",
"text",
"language",
"origin",
"approvalId",
"deliveryPermission",
"sources"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"descriptionTranslations": {
"items": {
"additionalProperties": false,
"properties": {
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"deliveryPermission": {
"const": "allowed",
"type": "string"
},
"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"
},
"language": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"origin": {
"enum": [
"original_editorial",
"licensed_source",
"human_editorial"
],
"type": "string"
},
"sourceApprovalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"sourceContentSha256": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"sourceRevision": {
"maximum": 2147483647,
"minimum": 1,
"type": "integer"
},
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"stale": {
"type": "boolean"
},
"text": {
"maxLength": 1200,
"minLength": 1,
"type": "string"
}
},
"required": [
"episodeId",
"text",
"language",
"origin",
"approvalId",
"deliveryPermission",
"sources",
"sourceApprovalId",
"sourceContentSha256"
],
"type": "object"
},
"maxItems": 4,
"type": "array"
},
"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"
},
"localizedTitles": {
"items": {
"additionalProperties": false,
"properties": {
"locale": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"title": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"locale",
"title"
],
"type": "object"
},
"maxItems": 32,
"type": "array"
},
"number": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"runtimeMinutes": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 1440,
"minimum": 1,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"subtitleCoverage": {
"additionalProperties": false,
"properties": {
"available": {
"type": "boolean"
},
"languages": {
"items": {
"enum": [
"en",
"ko"
],
"type": "string"
},
"maxItems": 2,
"type": "array"
}
},
"required": [
"available",
"languages"
],
"type": "object"
},
"title": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"id",
"number",
"title",
"airDate",
"runtimeMinutes",
"subtitleCoverage",
"approvedKnowledgeAvailable"
],
"type": "object"
},
"maxItems": 24,
"type": "array"
},
"pagination": {
"additionalProperties": false,
"properties": {
"page": {
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
"pageSize": {
"const": 24,
"type": "number"
},
"pages": {
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
"total": {
"maximum": 130000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"page",
"pageSize",
"total",
"pages"
],
"type": "object"
},
"publishedAt": {
"anyOf": [
{
"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"
},
{
"type": "null"
}
]
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"sourcePageUrl": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
},
"upstreamSources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 120,
"type": "array"
}
},
"required": [
"releaseId",
"publishedAt",
"catalogueUpdatedAt",
"demo",
"sourcePageUrl",
"upstreamSources",
"gaps",
"pagination",
"items"
],
"type": "object"
}
},
{
"description": "Search published drama titles and person names for the ChatGPT Desktop composer picker. Returns up to twelve identity references; no story content. Empty queries show recent entries.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"query": {
"maxLength": 120,
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "search_drama_mentions",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"items": {
"additionalProperties": false,
"properties": {
"_meta": {
"additionalProperties": false,
"properties": {
"mydramadb/entity": {
"additionalProperties": false,
"properties": {
"demo": {
"type": "boolean"
},
"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"
},
"kind": {
"enum": [
"show",
"person"
],
"type": "string"
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"sourcePageUrl": {
"format": "uri",
"type": "string"
}
},
"required": [
"id",
"kind",
"slug",
"releaseId",
"sourcePageUrl",
"demo"
],
"type": "object"
}
},
"required": [
"mydramadb/entity"
],
"type": "object"
},
"description": {
"maxLength": 120,
"type": "string"
},
"mimeType": {
"const": "application/json",
"type": "string"
},
"name": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"title": {
"maxLength": 430,
"minLength": 1,
"type": "string"
},
"type": {
"const": "resource_link",
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
}
},
"required": [
"type",
"uri",
"name",
"title",
"description",
"mimeType",
"_meta"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}
},
{
"description": "Find drama titles, aliases, remakes, people or shows matching genre/year filters. Resolve ambiguity before using a slug.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"genre": {
"anyOf": [
{
"maxLength": 60,
"minLength": 1,
"type": "string"
},
{
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
}
]
},
"genreMatch": {
"default": "any",
"enum": [
"any",
"all"
],
"type": "string"
},
"hasSubtitles": {
"const": "true",
"type": "string"
},
"kind": {
"default": "shows",
"enum": [
"all",
"shows",
"people"
],
"type": "string"
},
"page": {
"anyOf": [
{
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
},
"q": {
"default": "",
"maxLength": 120,
"type": "string"
},
"sort": {
"enum": [
"released",
"recent",
"title",
"year",
"relevance"
],
"type": "string"
},
"status": {
"anyOf": [
{
"enum": [
"airing",
"upcoming",
"completed",
"cancelled",
"unknown"
],
"type": "string"
},
{
"items": {
"enum": [
"airing",
"upcoming",
"completed",
"cancelled",
"unknown"
],
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
}
]
},
"workType": {
"anyOf": [
{
"enum": [
"television_series",
"web_series",
"film",
"television_special",
"short_film",
"other",
"unknown"
],
"type": "string"
},
{
"items": {
"enum": [
"television_series",
"web_series",
"film",
"television_special",
"short_film",
"other",
"unknown"
],
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
}
]
},
"year": {
"anyOf": [
{
"pattern": "^(?:19|20|21)[0-9]{2}$|^2200$",
"type": "string"
},
{
"items": {
"pattern": "^(?:19|20|21)[0-9]{2}$|^2200$",
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
}
]
}
},
"type": "object"
},
"name": "search_dramas",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"catalogueUpdatedAt": {
"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"
},
"demo": {
"type": "boolean"
},
"facets": {
"additionalProperties": false,
"properties": {
"genres": {
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 1000,
"type": "array"
},
"years": {
"items": {
"maximum": 2200,
"minimum": 1900,
"type": "integer"
},
"maxItems": 301,
"type": "array"
}
},
"required": [
"genres",
"years"
],
"type": "object"
},
"gaps": {
"items": {
"maxLength": 400,
"type": "string"
},
"maxItems": 24,
"type": "array"
},
"items": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "show",
"type": "string"
},
"show": {
"additionalProperties": false,
"properties": {
"addedAt": {
"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"
},
"episodeCount": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"episodeDescriptionAvailability": {
"additionalProperties": false,
"properties": {
"count": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
},
"firstPosition": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"count",
"firstPosition"
],
"type": "object"
},
"episodeDescriptionPages": {
"items": {
"additionalProperties": false,
"properties": {
"number": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"translatedLocales": {
"items": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"maxItems": 4,
"type": "array"
}
},
"required": [
"season",
"number"
],
"type": "object"
},
"maxItems": 20000,
"type": "array"
},
"episodeMetadataAvailability": {
"additionalProperties": false,
"properties": {
"count": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
},
"firstPosition": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"count",
"firstPosition"
],
"type": "object"
},
"excerpt": {
"maxLength": 300,
"type": "string"
},
"genres": {
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 32,
"type": "array"
},
"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"
},
"indexing": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": true,
"type": "boolean"
},
"reason": {
"const": "useful_published_record",
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": false,
"type": "boolean"
},
"reason": {
"enum": [
"sparse",
"unresolved",
"withdrawn",
"preview"
],
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
}
]
},
"names": {
"additionalProperties": false,
"properties": {
"aliases": {
"items": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"original": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"originalLanguage": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"preferred": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"preferred",
"original",
"originalLanguage",
"aliases"
],
"type": "object"
},
"poster": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"kind": {
"enum": [
"photograph",
"poster",
"illustration",
"synthetic_illustration"
],
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"avif",
"webp",
"jpeg",
"png"
],
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/[A-Za-z0-9/_.-]+$",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"alt",
"kind",
"attribution",
"approvalId",
"deliveryPermission",
"renditions"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"posterFallback": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"caption": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"context": {
"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"
},
"personIds": {
"items": {
"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"
},
"maxItems": 32,
"type": "array"
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"showId": {
"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"
}
},
"required": [
"showId",
"personIds"
],
"type": "object"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"kind": {
"enum": [
"photograph",
"poster",
"illustration",
"synthetic_illustration"
],
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"avif",
"webp",
"jpeg",
"png"
],
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/[A-Za-z0-9/_.-]+$",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
},
"sourcePost": {
"additionalProperties": false,
"properties": {
"attachmentIndex": {
"maximum": 7,
"minimum": 0,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"url",
"attachmentIndex"
],
"type": "object"
}
},
"required": [
"id",
"alt",
"kind",
"attribution",
"approvalId",
"deliveryPermission",
"renditions"
],
"type": "object"
},
"researchSeoLocales": {
"items": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"maxItems": 4,
"type": "array"
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"status": {
"enum": [
"airing",
"upcoming",
"completed",
"cancelled",
"unknown"
],
"type": "string"
},
"subtitleAvailability": {
"additionalProperties": false,
"properties": {
"coveredEpisodes": {
"maximum": 20000,
"minimum": 1,
"type": "integer"
},
"datasetVersion": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"languages": {
"items": {
"enum": [
"en",
"ko"
],
"type": "string"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
}
},
"required": [
"datasetVersion",
"coveredEpisodes",
"languages"
],
"type": "object"
},
"translatedEpisodeGuidePages": {
"items": {
"additionalProperties": false,
"properties": {
"page": {
"maximum": 834,
"minimum": 1,
"type": "integer"
},
"translatedLocales": {
"items": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
}
},
"required": [
"page",
"translatedLocales"
],
"type": "object"
},
"maxItems": 834,
"type": "array"
},
"translatedProseLocales": {
"items": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"maxItems": 4,
"type": "array"
},
"updatedAt": {
"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"
},
"workType": {
"enum": [
"television_series",
"web_series",
"film",
"television_special",
"short_film",
"other",
"unknown"
],
"type": "string"
},
"year": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 2200,
"minimum": 1900,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"id",
"slug",
"names",
"year",
"status",
"workType",
"genres",
"episodeCount",
"poster",
"excerpt",
"addedAt",
"updatedAt",
"indexing"
],
"type": "object"
}
},
"required": [
"kind",
"show"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "person",
"type": "string"
},
"person": {
"additionalProperties": false,
"properties": {
"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"
},
"indexing": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": true,
"type": "boolean"
},
"reason": {
"const": "useful_published_record",
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"indexable": {
"const": false,
"type": "boolean"
},
"reason": {
"enum": [
"sparse",
"unresolved",
"withdrawn",
"preview"
],
"type": "string"
}
},
"required": [
"indexable",
"reason"
],
"type": "object"
}
]
},
"names": {
"additionalProperties": false,
"properties": {
"aliases": {
"items": {
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"original": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"originalLanguage": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"preferred": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"preferred",
"original",
"originalLanguage",
"aliases"
],
"type": "object"
},
"portrait": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"alt": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"approvalId": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[A-Za-z0-9._:-]+$",
"type": "string"
},
"attribution": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"deliveryPermission": {
"const": "allowed",
"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"
},
"kind": {
"enum": [
"photograph",
"poster",
"illustration",
"synthetic_illustration"
],
"type": "string"
},
"renditions": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"avif",
"webp",
"jpeg",
"png"
],
"type": "string"
},
"height": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/img\\.mydramadb\\.com\\/[A-Za-z0-9/_.-]+$",
"type": "string"
},
"width": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"url",
"width",
"height",
"format"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"alt",
"kind",
"attribution",
"approvalId",
"deliveryPermission",
"renditions"
],
"type": "object"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"resolution": {
"enum": [
"resolved",
"unresolved"
],
"type": "string"
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"translatedProseLocales": {
"items": {
"enum": [
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"maxItems": 4,
"type": "array"
},
"updatedAt": {
"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"
}
},
"required": [
"id",
"slug",
"names",
"portrait",
"resolution",
"updatedAt",
"indexing"
],
"type": "object"
}
},
"required": [
"kind",
"person"
],
"type": "object"
}
]
},
"maxItems": 24,
"type": "array"
},
"needsDisambiguation": {
"type": "boolean"
},
"pagination": {
"additionalProperties": false,
"properties": {
"page": {
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
"pageSize": {
"const": 24,
"type": "number"
},
"pages": {
"maximum": 6000,
"minimum": 1,
"type": "integer"
},
"total": {
"maximum": 130000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"page",
"pageSize",
"total",
"pages"
],
"type": "object"
},
"publishedAt": {
"anyOf": [
{
"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"
},
{
"type": "null"
}
]
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"sourcePageUrl": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
},
"upstreamSources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 120,
"type": "array"
}
},
"required": [
"releaseId",
"publishedAt",
"catalogueUpdatedAt",
"demo",
"sourcePageUrl",
"upstreamSources",
"gaps",
"pagination",
"items",
"facets",
"needsDisambiguation"
],
"type": "object"
}
},
{
"description": "Retrieve reviewed paraphrased evidence for a question about one episode. Defaults to that episode as the spoiler ceiling. Matching is lexical; no matching evidence is not proof that an event did not happen. Never invent an answer or quote dialogue.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"maxResults": {
"anyOf": [
{
"maximum": 10,
"minimum": 1,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 6
},
"number": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
]
},
"question": {
"maxLength": 1000,
"minLength": 3,
"type": "string"
},
"season": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
],
"default": 1
},
"slug": {
"maxLength": 160,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
"spoilerPolicy": {
"default": "through_episode",
"enum": [
"none",
"through_episode",
"all"
],
"type": "string"
},
"throughEpisode": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
]
},
"throughSeason": {
"anyOf": [
{
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
{
"pattern": "^(?:0|[1-9][0-9]{0,6})$",
"type": "string"
}
]
}
},
"required": [
"slug",
"number",
"question"
],
"type": "object"
},
"name": "search_episode_evidence",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"catalogueUpdatedAt": {
"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"
},
"demo": {
"type": "boolean"
},
"episode": {
"additionalProperties": false,
"properties": {
"airDate": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"format": "date",
"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])))$",
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"approvedKnowledgeAvailable": {
"type": "boolean"
},
"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"
},
"localizedTitles": {
"items": {
"additionalProperties": false,
"properties": {
"locale": {
"maxLength": 35,
"minLength": 2,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"type": "string"
},
"title": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"locale",
"title"
],
"type": "object"
},
"maxItems": 32,
"type": "array"
},
"number": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"runtimeMinutes": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maximum": 1440,
"minimum": 1,
"type": "integer"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"subtitleCoverage": {
"additionalProperties": false,
"properties": {
"available": {
"type": "boolean"
},
"languages": {
"items": {
"enum": [
"en",
"ko"
],
"type": "string"
},
"maxItems": 2,
"type": "array"
}
},
"required": [
"available",
"languages"
],
"type": "object"
},
"title": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"sources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 12,
"type": "array"
},
"state": {
"const": "known",
"type": "string"
},
"value": {
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"state",
"value",
"sources"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_collected",
"not_provided",
"not_applicable",
"withheld"
],
"type": "string"
},
"state": {
"const": "missing",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"not_confirmed",
"invalid_source_value"
],
"type": "string"
},
"state": {
"const": "unknown",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"note": {
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"state": {
"const": "conflicting",
"type": "string"
}
},
"required": [
"state",
"note"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"reason": {
"enum": [
"temporarily_unavailable",
"withdrawn",
"not_licensed"
],
"type": "string"
},
"state": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"state",
"reason"
],
"type": "object"
}
]
}
},
"required": [
"id",
"number",
"title",
"airDate",
"runtimeMinutes",
"subtitleCoverage",
"approvedKnowledgeAvailable"
],
"type": "object"
},
"evidence": {
"items": {
"additionalProperties": false,
"properties": {
"characters": {
"items": {
"maxLength": 120,
"type": "string"
},
"maxItems": 12,
"type": "array"
},
"endMs": {
"maximum": 86400000,
"minimum": 1,
"type": "integer"
},
"id": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"kind": {
"enum": [
"episode_description",
"episode_knowledge"
],
"type": "string"
},
"language": {
"enum": [
"en",
"ko",
"zh-Hans",
"zh-Hant",
"ja"
],
"type": "string"
},
"startMs": {
"maximum": 86400000,
"minimum": 0,
"type": "integer"
},
"summary": {
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"topics": {
"items": {
"maxLength": 80,
"type": "string"
},
"maxItems": 8,
"type": "array"
},
"upstreamSources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 24,
"type": "array"
}
},
"required": [
"id",
"kind",
"summary",
"language",
"topics",
"characters",
"upstreamSources"
],
"type": "object"
},
"maxItems": 10,
"type": "array"
},
"gaps": {
"items": {
"maxLength": 400,
"type": "string"
},
"maxItems": 24,
"type": "array"
},
"hasMore": {
"type": "boolean"
},
"matchingEvidenceCount": {
"maximum": 69,
"minimum": 0,
"type": "integer"
},
"publishedAt": {
"anyOf": [
{
"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"
},
{
"type": "null"
}
]
},
"releaseId": {
"pattern": "^public-[0-9]{8}-[a-z0-9][a-z0-9-]{0,63}$",
"type": "string"
},
"sourcePageUrl": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
},
"spoilerLimit": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"number": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
},
"season": {
"maximum": 20000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"season",
"number"
],
"type": "object"
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"relevant_evidence",
"no_relevant_evidence",
"not_available",
"outside_spoiler_limit"
],
"type": "string"
},
"upstreamSources": {
"items": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"first_party",
"community",
"editorial",
"licensed",
"other"
],
"type": "string"
},
"label": {
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"url": {
"maxLength": 2048,
"pattern": "^https:\\/\\/",
"type": "string"
}
},
"required": [
"label",
"url",
"kind"
],
"type": "object"
},
"maxItems": 120,
"type": "array"
}
},
"required": [
"releaseId",
"publishedAt",
"catalogueUpdatedAt",
"demo",
"sourcePageUrl",
"upstreamSources",
"gaps",
"episode",
"status",
"evidence",
"matchingEvidenceCount",
"hasMore",
"spoilerLimit"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:a151e8fd0b823cfeadffa6946f1baaa49e19244446e94da2088f8974b5777aae | sha256sum