-
Notifications
You must be signed in to change notification settings - Fork 5
/
Generic.json
71 lines (71 loc) · 1.88 KB
/
Generic.json
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
{
"$defs": {
"FileInfoObject": {
"description": "Filing information for any data object to be stored in a Docling database.",
"properties": {
"filename": {
"description": "The name of a persistent object that created this data object",
"title": "Filename",
"type": "string",
"x-es-ignore_above": 8191,
"x-es-type": "keyword"
},
"filename-prov": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The provenance of this data object, e.g. an archive file, a URL, or any other repository.",
"title": "Filename-Prov",
"x-es-ignore_above": 8191,
"x-es-type": "keyword"
},
"document-hash": {
"description": "A unique identifier of this data object within a collection of a Docling database",
"title": "Document-Hash",
"type": "string",
"x-es-ignore_above": 8191,
"x-es-type": "keyword"
}
},
"required": [
"filename",
"document-hash"
],
"title": "FileInfoObject",
"type": "object"
}
},
"description": "A representation of a generic document.",
"properties": {
"_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A short description or summary of the document.",
"title": " Name",
"x-es-type": "text"
},
"file-info": {
"$ref": "#/$defs/FileInfoObject",
"description": "Minimal identification information of the document within a collection.",
"title": "Document information"
}
},
"required": [
"file-info"
],
"title": "Generic",
"type": "object"
}