The schema used by the ingester (in the test suite) is pinned to some version that the data files in tests/ conform to.
|
parser.add_argument( |
|
"--schema-path", |
|
default="https://raw.githubusercontent.com/ber-data/bertron-schema/96cbe257717d44137440be369a8414d153579926/src/schema/jsonschema/bertron_schema.json", |
|
help="Path or URL to the BERtron schema JSON file", |
|
) |
|
parser.add_argument( |
|
"--input", required=True, help="Path to the input JSON file or directory" |
|
) |
This task is about updating both (a) those data files and (b) which version of the schema is pinned.
Long term, we may be able to get example data from the schema package, itself. See: ber-data/bertron-schema#61
The schema used by the ingester (in the test suite) is pinned to some version that the data files in
tests/conform to.bertron/mongodb/ingest_data.py
Lines 199 to 203 in 0a987b5
bertron/mongodb/ingest_data.py
Lines 204 to 206 in 0a987b5
This task is about updating both (a) those data files and (b) which version of the schema is pinned.
Long term, we may be able to get example data from the schema package, itself. See: ber-data/bertron-schema#61