IMF-Reports / data /processed /schemas /report.schema.json
FrenchCastle's picture
Upload complete IMF reports research corpus (part 26)
26b2c86 verified
Raw
History Blame Contribute Delete
3.77 kB
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cd-eval.local/schemas/report.schema.json",
"title": "IMF Technical Assistance Structured Report",
"type": "object",
"required": [
"schema_version",
"report_id",
"source_sha256",
"title",
"authors",
"countries",
"dates",
"metadata",
"observations",
"recommendations",
"observation_recommendation_links",
"figures",
"extraction"
],
"properties": {
"schema_version": {
"const": "1.1.0"
},
"report_id": {
"type": "string"
},
"source_sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"title": {
"type": "string"
},
"language": {
"type": "array",
"items": {
"type": "string"
}
},
"authors": {
"type": "array",
"items": {
"type": "object"
}
},
"countries": {
"type": "array",
"items": {
"type": "object"
}
},
"dates": {
"type": "array",
"items": {
"type": "object"
}
},
"metadata": {
"type": "object"
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"observation_id",
"text",
"verbatim",
"evidence",
"confidence"
],
"properties": {
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence_id": {
"type": "string"
},
"page": {
"type": "integer",
"minimum": 1
},
"quote": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"source"
],
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"recommendations": {
"type": "array",
"items": {
"type": "object",
"required": [
"recommendation_id",
"text",
"verbatim",
"evidence",
"confidence",
"recommendation_type",
"explicitness",
"confidence_tier",
"in_conservative_set"
],
"properties": {
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence_id": {
"type": "string"
},
"page": {
"type": "integer",
"minimum": 1
},
"quote": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"source"
],
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"observation_recommendation_links": {
"type": "array",
"items": {
"type": "object",
"required": [
"observation_id",
"recommendation_id",
"relation",
"link_basis",
"evidence",
"confidence"
],
"additionalProperties": true
}
},
"figures": {
"type": "array",
"items": {
"type": "object"
}
},
"extraction": {
"type": "object"
}
},
"additionalProperties": false
}