Simplify the scene_map schema
This commit is contained in:
@@ -27,7 +27,7 @@ Scene boundary requirements:
|
|||||||
4. Preserve transcript order.
|
4. Preserve transcript order.
|
||||||
5. Use exact segment IDs from the transcript.
|
5. Use exact segment IDs from the transcript.
|
||||||
6. Each scene must have a start_segment_id and end_segment_id.
|
6. Each scene must have a start_segment_id and end_segment_id.
|
||||||
7. Scene IDs must be sequential: SCN-001, SCN-002, SCN-003, and so on.
|
7. Scene IDs must be sequential: 1, 2, 3, and so on.
|
||||||
8. Prefer coherent scenes over excessive fragmentation.
|
8. Prefer coherent scenes over excessive fragmentation.
|
||||||
9. Do not merge unrelated scenes just to keep the scene count low.
|
9. Do not merge unrelated scenes just to keep the scene count low.
|
||||||
10. If a boundary is uncertain, choose the most practical boundary and explain the uncertainty in boundary_note.
|
10. If a boundary is uncertain, choose the most practical boundary and explain the uncertainty in boundary_note.
|
||||||
|
|||||||
@@ -21,8 +21,7 @@
|
|||||||
"required": [
|
"required": [
|
||||||
"source_description",
|
"source_description",
|
||||||
"first_segment_id",
|
"first_segment_id",
|
||||||
"last_segment_id",
|
"last_segment_id"
|
||||||
"limitations"
|
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"source_description": {
|
"source_description": {
|
||||||
@@ -60,8 +59,8 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"scene_id": {
|
"scene_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Stable sequential scene identifier, such as SCN-001.",
|
"description": "Stable sequential scene identifier.",
|
||||||
"pattern": "^SCN-[0-9]{3}$"
|
"pattern": "[0-9]$"
|
||||||
},
|
},
|
||||||
"start_segment_id": {
|
"start_segment_id": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|||||||
Reference in New Issue
Block a user