mirror of
https://github.com/docling-project/docling-core.git
synced 2026-11-18 20:27:00 +00:00
test: rename 'test' folder to 'tests' To align with other Docling repositories, use 'tests' for test modules. Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
197 lines
3.8 KiB
JSON
197 lines
3.8 KiB
JSON
{
|
|
"schema_name": "DoclingDocument",
|
|
"version": "1.8.0",
|
|
"name": "webvtt_example_04",
|
|
"origin": {
|
|
"mimetype": "text/vtt",
|
|
"binary_hash": 11822397499369478441,
|
|
"filename": "webvtt_example_04.vtt"
|
|
},
|
|
"furniture": {
|
|
"self_ref": "#/furniture",
|
|
"children": [],
|
|
"content_layer": "furniture",
|
|
"name": "_root_",
|
|
"label": "unspecified"
|
|
},
|
|
"body": {
|
|
"self_ref": "#/body",
|
|
"children": [
|
|
{
|
|
"$ref": "#/texts/0"
|
|
},
|
|
{
|
|
"$ref": "#/texts/1"
|
|
},
|
|
{
|
|
"$ref": "#/texts/2"
|
|
},
|
|
{
|
|
"$ref": "#/groups/0"
|
|
},
|
|
{
|
|
"$ref": "#/texts/6"
|
|
}
|
|
],
|
|
"content_layer": "body",
|
|
"name": "_root_",
|
|
"label": "unspecified"
|
|
},
|
|
"groups": [
|
|
{
|
|
"self_ref": "#/groups/0",
|
|
"parent": {
|
|
"$ref": "#/body"
|
|
},
|
|
"children": [
|
|
{
|
|
"$ref": "#/texts/3"
|
|
},
|
|
{
|
|
"$ref": "#/texts/4"
|
|
},
|
|
{
|
|
"$ref": "#/texts/5"
|
|
}
|
|
],
|
|
"content_layer": "body",
|
|
"name": "WebVTT cue span",
|
|
"label": "inline"
|
|
}
|
|
],
|
|
"texts": [
|
|
{
|
|
"self_ref": "#/texts/0",
|
|
"parent": {
|
|
"$ref": "#/body"
|
|
},
|
|
"children": [],
|
|
"content_layer": "body",
|
|
"label": "title",
|
|
"prov": [],
|
|
"orig": "Danger of Nitrogen",
|
|
"text": "Danger of Nitrogen"
|
|
},
|
|
{
|
|
"self_ref": "#/texts/1",
|
|
"parent": {
|
|
"$ref": "#/body"
|
|
},
|
|
"children": [],
|
|
"content_layer": "body",
|
|
"label": "text",
|
|
"source": [
|
|
{
|
|
"kind": "track",
|
|
"start_time": 1.0,
|
|
"end_time": 4.0
|
|
}
|
|
],
|
|
"orig": "Never drink liquid nitrogen.",
|
|
"text": "Never drink liquid nitrogen."
|
|
},
|
|
{
|
|
"self_ref": "#/texts/2",
|
|
"parent": {
|
|
"$ref": "#/body"
|
|
},
|
|
"children": [],
|
|
"content_layer": "body",
|
|
"label": "text",
|
|
"source": [
|
|
{
|
|
"kind": "track",
|
|
"start_time": 5.0,
|
|
"end_time": 9.0
|
|
}
|
|
],
|
|
"orig": "\u2014 It will perforate your stomach.",
|
|
"text": "\u2014 It will perforate your stomach."
|
|
},
|
|
{
|
|
"self_ref": "#/texts/3",
|
|
"parent": {
|
|
"$ref": "#/groups/0"
|
|
},
|
|
"children": [],
|
|
"content_layer": "body",
|
|
"label": "text",
|
|
"source": [
|
|
{
|
|
"kind": "track",
|
|
"start_time": 5.0,
|
|
"end_time": 9.0
|
|
}
|
|
],
|
|
"orig": "\u2014 You could ",
|
|
"text": "\u2014 You could "
|
|
},
|
|
{
|
|
"self_ref": "#/texts/4",
|
|
"parent": {
|
|
"$ref": "#/groups/0"
|
|
},
|
|
"children": [],
|
|
"content_layer": "body",
|
|
"label": "text",
|
|
"source": [
|
|
{
|
|
"kind": "track",
|
|
"start_time": 5.0,
|
|
"end_time": 9.0
|
|
}
|
|
],
|
|
"orig": "die",
|
|
"text": "die",
|
|
"formatting": {
|
|
"bold": true,
|
|
"italic": false,
|
|
"underline": false,
|
|
"strikethrough": false,
|
|
"script": "baseline"
|
|
}
|
|
},
|
|
{
|
|
"self_ref": "#/texts/5",
|
|
"parent": {
|
|
"$ref": "#/groups/0"
|
|
},
|
|
"children": [],
|
|
"content_layer": "body",
|
|
"label": "text",
|
|
"source": [
|
|
{
|
|
"kind": "track",
|
|
"start_time": 5.0,
|
|
"end_time": 9.0
|
|
}
|
|
],
|
|
"orig": ".",
|
|
"text": "."
|
|
},
|
|
{
|
|
"self_ref": "#/texts/6",
|
|
"parent": {
|
|
"$ref": "#/body"
|
|
},
|
|
"children": [],
|
|
"content_layer": "body",
|
|
"label": "text",
|
|
"source": [
|
|
{
|
|
"kind": "track",
|
|
"start_time": 5.0,
|
|
"end_time": 9.0,
|
|
"voice": "John"
|
|
}
|
|
],
|
|
"orig": "This is true.",
|
|
"text": "This is true."
|
|
}
|
|
],
|
|
"pictures": [],
|
|
"tables": [],
|
|
"key_value_items": [],
|
|
"form_items": [],
|
|
"pages": {}
|
|
} |