added
This commit is contained in:
commit
4eaec52904
55 files changed
+5044
No files matched your search
@@ -0,0 +1,273 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Structured Media Builder: media",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "1.0"
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"kind": {
|
||||
"enum": [
|
||||
"video",
|
||||
"audio"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"language": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z]{2,8}(?:-[a-zA-Z0-9]{1,8})*$"
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"pattern": "^https://"
|
||||
},
|
||||
"content_url": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"pattern": "^https://"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"embed_url": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"pattern": "^https://"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"thumbnail_url": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"pattern": "^https://"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"duration_seconds": {
|
||||
"type": "number",
|
||||
"exclusiveMinimum": 0
|
||||
},
|
||||
"recorded_at": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"published_at": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"synthetic": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"creators": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"role": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"role"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"transcripts": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"txt": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"vtt": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"txt",
|
||||
"vtt"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"transcription": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"stt",
|
||||
"human",
|
||||
"synthetic"
|
||||
]
|
||||
},
|
||||
"engine": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"model": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"generated_at": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"reviewed_by": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"visual_coverage": {
|
||||
"enum": [
|
||||
"not-assessed",
|
||||
"audio-only",
|
||||
"reviewed-separately"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"engine",
|
||||
"model",
|
||||
"generated_at",
|
||||
"reviewed_by",
|
||||
"visual_coverage"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"rights": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"statement": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"license": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"pattern": "^https://"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"usage_info": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"pattern": "^https://"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"redistribution_allowed": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"statement",
|
||||
"license",
|
||||
"usage_info",
|
||||
"redistribution_allowed"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"publication": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"consent": {
|
||||
"enum": [
|
||||
"pending",
|
||||
"cleared"
|
||||
]
|
||||
},
|
||||
"privacy_review": {
|
||||
"enum": [
|
||||
"pending",
|
||||
"cleared"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"consent",
|
||||
"privacy_review"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"media_id",
|
||||
"kind",
|
||||
"title",
|
||||
"description",
|
||||
"language",
|
||||
"canonical_url",
|
||||
"content_url",
|
||||
"embed_url",
|
||||
"thumbnail_url",
|
||||
"duration_seconds",
|
||||
"recorded_at",
|
||||
"published_at",
|
||||
"updated_at",
|
||||
"synthetic",
|
||||
"creators",
|
||||
"transcripts",
|
||||
"transcription",
|
||||
"rights",
|
||||
"publication"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user