{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"transcript_unit.schema.json","title":"Transcript Unit","type":"object","additionalProperties":false,"required":["unit_id","source_id","range","level","text","confidence","review_state"],"properties":{"unit_id":{"$ref":"common.schema.json#/$defs/id"},"source_id":{"$ref":"common.schema.json#/$defs/id"},"speaker_id":{"type":["string","null"]},"range":{"$ref":"common.schema.json#/$defs/timeRange"},"level":{"enum":["token","word","phrase","clause","sentence","speaker_turn","exchange","topic_segment","story_beat","chapter"]},"text":{"type":"string"},"verbatim_text":{"type":"string"},"language":{"type":"string"},"confidence":{"$ref":"common.schema.json#/$defs/ratio01"},"speaker_confidence":{"$ref":"common.schema.json#/$defs/ratio01"},"speech_acts":{"type":"array","items":{"type":"string"}},"propositions":{"type":"array","items":{"type":"object","required":["id","text"],"properties":{"id":{"type":"string"},"text":{"type":"string"},"polarity":{"enum":["positive","negative","mixed"]},"modality":{"type":"string"}}}},"entity_ids":{"type":"array","items":{"type":"string"}},"claim_ids":{"type":"array","items":{"type":"string"}},"context_dependencies":{"type":"array","items":{"type":"object","required":["type","resolved"],"properties":{"type":{"type":"string"},"resolved":{"type":"boolean"},"target_id":{"type":["string","null"]},"severity":{"enum":["low","medium","high","critical"]},"note":{"type":"string"}}}},"emotion":{"type":"object","properties":{"labels":{"type":"array","items":{"type":"string"}},"valence":{"type":"number","minimum":-1,"maximum":1},"arousal":{"$ref":"common.schema.json#/$defs/ratio01"},"control":{"type":"number","minimum":-1,"maximum":1},"certainty":{"$ref":"common.schema.json#/$defs/ratio01"}}},"links":{"type":"array","items":{"type":"object","required":["relation","target_id"],"properties":{"relation":{"type":"string"},"target_id":{"type":"string"},"confidence":{"$ref":"common.schema.json#/$defs/ratio01"}}}},"review_state":{"$ref":"common.schema.json#/$defs/reviewState"},"human_corrections":{"type":"array","items":{"type":"object"}},"metadata":{"type":"object"}}}