Update docs
Browse files- README.md +34 -17
- schemas/metadata_schema.json +623 -0
README.md
CHANGED
|
@@ -59,33 +59,37 @@ The repository is organized as follows:
|
|
| 59 |
|
| 60 |
```
|
| 61 |
ai4data/data-snapshot/
|
| 62 |
-
├── annotations/<source>/*.json
|
| 63 |
-
├── documents/<source>/*.pdf
|
| 64 |
-
├── metadata/<source>/*.json
|
| 65 |
-
├── schemas/
|
| 66 |
-
├── snapshots/<source>/*.png
|
| 67 |
└── README.md
|
| 68 |
```
|
| 69 |
|
| 70 |
### Subsets
|
| 71 |
- `annotations`
|
| 72 |
- JSON files that indicate the data snapshots: their object class (Figure / Table) and bounding box locations (in normalized `[x1, y1, x2, y2]` format, top-left origin)
|
| 73 |
-
- Follows the schema provided in `data-snapshot-eval-v1.3.schema.json`
|
| 74 |
- Provided on a per-document basis; documents that do not have data snapshots will still have an annotation file present but list of bounding boxes will be empty.
|
| 75 |
- `documents`
|
| 76 |
- Actual PDF files that were annotated
|
| 77 |
- `metadata`
|
|
|
|
| 78 |
- Provided on a per-document basis
|
|
|
|
| 79 |
- `snapshots`
|
| 80 |
- PNG files extracted from the documents and bounding box locations
|
| 81 |
|
| 82 |
### Sources
|
| 83 |
- UNHCR
|
| 84 |
-
- PRWP
|
| 85 |
-
- Refugee
|
| 86 |
|
| 87 |
## Schema
|
| 88 |
|
|
|
|
|
|
|
| 89 |
The annotation files follow the **Data Snapshot Evaluation Format (v1.3)**. Below is a simplified, human-readable example of the JSON schema with explanatory comments for each field.
|
| 90 |
|
| 91 |
> **Note**: You will notice a top-level field called `predictions`. In the context of this dataset, this is a misnomer because these are actually human-labeled **annotations** (ground truth). We use the key `predictions` because we borrow this schema from the project's evaluation codebase, which uses a unified structure for both ground truth and model predictions.
|
|
@@ -102,8 +106,11 @@ The annotation files follow the **Data Snapshot Evaluation Format (v1.3)**. Belo
|
|
| 102 |
"info": {
|
| 103 |
"schema_version": "1.3",
|
| 104 |
"type": "ground_truth", // Indicates these are human annotations
|
| 105 |
-
"
|
| 106 |
-
"
|
|
|
|
|
|
|
|
|
|
| 107 |
"coordinate_system": {
|
| 108 |
"type": "normalized_xyxy",
|
| 109 |
"range": [0.0, 1.0], // Bounding boxes are normalized between 0 and 1
|
|
@@ -126,17 +133,12 @@ The annotation files follow the **Data Snapshot Evaluation Format (v1.3)**. Belo
|
|
| 126 |
"page_id": "1_advocacy_note_mineaction_-_niger_eng.pdf::p001",
|
| 127 |
"doc_id": "1_advocacy_note_mineaction_-_niger_eng.pdf",
|
| 128 |
"page_index": 0, // 0-indexed page number
|
| 129 |
-
// Image data for Label Studio (ignore this)
|
| 130 |
-
"image": {
|
| 131 |
-
"width_px": 2481,
|
| 132 |
-
"height_px": 3508,
|
| 133 |
-
"path": "images/1_advocacy_note_mineaction_-_niger_eng.pdf_p001.png"
|
| 134 |
-
},
|
| 135 |
"objects": [
|
| 136 |
{
|
| 137 |
"id": "obj_001",
|
| 138 |
"label": "Figure", // Matches a label_map entry
|
| 139 |
-
"bbox": [0.
|
|
|
|
| 140 |
}
|
| 141 |
]
|
| 142 |
}
|
|
@@ -144,6 +146,21 @@ The annotation files follow the **Data Snapshot Evaluation Format (v1.3)**. Belo
|
|
| 144 |
}
|
| 145 |
```
|
| 146 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
## Dataset creation
|
| 148 |
The annotations were produced through human labeling using Label Studio.
|
| 149 |
|
|
|
|
| 59 |
|
| 60 |
```
|
| 61 |
ai4data/data-snapshot/
|
| 62 |
+
├── annotations/<source>/*.json # Contains annotation files per document
|
| 63 |
+
├── documents/<source>/*.pdf # Actual PDFs
|
| 64 |
+
├── metadata/<source>/*.json # Document-level metadata
|
| 65 |
+
├── schemas/*.json # Provides the schema of the annotation and metadata files
|
| 66 |
+
├── snapshots/<source>/*.png # Image files corresponding to the annotations
|
| 67 |
└── README.md
|
| 68 |
```
|
| 69 |
|
| 70 |
### Subsets
|
| 71 |
- `annotations`
|
| 72 |
- JSON files that indicate the data snapshots: their object class (Figure / Table) and bounding box locations (in normalized `[x1, y1, x2, y2]` format, top-left origin)
|
| 73 |
+
- Follows the schema provided in `schemas/data-snapshot-eval-v1.3.schema.json`
|
| 74 |
- Provided on a per-document basis; documents that do not have data snapshots will still have an annotation file present but list of bounding boxes will be empty.
|
| 75 |
- `documents`
|
| 76 |
- Actual PDF files that were annotated
|
| 77 |
- `metadata`
|
| 78 |
+
- Document-level metadata following the [World Bank Metadata Standards (Chapter 5 — Documents)](https://worldbank.github.io/schema-guide/chapter05.html), schema provided in `schemas/metadata_schema.json`.
|
| 79 |
- Provided on a per-document basis
|
| 80 |
+
- All files across all sources share a uniform schema (same keys at every nesting level)
|
| 81 |
- `snapshots`
|
| 82 |
- PNG files extracted from the documents and bounding box locations
|
| 83 |
|
| 84 |
### Sources
|
| 85 |
- UNHCR
|
| 86 |
+
- PRWP
|
| 87 |
+
- Refugee
|
| 88 |
|
| 89 |
## Schema
|
| 90 |
|
| 91 |
+
### Annotations
|
| 92 |
+
|
| 93 |
The annotation files follow the **Data Snapshot Evaluation Format (v1.3)**. Below is a simplified, human-readable example of the JSON schema with explanatory comments for each field.
|
| 94 |
|
| 95 |
> **Note**: You will notice a top-level field called `predictions`. In the context of this dataset, this is a misnomer because these are actually human-labeled **annotations** (ground truth). We use the key `predictions` because we borrow this schema from the project's evaluation codebase, which uses a unified structure for both ground truth and model predictions.
|
|
|
|
| 106 |
"info": {
|
| 107 |
"schema_version": "1.3",
|
| 108 |
"type": "ground_truth", // Indicates these are human annotations
|
| 109 |
+
"created_at": "2026-05-20T13:44:29",
|
| 110 |
+
"run_id": "human-annotation-combined-e3432dce89",
|
| 111 |
+
"model": {
|
| 112 |
+
"name": "human annotation"
|
| 113 |
+
},
|
| 114 |
"coordinate_system": {
|
| 115 |
"type": "normalized_xyxy",
|
| 116 |
"range": [0.0, 1.0], // Bounding boxes are normalized between 0 and 1
|
|
|
|
| 133 |
"page_id": "1_advocacy_note_mineaction_-_niger_eng.pdf::p001",
|
| 134 |
"doc_id": "1_advocacy_note_mineaction_-_niger_eng.pdf",
|
| 135 |
"page_index": 0, // 0-indexed page number
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
"objects": [
|
| 137 |
{
|
| 138 |
"id": "obj_001",
|
| 139 |
"label": "Figure", // Matches a label_map entry
|
| 140 |
+
"bbox": [0.029, 0.177, 0.595, 0.735], // Normalized [x_min, y_min, x_max, y_max]
|
| 141 |
+
"score": null // Always null for ground truth
|
| 142 |
}
|
| 143 |
]
|
| 144 |
}
|
|
|
|
| 146 |
}
|
| 147 |
```
|
| 148 |
|
| 149 |
+
### Metadata
|
| 150 |
+
|
| 151 |
+
The metadata files follow the [**World Bank Document Metadata Schema**](https://worldbank.github.io/schema-guide/chapter05.html). See `schemas/metadata_schema.json` for the formal JSON schema definition.
|
| 152 |
+
|
| 153 |
+
All metadata files across all sources share a uniform schema (same keys at every nesting level, same types) to ensure compatibility with Apache Arrow and HuggingFace streaming.
|
| 154 |
+
|
| 155 |
+
Top-level fields:
|
| 156 |
+
- `type`
|
| 157 |
+
- `metadata_information`
|
| 158 |
+
- `document_description`
|
| 159 |
+
- `provenance`
|
| 160 |
+
- `tags`
|
| 161 |
+
- `schematype`
|
| 162 |
+
- `additional` - contains source-specific fields (e.g. `additional.unhcr_*` for UNHCR, `additional.wds_*` for WDS API-sourced datasets).
|
| 163 |
+
|
| 164 |
## Dataset creation
|
| 165 |
The annotations were produced through human labeling using Label Studio.
|
| 166 |
|
schemas/metadata_schema.json
ADDED
|
@@ -0,0 +1,623 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 3 |
+
"$id": "document_metadata_schema.json",
|
| 4 |
+
"title": "Document Metadata Schema",
|
| 5 |
+
"description": "Schema for document metadata following the World Bank Metadata Standards for Improved Data Discoverability (Chapter 5 - Documents). Reference: https://worldbank.github.io/schema-guide/chapter05.html",
|
| 6 |
+
"type": "object",
|
| 7 |
+
"required": ["type", "metadata_information", "document_description"],
|
| 8 |
+
"additionalProperties": true,
|
| 9 |
+
"properties": {
|
| 10 |
+
"type": {
|
| 11 |
+
"type": "string",
|
| 12 |
+
"description": "Resource type identifier.",
|
| 13 |
+
"const": "document"
|
| 14 |
+
},
|
| 15 |
+
"metadata_information": {
|
| 16 |
+
"$ref": "#/$defs/metadata_information"
|
| 17 |
+
},
|
| 18 |
+
"document_description": {
|
| 19 |
+
"$ref": "#/$defs/document_description"
|
| 20 |
+
},
|
| 21 |
+
"provenance": {
|
| 22 |
+
"type": "array",
|
| 23 |
+
"description": "Provenance information describing the origin and harvest history of the metadata.",
|
| 24 |
+
"items": {
|
| 25 |
+
"$ref": "#/$defs/provenance_entry"
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"tags": {
|
| 29 |
+
"type": "array",
|
| 30 |
+
"description": "Tags for classification and filtering.",
|
| 31 |
+
"items": {
|
| 32 |
+
"$ref": "#/$defs/tag"
|
| 33 |
+
}
|
| 34 |
+
},
|
| 35 |
+
"schematype": {
|
| 36 |
+
"type": "string",
|
| 37 |
+
"description": "Schema type identifier.",
|
| 38 |
+
"const": "document"
|
| 39 |
+
},
|
| 40 |
+
"additional": {
|
| 41 |
+
"type": "object",
|
| 42 |
+
"description": "Additional fields not covered by the core schema. Keys follow the 'additional.<namespace>_<field>' convention. Used for source-specific metadata preservation.",
|
| 43 |
+
"additionalProperties": true
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
|
| 47 |
+
"$defs": {
|
| 48 |
+
"metadata_information": {
|
| 49 |
+
"type": "object",
|
| 50 |
+
"description": "Information about the metadata record itself (who created it, when, etc.).",
|
| 51 |
+
"required": ["title", "idno", "producers", "production_date"],
|
| 52 |
+
"additionalProperties": false,
|
| 53 |
+
"properties": {
|
| 54 |
+
"title": {
|
| 55 |
+
"type": "string",
|
| 56 |
+
"description": "Title of the metadata record."
|
| 57 |
+
},
|
| 58 |
+
"idno": {
|
| 59 |
+
"type": "string",
|
| 60 |
+
"description": "Unique identifier for the metadata record."
|
| 61 |
+
},
|
| 62 |
+
"producers": {
|
| 63 |
+
"type": "array",
|
| 64 |
+
"description": "Organizations or individuals that produced or contributed to the metadata.",
|
| 65 |
+
"items": {
|
| 66 |
+
"$ref": "#/$defs/producer"
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"production_date": {
|
| 70 |
+
"type": "string",
|
| 71 |
+
"description": "Date the metadata was produced. ISO 8601 format: YYYY-MM-DD.",
|
| 72 |
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
| 73 |
+
},
|
| 74 |
+
"version": {
|
| 75 |
+
"type": "string",
|
| 76 |
+
"description": "Version or description of the metadata record."
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
+
},
|
| 80 |
+
|
| 81 |
+
"producer": {
|
| 82 |
+
"type": "object",
|
| 83 |
+
"description": "An organization or individual that produced metadata.",
|
| 84 |
+
"additionalProperties": false,
|
| 85 |
+
"properties": {
|
| 86 |
+
"name": {
|
| 87 |
+
"type": "string",
|
| 88 |
+
"description": "Name of the producing organization or individual."
|
| 89 |
+
},
|
| 90 |
+
"abbr": {
|
| 91 |
+
"type": "string",
|
| 92 |
+
"description": "Abbreviation of the producer name."
|
| 93 |
+
},
|
| 94 |
+
"affiliation": {
|
| 95 |
+
"type": "string",
|
| 96 |
+
"description": "Institutional affiliation of the producer."
|
| 97 |
+
},
|
| 98 |
+
"role": {
|
| 99 |
+
"type": "string",
|
| 100 |
+
"description": "Role of the producer (e.g., 'Source', 'Compiler')."
|
| 101 |
+
}
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
|
| 105 |
+
"document_description": {
|
| 106 |
+
"type": "object",
|
| 107 |
+
"description": "Core descriptive metadata about the document.",
|
| 108 |
+
"required": ["title_statement"],
|
| 109 |
+
"additionalProperties": false,
|
| 110 |
+
"properties": {
|
| 111 |
+
"title_statement": {
|
| 112 |
+
"$ref": "#/$defs/title_statement"
|
| 113 |
+
},
|
| 114 |
+
"authors": {
|
| 115 |
+
"type": "array",
|
| 116 |
+
"description": "List of document authors.",
|
| 117 |
+
"items": {
|
| 118 |
+
"$ref": "#/$defs/author"
|
| 119 |
+
}
|
| 120 |
+
},
|
| 121 |
+
"date_created": {
|
| 122 |
+
"type": "string",
|
| 123 |
+
"description": "Date the document was created. ISO 8601 format: YYYY-MM-DD."
|
| 124 |
+
},
|
| 125 |
+
"date_available": {
|
| 126 |
+
"type": "string",
|
| 127 |
+
"description": "Date the document was made available. ISO 8601 format: YYYY-MM-DD."
|
| 128 |
+
},
|
| 129 |
+
"date_modified": {
|
| 130 |
+
"type": "string",
|
| 131 |
+
"description": "Date the document was last modified. ISO 8601 format: YYYY-MM-DD."
|
| 132 |
+
},
|
| 133 |
+
"date_published": {
|
| 134 |
+
"type": "string",
|
| 135 |
+
"description": "Date the document was published. ISO 8601 format: YYYY-MM-DD."
|
| 136 |
+
},
|
| 137 |
+
"identifiers": {
|
| 138 |
+
"type": "array",
|
| 139 |
+
"description": "External identifiers (DOI, ISBN, ISSN, etc.).",
|
| 140 |
+
"items": {
|
| 141 |
+
"$ref": "#/$defs/identifier"
|
| 142 |
+
}
|
| 143 |
+
},
|
| 144 |
+
"type": {
|
| 145 |
+
"type": "string",
|
| 146 |
+
"description": "Document type (e.g., 'Working Paper', 'Report')."
|
| 147 |
+
},
|
| 148 |
+
"abstract": {
|
| 149 |
+
"type": "string",
|
| 150 |
+
"description": "Abstract or summary of the document."
|
| 151 |
+
},
|
| 152 |
+
"ref_country": {
|
| 153 |
+
"type": "array",
|
| 154 |
+
"description": "Countries referenced in the document.",
|
| 155 |
+
"items": {
|
| 156 |
+
"$ref": "#/$defs/country"
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
"geographic_units": {
|
| 160 |
+
"type": "array",
|
| 161 |
+
"description": "Geographic units or regions referenced.",
|
| 162 |
+
"items": {
|
| 163 |
+
"$ref": "#/$defs/geographic_unit"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"spatial_coverage": {
|
| 167 |
+
"type": "string",
|
| 168 |
+
"description": "Free-text description of spatial coverage."
|
| 169 |
+
},
|
| 170 |
+
"languages": {
|
| 171 |
+
"type": "array",
|
| 172 |
+
"description": "Languages of the document.",
|
| 173 |
+
"items": {
|
| 174 |
+
"$ref": "#/$defs/language"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"volume": {
|
| 178 |
+
"type": "string",
|
| 179 |
+
"description": "Volume number."
|
| 180 |
+
},
|
| 181 |
+
"number": {
|
| 182 |
+
"type": "string",
|
| 183 |
+
"description": "Issue or report number."
|
| 184 |
+
},
|
| 185 |
+
"series": {
|
| 186 |
+
"type": "string",
|
| 187 |
+
"description": "Series or collection name."
|
| 188 |
+
},
|
| 189 |
+
"publisher_address": {
|
| 190 |
+
"type": "string",
|
| 191 |
+
"description": "Publisher address or place of production."
|
| 192 |
+
},
|
| 193 |
+
"organization": {
|
| 194 |
+
"type": "string",
|
| 195 |
+
"description": "Publishing or sponsoring organization."
|
| 196 |
+
},
|
| 197 |
+
"url": {
|
| 198 |
+
"type": "string",
|
| 199 |
+
"description": "URL to the document."
|
| 200 |
+
},
|
| 201 |
+
"keywords": {
|
| 202 |
+
"type": "array",
|
| 203 |
+
"description": "Keywords associated with the document.",
|
| 204 |
+
"items": {
|
| 205 |
+
"$ref": "#/$defs/keyword"
|
| 206 |
+
}
|
| 207 |
+
},
|
| 208 |
+
"themes": {
|
| 209 |
+
"type": "array",
|
| 210 |
+
"description": "Thematic classifications.",
|
| 211 |
+
"items": {
|
| 212 |
+
"$ref": "#/$defs/theme"
|
| 213 |
+
}
|
| 214 |
+
},
|
| 215 |
+
"topics": {
|
| 216 |
+
"type": "array",
|
| 217 |
+
"description": "Topic classifications.",
|
| 218 |
+
"items": {
|
| 219 |
+
"$ref": "#/$defs/topic"
|
| 220 |
+
}
|
| 221 |
+
},
|
| 222 |
+
"relations": {
|
| 223 |
+
"type": "array",
|
| 224 |
+
"description": "Related resources (alternate formats, parent collections).",
|
| 225 |
+
"items": {
|
| 226 |
+
"$ref": "#/$defs/relation"
|
| 227 |
+
}
|
| 228 |
+
},
|
| 229 |
+
"security_classification": {
|
| 230 |
+
"type": "string",
|
| 231 |
+
"description": "Security classification level."
|
| 232 |
+
},
|
| 233 |
+
"access_restrictions": {
|
| 234 |
+
"type": "string",
|
| 235 |
+
"description": "Access restrictions or disclosure status."
|
| 236 |
+
},
|
| 237 |
+
"edition": {
|
| 238 |
+
"type": "string",
|
| 239 |
+
"description": "Edition or version type."
|
| 240 |
+
},
|
| 241 |
+
"contacts": {
|
| 242 |
+
"type": "array",
|
| 243 |
+
"description": "Contact information for inquiries.",
|
| 244 |
+
"items": {
|
| 245 |
+
"$ref": "#/$defs/contact"
|
| 246 |
+
}
|
| 247 |
+
},
|
| 248 |
+
"usage_terms": {
|
| 249 |
+
"type": "string",
|
| 250 |
+
"description": "Terms of use for the document."
|
| 251 |
+
},
|
| 252 |
+
"notes": {
|
| 253 |
+
"type": "array",
|
| 254 |
+
"description": "Additional notes about the document.",
|
| 255 |
+
"items": {
|
| 256 |
+
"$ref": "#/$defs/note"
|
| 257 |
+
}
|
| 258 |
+
},
|
| 259 |
+
"disclaimer": {
|
| 260 |
+
"type": "string",
|
| 261 |
+
"description": "Disclaimer text associated with the document."
|
| 262 |
+
},
|
| 263 |
+
"pricing": {
|
| 264 |
+
"type": "string",
|
| 265 |
+
"description": "Pricing or availability information."
|
| 266 |
+
},
|
| 267 |
+
"reproducibility": {
|
| 268 |
+
"$ref": "#/$defs/reproducibility"
|
| 269 |
+
}
|
| 270 |
+
}
|
| 271 |
+
},
|
| 272 |
+
|
| 273 |
+
"title_statement": {
|
| 274 |
+
"type": "object",
|
| 275 |
+
"description": "Title information for the document.",
|
| 276 |
+
"additionalProperties": false,
|
| 277 |
+
"properties": {
|
| 278 |
+
"idno": {
|
| 279 |
+
"type": "string",
|
| 280 |
+
"description": "Document identifier."
|
| 281 |
+
},
|
| 282 |
+
"title": {
|
| 283 |
+
"type": "string",
|
| 284 |
+
"description": "Primary title of the document."
|
| 285 |
+
},
|
| 286 |
+
"sub_title": {
|
| 287 |
+
"type": "string",
|
| 288 |
+
"description": "Subtitle of the document."
|
| 289 |
+
},
|
| 290 |
+
"alternate_title": {
|
| 291 |
+
"type": "string",
|
| 292 |
+
"description": "Alternate title."
|
| 293 |
+
},
|
| 294 |
+
"translated_title": {
|
| 295 |
+
"type": "string",
|
| 296 |
+
"description": "Translated title."
|
| 297 |
+
}
|
| 298 |
+
}
|
| 299 |
+
},
|
| 300 |
+
|
| 301 |
+
"author": {
|
| 302 |
+
"type": "object",
|
| 303 |
+
"description": "Document author information.",
|
| 304 |
+
"additionalProperties": false,
|
| 305 |
+
"properties": {
|
| 306 |
+
"first_name": {
|
| 307 |
+
"type": "string",
|
| 308 |
+
"description": "Author's first name."
|
| 309 |
+
},
|
| 310 |
+
"initial": {
|
| 311 |
+
"type": "string",
|
| 312 |
+
"description": "Author's middle initial."
|
| 313 |
+
},
|
| 314 |
+
"last_name": {
|
| 315 |
+
"type": "string",
|
| 316 |
+
"description": "Author's last name."
|
| 317 |
+
},
|
| 318 |
+
"affiliation": {
|
| 319 |
+
"type": "string",
|
| 320 |
+
"description": "Author's institutional affiliation."
|
| 321 |
+
},
|
| 322 |
+
"full_name": {
|
| 323 |
+
"type": "string",
|
| 324 |
+
"description": "Author's full name (used when individual name parts are unavailable)."
|
| 325 |
+
}
|
| 326 |
+
}
|
| 327 |
+
},
|
| 328 |
+
|
| 329 |
+
"identifier": {
|
| 330 |
+
"type": "object",
|
| 331 |
+
"description": "External identifier for the document.",
|
| 332 |
+
"additionalProperties": false,
|
| 333 |
+
"properties": {
|
| 334 |
+
"type": {
|
| 335 |
+
"type": "string",
|
| 336 |
+
"description": "Identifier type (e.g., 'DOI', 'ISBN', 'ISSN')."
|
| 337 |
+
},
|
| 338 |
+
"identifier": {
|
| 339 |
+
"type": "string",
|
| 340 |
+
"description": "Identifier value."
|
| 341 |
+
}
|
| 342 |
+
}
|
| 343 |
+
},
|
| 344 |
+
|
| 345 |
+
"country": {
|
| 346 |
+
"type": "object",
|
| 347 |
+
"description": "Country reference.",
|
| 348 |
+
"additionalProperties": false,
|
| 349 |
+
"properties": {
|
| 350 |
+
"name": {
|
| 351 |
+
"type": "string",
|
| 352 |
+
"description": "Country name."
|
| 353 |
+
},
|
| 354 |
+
"code": {
|
| 355 |
+
"type": "string",
|
| 356 |
+
"description": "ISO 3166-1 alpha-3 country code."
|
| 357 |
+
}
|
| 358 |
+
}
|
| 359 |
+
},
|
| 360 |
+
|
| 361 |
+
"geographic_unit": {
|
| 362 |
+
"type": "object",
|
| 363 |
+
"description": "Geographic unit or region.",
|
| 364 |
+
"additionalProperties": false,
|
| 365 |
+
"properties": {
|
| 366 |
+
"name": {
|
| 367 |
+
"type": "string",
|
| 368 |
+
"description": "Name of the geographic unit."
|
| 369 |
+
},
|
| 370 |
+
"code": {
|
| 371 |
+
"type": "string",
|
| 372 |
+
"description": "Code for the geographic unit."
|
| 373 |
+
},
|
| 374 |
+
"type": {
|
| 375 |
+
"type": "string",
|
| 376 |
+
"description": "Type of geographic unit (e.g., 'region')."
|
| 377 |
+
}
|
| 378 |
+
}
|
| 379 |
+
},
|
| 380 |
+
|
| 381 |
+
"language": {
|
| 382 |
+
"type": "object",
|
| 383 |
+
"description": "Language information.",
|
| 384 |
+
"additionalProperties": false,
|
| 385 |
+
"properties": {
|
| 386 |
+
"name": {
|
| 387 |
+
"type": "string",
|
| 388 |
+
"description": "Language name (e.g., 'English')."
|
| 389 |
+
},
|
| 390 |
+
"code": {
|
| 391 |
+
"type": "string",
|
| 392 |
+
"description": "ISO 639 language code (e.g., 'en')."
|
| 393 |
+
}
|
| 394 |
+
}
|
| 395 |
+
},
|
| 396 |
+
|
| 397 |
+
"keyword": {
|
| 398 |
+
"type": "object",
|
| 399 |
+
"description": "Keyword entry.",
|
| 400 |
+
"additionalProperties": false,
|
| 401 |
+
"properties": {
|
| 402 |
+
"id": {
|
| 403 |
+
"type": "string",
|
| 404 |
+
"description": "Keyword identifier."
|
| 405 |
+
},
|
| 406 |
+
"name": {
|
| 407 |
+
"type": "string",
|
| 408 |
+
"description": "Keyword text."
|
| 409 |
+
},
|
| 410 |
+
"vocabulary": {
|
| 411 |
+
"type": "string",
|
| 412 |
+
"description": "Source vocabulary or controlled list."
|
| 413 |
+
},
|
| 414 |
+
"uri": {
|
| 415 |
+
"type": "string",
|
| 416 |
+
"description": "URI for the keyword in its vocabulary."
|
| 417 |
+
}
|
| 418 |
+
}
|
| 419 |
+
},
|
| 420 |
+
|
| 421 |
+
"theme": {
|
| 422 |
+
"type": "object",
|
| 423 |
+
"description": "Thematic classification entry.",
|
| 424 |
+
"additionalProperties": false,
|
| 425 |
+
"properties": {
|
| 426 |
+
"id": {
|
| 427 |
+
"type": "string",
|
| 428 |
+
"description": "Theme identifier."
|
| 429 |
+
},
|
| 430 |
+
"name": {
|
| 431 |
+
"type": "string",
|
| 432 |
+
"description": "Theme name."
|
| 433 |
+
},
|
| 434 |
+
"parent_id": {
|
| 435 |
+
"type": "string",
|
| 436 |
+
"description": "Parent theme identifier (for hierarchical themes)."
|
| 437 |
+
},
|
| 438 |
+
"vocabulary": {
|
| 439 |
+
"type": "string",
|
| 440 |
+
"description": "Source vocabulary (e.g., 'World Bank - theme')."
|
| 441 |
+
},
|
| 442 |
+
"uri": {
|
| 443 |
+
"type": "string",
|
| 444 |
+
"description": "URI for the theme."
|
| 445 |
+
}
|
| 446 |
+
}
|
| 447 |
+
},
|
| 448 |
+
|
| 449 |
+
"topic": {
|
| 450 |
+
"type": "object",
|
| 451 |
+
"description": "Topic classification entry.",
|
| 452 |
+
"additionalProperties": false,
|
| 453 |
+
"properties": {
|
| 454 |
+
"id": {
|
| 455 |
+
"type": "string",
|
| 456 |
+
"description": "Topic identifier."
|
| 457 |
+
},
|
| 458 |
+
"name": {
|
| 459 |
+
"type": "string",
|
| 460 |
+
"description": "Topic name."
|
| 461 |
+
},
|
| 462 |
+
"parent_id": {
|
| 463 |
+
"type": "string",
|
| 464 |
+
"description": "Parent topic identifier."
|
| 465 |
+
},
|
| 466 |
+
"vocabulary": {
|
| 467 |
+
"type": "string",
|
| 468 |
+
"description": "Source vocabulary."
|
| 469 |
+
},
|
| 470 |
+
"uri": {
|
| 471 |
+
"type": "string",
|
| 472 |
+
"description": "URI for the topic."
|
| 473 |
+
}
|
| 474 |
+
}
|
| 475 |
+
},
|
| 476 |
+
|
| 477 |
+
"relation": {
|
| 478 |
+
"type": "object",
|
| 479 |
+
"description": "Related resource entry.",
|
| 480 |
+
"additionalProperties": false,
|
| 481 |
+
"properties": {
|
| 482 |
+
"name": {
|
| 483 |
+
"type": "string",
|
| 484 |
+
"description": "Name or URL of the related resource."
|
| 485 |
+
},
|
| 486 |
+
"type": {
|
| 487 |
+
"type": "string",
|
| 488 |
+
"description": "Relationship type (e.g., 'hasFormat', 'isPartOf')."
|
| 489 |
+
}
|
| 490 |
+
}
|
| 491 |
+
},
|
| 492 |
+
|
| 493 |
+
"contact": {
|
| 494 |
+
"type": "object",
|
| 495 |
+
"description": "Contact information.",
|
| 496 |
+
"additionalProperties": false,
|
| 497 |
+
"properties": {
|
| 498 |
+
"name": {
|
| 499 |
+
"type": "string",
|
| 500 |
+
"description": "Contact name."
|
| 501 |
+
},
|
| 502 |
+
"affiliation": {
|
| 503 |
+
"type": "string",
|
| 504 |
+
"description": "Contact's institutional affiliation."
|
| 505 |
+
},
|
| 506 |
+
"email": {
|
| 507 |
+
"type": "string",
|
| 508 |
+
"description": "Contact email address."
|
| 509 |
+
},
|
| 510 |
+
"uri": {
|
| 511 |
+
"type": "string",
|
| 512 |
+
"description": "Contact URI or URL."
|
| 513 |
+
}
|
| 514 |
+
}
|
| 515 |
+
},
|
| 516 |
+
|
| 517 |
+
"note": {
|
| 518 |
+
"type": "object",
|
| 519 |
+
"description": "A free-text note.",
|
| 520 |
+
"additionalProperties": false,
|
| 521 |
+
"properties": {
|
| 522 |
+
"note": {
|
| 523 |
+
"type": "string",
|
| 524 |
+
"description": "Note text."
|
| 525 |
+
}
|
| 526 |
+
}
|
| 527 |
+
},
|
| 528 |
+
|
| 529 |
+
"tag": {
|
| 530 |
+
"type": "object",
|
| 531 |
+
"description": "A tag entry for classification.",
|
| 532 |
+
"additionalProperties": false,
|
| 533 |
+
"properties": {
|
| 534 |
+
"tag": {
|
| 535 |
+
"type": "string",
|
| 536 |
+
"description": "Tag value."
|
| 537 |
+
},
|
| 538 |
+
"tag_group": {
|
| 539 |
+
"type": "string",
|
| 540 |
+
"description": "Tag group or category."
|
| 541 |
+
}
|
| 542 |
+
}
|
| 543 |
+
},
|
| 544 |
+
|
| 545 |
+
"provenance_entry": {
|
| 546 |
+
"type": "object",
|
| 547 |
+
"description": "A provenance record.",
|
| 548 |
+
"additionalProperties": false,
|
| 549 |
+
"properties": {
|
| 550 |
+
"origin_description": {
|
| 551 |
+
"$ref": "#/$defs/origin_description"
|
| 552 |
+
}
|
| 553 |
+
}
|
| 554 |
+
},
|
| 555 |
+
|
| 556 |
+
"origin_description": {
|
| 557 |
+
"type": "object",
|
| 558 |
+
"description": "Description of the metadata's origin and harvest details.",
|
| 559 |
+
"additionalProperties": false,
|
| 560 |
+
"properties": {
|
| 561 |
+
"harvest_date": {
|
| 562 |
+
"type": "string",
|
| 563 |
+
"description": "Date/time the metadata was harvested. ISO 8601 format."
|
| 564 |
+
},
|
| 565 |
+
"altered": {
|
| 566 |
+
"type": "boolean",
|
| 567 |
+
"description": "Whether the metadata was altered after harvest."
|
| 568 |
+
},
|
| 569 |
+
"base_url": {
|
| 570 |
+
"type": "string",
|
| 571 |
+
"description": "Base URL of the metadata source."
|
| 572 |
+
},
|
| 573 |
+
"identifier": {
|
| 574 |
+
"type": "string",
|
| 575 |
+
"description": "Identifier for the source record."
|
| 576 |
+
},
|
| 577 |
+
"date_stamp": {
|
| 578 |
+
"type": "string",
|
| 579 |
+
"description": "Timestamp of the source record. ISO 8601 format."
|
| 580 |
+
},
|
| 581 |
+
"metadata_namespace": {
|
| 582 |
+
"type": "string",
|
| 583 |
+
"description": "Namespace identifier for the metadata source."
|
| 584 |
+
}
|
| 585 |
+
}
|
| 586 |
+
},
|
| 587 |
+
|
| 588 |
+
"reproducibility": {
|
| 589 |
+
"type": "object",
|
| 590 |
+
"description": "Reproducibility information for the document.",
|
| 591 |
+
"additionalProperties": false,
|
| 592 |
+
"properties": {
|
| 593 |
+
"statement": {
|
| 594 |
+
"type": "string",
|
| 595 |
+
"description": "Reproducibility statement."
|
| 596 |
+
},
|
| 597 |
+
"links": {
|
| 598 |
+
"type": "array",
|
| 599 |
+
"description": "Links to reproducibility resources (code, data).",
|
| 600 |
+
"items": {
|
| 601 |
+
"$ref": "#/$defs/reproducibility_link"
|
| 602 |
+
}
|
| 603 |
+
}
|
| 604 |
+
}
|
| 605 |
+
},
|
| 606 |
+
|
| 607 |
+
"reproducibility_link": {
|
| 608 |
+
"type": "object",
|
| 609 |
+
"description": "A link to a reproducibility resource.",
|
| 610 |
+
"additionalProperties": false,
|
| 611 |
+
"properties": {
|
| 612 |
+
"uri": {
|
| 613 |
+
"type": "string",
|
| 614 |
+
"description": "URI of the reproducibility resource."
|
| 615 |
+
},
|
| 616 |
+
"description": {
|
| 617 |
+
"type": "string",
|
| 618 |
+
"description": "Description of the linked resource."
|
| 619 |
+
}
|
| 620 |
+
}
|
| 621 |
+
}
|
| 622 |
+
}
|
| 623 |
+
}
|