Export format¶
The export stage writes:
Shape¶
{
"generated_at": "...",
"run_id": "...",
"schemas": ["record"],
"stats": {
"n_papers": 0,
"by_schema": {},
"missing_schemas": {}
},
"papers": [
{
"paper_id": "10.1000_example",
"record": {
"schema_name": "record",
"payload": {},
"validation": { "valid": true, "errors": [] }
}
}
]
}
Rules¶
- Only papers with successful
extract_schemastatus are included. - Each configured schema is present as a full envelope or
nullif missing. - Per-paper files remain under
artifacts/extractions/<paper_id>/.
Downstream use¶
- Treat LitCurate as the producer of
database.json. - Map envelopes to your models using your schema field names.
- Do not assume a fixed scientific vocabulary beyond what your config defines.