JSON Schema and CSV Codelists (JSCC) 0.2.4¶
This Python package provides methods for testing standards that use JSON Schema and CSV codelists with custom JSON Schema properties, like:
Open Contracting Data Standard (OCDS), plus its extensions and profiles
Open Contracting for Infrastructure Data Standard (OC4IDS)
Beneficial Ownership Data Standard (BODS)
Social Investment Data Lab Specification (SEDL)
The following packages also support multiple standards:
OCDS Babel, which provides Babel extractors and translation methods
OCDS Kit, which provides commands for transforming JSON Schema, and methods for creating a mapping sheet and for yielding a schema’s fields.
If you are viewing this on GitHub or PyPI, open the full documentation for additional details.
Contents
- API Reference
- Testing
- Checks
get_empty_files()
get_misindented_files()
get_invalid_json_files()
validate_schema()
validate_letter_case()
validate_metadata_presence()
validate_null_type()
validate_codelist_enum()
validate_array_items()
validate_items_type()
validate_deep_properties()
validate_object_id()
validate_merge_properties()
validate_ref()
validate_schema_codelists_match()
- Filesystem
- Utilities
- Checks
- Schema
- Exceptions
- Testing
- Changelog
- 0.3.0 (2024-09-15)
- 0.2.4 (2024-01-29)
- 0.2.3 (2023-07-06)
- 0.2.2 (2023-06-14)
- 0.2.1 (2023-06-14)
- 0.2.0 (2023-06-14)
- 0.1.1 (2023-04-19)
- 0.1.0 (2022-10-28)
- 0.0.9 (2022-04-26)
- 0.0.8 (2022-03-08)
- 0.0.7 (2021-11-04)
- 0.0.6 (2021-07-19)
- 0.0.5 (2021-04-10)
- 0.0.4 (2020-06-23)
- 0.0.3 (2020-03-17)
- 0.0.2 (2020-03-16)
- 0.0.1 (2020-03-15)
Copyright (c) 2020 Open Contracting Partnership, released under the BSD license