Closed dr0i closed 3 years ago
Looks like a job for JSON schema: https://json-schema.org/
Yes, and this java-implementation of validator should be fine: https://github.com/java-json-tools/json-schema-validator.
@acka47 are you willing to provide a schema for lobid-resources?
are you willing to provide a schema for lobid-resources?
I opened another issue for this: #1079
@fsteeg, please move issue to metafacture-core
@fsteeg, please move issue to metafacture-core
Closing, moved to https://github.com/metafacture/metafacture-core/issues/347
We encounter several issues of structural inconsistence of json documents, see e.g. #904. As these may break our API it would be nice to check the integrity of that json before adding it to an index rather than being informed by customers if an error occurs.
This could be done with a metafacture plugin.