Tooling Index¶
This repository provides a small set of focused tools.
Public API¶
omb.api— the supported surface for other repositories:validate_data,ValidationSession,check_negative_fixtures,FixtureReport/FixtureOutcome, plusomb.core.result.ValidationResultandReturnCodes. See Python API. The five installed commands below andpython -m ombare also supported. Their implementation modules are internal. See the consumer contract for feature coverage, defaults, side effects, and verification.
Installed Commands¶
| Command | Module | Purpose |
|---|---|---|
onto-validate |
validators/validation_suite.py |
Orchestrates all checks (also python -m omb) |
onto-check-conformance |
validators/conformance_validator.py |
SHACL validation of instance data |
onto-check-coherence |
validators/coherence_validator.py |
SHACL target classes against OWL |
onto-generate-docs |
utils/properties_updater.py |
PROPERTIES.md and the docs property pages |
onto-generate-context |
utils/context_generator.py |
.context.jsonld from OWL + SHACL |
Each returns its exit code, runs without a virtual environment, and forces UTF-8 output.
Validators¶
validation_suite.pyorchestrates all checksconformance_validator.pyruns SHACL validationcoherence_validator.pychecks SHACL target classes against OWLsyntax_validator.pyvalidates JSON-LD and Turtle syntaxshacl/— the validation internals:validator.py(ShaclValidator),schema_discovery.py(type → schema routing),inference.py(RDFS/OWL)
Registry and Catalog Tools¶
registry_updater.pyregeneratesdocs/registry.jsonand XML catalogsregistry_resolver.pyresolves domains and IRIs to file pathsfile_collector.pyshared file discovery: catalog building, and the--data-pathstop-level/fixture hierarchyhttp_artifact_resolver.pyfetches and caches artifacts over HTTP (--remote)context_resolver.pyresolves and inlines JSON-LD contextsgraph_loader.pyloads RDF graphs
Generators¶
properties_updater.pygeneratesartifacts/<domain>/PROPERTIES.md,docs/ontologies/properties/<domain>.md, and the properties overviewclass_page_generator.pygenerates per-class documentation pagescontext_generator.pygenerates.context.jsonldfiles from OWL + SHACLreadme_updater.pyupdates the README catalog tableasam_imports.pyderives the ASAM OpenDRIVE/OpenSCENARIO vocabularies from the standards submodulexsd_enum_extractor.py/xsd_shacl_sync.pykeepsh:inenumerations in step with their pinned XSD sources
Publishing Tools¶
Optional — installed with the [publish] extra, never imported by validation.
fc_upload_with_update.pyuploads OWL and SHACL files to the Gaia-X federated catalogauthhelper/keycloakhandling.pyobtains the tokens it needs