Files
2026-10-17 14:59:30 -06:00

362 lines
6.8 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Media folder intake",
"type": "object",
"properties": {
"schema_version": {
"const": "1.0"
},
"media_id": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"source_files": {
"type": "object",
"properties": {
"media": {
"type": "string",
"minLength": 1
},
"txt": {
"type": "string",
"minLength": 1
},
"vtt": {
"type": "string",
"minLength": 1
}
},
"required": [
"media",
"txt",
"vtt"
],
"additionalProperties": false
},
"metadata": {
"type": "object",
"properties": {
"title": {
"type": [
"string",
"null"
]
},
"recording_date": {
"type": [
"string",
"null"
]
},
"recording_timezone": {
"type": [
"string",
"null"
]
},
"organizer": {
"type": [
"string",
"null"
]
},
"series": {
"type": [
"string",
"null"
]
},
"session_type": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"language": {
"type": [
"string",
"null"
]
},
"attribution": {
"type": [
"string",
"null"
]
},
"rights_statement": {
"type": [
"string",
"null"
]
},
"license": {
"type": [
"string",
"null"
]
},
"sharing_notes": {
"type": [
"string",
"null"
]
},
"stt_tool": {
"type": [
"string",
"null"
]
},
"stt_model": {
"type": [
"string",
"null"
]
},
"publication_date": {
"type": [
"string",
"null"
]
}
},
"required": [
"title"
],
"additionalProperties": false
},
"participants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"role": {
"type": [
"string",
"null"
]
},
"affiliation": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"user-confirmed",
"transcript-unverified",
"web-page-confirmed"
]
},
"evidence_cue_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"name",
"role",
"affiliation",
"status",
"evidence_cue_ids"
],
"additionalProperties": false
}
},
"audience": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"topics": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"priority_questions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"urls": {
"type": "object",
"properties": {
"original": {
"type": [
"string",
"null"
]
},
"canonical": {
"type": [
"string",
"null"
]
},
"content": {
"type": [
"string",
"null"
]
},
"slides": {
"type": [
"string",
"null"
]
}
},
"required": [
"original",
"canonical",
"content",
"slides"
],
"additionalProperties": false
},
"related_links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"url": {
"type": "string",
"minLength": 1
}
},
"required": [
"label",
"url"
],
"additionalProperties": false
}
},
"field_sources": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"source": {
"enum": [
"user",
"file",
"transcript",
"web-page",
"assistant-draft",
"unknown"
]
},
"evidence": {
"type": [
"string",
"null"
]
}
},
"required": [
"source",
"evidence"
],
"additionalProperties": false
}
},
"unknowns": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"quality_notes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"excluded_cue_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^cue-[0-9]{6}$"
},
"uniqueItems": true
},
"interview": {
"type": "object",
"properties": {
"status": {
"enum": [
"pending",
"partial",
"complete"
]
},
"questions_asked": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"notes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"status",
"questions_asked",
"notes"
],
"additionalProperties": false
}
},
"required": [
"schema_version",
"media_id",
"source_files",
"metadata",
"participants",
"audience",
"topics",
"priority_questions",
"urls",
"related_links",
"field_sources",
"unknowns",
"quality_notes",
"excluded_cue_ids",
"interview"
],
"additionalProperties": false
}