File size: 2,194 Bytes
bc78225
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
  "description": "§7.3 — tabla `figures`; también existe como InformalChunk(unit_type='figure').",
  "properties": {
    "figure_id": {
      "title": "Figure Id",
      "type": "string"
    },
    "image_path": {
      "title": "Image Path",
      "type": "string"
    },
    "image_sha": {
      "default": "",
      "title": "Image Sha",
      "type": "string"
    },
    "page": {
      "title": "Page",
      "type": "integer"
    },
    "bbox": {
      "items": {
        "type": "number"
      },
      "title": "Bbox",
      "type": "array"
    },
    "detected_by": {
      "enum": [
        "layout",
        "vector_cluster",
        "raster",
        "both"
      ],
      "title": "Detected By",
      "type": "string"
    },
    "caption": {
      "default": "",
      "title": "Caption",
      "type": "string"
    },
    "description": {
      "default": "",
      "title": "Description",
      "type": "string"
    },
    "labels": {
      "items": {
        "type": "string"
      },
      "title": "Labels",
      "type": "array"
    },
    "objects": {
      "items": {
        "type": "string"
      },
      "title": "Objects",
      "type": "array"
    },
    "relations": {
      "items": {
        "type": "string"
      },
      "title": "Relations",
      "type": "array"
    },
    "given_values": {
      "items": {
        "type": "string"
      },
      "title": "Given Values",
      "type": "array"
    },
    "figure_type": {
      "default": "other",
      "enum": [
        "geometric_diagram",
        "grid",
        "plot",
        "table_image",
        "other"
      ],
      "title": "Figure Type",
      "type": "string"
    },
    "linked_chunk_ids": {
      "items": {
        "type": "string"
      },
      "title": "Linked Chunk Ids",
      "type": "array"
    },
    "description_model": {
      "default": "",
      "title": "Description Model",
      "type": "string"
    },
    "description_version": {
      "default": "",
      "title": "Description Version",
      "type": "string"
    }
  },
  "required": [
    "figure_id",
    "image_path",
    "page",
    "bbox",
    "detected_by"
  ],
  "title": "Figure",
  "type": "object"
}