Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.
Rust ai-nativedescription-logicsformal-verificationinfrastructure-as-codeisabelle-languageknowledge-graphleanlean4mcpmcp-serverontologyowlowl2reasoningrustshaclsparqltheorem-proving
feat(demo): recompute the DCAT-US conformance finding from vendored inputs
FABIOTESS3dd8e2c394ce
diff --git a/demo/README.md b/demo/README.mdindex fd613e56..f6932ddc 100644--- a/demo/README.md+++ b/demo/README.md@@ -104,3 +104,34 @@ Run the tests with:```bashpython -m pytest demo/tests/```++## The conformance finding++`demo/precomputed/findings.json` is not produced by the pipeline above. The+pipeline's contradiction scanner detects provenance-split typing conflicts+(two documents typing the same individual incompatibly), and this corpus's+disagreement is not that shape: it is a README's conformance claim+contradicted by the artifacts published alongside it. That finding is+established by a validator, not the model, and lives in+`demo/dcat_conformance.py`.++The script reads only files committed under `demo/corpus/dcat-us/`: the full+GSA/dcat-us `jsonschema/definitions/` and `jsonschema/examples/` tree+(`demo/corpus/dcat-us/jsonschema/`, vendored separately from the seven+documents the pipeline above reads) and `recovered-shapes.ttl`, the SHACL+shapes file GSA/dcat-us deleted in pull request 120. It derives a JSON-LD+context from the RDF terms the JSON Schema's own `_oldDocs` blocks still+carry, expands every published "good" example with and without that context,+and validates both expansions against the deleted shapes with pySHACL.++```bash+python3 demo/dcat_conformance.py+python3 -m pytest demo/tests/test_dcat_conformance.py+```++It writes `demo/corpus/dcat-us/jsonschema/generated-context.jsonld` (and an+`.observed.jsonld` variant, lenient on the terms the corpus publishes as+prose rather than IRIs), `demo/dcat_conformance_measurements.json` (every+figure this script measures), and, by hand from those measurements,+`demo/precomputed/findings.json`. No network call and no model call happen+anywhere in this path.diff --git a/demo/build_compare.py b/demo/build_compare.pyindex e4a05265..b8529d90 100644--- a/demo/build_compare.py+++ b/demo/build_compare.py@@ -40,7 +40,10 @@ P = ("PREFIX : <https://w3id.org/dcat-us-demo#>\n""PREFIX owl: <http://www.w3.org/2002/07/owl#>\n""PREFIX prov: <http://www.w3.org/ns/prov#>\n")-ALL_DOC_IDS = sorted(pathlib.Path(e["file"]).stem for e in json.loads(MANIFEST.read_text()))+ALL_DOC_IDS = sorted(+ pathlib.Path(e["file"]).stem for e in json.loads(MANIFEST.read_text())+ if e.get("role") != "validator-input"+)def cited_docs(answer: str, retrieved: list[str]) -> list[str]:diff --git a/demo/build_precomputed.py b/demo/build_precomputed.pyindex fd6afc11..b72183b6 100644--- a/demo/build_precomputed.py+++ b/demo/build_precomputed.py@@ -90,8 +90,16 @@ def build_corpus() -> list[dict]:manifest = json.loads((CORPUS / "MANIFEST.json").read_text())docs = []for entry in manifest:+ # MANIFEST.json also records the vendored jsonschema/ tree that+ # demo/dcat_conformance.py reads (role: "validator-input", a+ # directory, not a document). Task 7's seven markdown/JSON/Turtle+ # documents are the only entries this corpus is built from.+ if entry.get("role") == "validator-input":+ continuefname = entry["file"]path = CORPUS / fname+ if not path.is_file():+ continuetext = path.read_text(encoding="utf-8", errors="ignore")docs.append({"id": pathlib.Path(fname).stem,diff --git a/demo/corpus/dcat-us/MANIFEST.json b/demo/corpus/dcat-us/MANIFEST.jsonindex 51ea2cf1..b457e342 100644--- a/demo/corpus/dcat-us/MANIFEST.json+++ b/demo/corpus/dcat-us/MANIFEST.json@@ -40,5 +40,13 @@"retrieved": "2026-08-25","sha256": "bf2787f0aee005b7fe2e94e3f25d3f53a2f1def38d65e040ca4dc5b1ec229cff","source_url": "https://www.w3.org/TR/vocab-dcat-3/#conformance"+ },+ {+ "file": "jsonschema",+ "retrieved": "2026-08-25",+ "sha256": "6a865680ff78b3274fa97a55cc77082cc7de40abdcd3a26c5a7104ce87b56971",+ "source_url": "https://github.com/GSA/dcat-us/tree/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema",+ "role": "validator-input",+ "note": "The full GSA/dcat-us jsonschema/ tree at commit 7a6e803fb94ee9903e7e7405ec4afcc8da13383f (HEAD as of retrieval, 2026-08-25, fetched by a fresh independent clone): 26 files under jsonschema/definitions/ and 191 under jsonschema/examples/<Class>/good|bad/ (115 good, 76 bad). Licensed CC0 1.0 as a work of the United States Government; see jsonschema/LICENSE.md, copied verbatim from the same commit. Per-file source URLs and checksums are in jsonschema/MANIFEST.json; the sha256 above is of that file. Read by demo/dcat_conformance.py, which is the only consumer; it supersedes examples-sample.json's five-file sample for the conformance recomputation. examples-sample.json is unchanged and still used by the document-to-ontology pipeline corpus."}]diff --git a/demo/corpus/dcat-us/jsonschema/LICENSE.md b/demo/corpus/dcat-us/jsonschema/LICENSE.mdnew file mode 100644index 00000000..93dade51--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/LICENSE.md@@ -0,0 +1,23 @@+# CC0 1.0 Universal Public Domain++This project constitutes a work of the United States Government and is not+subject to domestic copyright protection under 17 USC § 105. Additionally, we+waive copyright and related rights in the work worldwide through the [CC0 1.0+Universal public domain+dedication](https://creativecommons.org/publicdomain/zero/1.0/).++All contributions to this project will be released under the CC0 dedication.+By submitting a requirement, issue or pull request, you are agreeing to comply+with this waiver of copyright interest.++## Other Information++In no way are the patent or trademark rights of any person affected by CC0,+nor are the rights that other persons may have in the work or in how the work+is used, such as publicity or privacy rights.++Unless expressly stated otherwise, the person who associated a work with this+deed makes no warranties about the work, and disclaims liability for all uses+of the work, to the fullest extent permitted by applicable law. When using or+citing the work, you should not imply endorsement by the author or the+affirmer.diff --git a/demo/corpus/dcat-us/jsonschema/MANIFEST.json b/demo/corpus/dcat-us/jsonschema/MANIFEST.jsonnew file mode 100644index 00000000..2d4215b8--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/MANIFEST.json@@ -0,0 +1,1304 @@+[+ {+ "file": "definitions/AccessRestriction.json",+ "retrieved": "2026-08-25",+ "sha256": "86f42cb373dc3df1c870f74847d5b1e2054b0e709f285e051e41491a1f6cc812",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/AccessRestriction.json"+ },+ {+ "file": "definitions/Activity.json",+ "retrieved": "2026-08-25",+ "sha256": "9459c82a914555abfc998d57c9e0004b8fefbe8b9c1321a39f05a12247532214",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Activity.json"+ },+ {+ "file": "definitions/Address.json",+ "retrieved": "2026-08-25",+ "sha256": "a71eaee3e1cda731d7724bc5b880f1f7285a668f8250e34c7928c0d63503ab4b",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Address.json"+ },+ {+ "file": "definitions/Agent.json",+ "retrieved": "2026-08-25",+ "sha256": "c3a8dd6103a0a72af12bbfcf8d8641df5deb71e505176bb6a6e112d1f3d4b636",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Agent.json"+ },+ {+ "file": "definitions/Attribution.json",+ "retrieved": "2026-08-25",+ "sha256": "089eabc39498a08b9459bc8c44e5b8696c2e3055d747a58499cf5ae9df3cafd8",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Attribution.json"+ },+ {+ "file": "definitions/CUIRestriction.json",+ "retrieved": "2026-08-25",+ "sha256": "c380e6ab8625c2cff2bab522ae47d0d9fe210c100304b81181e6c6e9236a3075",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/CUIRestriction.json"+ },+ {+ "file": "definitions/Catalog.json",+ "retrieved": "2026-08-25",+ "sha256": "4788b835f8d122ec52e0ca6e5343bb9e39d7361ce6ba0c6e4bfcdec87473161a",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Catalog.json"+ },+ {+ "file": "definitions/CatalogRecord.json",+ "retrieved": "2026-08-25",+ "sha256": "3520e634156fb0045a9735a67ba37f7fe18a295bfb6cbd4e505964c9d25f4205",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/CatalogRecord.json"+ },+ {+ "file": "definitions/Checksum.json",+ "retrieved": "2026-08-25",+ "sha256": "fb2efdbfec4a620f065c1d16bfe3b2681d7a11203f3da7bc1e937bbf5a177a2d",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Checksum.json"+ },+ {+ "file": "definitions/Concept.json",+ "retrieved": "2026-08-25",+ "sha256": "86fa9ce21ed5482df8325b5a99157fbd6592623315e14a734e6326be6aee9b2d",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Concept.json"+ },+ {+ "file": "definitions/ConceptScheme.json",+ "retrieved": "2026-08-25",+ "sha256": "52e18b5f0d380f7321346c36688584df5e2cc3f627f17a65d6be631bce657414",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/ConceptScheme.json"+ },+ {+ "file": "definitions/DataService.json",+ "retrieved": "2026-08-25",+ "sha256": "0aef863056fce337af53209cdf89efdd68061c09a9d79d8de480514745a9a428",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/DataService.json"+ },+ {+ "file": "definitions/Dataset.json",+ "retrieved": "2026-08-25",+ "sha256": "936dfb3a882782e0f3a67aae61bf15466db302f8227f5a4f2ac99d4f44025c4f",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Dataset.json"+ },+ {+ "file": "definitions/DatasetSeries.json",+ "retrieved": "2026-08-25",+ "sha256": "633d5543115fcb27fadd51faf1efd5a30e198477bb8f3ac402b48c6aae0f7def",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/DatasetSeries.json"+ },+ {+ "file": "definitions/Distribution.json",+ "retrieved": "2026-08-25",+ "sha256": "c039f69f8e93e1f13b093a42a0310216bc95ae1a7bfefc8975e3a8fcbf9de2a8",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Distribution.json"+ },+ {+ "file": "definitions/Document.json",+ "retrieved": "2026-08-25",+ "sha256": "d270d10e2e97524038aaa00bfdabf90db41609940dc2b054e0d0bcf6edab7172",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Document.json"+ },+ {+ "file": "definitions/Identifier.json",+ "retrieved": "2026-08-25",+ "sha256": "7e8d769d3d6213a63c1bce867e8ab0369c4859d8778e10ce2b0cdab99face543",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Identifier.json"+ },+ {+ "file": "definitions/Kind.json",+ "retrieved": "2026-08-25",+ "sha256": "06c11ceb9b1cd6646ce808676611e0cb4f4fc95f80b9dd3cf3a5f0027a3d6b54",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Kind.json"+ },+ {+ "file": "definitions/Location.json",+ "retrieved": "2026-08-25",+ "sha256": "394363091f89b7eaddf33fc00917e825700deafe2d101c534a7631455b5ac830",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Location.json"+ },+ {+ "file": "definitions/Metric.json",+ "retrieved": "2026-08-25",+ "sha256": "f0677522d162a9f89c78981e7617eb53e41a6a54106f5ab0599d05292ff9de58",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Metric.json"+ },+ {+ "file": "definitions/Organization.json",+ "retrieved": "2026-08-25",+ "sha256": "18edc2eaadf8d600d8f1b4e2ec27e46562c2b6404779d92d88f6a65562a5f143",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Organization.json"+ },+ {+ "file": "definitions/PeriodOfTime.json",+ "retrieved": "2026-08-25",+ "sha256": "16c2580806d91791842eed877f5d44053e1295ba0ded389e88491d5ceb58d14b",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/PeriodOfTime.json"+ },+ {+ "file": "definitions/QualityMeasurement.json",+ "retrieved": "2026-08-25",+ "sha256": "b31bdfeaf59e9e087e2e21f1d94f4ff236777a66b75b98a2ea185e89607fcc21",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/QualityMeasurement.json"+ },+ {+ "file": "definitions/Relationship.json",+ "retrieved": "2026-08-25",+ "sha256": "c2f470e8a900cffff02756e53b6d78c2725f6cba0e7197182da329a433f0b6f2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Relationship.json"+ },+ {+ "file": "definitions/Standard.json",+ "retrieved": "2026-08-25",+ "sha256": "17696088895efe91f409a5e27f4cbedce19cc4f0b3a6d2b6b9258489a8d762ca",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/Standard.json"+ },+ {+ "file": "definitions/UseRestriction.json",+ "retrieved": "2026-08-25",+ "sha256": "dc32705962486f2170dd515c8f53b2e33e01cc3bc9943b93daa17a2282a8712e",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/definitions/UseRestriction.json"+ },+ {+ "file": "examples/AccessRestriction/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "d1c854b542962b2d85209dfe0285374f28896b8b9cc9aa8fd42b06a4d88469d8",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/AccessRestriction/good/minimal_example.json"+ },+ {+ "file": "examples/AccessRestriction/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "d08a329cb9488dd50c977b5a26b0b79577ca4a3d499e202d75a58737e672cc30",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/AccessRestriction/good/null_example.json"+ },+ {+ "file": "examples/AccessRestriction/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "b526d6de66ec214177e585b1598688c4b40fd15e5b8b88b65c0a17042c090338",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/AccessRestriction/good/typical_example.json"+ },+ {+ "file": "examples/Activity/bad/invalid_label_type.json",+ "retrieved": "2026-08-25",+ "sha256": "b033cf47ee5a844afd8e001bb09d93aa21153e71ee6219b4f7480306690fb61a",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Activity/bad/invalid_label_type.json"+ },+ {+ "file": "examples/Activity/bad/missing_required_label.json",+ "retrieved": "2026-08-25",+ "sha256": "d2627b04363d6f06e423fcd975103b8f96bdba54a8089be97138127332c1401d",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Activity/bad/missing_required_label.json"+ },+ {+ "file": "examples/Activity/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "7bbf761870d149fda07796c24afd2172adf8ac5f9d6e041de443424bcf1a6c1d",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Activity/good/complete_example.json"+ },+ {+ "file": "examples/Activity/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "917cf354ca646e89dd18bdc8d13e3b589095fa688cd8a6039186ee2d1132bb56",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Activity/good/minimal_example.json"+ },+ {+ "file": "examples/Activity/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "091b517524309bea26e3e2da6e17753d8df4adaac35e6f3100713fd1419e5c7f",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Activity/good/null_example.json"+ },+ {+ "file": "examples/Activity/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "31c32068754790bcbe0762302e20318c37996479ae86e313016f815a117ad5ed",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Activity/good/typical_example.json"+ },+ {+ "file": "examples/Address/bad/invalid_country_type.json",+ "retrieved": "2026-08-25",+ "sha256": "41cfc947a144fe5be8141747068dc35a74b316b3b1d273234f2ef34bcd3f657a",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Address/bad/invalid_country_type.json"+ },+ {+ "file": "examples/Address/bad/invalid_postal_code_type.json",+ "retrieved": "2026-08-25",+ "sha256": "99ad16afc63e3bd2fbfeaca939f390d928ce17d5e9e762000ec920221350c1b1",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Address/bad/invalid_postal_code_type.json"+ },+ {+ "file": "examples/Address/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "6aea4d74d2496b3b2e46c07ac9417b3ce0626c847d79d1c43c07d91767b6e667",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Address/good/complete_example.json"+ },+ {+ "file": "examples/Address/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "3c8ce9b02728f2803aab5311ec557cbeb1966da284d230f7ea08e1b046168357",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Address/good/minimal_example.json"+ },+ {+ "file": "examples/Address/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "51cb763403d8a2fc6007a4e952b8959ada5641fd9a00fe024f586cda686e6cf9",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Address/good/null_example.json"+ },+ {+ "file": "examples/Address/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "81b932f75c59327ee43131c50c7e2396e18da511ffca58a86a02fc1d1851bef0",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Address/good/typical_example.json"+ },+ {+ "file": "examples/Agent/bad/concept_missing_prefLabel.json",+ "retrieved": "2026-08-25",+ "sha256": "31e2f375eea8dadf2320f9e105128b142243ecdf3d1dcf206bdbeb1205d62982",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Agent/bad/concept_missing_prefLabel.json"+ },+ {+ "file": "examples/Agent/bad/invalid_category_type.json",+ "retrieved": "2026-08-25",+ "sha256": "5963fa55457f807a6d429d525753624beba0e3d61c56133b815d9cb9f6c2e3c8",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Agent/bad/invalid_category_type.json"+ },+ {+ "file": "examples/Agent/bad/invalid_name_type.json",+ "retrieved": "2026-08-25",+ "sha256": "e5803ead5814d5af05e1ca959c5b497c4ed116533f823ea08a1a38159f78ccac",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Agent/bad/invalid_name_type.json"+ },+ {+ "file": "examples/Agent/bad/missing_required_name.json",+ "retrieved": "2026-08-25",+ "sha256": "9a16a12ef0c47bcb2482ec54ee107e4ea2f69ac59dcaf7869568a431e6e10adf",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Agent/bad/missing_required_name.json"+ },+ {+ "file": "examples/Agent/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "96448f3f07e9b6451c1465f9ec93cfc5a7bdad61432393856f71bb79d0b2da29",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Agent/good/complete_example.json"+ },+ {+ "file": "examples/Agent/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "7e0092ee653bad9121953f206b5a1aa83a88ae04eb1cfbe05132684888749d26",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Agent/good/minimal_example.json"+ },+ {+ "file": "examples/Agent/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "cc02cd32bc75d00629cce4a77b4532512621251eea143ea4751ce8440de2b940",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Agent/good/null_example.json"+ },+ {+ "file": "examples/Agent/good/simple_category_example.json",+ "retrieved": "2026-08-25",+ "sha256": "9cfeb1def7607768f1ecc720d8d38bc72403476906918986a62d553d7641eec2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Agent/good/simple_category_example.json"+ },+ {+ "file": "examples/Agent/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "e46652843daf230548090d58356a35f68a21f0917fda6d61a8586b601aec1af2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Agent/good/typical_example.json"+ },+ {+ "file": "examples/Attribution/bad/invalid_hadRole_type.json",+ "retrieved": "2026-08-25",+ "sha256": "26dd1d7652ac7b973dc568404366662029e6df61b92b7ce8afb0c5bca55816a2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Attribution/bad/invalid_hadRole_type.json"+ },+ {+ "file": "examples/Attribution/bad/missing_required_agent.json",+ "retrieved": "2026-08-25",+ "sha256": "545de9b387a6edc4901fd56e3856bc83cfe70d803388043bfeef2d8f85c060db",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Attribution/bad/missing_required_agent.json"+ },+ {+ "file": "examples/Attribution/bad/missing_required_hadRole.json",+ "retrieved": "2026-08-25",+ "sha256": "829ae2eb6efb3f85029d733941874f708d055225e358b6bc9b811a4d217f9517",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Attribution/bad/missing_required_hadRole.json"+ },+ {+ "file": "examples/Attribution/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "bb81ac73b86b3f2ed927cba186736cf4a427994e0613d83c9e9fc7fa1830d81b",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Attribution/good/complete_example.json"+ },+ {+ "file": "examples/Attribution/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "e85d38a98f2023ec864691b896b3e014127c3ef035d9b1c9c6086b4168fd7365",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Attribution/good/minimal_example.json"+ },+ {+ "file": "examples/Attribution/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "581a0ab228481e3c9005d14e5f39d98a73f6ff59e2c4d86b740c4c4198f2e441",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Attribution/good/typical_example.json"+ },+ {+ "file": "examples/CUIRestriction/bad/invalid_cuiBannerMarking_type.json",+ "retrieved": "2026-08-25",+ "sha256": "8050ac82887a8c3904cc7628e6eae9da1cd5619320956a2bab9595c2017b34f1",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CUIRestriction/bad/invalid_cuiBannerMarking_type.json"+ },+ {+ "file": "examples/CUIRestriction/bad/missing_cuiBannerMarking.json",+ "retrieved": "2026-08-25",+ "sha256": "6688314be24227033953a7985c27f84e8609ae33aefed14bef900007a50fa4ad",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CUIRestriction/bad/missing_cuiBannerMarking.json"+ },+ {+ "file": "examples/CUIRestriction/bad/missing_designationIndicator.json",+ "retrieved": "2026-08-25",+ "sha256": "2cf89338c051f5282a24698fe42f1aaeed7b640d067a295163796b9fc3613cd5",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CUIRestriction/bad/missing_designationIndicator.json"+ },+ {+ "file": "examples/CUIRestriction/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "78b6ba2243d347f5d4395a402caf58670c71bd970c526258735f627cea95dc97",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CUIRestriction/good/complete_example.json"+ },+ {+ "file": "examples/CUIRestriction/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "9120083a0cf3913fad2b9c18f5bcb19562551b9b066ccd5d9093d3b80c76a5bd",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CUIRestriction/good/minimal_example.json"+ },+ {+ "file": "examples/CUIRestriction/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "d5ddbfe50fa63a5fb92ff0eccd1fd031c2fd57aa1c07ebb242d3d8b8e998bc39",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CUIRestriction/good/null_example.json"+ },+ {+ "file": "examples/CUIRestriction/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "0b7ca424f9b5d2302d0f48e40b79026308914c2b89b569cf289cb401af58a972",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CUIRestriction/good/typical_example.json"+ },+ {+ "file": "examples/Catalog/bad/invalid_dataset_type.json",+ "retrieved": "2026-08-25",+ "sha256": "4ee9854949b43147755bb09b090950e5e63ff73becce33d3529c0f44d3f271f7",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Catalog/bad/invalid_dataset_type.json"+ },+ {+ "file": "examples/Catalog/bad/invalid_homepage_type.json",+ "retrieved": "2026-08-25",+ "sha256": "c78086a059de1800491bcab0b6437e564766bd7da9d39c7c0dd55d653aa7c57d",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Catalog/bad/invalid_homepage_type.json"+ },+ {+ "file": "examples/Catalog/bad/invalid_issued_format.json",+ "retrieved": "2026-08-25",+ "sha256": "ecfc98517bdd1e68bc1045a5a8d63e00d135f792e0ea116d3ce0f6b80c7eb18e",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Catalog/bad/invalid_issued_format.json"+ },+ {+ "file": "examples/Catalog/bad/invalid_language_format.json",+ "retrieved": "2026-08-25",+ "sha256": "46842fe36a93eb9768e8840a9f66535d5280b3aaa9bb9a364b463642f7a6a400",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Catalog/bad/invalid_language_format.json"+ },+ {+ "file": "examples/Catalog/bad/missing_required_dataset.json",+ "retrieved": "2026-08-25",+ "sha256": "abb27fe2d18778c8463c8c57ecce861cc3c1592e9e67399583bb113683c5a234",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Catalog/bad/missing_required_dataset.json"+ },+ {+ "file": "examples/Catalog/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "35d483db74b80c1d35fe09776f6e84d6b5421aa1529f62267dc65677f85958f4",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Catalog/good/complete_example.json"+ },+ {+ "file": "examples/Catalog/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "0c1e007eff8e9ba82c10d999796ef26f30078f8339f4144fb240ec6afefb0823",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Catalog/good/minimal_example.json"+ },+ {+ "file": "examples/Catalog/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "47e91fc951a3158bfbabdb54941d0016732a31a2eda5c0cfb498a53b33bc7925",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Catalog/good/typical_example.json"+ },+ {+ "file": "examples/CatalogRecord/bad/invalid_modified_format.json",+ "retrieved": "2026-08-25",+ "sha256": "59bb056f64daf80e33a366f1aa2c056c208817ea9918073d50ac36720173702f",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CatalogRecord/bad/invalid_modified_format.json"+ },+ {+ "file": "examples/CatalogRecord/bad/missing_required_modified.json",+ "retrieved": "2026-08-25",+ "sha256": "b58ac5057579ad36e1f939495c92dae754993c6a3ab01bd112138b0b5338b819",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CatalogRecord/bad/missing_required_modified.json"+ },+ {+ "file": "examples/CatalogRecord/bad/missing_required_primaryTopic.json",+ "retrieved": "2026-08-25",+ "sha256": "7c6061094965f4e9091c7ef448433b894605a184617a754290ca101c7a0e6797",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CatalogRecord/bad/missing_required_primaryTopic.json"+ },+ {+ "file": "examples/CatalogRecord/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "133cb380b090ef6c14584271be27d617f469bf735583787d1cdd8719bf6ddb3d",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CatalogRecord/good/complete_example.json"+ },+ {+ "file": "examples/CatalogRecord/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "3e46e6e5c4f00800311eecd0c23298393971151bcfbba08133bc54a5d3784844",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CatalogRecord/good/minimal_example.json"+ },+ {+ "file": "examples/CatalogRecord/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "ed29618db71b1e867143490f01b17f5ecfaf8901c970e4173d3480d367570078",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/CatalogRecord/good/typical_example.json"+ },+ {+ "file": "examples/Checksum/bad/invalid_algorithm_type.json",+ "retrieved": "2026-08-25",+ "sha256": "0a8cb461b99222f1b44f1124bdf3286a183d6a032bdd85fb07894347aeb26de2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Checksum/bad/invalid_algorithm_type.json"+ },+ {+ "file": "examples/Checksum/bad/missing_algorithm.json",+ "retrieved": "2026-08-25",+ "sha256": "52f2a7e26beaecf29870ae57ea9a305880ccfbfccfeb0d841e6394224f15be45",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Checksum/bad/missing_algorithm.json"+ },+ {+ "file": "examples/Checksum/bad/missing_checksumValue.json",+ "retrieved": "2026-08-25",+ "sha256": "eb66182d1584b47c27f4d243c902fecc7ec63fbb1543711a6c2e48201efb3a88",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Checksum/bad/missing_checksumValue.json"+ },+ {+ "file": "examples/Checksum/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "6fb067ce91c0b5f3eacd21a499f24715635288dd6da506d8547822c9832fda55",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Checksum/good/complete_example.json"+ },+ {+ "file": "examples/Checksum/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "1ea3b53f8952bcd2e6d0067469436e64c2ad0633d65e3a9cb549b72eea403b3f",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Checksum/good/minimal_example.json"+ },+ {+ "file": "examples/Checksum/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "d6a864187b2e113b8f53ee794b6f32ebfa9e992e1ab8bc94592c0f7b7e3b74de",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Checksum/good/null_example.json"+ },+ {+ "file": "examples/Checksum/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "bf30f9d4f9432d7ce293a0d878e78ed9b97a2a2b643103dfc500e94493cfc531",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Checksum/good/typical_example.json"+ },+ {+ "file": "examples/Concept/bad/empty_object.json",+ "retrieved": "2026-08-25",+ "sha256": "924c07efb9d205e5f36f9e7d061b1c789daf62a8802a4f980cf349bf3e4a696a",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/bad/empty_object.json"+ },+ {+ "file": "examples/Concept/bad/invalid_altLabel_type.json",+ "retrieved": "2026-08-25",+ "sha256": "e5a32ac2d992ef23fe7dcf392b4cf8d0593b3b7cb2553ddc09909d546265093c",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/bad/invalid_altLabel_type.json"+ },+ {+ "file": "examples/Concept/bad/invalid_definition_type.json",+ "retrieved": "2026-08-25",+ "sha256": "e5a2782c0c4f7303060bba59868a772c187ea27b1e4ae00d9196f28df21fe3db",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/bad/invalid_definition_type.json"+ },+ {+ "file": "examples/Concept/bad/invalid_inScheme_type.json",+ "retrieved": "2026-08-25",+ "sha256": "79020ef1968ff72e8952e571001375e3aeeff0468f64b918252cc339225c9192",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/bad/invalid_inScheme_type.json"+ },+ {+ "file": "examples/Concept/bad/invalid_notation_items_type.json",+ "retrieved": "2026-08-25",+ "sha256": "df1719ed58d108b711683179a3fa3c1317face45890768c6469fdcdd77d1843f",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/bad/invalid_notation_items_type.json"+ },+ {+ "file": "examples/Concept/bad/invalid_notation_type_string.json",+ "retrieved": "2026-08-25",+ "sha256": "eed7b7703612d9e45e40559b78431e279cf3ed6edaff743dff45cb485ec59ef1",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/bad/invalid_notation_type_string.json"+ },+ {+ "file": "examples/Concept/bad/invalid_prefLabel_type_array.json",+ "retrieved": "2026-08-25",+ "sha256": "922b05fac368de9b5646417ce99e9e6081578fa3697c193e2ee0c9aebe0594d2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/bad/invalid_prefLabel_type_array.json"+ },+ {+ "file": "examples/Concept/bad/invalid_prefLabel_type_number.json",+ "retrieved": "2026-08-25",+ "sha256": "777572fdd6f323671b8924b4a74e81546f8ec623d9ab68469a2cefa0a73cf256",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/bad/invalid_prefLabel_type_number.json"+ },+ {+ "file": "examples/Concept/bad/missing_required_prefLabel.json",+ "retrieved": "2026-08-25",+ "sha256": "80dc2c89115840821f426732c55d48fa564af782306b7883d73be2cfd235cb20",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/bad/missing_required_prefLabel.json"+ },+ {+ "file": "examples/Concept/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "9e49838efb9913b50dc02252e969ce850a588869b7d08b09fc92345eaa03c2f8",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/good/complete_example.json"+ },+ {+ "file": "examples/Concept/good/minimal_object.json",+ "retrieved": "2026-08-25",+ "sha256": "542a48c57c8d6246d3587d9ac355c8f1cb170d44709028a1887b18b1cf19cabe",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/good/minimal_object.json"+ },+ {+ "file": "examples/Concept/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "b4bfc583dd8e1ed139994657b4cba641425580be19f524f7c4ddb79d17ee8f7f",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/good/null_example.json"+ },+ {+ "file": "examples/Concept/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "64fac0cd5bf1f2106a2755f28f1dfbef5d2a7ba19b72c4f5f58f277640530ad3",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Concept/good/typical_example.json"+ },+ {+ "file": "examples/ConceptScheme/bad/invalid_date_format.json",+ "retrieved": "2026-08-25",+ "sha256": "658b7fdffed1655f11a7150f4066ecdab87f379cbe97977ee06a1fb7312d81fa",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/ConceptScheme/bad/invalid_date_format.json"+ },+ {+ "file": "examples/ConceptScheme/bad/invalid_title_type.json",+ "retrieved": "2026-08-25",+ "sha256": "7bd52469fefb33de376184907444c2cf77ac3ecc7ef82fb4f9408bac861fd3c6",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/ConceptScheme/bad/invalid_title_type.json"+ },+ {+ "file": "examples/ConceptScheme/bad/missing_title.json",+ "retrieved": "2026-08-25",+ "sha256": "287acf2b2783488e84bef404c9347126d27f15b06c3c1107657beb315bd6ec32",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/ConceptScheme/bad/missing_title.json"+ },+ {+ "file": "examples/ConceptScheme/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "3739ded0275763ec85929209c856711720b5f289db500f7e0b6a6801c52c3b42",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/ConceptScheme/good/complete_example.json"+ },+ {+ "file": "examples/ConceptScheme/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "1ee6fa922127e919e15a5805726752f783ecdac66b8b0d49a0be78b443c352a1",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/ConceptScheme/good/minimal_example.json"+ },+ {+ "file": "examples/ConceptScheme/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "3a623ac2cdcf37603787de13a15b0d6c0881a6c4960e04a8aa0a320ebe1150fb",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/ConceptScheme/good/null_example.json"+ },+ {+ "file": "examples/ConceptScheme/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "20161d096e13437ce3ddd4399952a5235e663cc8de4af32ded182f2524798b01",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/ConceptScheme/good/typical_example.json"+ },+ {+ "file": "examples/DataService/bad/missing_required_contactPoint.json",+ "retrieved": "2026-08-25",+ "sha256": "9983e266f516df0dfdb8b2ee3207a4e1e483d6101b63e73b1bc4220f7413f75c",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DataService/bad/missing_required_contactPoint.json"+ },+ {+ "file": "examples/DataService/bad/missing_required_endpointURL.json",+ "retrieved": "2026-08-25",+ "sha256": "beaae60b9b32b97e8c5ff0bd6a2c5c620de603055d18429245250bb61211140c",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DataService/bad/missing_required_endpointURL.json"+ },+ {+ "file": "examples/DataService/bad/missing_required_publisher.json",+ "retrieved": "2026-08-25",+ "sha256": "bb0cf228aa4df9dadf0cf4af9b58c2112d88471cdfe5605d406152c32d351221",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DataService/bad/missing_required_publisher.json"+ },+ {+ "file": "examples/DataService/bad/missing_required_title.json",+ "retrieved": "2026-08-25",+ "sha256": "637c7ac25bf8c4141ed965124f6c538e30eddf9dce2326baf58b611f7c11f8f0",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DataService/bad/missing_required_title.json"+ },+ {+ "file": "examples/DataService/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "d4da2072f2c2f00cde552103c076678fcb708304aaa006281a1f327d425d02e0",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DataService/good/complete_example.json"+ },+ {+ "file": "examples/DataService/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "0aa426d5dce86c61efcdd1043d4095af0d3d3db3cf36f9480481fc17fa0eee37",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DataService/good/minimal_example.json"+ },+ {+ "file": "examples/DataService/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "05e1174db44204336e3aaa9a893ae9fdabb8085341031d9908ca9eb86311f761",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DataService/good/null_example.json"+ },+ {+ "file": "examples/DataService/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "aa651a44c1b3d71a7683d101127558a0cdc277306499c77a94504e507c0720b7",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DataService/good/typical_example.json"+ },+ {+ "file": "examples/Dataset/bad/bad-accrual-periodicity.json",+ "retrieved": "2026-08-25",+ "sha256": "46b1f619a1c08f176dd133492c52c36580d13bccd4d392793caff9f1dae7a7c1",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Dataset/bad/bad-accrual-periodicity.json"+ },+ {+ "file": "examples/Dataset/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "5eebe307c09adc864c4bff6c7bec04409c57983773bef70d39547ac75e76364e",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Dataset/good/complete_example.json"+ },+ {+ "file": "examples/Dataset/good/comprehensive-dataset.json",+ "retrieved": "2026-08-25",+ "sha256": "1b3229b1bc70d1cb89050c7332490d6bfb1a6f844e1a3f52d63fcf38e7082612",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Dataset/good/comprehensive-dataset.json"+ },+ {+ "file": "examples/Dataset/good/good-accrual-periodicity.json",+ "retrieved": "2026-08-25",+ "sha256": "c94581d07a82816543e40cda2cfad784e02e15d219f9df07048aea102fc27290",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Dataset/good/good-accrual-periodicity.json"+ },+ {+ "file": "examples/Dataset/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "ad7e36efc9b256d3ccc4552624db8224d4b392f86fd2087819439fbfb50e2547",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Dataset/good/minimal_example.json"+ },+ {+ "file": "examples/Dataset/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "4639ceb8c9a09fc40b195e0b8bb1a930165995a2854839866b6551793cd8e9bf",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Dataset/good/null_example.json"+ },+ {+ "file": "examples/Dataset/good/theme_full_example.json",+ "retrieved": "2026-08-25",+ "sha256": "309c697fdc3b969788460616400ef27827a52abded614568baf6866c66935e37",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Dataset/good/theme_full_example.json"+ },+ {+ "file": "examples/Dataset/good/theme_simple_example.json",+ "retrieved": "2026-08-25",+ "sha256": "2aa5ddabcc4ee8ecb67dfbb8ce59bb04e4b6c9e313d31d6a298dc95d497d278b",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Dataset/good/theme_simple_example.json"+ },+ {+ "file": "examples/Dataset/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "72e8ff3e2e86828e6eb8dfe48d6a487ed37352db797a9b2dbc5a499c8f8cadbb",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Dataset/good/typical_example.json"+ },+ {+ "file": "examples/DatasetSeries/bad/bad-accrual-periodicity.json",+ "retrieved": "2026-08-25",+ "sha256": "cec53b5f14786689abe25ebe3346009755998408ca76aeda307c1679ad36e6f7",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DatasetSeries/bad/bad-accrual-periodicity.json"+ },+ {+ "file": "examples/DatasetSeries/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "858e40fcfa41656b44b721248b720853b50078126b1113f2b6c39d5a3caac404",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DatasetSeries/good/complete_example.json"+ },+ {+ "file": "examples/DatasetSeries/good/good-accrual-periodicity.json",+ "retrieved": "2026-08-25",+ "sha256": "a71216ea595fac203a27fac4c7cbd0a9d6fd9d10feaa9765b7e75ba7226f4306",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DatasetSeries/good/good-accrual-periodicity.json"+ },+ {+ "file": "examples/DatasetSeries/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "8c5f3629dca3e110808c83891390139f0b7e6fd38a33e6824532ac3cfe7d7e24",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DatasetSeries/good/minimal_example.json"+ },+ {+ "file": "examples/DatasetSeries/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "abf5aba1d3e56af0a70dc7058ad9917f0207a208e594880525db423edf24b157",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DatasetSeries/good/null_example.json"+ },+ {+ "file": "examples/DatasetSeries/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "c40e29cf00e0446ad91b05300481db960daa85596d82df1353e6534a0477f3d3",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/DatasetSeries/good/typical_example.json"+ },+ {+ "file": "examples/Distribution/bad/invalid_byteSize_type.json",+ "retrieved": "2026-08-25",+ "sha256": "48ded7cb678ab7ecef4a6394eb9c37d2c3efa6826e42f63f8e909913e6980944",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Distribution/bad/invalid_byteSize_type.json"+ },+ {+ "file": "examples/Distribution/bad/invalid_url_format.json",+ "retrieved": "2026-08-25",+ "sha256": "db3ee508c01c389d0db49dcb1561c1b28720e5bece587c762a49ffabd2109f08",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Distribution/bad/invalid_url_format.json"+ },+ {+ "file": "examples/Distribution/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "396b43d56fb655bd5958af4da33a107cd19eeea0962d923d1a59aec9c965ca9a",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Distribution/good/complete_example.json"+ },+ {+ "file": "examples/Distribution/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Distribution/good/minimal_example.json"+ },+ {+ "file": "examples/Distribution/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "7a96e246a4239e54aef0df918112202e39afbd4c0e9e8183c990202b80060832",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Distribution/good/null_example.json"+ },+ {+ "file": "examples/Distribution/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "584dba6c3b9e6d05d7d4b47226c389df1c320c1796bdfea7f7d0d0a5ba992b60",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Distribution/good/typical_example.json"+ },+ {+ "file": "examples/Document/bad/invalid_title_type.json",+ "retrieved": "2026-08-25",+ "sha256": "55f8a8124ff7b2b9967e6a0147d08aa6c6c3c8941d184616f654966f84421fec",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Document/bad/invalid_title_type.json"+ },+ {+ "file": "examples/Document/bad/missing_required_title.json",+ "retrieved": "2026-08-25",+ "sha256": "dbc16404ff53faf392b4130a3f104277b71edfe482389374737c519001949814",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Document/bad/missing_required_title.json"+ },+ {+ "file": "examples/Document/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "97beb5e2334b91916692fd538df25b49b976a215f4c0324501dbcbe0d4c212e7",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Document/good/complete_example.json"+ },+ {+ "file": "examples/Document/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "52c93c15d265175267be5e1655590b4cab6e594d15a70baf63eccf4b937bc7e8",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Document/good/minimal_example.json"+ },+ {+ "file": "examples/Document/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "22db288e2ff2fd98780b42b461681f6f90abbd1c37f05b1bc88524ba191b4616",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Document/good/null_example.json"+ },+ {+ "file": "examples/Document/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "a0ecec9222918e138dd9bc2925ea723bd44f96dc5dacd70d70fa9ed5b3dd56a2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Document/good/typical_example.json"+ },+ {+ "file": "examples/Identifier/bad/invalid_issued_format.json",+ "retrieved": "2026-08-25",+ "sha256": "3df54eb68fb66984207d57b5d5413c7ab4e370cf6800dafa4ba78b1a7ed4f55b",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Identifier/bad/invalid_issued_format.json"+ },+ {+ "file": "examples/Identifier/bad/invalid_notation_type.json",+ "retrieved": "2026-08-25",+ "sha256": "c4a8efe7525ea4c9f6417ce05fcf80d6b31c25ea90b544a1314b1c4dee4a9684",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Identifier/bad/invalid_notation_type.json"+ },+ {+ "file": "examples/Identifier/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "418e34494dd220c8e6eb953bc70c6c5b2bd78dbe58bfc2be0209bb47312e5b8f",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Identifier/good/complete_example.json"+ },+ {+ "file": "examples/Identifier/good/minimal_object_example.json",+ "retrieved": "2026-08-25",+ "sha256": "ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Identifier/good/minimal_object_example.json"+ },+ {+ "file": "examples/Identifier/good/minimal_string_example.json",+ "retrieved": "2026-08-25",+ "sha256": "e6db8c0f11086675e8d2e1e7a96f79ce270a4d6e6afa5e2868d09bec0647a324",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Identifier/good/minimal_string_example.json"+ },+ {+ "file": "examples/Identifier/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "b839a2f3426684c218b0a1fa9bcd5813a49d61280f694da55d9c18a2a7e8eeb4",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Identifier/good/null_example.json"+ },+ {+ "file": "examples/Identifier/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "7c9de1fbb42a40d5d2a0587ef3774bb20b12e9e1e8c3ed8452a965ca104b1085",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Identifier/good/typical_example.json"+ },+ {+ "file": "examples/Kind/bad/invalid_hasEmail_format.json",+ "retrieved": "2026-08-25",+ "sha256": "8abd8e4ba718eb1594457399418fb6a0fa8452126ea718914c01b957a3d940e6",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Kind/bad/invalid_hasEmail_format.json"+ },+ {+ "file": "examples/Kind/bad/missing_required_fn.json",+ "retrieved": "2026-08-25",+ "sha256": "cf02d2470b8de00844d03a3188395eed02567b1f74f3451e80de0ad4793cef68",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Kind/bad/missing_required_fn.json"+ },+ {+ "file": "examples/Kind/bad/missing_required_hasEmail.json",+ "retrieved": "2026-08-25",+ "sha256": "9cf616488eab39388b3dcaa80273831c782483b01049393694c84b8a7558a107",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Kind/bad/missing_required_hasEmail.json"+ },+ {+ "file": "examples/Kind/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "77989a97aa5e7f039d80ad070253b667dc1d5efaeecf1fc65a44a07cf9987478",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Kind/good/complete_example.json"+ },+ {+ "file": "examples/Kind/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "4fb98ef089f018bdf99bf611ab7872326265779cb49bae54b1f59446f7a0b3d0",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Kind/good/minimal_example.json"+ },+ {+ "file": "examples/Kind/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "bd8a5f19c2f46280aefc49772e98ffa3ad84a9b7533184c375f52c93cbc5c790",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Kind/good/null_example.json"+ },+ {+ "file": "examples/Kind/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "36eef0d8ad8008ab0aa06527ace0a0524b7e4aa13d0d78260c971ba8435f2497",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Kind/good/typical_example.json"+ },+ {+ "file": "examples/Location/bad/invalid_bbox_type.json",+ "retrieved": "2026-08-25",+ "sha256": "4495691939bedb61d1819b7d6b1cd775378421b146c2ad421d604a3ff8d8c55b",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/bad/invalid_bbox_type.json"+ },+ {+ "file": "examples/Location/bad/invalid_centroid_coordinates.json",+ "retrieved": "2026-08-25",+ "sha256": "39f5828d94d222d1cb17acfce6e919a66e7caf065c61de98e004586aa58d1b5e",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/bad/invalid_centroid_coordinates.json"+ },+ {+ "file": "examples/Location/bad/invalid_centroid_type.json",+ "retrieved": "2026-08-25",+ "sha256": "7f31d9d0d534d333406a96dfcf9a1b05fe794b2da1a7d50350830e32e0a8c69b",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/bad/invalid_centroid_type.json"+ },+ {+ "file": "examples/Location/bad/invalid_geojson_bbox_missing_type.json",+ "retrieved": "2026-08-25",+ "sha256": "77be2dc36d06b12cfb8ef4249ff123c16cbc1a4be35243c97d9246167f4b5f1a",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/bad/invalid_geojson_bbox_missing_type.json"+ },+ {+ "file": "examples/Location/bad/invalid_geojson_bbox_wrong_type.json",+ "retrieved": "2026-08-25",+ "sha256": "91731e03f9c25440bfa767798633d362496807c240a7acb40a14dc6c841bf5e1",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/bad/invalid_geojson_bbox_wrong_type.json"+ },+ {+ "file": "examples/Location/bad/invalid_prefLabel_type.json",+ "retrieved": "2026-08-25",+ "sha256": "6517dd6555f4ba876f949b7d30578b846641ecaad85f3cecb3910b9ca8df6eb0",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/bad/invalid_prefLabel_type.json"+ },+ {+ "file": "examples/Location/good/bbox_geojson.json",+ "retrieved": "2026-08-25",+ "sha256": "62cf4749f9d4d1c971b18050fc6d31959347c8a96561b12e32adc30656085970",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/good/bbox_geojson.json"+ },+ {+ "file": "examples/Location/good/bbox_wkt.json",+ "retrieved": "2026-08-25",+ "sha256": "9925b8bbcb10d07f7fbf2c2ac546b5d0489bf690b3b22d72a2750d8f5e1dc3b0",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/good/bbox_wkt.json"+ },+ {+ "file": "examples/Location/good/centroid_geojson.json",+ "retrieved": "2026-08-25",+ "sha256": "df3aefbe45f316aa1f13df5449f26226223d3a4482639bf393d1c416ff574a67",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/good/centroid_geojson.json"+ },+ {+ "file": "examples/Location/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "5f86b8b3a1733ee42d18453180fb33c684e70051c8fe4ac702b7d24cd43e7edd",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/good/complete_example.json"+ },+ {+ "file": "examples/Location/good/geometry_geojson.json",+ "retrieved": "2026-08-25",+ "sha256": "26d045df23ec8b7399e238c0c344e4b71723bfda86783719a74c5e1c48321e58",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/good/geometry_geojson.json"+ },+ {+ "file": "examples/Location/good/identifier_iri_reference.json",+ "retrieved": "2026-08-25",+ "sha256": "d99085a89f3f62f4222e0f89b8db94263ea0044f574a03131f862735a3d9841f",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/good/identifier_iri_reference.json"+ },+ {+ "file": "examples/Location/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "2f9c6d34cf4b3aaf0cda4cb529f471ff9f8e1a65a635b26ecab816d1db658d30",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/good/minimal_example.json"+ },+ {+ "file": "examples/Location/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "cffab461018459d8f21405d3fb69d19e532a034a2f30fb4284585d7adbb8f1a2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/good/null_example.json"+ },+ {+ "file": "examples/Location/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "ec08dc1364a9b4b7839b3dd30e096b114ccd2dd8af0edf223f65e199251831c9",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Location/good/typical_example.json"+ },+ {+ "file": "examples/Metric/bad/invalid_expectedDataType_type.json",+ "retrieved": "2026-08-25",+ "sha256": "1d8d9176ae931d14da8cbc466c01a96d7f9585a185ca6864e6719cf2a731f726",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Metric/bad/invalid_expectedDataType_type.json"+ },+ {+ "file": "examples/Metric/bad/missing_expectedDataType.json",+ "retrieved": "2026-08-25",+ "sha256": "9f6972c5cff24ac7a0dbd88996cb43d4bc827cbbf9e06393f7da517e0e5393bf",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Metric/bad/missing_expectedDataType.json"+ },+ {+ "file": "examples/Metric/bad/missing_inDimension.json",+ "retrieved": "2026-08-25",+ "sha256": "6a3a824fbbad2cfa97427545a393ec71111ebcc12c8c3a6f9c3dd0e12e2f8613",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Metric/bad/missing_inDimension.json"+ },+ {+ "file": "examples/Metric/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "536f762aac49f583e84f91f7c298565646ac258ae6fb50317d9f364803a574f2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Metric/good/complete_example.json"+ },+ {+ "file": "examples/Metric/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "ab5043ce99a00816f34fc254aba05810b23932381351d0ea1d3cd9b9a418e97a",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Metric/good/minimal_example.json"+ },+ {+ "file": "examples/Metric/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "558e09909d115a1212d72af05f3daacb23b5a9daf0ac9738c785be151bc265cd",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Metric/good/null_example.json"+ },+ {+ "file": "examples/Metric/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "dfacfec20ea402ccfa46fc57628fd3451af5debecc52a6e980e21a0364290797",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Metric/good/typical_example.json"+ },+ {+ "file": "examples/Organization/bad/invalid_name_type.json",+ "retrieved": "2026-08-25",+ "sha256": "415047f433c74492a4e7fda0fa4641bc0d4298f3cc1b23d4e4eee4e0bc58d02f",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Organization/bad/invalid_name_type.json"+ },+ {+ "file": "examples/Organization/bad/missing_name.json",+ "retrieved": "2026-08-25",+ "sha256": "c630399022c818b56363012886959228044cd916b039d2e6af3a70df076be68a",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Organization/bad/missing_name.json"+ },+ {+ "file": "examples/Organization/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "147ade83a134a8e70694a997498571cec94b9e3f4bbd40238308a053a30f6e20",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Organization/good/complete_example.json"+ },+ {+ "file": "examples/Organization/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "8830b76e4f34b33c7fe6d74afc0dee189ad931fd3f4ee16635b7064db0f7a13a",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Organization/good/minimal_example.json"+ },+ {+ "file": "examples/Organization/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "2a2f5a10ef76968ddb45bfdef411f035fa1ab0455b8e8d193f50950180aded60",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Organization/good/null_example.json"+ },+ {+ "file": "examples/Organization/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "7f37a1eda5042ee0aee5fdefa858d0546def92a3b6617a0b474f966066c90101",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Organization/good/typical_example.json"+ },+ {+ "file": "examples/PeriodOfTime/bad/invalid_date_format.json",+ "retrieved": "2026-08-25",+ "sha256": "49f48cd36f1fb2857e989049ec71a9c642bfa42b894de38847527346c971e71e",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/PeriodOfTime/bad/invalid_date_format.json"+ },+ {+ "file": "examples/PeriodOfTime/bad/invalid_date_type.json",+ "retrieved": "2026-08-25",+ "sha256": "bf924a121e0b66d7dc68615830b51acb404cca441d879cf8d32bcedfdf3be8d2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/PeriodOfTime/bad/invalid_date_type.json"+ },+ {+ "file": "examples/PeriodOfTime/bad/missing_date.json",+ "retrieved": "2026-08-25",+ "sha256": "a6f3c0e6e0817dc97636f468a2bce6dddc336076e58aa3da9588dd2d6b7081b8",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/PeriodOfTime/bad/missing_date.json"+ },+ {+ "file": "examples/PeriodOfTime/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "415d253481b6ee79b38d3959be25d4c0fd4a00c4cb15123f6c058c1dc88a3aa2",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/PeriodOfTime/good/complete_example.json"+ },+ {+ "file": "examples/PeriodOfTime/good/minimal_example_end_date_only.json",+ "retrieved": "2026-08-25",+ "sha256": "16d6fe94b82a9a8c43312977e5d754c4978e185c4ef94ee0780755e25586a29f",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/PeriodOfTime/good/minimal_example_end_date_only.json"+ },+ {+ "file": "examples/PeriodOfTime/good/minimal_example_start_date_only.json",+ "retrieved": "2026-08-25",+ "sha256": "d989c145abea5d2ad808abca289cfea67429f1faaef3ac11570bf7be34c100e9",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/PeriodOfTime/good/minimal_example_start_date_only.json"+ },+ {+ "file": "examples/PeriodOfTime/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "3499b1cdd5cd0c0fba83b0ea7744ac8a3709b79651f057371d2b4f1a58b98252",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/PeriodOfTime/good/null_example.json"+ },+ {+ "file": "examples/PeriodOfTime/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "77b3cb8edbf87b8f60971f55dd67923ca8e8a0013d8cd5460fef586b943252a1",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/PeriodOfTime/good/typical_example.json"+ },+ {+ "file": "examples/PeriodOfTime/good/year_month_example.json",+ "retrieved": "2026-08-25",+ "sha256": "7b559520ce9446bfe6ec7a32bd1f25aed04b788e8bf87d11d533c5b0f8de7bb5",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/PeriodOfTime/good/year_month_example.json"+ },+ {+ "file": "examples/PeriodOfTime/good/year_only_example.json",+ "retrieved": "2026-08-25",+ "sha256": "acef379c5eb6b3df2cda8484ef8ce78aa23ed50113a6bb7c49d31b9601b92f82",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/PeriodOfTime/good/year_only_example.json"+ },+ {+ "file": "examples/QualityMeasurement/bad/invalid_value_type.json",+ "retrieved": "2026-08-25",+ "sha256": "f55127a4a0167bdeb0703805dc148ca6347b0c264f75927bf908dbd5675ea6f8",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/QualityMeasurement/bad/invalid_value_type.json"+ },+ {+ "file": "examples/QualityMeasurement/bad/missing_required_isMeasurementOf.json",+ "retrieved": "2026-08-25",+ "sha256": "b49cf3f73f19a8cb1fbf3da58c8d5925988d81058e8b938e251d8d03cdd22567",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/QualityMeasurement/bad/missing_required_isMeasurementOf.json"+ },+ {+ "file": "examples/QualityMeasurement/bad/missing_required_value.json",+ "retrieved": "2026-08-25",+ "sha256": "b4e674f9598804723db5408e5c793a474597bb250bfe373ff0f988bed1d79689",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/QualityMeasurement/bad/missing_required_value.json"+ },+ {+ "file": "examples/QualityMeasurement/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "8dec14d57cd05087e92d629297791e705d08d8bab7e7d30cf34b95e40eb40e9d",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/QualityMeasurement/good/complete_example.json"+ },+ {+ "file": "examples/QualityMeasurement/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "b649fde0ef36c5b1342d8ff19926ed2c885944c38d906d0578a3419bfc7557f3",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/QualityMeasurement/good/minimal_example.json"+ },+ {+ "file": "examples/QualityMeasurement/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "03a7d665ecb35901e4db4097a71c0b4cc3508219ae72787648ff437736e82039",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/QualityMeasurement/good/null_example.json"+ },+ {+ "file": "examples/QualityMeasurement/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "026b44b60917e65dabf83ed8bf005283dde4f24bdaaa49ebaff60556ec5cd0fd",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/QualityMeasurement/good/typical_example.json"+ },+ {+ "file": "examples/Relationship/bad/invalid_hadRole_type.json",+ "retrieved": "2026-08-25",+ "sha256": "f754754254e9baf163ee5f46b91975b0345f27bebc62fc7d4c11747a58607de5",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Relationship/bad/invalid_hadRole_type.json"+ },+ {+ "file": "examples/Relationship/bad/missing_hadRole.json",+ "retrieved": "2026-08-25",+ "sha256": "d23bb47a2fada45cc34b8aa69500bf75d08297e1fc1a844037ebf7dcc8f30fbc",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Relationship/bad/missing_hadRole.json"+ },+ {+ "file": "examples/Relationship/bad/missing_relation.json",+ "retrieved": "2026-08-25",+ "sha256": "33ac455abdeaf86a5e7857672e82fa3b6fc2bb8ac650449db6e2a75072422e95",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Relationship/bad/missing_relation.json"+ },+ {+ "file": "examples/Relationship/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "d0326ecd5d2238df799bd05d7aa3c7319acc29d97963392ce7a1f6d3d90f8cc7",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Relationship/good/complete_example.json"+ },+ {+ "file": "examples/Relationship/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "9c7c053195bda65bca0ab088e26a32e1ec0cd31374467997db6908e9b389c5e1",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Relationship/good/minimal_example.json"+ },+ {+ "file": "examples/Relationship/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "5aed5b92cd66bce215212a64db0d40e85742b6fc6a5f094e0b8a0c0e926c9f80",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Relationship/good/null_example.json"+ },+ {+ "file": "examples/Relationship/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "87ad227a63ad2be80f662d41a92f7ba001ec22ac037122065eb62c015271872c",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Relationship/good/typical_example.json"+ },+ {+ "file": "examples/Standard/bad/invalid_issued_format.json",+ "retrieved": "2026-08-25",+ "sha256": "fa9304010ff31aff61d79ec81ea888285c255b1d4945d6550fcadcf33c9da493",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Standard/bad/invalid_issued_format.json"+ },+ {+ "file": "examples/Standard/bad/invalid_title_type.json",+ "retrieved": "2026-08-25",+ "sha256": "b86bab1597c25f542b40b19a734b61b1bc08f57594fbedf117400a9f314928c5",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Standard/bad/invalid_title_type.json"+ },+ {+ "file": "examples/Standard/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "ef416c060e77965e5b9f68fb571b037f350fbfa66cea0288923cb9cfc3b33363",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Standard/good/complete_example.json"+ },+ {+ "file": "examples/Standard/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Standard/good/minimal_example.json"+ },+ {+ "file": "examples/Standard/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "e71e37f2388351cfc803cc3da8e27a52058d1f69b5417d4b28b11933dcbb53d1",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Standard/good/null_example.json"+ },+ {+ "file": "examples/Standard/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "885f1bc432c50446b436c5cd5979c63492db14a80fc9377ffae83142d612c3d7",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/Standard/good/typical_example.json"+ },+ {+ "file": "examples/UseRestriction/bad/invalid_restrictionStatus_type.json",+ "retrieved": "2026-08-25",+ "sha256": "b027fa43350b433dcf1fc8cd0c59c6139834a8e88767afe502041016ad335389",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/UseRestriction/bad/invalid_restrictionStatus_type.json"+ },+ {+ "file": "examples/UseRestriction/bad/missing_required_restrictionStatus.json",+ "retrieved": "2026-08-25",+ "sha256": "63a8ffbd9ed048fe5b73fe16f05e31a8a5671ce2fc0105bfc655107598df3f79",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/UseRestriction/bad/missing_required_restrictionStatus.json"+ },+ {+ "file": "examples/UseRestriction/good/complete_example.json",+ "retrieved": "2026-08-25",+ "sha256": "9ed5ef4d33dfad78523d7cad4fff737b3500e2c1828adde7ca5cb12825acc700",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/UseRestriction/good/complete_example.json"+ },+ {+ "file": "examples/UseRestriction/good/minimal_example.json",+ "retrieved": "2026-08-25",+ "sha256": "195f063528470ee20691b505103ff47630724330801a5f21bc4b7c3e223784b8",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/UseRestriction/good/minimal_example.json"+ },+ {+ "file": "examples/UseRestriction/good/null_example.json",+ "retrieved": "2026-08-25",+ "sha256": "d08a329cb9488dd50c977b5a26b0b79577ca4a3d499e202d75a58737e672cc30",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/UseRestriction/good/null_example.json"+ },+ {+ "file": "examples/UseRestriction/good/typical_example.json",+ "retrieved": "2026-08-25",+ "sha256": "899c51bbd842800a2da73fef692d2400a67dec9600e6c941f2a2363f182edad9",+ "source_url": "https://raw.githubusercontent.com/GSA/dcat-us/7a6e803fb94ee9903e7e7405ec4afcc8da13383f/jsonschema/examples/UseRestriction/good/typical_example.json"+ }+]diff --git a/demo/corpus/dcat-us/jsonschema/definitions/AccessRestriction.json b/demo/corpus/dcat-us/jsonschema/definitions/AccessRestriction.jsonnew file mode 100644index 00000000..9e428790--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/AccessRestriction.json@@ -0,0 +1,75 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/accessrestriction",+ "title": "AccessRestriction",+ "description": "Rules or indicators that describe who can access a resource",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri"+ },+ "@type": {+ "type": "string",+ "default": "AccessRestriction"+ },+ "restrictionNote": {+ "title": "restriction note",+ "description": "A note related to the access restriction",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat-us:restrictionNote",+ "range": "rdfs:Literal"+ },+ "examples": ["Access restricted to authorized personnel only."],+ "requirementLevel": "Optional"+ },+ "restrictionStatus": {+ "title": "restriction status",+ "description": "The indication of whether or not there are access restrictions on the item, consider using a controlled vocabulary such as https://www.archives.gov/research/catalog/lcdrg/authority-lists/access-restriction-status",+ "$ref": "/dcat-us/3.0.0/definitions/concept",+ "_oldDocs": {+ "uri": "dcat-us:restrictionStatus",+ "range": "skos:Concept"+ },+ "examples": ["Restricted - Fully", "Unrestricted"],+ "requirementLevel": "Mandatory"+ },+ "specificRestriction": {+ "title": "specific restriction",+ "description": "Authority, code list entry, or policy reference that defines the specific access restriction; consider using a controlled vocabulary such as the NARA https://www.archives.gov/research/catalog/lcdrg/authority-lists/specific-access-restriction",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/concept",+ "description": "inline description of the specific restriction"+ }+ ],+ "_oldDocs": {+ "uri": "dcat-us:specificRestriction",+ "range": "skos:Concept"+ },+ "examples": [+ "CRCCRCA 4(1)(A)",+ "PRMPA - National Security Classified (B)"+ ],+ "requirementLevel": "Recommended"+ }+ },+ "required": ["restrictionStatus"],+ "_oldDocs": {+ "rdfClass": "dcat-us:AccessRestriction",+ "rationale": "The \"AccessRestriction\" class in the DCAT-US application profile is essential for categorizing and managing access restrictions according to NARA standards, ensuring responsible access to sensitive historical records. It enhances transparency, aiding researchers and authorized users in understanding and navigating access parameters for archived materials."+ },+ "examples": [+ {+ "@type": "AccessRestriction",+ "restrictionStatus": "Restricted - Fully",+ "specificRestriction": "PRMPA - National Security Classified (B)",+ "restrictionNote": "Access restricted to authorized personnel only."+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Activity.json b/demo/corpus/dcat-us/jsonschema/definitions/Activity.jsonnew file mode 100644index 00000000..82095b74--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Activity.json@@ -0,0 +1,54 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/activity",+ "title": "Activity",+ "description": "An activity related to creating, changing, or using a resource",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/activities/data-processing-001"]+ },+ "@type": {+ "type": "string",+ "default": "Activity"+ },+ "category": {+ "title": "category",+ "description": "List of categories for the Activity",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "_oldDocs": {+ "uri": "dcterms:type",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "label": {+ "title": "label",+ "description": "A human-readable label for the activity",+ "type": "string",+ "_oldDocs": {+ "uri": "rdfs:label",+ "range": "xsd:string"+ },+ "examples": ["Data Collection", "Data Processing and Quality Assurance"],+ "requirementLevel": "Mandatory"+ }+ },+ "required": ["label"],+ "_oldDocs": {+ "rdfClass": "prov:Activity",+ "rationale": "Integrating prov:Activity into the DCAT-US schema offers a streamlined, generic class to represent a myriad of operations, such as initiatives, projects, and ongoing activities, without the complexity of managing numerous specialized classes. This inclusion not only simplifies the representation of varied activities under a unified semantic framework but also enhances data provenance tracking and interoperability across diverse systems and domains. Consequently, it provides a flexible, future-proof approach to accommodate evolving types of activities without necessitating continual schema modifications."+ },+ "examples": [+ {+ "@type": "Activity",+ "label": "Data Collection",+ "category": ["https://example.gov/concepts/data-collection"]+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Address.json b/demo/corpus/dcat-us/jsonschema/definitions/Address.jsonnew file mode 100644index 00000000..2aed20e5--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Address.json@@ -0,0 +1,88 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/address",+ "title": "Address",+ "description": "A single physical address",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/addresses/hq-001"]+ },+ "@type": {+ "type": "string",+ "default": "Address"+ },+ "country-name": {+ "title": "country",+ "description": "The country of the Address",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "vcard:country-name",+ "range": "rdfs:Literal"+ },+ "examples": ["United States"],+ "requirementLevel": "Recommended"+ },+ "locality": {+ "title": "locality",+ "description": "The city of the Address",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "vcard:locality",+ "range": "rdfs:Literal"+ },+ "examples": ["Asheville", "Washington"],+ "requirementLevel": "Recommended"+ },+ "postal-code": {+ "title": "postal code",+ "description": "The postal code of the Address",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "vcard:postal-code",+ "range": "rdfs:Literal"+ },+ "examples": ["28801", "20230"],+ "requirementLevel": "Recommended"+ },+ "region": {+ "title": "administrative area",+ "description": "The administrative area of the Address. Depending on the country, this corresponds to a province, a county, a region, or a state",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "vcard:region",+ "range": "rdfs:Literal"+ },+ "examples": ["NC", "DC"],+ "requirementLevel": "Recommended"+ },+ "street-address": {+ "title": "street address",+ "description": "The street name and civic number of an Address",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "vcard:street-address",+ "range": "rdfs:Literal"+ },+ "examples": ["151 Patton Avenue", "1401 Constitution Ave NW"],+ "requirementLevel": "Recommended"+ }+ },+ "required": [],+ "_oldDocs": {+ "rdfClass": "locn:Address",+ "rationale": "Incorporating locn:Address from the W3C Location ontology [[LOCN]] into DCAT-US provides a standardized, structured, and extensible format to represent physical addresses, facilitating consistent, interoperable, and precise sharing of location information across various datasets and digital platforms."+ },+ "examples": [+ {+ "@type": "Address",+ "street-address": "151 Patton Avenue",+ "locality": "Asheville",+ "region": "NC",+ "postal-code": "28801",+ "country-name": "United States"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Agent.json b/demo/corpus/dcat-us/jsonschema/definitions/Agent.jsonnew file mode 100644index 00000000..1738e730--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Agent.json@@ -0,0 +1,53 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/agent",+ "title": "Agent",+ "description": "A person, organization, software agent, or other entity involved with a resource",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/agents/data-steward-001"]+ },+ "@type": {+ "type": "string",+ "default": "Agent"+ },+ "category": {+ "title": "category",+ "description": "The type of the agent that makes the item available",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "requirementLevel": "Optional"+ },+ "name": {+ "title": "name",+ "description": "The name of the agent",+ "type": "string",+ "_oldDocs": {+ "uri": "foaf:name",+ "range": "xsd:string"+ },+ "examples": [+ "National Climate Data Center",+ "U.S. Department of Commerce Data Stewardship Office"+ ],+ "requirementLevel": "Mandatory"+ }+ },+ "required": ["name"],+ "_oldDocs": {+ "rdfClass": "foaf:Agent",+ "rationale": "The addition of the foaf:Agent class in DCAT-US 3.0 serves a dual purpose. Firstly, it allows for the representation of software agents, aligning with modern data automation needs. Secondly, it acts as an abstract class for both foaf:Person and org:Organization, promoting consistency and interoperability while simplifying resource descriptions within the dataset catalog."+ },+ "examples": [+ {+ "@type": "Agent",+ "name": "National Climate Data Center",+ "category": ["https://example.gov/concepts/federal-agency"]+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Attribution.json b/demo/corpus/dcat-us/jsonschema/definitions/Attribution.jsonnew file mode 100644index 00000000..d1edb1fc--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Attribution.json@@ -0,0 +1,53 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/attribution",+ "title": "Attribution",+ "description": "A responsibility that an agent has for a resource",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/attributions/dataset-steward-001"]+ },+ "@type": {+ "type": "string",+ "default": "Attribution"+ },+ "hadRole": {+ "title": "role",+ "description": "The function of an entity or agent with respect to another entity or resource",+ "type": "string",+ "_oldDocs": {+ "uri": "dcat:hadRole",+ "range": "dcat:Role"+ },+ "examples": ["Data Steward"],+ "requirementLevel": "Mandatory"+ },+ "agent": {+ "title": "agent",+ "description": "The agent that plays a role in the resource",+ "$ref": "/dcat-us/3.0.0/definitions/agent",+ "_oldDocs": {+ "uri": "prov:agent",+ "range": "foaf:Agent"+ },+ "requirementLevel": "Mandatory"+ }+ },+ "required": ["hadRole", "agent"],+ "_oldDocs": {+ "rdfClass": "prov:Attribution",+ "rationale": "The inclusion of prov:Attribution in the DCAT profile enables clear data source attribution, promoting responsible data sharing and proper citation practices. It aligns the profile with data provenance best practices for accurate attribution in data sharing."+ },+ "examples": [+ {+ "@type": "Attribution",+ "hadRole": "Data Steward",+ "agent": {+ "name": "Environmental Data Management Office"+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/CUIRestriction.json b/demo/corpus/dcat-us/jsonschema/definitions/CUIRestriction.jsonnew file mode 100644index 00000000..e2ac035f--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/CUIRestriction.json@@ -0,0 +1,70 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/cuirestriction",+ "title": "CUIRestriction",+ "description": "Information describing Controlled Unclassified Information (CUI) restrictions for a resource",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/cui-restrictions/dataset-001"]+ },+ "@type": {+ "type": "string",+ "default": "CUIRestriction"+ },+ "cuiBannerMarking": {+ "title": "CUI banner marking",+ "description": "CUI (Controlled Unclassified Information) banner marking is required for any unclassified information that is deemed sensitive and requires protection; see information at https://www.archives.gov/cui/registry/category-marking-list",+ "type": "string",+ "_oldDocs": {+ "uri": "dcat-us:cuiBannerMarking",+ "range": "xsd:string"+ },+ "examples": ["CUI//SP-CTI", "CUI//SP-PRVCY//SP-LEGAL"],+ "requirementLevel": "Mandatory"+ },+ "designationIndicator": {+ "title": "CUI designation indicator",+ "description": "Agency that designated the information as CUI; include at least \"Controlled by:\" and, when possible, contact information",+ "type": "string",+ "_oldDocs": {+ "uri": "dcat-us:designationIndicator",+ "range": "xsd:string"+ },+ "examples": [+ "Controlled by: Agency XYZ",+ "Controlled by: DOC; POC: Jane Smith, mailto:[email protected], XXX-XXX-XXXX"+ ],+ "requirementLevel": "Mandatory"+ },+ "requiredIndicatorPerAuthority": {+ "title": "required indicator per authority",+ "description": "List of free-text required indicators from the applicable authority (for example, category descriptions or distribution statements)",+ "type": ["null", "array"],+ "items": {+ "title": "Indicator string",+ "type": "string"+ },+ "_oldDocs": {+ "uri": "dcat-us:requiredIndicatorPerAuthority",+ "range": "xsd:string"+ },+ "examples": [["Privacy Act of 1974", "Federal Records Act"]],+ "requirementLevel": "Optional"+ }+ },+ "required": ["cuiBannerMarking", "designationIndicator"],+ "_oldDocs": {+ "rdfClass": "dcat-us:CuiRestriction",+ "rationale": "The introduction of the dcat-us:CuiRestriction class in DCAT-US 3.0 is driven by the need for compliance with National Archives and Records Administration (NARA) guidelines regarding Controlled Unclassified Information (CUI). This addition ensures that DCAT-US aligns with NARA's standards, promotes transparency, facilitates compliance audits, and supports efficient resource management. Ultimately, it enhances data interoperability and security within the government data ecosystem."+ },+ "examples": [+ {+ "@type": "CUIRestriction",+ "cuiBannerMarking": "CUI//SP-CTI",+ "designationIndicator": "Controlled by: Agency XYZ"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Catalog.json b/demo/corpus/dcat-us/jsonschema/definitions/Catalog.jsonnew file mode 100644index 00000000..c83b339b--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Catalog.json@@ -0,0 +1,601 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/catalog",+ "title": "DCAT-US 3 Catalog",+ "description": "A curated collection of metadata about datasets, data services, or other resources",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/catalogs/federal-data-catalog"]+ },+ "@type": {+ "type": "string",+ "default": "Catalog"+ },+ "catalog": {+ "title": "Related catalogs",+ "description": "List of related catalogs that are useful in the context of this catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "#"+ },+ "_oldDocs": {+ "uri": "dcat:catalog",+ "range": "dcat:Catalog"+ },+ "requirementLevel": "Optional"+ },+ "contactPoint": {+ "title": "Contact points",+ "description": "Contact information people can use to ask questions or send feedback about the catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/kind"+ },+ "_oldDocs": {+ "uri": "dcat:contactPoint",+ "range": "vcard:Kind"+ },+ "requirementLevel": "Optional"+ },+ "dataset": {+ "title": "dataset",+ "description": "List of datasets included in the catalog. Use this together with service so the catalog is not empty.",+ "type": "array",+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/dataset"+ },+ "_oldDocs": {+ "uri": "dcat:dataset",+ "range": "dcat:Dataset"+ },+ "requirementLevel": "Mandatory"+ },+ "datasetSeries": {+ "title": "dataset series",+ "description": "List of dataset series included in the catalog.",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/datasetseries"+ },+ "requirementLevel": "Optional"+ },+ "keyword": {+ "title": "keyword/tag",+ "description": "List of keywords or tags describing the catalog",+ "type": ["null", "array"],+ "items": {+ "type": "string",+ "minLength": 1+ },+ "_oldDocs": {+ "uri": "dcat:keyword",+ "range": "rdfs:Literal"+ },+ "examples": [+ ["federal data", "government", "open data", "public records"]+ ],+ "requirementLevel": "Optional"+ },+ "record": {+ "title": "catalog record",+ "description": "A catalog record describing how a single resource (such as a dataset or data service) is registered in the catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/catalogrecord"+ },+ "_oldDocs": {+ "uri": "dcat:record",+ "range": "dcat:CatalogRecord"+ },+ "requirementLevel": "Optional"+ },+ "service": {+ "title": "service",+ "description": "List of data services included in the catalog. Use this together with dataset so the catalog is not empty.",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/dataservice"+ },+ "_oldDocs": {+ "uri": "dcat:service",+ "range": "dcat:DataService"+ },+ "requirementLevel": "Optional"+ },+ "theme": {+ "title": "theme/category",+ "description": "List of themes or categories for the catalog. A catalog can have more than one theme.",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "_oldDocs": {+ "uri": "dcat:theme",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "themeTaxonomy": {+ "title": "themes",+ "description": "Controlled vocabulary or taxonomy used to classify catalog resources, such as datasets and services",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/conceptscheme"+ },+ "_oldDocs": {+ "uri": "dcat:themeTaxonomy",+ "range": "skos:ConceptScheme"+ },+ "requirementLevel": "Recommended"+ },+ "accessRights": {+ "title": "access rights",+ "description": "Information about whether the catalog is publicly accessible, restricted, or not public",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "description": "Text description of the access rights"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:accessRights",+ "range": "dcterms:RightsStatement"+ },+ "examples": ["Public access with no restrictions"],+ "requirementLevel": "Optional"+ },+ "conformsTo": {+ "title": "schema version",+ "description": "Standard, schema, profile, or model that this catalog follows",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/standard"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:conformsTo",+ "range": "dcterms:Standard"+ },+ "requirementLevel": "Recommended"+ },+ "creator": {+ "title": "creator",+ "description": "Person or organization responsible for creating the catalog metadata",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/agent"+ },+ "_oldDocs": {+ "uri": "dcterms:creator",+ "range": "dcterms:Agent"+ },+ "requirementLevel": "Optional"+ },+ "description": {+ "title": "description",+ "description": "Plain-language summary of the catalog",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:description",+ "range": "rdfs:Literal"+ },+ "examples": [+ "A comprehensive catalog of climate and weather datasets from federal monitoring stations across the United States.",+ "A comprehensive catalog of federal government data assets spanning multiple agencies and data domains."+ ],+ "requirementLevel": "Optional"+ },+ "hasPart": {+ "title": "has part",+ "description": "List of catalogs that are contained within this catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "#"+ },+ "_oldDocs": {+ "uri": "dcterms:hasPart",+ "range": "dcat:Catalog"+ },+ "requirementLevel": "Optional"+ },+ "identifier": {+ "title": "identifier",+ "description": "Main unique identifier for the catalog, such as a URI or another persistent identifier",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/identifier",+ "description": "inline description of Identifier"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:identifier",+ "range": "rdfs:Literal"+ },+ "requirementLevel": "Optional"+ },+ "otherIdentifier": {+ "title": "other identifier",+ "description": "A list of identifiers for the Catalog besides the main identifier, e.g. the URI or other unique identifiers",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/identifier"+ },+ "requirementLevel": "Optional"+ },+ "issued": {+ "title": "release date",+ "description": "Date when the catalog was formally issued, such as its initial publication date",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:issued",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2020-01-15", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Recommended"+ },+ "language": {+ "title": "language",+ "description": "Language codes used for catalog metadata text (such as titles and descriptions), using ISO 639-1 codes like en or es",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "Language code",+ "maxLength": 2+ },+ {+ "type": "array",+ "title": "List of language codes",+ "items": {+ "title": "Language code",+ "type": "string",+ "maxLength": 2+ }+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:language",+ "range": "dcterms:LinguisticSystem"+ },+ "examples": [["en"], ["en", "es"]],+ "requirementLevel": "Recommended"+ },+ "license": {+ "title": "license",+ "description": "License that governs how the catalog can be used or reused",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "description": "Full text of the license"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:license",+ "range": "dcterms:LicenseDocument"+ },+ "examples": ["https://creativecommons.org/publicdomain/zero/1.0/"],+ "requirementLevel": "Optional"+ },+ "modified": {+ "title": "update/modification date",+ "description": "Most recent date when the catalog content changed, not just catalog-record metadata",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:modified",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2024-06-01", "2024-06-01T14:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Recommended"+ },+ "publisher": {+ "title": "publisher",+ "description": "Person or organization responsible for publishing and making the catalog available",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/agent",+ "description": "inline description of the publisher"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:publisher",+ "range": "foaf:Agent"+ },+ "requirementLevel": "Optional"+ },+ "rights": {+ "title": "rights",+ "description": "Rights statements about the catalog that are not already covered by license or accessRights, such as copyright or policy restrictions",+ "type": ["null", "array"],+ "items": {+ "type": "string",+ "description": "Full text of a statement of rights"+ },+ "_oldDocs": {+ "uri": "dcterms:rights",+ "range": "dcterms:RightsStatement"+ },+ "examples": [+ ["This catalog is maintained by the National Climate Data Center."],+ [+ "This catalog is maintained by the Federal Data Management Office.",+ "Data within this catalog may be subject to individual dataset licensing terms."+ ]+ ],+ "requirementLevel": "Recommended"+ },+ "rightsHolder": {+ "title": "rights holder",+ "description": "Organizations that hold rights in the catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/organization"+ },+ "_oldDocs": {+ "uri": "dcterms:rightsHolder",+ "range": "org:Organization"+ },+ "requirementLevel": "Optional"+ },+ "spatial": {+ "title": "spatial/geographic coverage",+ "description": "Geographic area covered by the catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/location"+ },+ "_oldDocs": {+ "uri": "dcterms:spatial",+ "range": "dcterms:Location"+ },+ "requirementLevel": "Recommended"+ },+ "subject": {+ "title": "subject",+ "description": "List of subjects of the catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "_oldDocs": {+ "uri": "dcterms:subject",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "temporal": {+ "title": "temporal coverage",+ "description": "Time periods covered by the catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/periodoftime"+ },+ "_oldDocs": {+ "uri": "dcterms:temporal",+ "range": "dcterms:PeriodOfTime"+ },+ "requirementLevel": "Optional"+ },+ "title": {+ "title": "title",+ "description": "Human-readable title of the catalog",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:title",+ "range": "rdfs:Literal"+ },+ "examples": ["National Climate Data Catalog", "Federal Data Catalog"],+ "requirementLevel": "Optional"+ },+ "category": {+ "title": "category",+ "description": "List of high-level categories for the catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "_oldDocs": {+ "uri": "dcterms:type",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "homepage": {+ "title": "homepage",+ "description": "Main public web page for the catalog, usually an HTML page",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/document",+ "description": "inline description of the home page"+ }+ ],+ "_oldDocs": {+ "uri": "foaf:homepage",+ "range": "foaf:Document"+ },+ "requirementLevel": "Recommended"+ },+ "qualifiedAttribution": {+ "title": "qualified attribution",+ "description": "List of agents with specific responsibilities for the catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/attribution"+ },+ "_oldDocs": {+ "uri": "prov:qualifiedAttribution",+ "range": "prov:Attribution"+ },+ "requirementLevel": "Optional"+ }+ },+ "required": ["dataset"],+ "_oldDocs": {+ "rdfClass": "dcat:Catalog"+ },+ "examples": [+ {+ "@type": "Catalog",+ "title": "National Climate Data Catalog",+ "description": "A comprehensive catalog of climate and weather datasets from federal monitoring stations across the United States.",+ "publisher": {+ "@type": "Agent",+ "name": "National Climate Data Center"+ },+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "dataset": [+ {+ "@type": "Dataset",+ "title": "Daily Climate Observations 2024",+ "description": "Daily temperature, precipitation, and wind measurements.",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/climate-observations-1"+ }+ ],+ "datasetSeries": [+ {+ "@id": "https://example.gov/series/annual-climate-observations",+ "@type": "DatasetSeries",+ "title": "Annual Climate Observations",+ "description": "A series of annual climate observation datasets from monitoring stations.",+ "publisher": {+ "name": "National Climate Data Center"+ },+ "seriesMember": [+ {+ "@type": "Dataset",+ "title": "Daily Climate Observations 2024",+ "description": "Daily temperature, precipitation, and wind measurements.",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/climate-observations-1"+ }+ ]+ }+ ],+ "homepage": {+ "@type": "Document",+ "title": "National Climate Data Catalog Homepage",+ "accessURL": "https://example.gov/climate-data"+ },+ "language": ["en"],+ "issued": "2020-01-15",+ "modified": "2024-06-01",+ "rights": [+ "This catalog is maintained by the National Climate Data Center."+ ],+ "spatial": [+ {+ "@type": "Location",+ "prefLabel": "United States"+ }+ ],+ "themeTaxonomy": [+ {+ "@type": "ConceptScheme",+ "title": "Climate Science Topics"+ }+ ],+ "conformsTo": {+ "@type": "Standard",+ "title": "DCAT-US 3.0"+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/CatalogRecord.json b/demo/corpus/dcat-us/jsonschema/definitions/CatalogRecord.jsonnew file mode 100644index 00000000..36f39b66--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/CatalogRecord.json@@ -0,0 +1,235 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/catalogrecord",+ "title": "CatalogRecord",+ "description": "A record in a catalog, describing the registration of a single resource",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": [+ "https://example.gov/catalog-records/climate-dataset-record-001"+ ]+ },+ "@type": {+ "type": "string",+ "default": "CatalogRecord"+ },+ "status": {+ "title": "change type",+ "description": "The status of the catalog record in the context of editorial flow of the dataset and data service descriptions",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/concept",+ "description": "inline description of status"+ }+ ],+ "_oldDocs": {+ "uri": "adms:status",+ "range": "skos:Concept"+ },+ "requirementLevel": "Recommended"+ },+ "conformsTo": {+ "title": "application profile",+ "description": "An Application Profile that the Catalog Record's metadata conforms to",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/standard",+ "description": "inline description of application profile"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:conformsTo",+ "range": "dcterms:Standard"+ },+ "requirementLevel": "Recommended"+ },+ "description": {+ "title": "Descriptions",+ "description": "A list of free-text accounts of the catalog record",+ "type": ["null", "array"],+ "items": {+ "title": "Description string",+ "type": "string"+ },+ "_oldDocs": {+ "uri": "dcterms:description",+ "range": "rdfs:Literal"+ },+ "examples": [+ [+ "This catalog record describes the registration of the Climate Data 2023 dataset.",+ "Contains metadata about when the dataset was added and last updated."+ ]+ ],+ "requirementLevel": "Optional"+ },+ "issued": {+ "title": "listing date",+ "description": "List of dates on which the catalog record was included in the catalog",+ "type": ["null", "array"],+ "items": {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ },+ "_oldDocs": {+ "uri": "dcterms:issued",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": [+ ["2024-01-15T10:30:00Z"],+ ["2024-01-15"],+ ["2024"],+ ["2024-01"]+ ],+ "requirementLevel": "Optional"+ },+ "language": {+ "title": "language",+ "description": "Language code used in catalog record metadata text, using ISO 639-1 values such as en or es, full list can be seen at https://id.loc.gov/vocabulary/iso639-1.html",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "Language code",+ "maxLength": 2+ },+ {+ "type": "array",+ "title": "Array of language codes",+ "items": {+ "title": "Language code",+ "type": "string",+ "maxLength": 2+ }+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:language",+ "range": "dcterms:LinguisticSystem"+ },+ "examples": ["en", ["en", "es"]],+ "requirementLevel": "Optional"+ },+ "modified": {+ "title": "update/modification date",+ "description": "The most recent date on which the catalog record was changed or modified",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:modified",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2024-06-15", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Mandatory"+ },+ "source": {+ "title": "source metadata",+ "description": "The original metadata that was used in creating metadata for the items in the catalog record, either a URL referencing the source metadata or a string of the source metadata itself",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:source",+ "range": "dcat:Resource"+ },+ "examples": ["Original metadata harvested from NOAA data portal"],+ "requirementLevel": "Optional"+ },+ "title": {+ "title": "title",+ "description": "A name given to the Catalog Record",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:title",+ "range": "rdfs:Literal"+ },+ "examples": [+ "Climate Data 2024 Catalog Entry",+ "Climate Data 2023 Catalog Record"+ ],+ "requirementLevel": "Optional"+ },+ "primaryTopic": {+ "title": "primary topic",+ "description": "A link to the Dataset, Data service or Catalog described in the Catalog Record",+ "type": "string",+ "_oldDocs": {+ "uri": "foaf:primaryTopic",+ "range": "dcat:Resource"+ },+ "examples": [+ "https://example.gov/datasets/climate-data-2024",+ "https://example.gov/datasets/climate-data-2023"+ ],+ "requirementLevel": "Mandatory"+ }+ },+ "required": ["modified", "primaryTopic"],+ "_oldDocs": {+ "rdfClass": "dcat:CatalogRecord",+ "rationale": "While its use is not mandatory, the incorporation of dcat:CatalogRecord into DCAT-US 3.0 holds significant value. It enables catalogs to distinguish between metadata describing datasets or services and the actual catalog entries. This differentiation proves especially advantageous for ensuring adherence to application profiles that demand specific metadata for catalog records. Furthermore, it streamlines resource lifecycle management, empowering catalogs to monitor alterations and revisions to their entries, ultimately bolstering data governance and quality assurance protocols."+ },+ "examples": [+ {+ "@type": "CatalogRecord",+ "modified": "2024-06-15",+ "primaryTopic": "https://example.gov/datasets/climate-data-2024",+ "title": "Climate Data 2024 Catalog Entry",+ "issued": ["2024-01-15"],+ "status": "published",+ "conformsTo": {+ "@type": "Standard",+ "title": "DCAT-US 3.0"+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Checksum.json b/demo/corpus/dcat-us/jsonschema/definitions/Checksum.jsonnew file mode 100644index 00000000..82a6b17a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Checksum.json@@ -0,0 +1,55 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/checksum",+ "title": "Checksum",+ "description": "A mechanism that can be used to verify that the contents of a distribution have not changed",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/checksums/dataset-001-sha256"]+ },+ "@type": {+ "type": "string",+ "default": "Checksum"+ },+ "algorithm": {+ "title": "algorithm",+ "description": "The algorithm used to produce the checksum",+ "type": "string",+ "_oldDocs": {+ "uri": "spdx:algorithm",+ "range": "spdx:ChecksumAlgorithm"+ },+ "examples": ["SHA-256"],+ "requirementLevel": "Mandatory"+ },+ "checksumValue": {+ "title": "checksum value",+ "description": "A lower case hexadecimal encoded digest value produced using a specific algorithm",+ "type": "string",+ "_oldDocs": {+ "uri": "spdx:checksumValue",+ "range": "xsd:hexBinary"+ },+ "examples": [+ "a1b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef123456",+ "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e"+ ],+ "requirementLevel": "Mandatory"+ }+ },+ "required": ["algorithm", "checksumValue"],+ "_oldDocs": {+ "rdfClass": "spdx:Checksum",+ "rationale": "Introducing the spdx:Checksum class in DCAT-US bolsters data integrity and trust by ensuring datasets remain unaltered during transfers. This standardized approach promotes consistency across catalogs, facilitates error detection, and adapts to evolving cryptographic needs, enhancing the utility of automated tools."+ },+ "examples": [+ {+ "@type": "Checksum",+ "algorithm": "SHA-256",+ "checksumValue": "a1b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef123456"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Concept.json b/demo/corpus/dcat-us/jsonschema/definitions/Concept.jsonnew file mode 100644index 00000000..0b05ba2a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Concept.json@@ -0,0 +1,138 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/concept",+ "title": "Concept",+ "description": "A controlled term or label, optionally drawn from a concept scheme",+ "anyOf": [+ {+ "type": "string",+ "title": "Concept",+ "description": "The value of the concept, expressed as a string. This is only used when the concept is not further described by the properties of the Concept object and is not linked to a concept scheme.",+ "examples": ["Environment", "Climate Science"]+ },+ {+ "type": "object",+ "examples": [+ {+ "@type": "Concept",+ "prefLabel": "Environment"+ },+ {+ "@type": "Concept",+ "prefLabel": "Climate Science",+ "definition": "The scientific study of climate patterns and change.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/science-domains",+ "@type": "ConceptScheme",+ "title": "Science Domains"+ }+ }+ ],+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/concepts/environment"]+ },+ "@type": {+ "type": "string",+ "default": "Concept"+ },+ "altLabel": {+ "title": "alternate label",+ "description": "Alternative label for a concept",+ "type": ["null", "string"],+ "examples": ["Ecology"]+ },+ "definition": {+ "title": "definition",+ "description": "Definition of the controlled vocabulary term",+ "type": ["null", "string"],+ "examples": [+ "The scientific study of climate patterns and change.",+ "The natural world, including air, water, land, plants, and animals, especially as affected by human activity."+ ]+ },+ "inScheme": {+ "title": "in scheme",+ "description": "Concept scheme defining this concept",+ "$ref": "/dcat-us/3.0.0/definitions/conceptscheme",+ "examples": [+ {+ "@id": "https://example.gov/concept-schemes/science-domains",+ "@type": "ConceptScheme",+ "title": "Science Domains"+ },+ {+ "@id": "https://example.gov/concept-schemes/data-themes",+ "@type": "ConceptScheme",+ "version": "2.0",+ "description": "DCAT-US approved themes for categorizing datasets",+ "title": "Data Themes"+ }+ ]+ },+ "notation": {+ "title": "notation",+ "description": "List of abbreviations or codes from code lists for the Concept",+ "anyOf": [+ {+ "type": "null"+ },+ {+ "type": "array",+ "items": {+ "type": "string"+ }+ }+ ],+ "examples": [["ENV", "E01", "ENVI"]]+ },+ "prefLabel": {+ "title": "preferred label",+ "description": "Preferred label for the term",+ "type": "string",+ "examples": ["Environment", "Climate Science"]+ }+ },+ "required": ["prefLabel"]+ }+ ],+ "_oldDocs": {+ "rdfClass": "skos:Concept",+ "rationale": "The inclusion of skos:Concept in DCAT-US 3.0 enhances semantic search in catalogs, enabling more accurate discovery of Catalogs, Datasets, and Data Services. It improves user experience, promotes data discoverability, and supports better resource utilization. Additionally, it aligns with international standards like SKOS, ensuring compatibility and adherence to recognized controlled vocabulary practices."+ },+ "examples": [+ "Environment",+ "Climate Science",+ {+ "@type": "Concept",+ "prefLabel": "Environment"+ },+ {+ "@type": "Concept",+ "prefLabel": "Climate Science",+ "definition": "The scientific study of climate patterns and change.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/science-domains",+ "@type": "ConceptScheme",+ "title": "Science Domains"+ }+ },+ {+ "@id": "https://example.gov/concepts/environment",+ "@type": "Concept",+ "prefLabel": "Environment",+ "altLabel": "Ecology",+ "definition": "The natural world, including air, water, land, plants, and animals, especially as affected by human activity.",+ "notation": ["ENV", "E01", "ENVI"],+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/data-themes",+ "@type": "ConceptScheme",+ "version": "2.0",+ "description": "DCAT-US approved themes for categorizing datasets",+ "title": "Data Themes"+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/ConceptScheme.json b/demo/corpus/dcat-us/jsonschema/definitions/ConceptScheme.jsonnew file mode 100644index 00000000..9a10777a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/ConceptScheme.json@@ -0,0 +1,184 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/conceptscheme",+ "title": "ConceptScheme",+ "description": "A controlled vocabulary or other list of approved terms for a concept",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/concept-schemes/data-classification"]+ },+ "@type": {+ "type": "string",+ "default": "ConceptScheme"+ },+ "version": {+ "title": "version info",+ "description": "A version number or other version designation of the concept scheme",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:version",+ "range": "xsd:string"+ },+ "examples": ["2.0.1"],+ "requirementLevel": "Optional"+ },+ "created": {+ "title": "creation date",+ "description": "The date on which the Concept Scheme was first created",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:created",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2020", "2024-01-15T10:30:00Z", "2024-01-15", "2024-01"],+ "requirementLevel": "Optional"+ },+ "description": {+ "title": "description",+ "description": "A description of the concept scheme",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:description",+ "range": "rdfs:Literal"+ },+ "examples": [+ "A classification scheme for scientific research domains.",+ "A controlled vocabulary for classifying federal government data assets by sensitivity and access requirements."+ ],+ "requirementLevel": "Recommended"+ },+ "issued": {+ "title": "publication date",+ "description": "The date of formal issuance (e.g., publication) of the concept scheme",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:issued",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2020-01-01", "2020", "2024-01-15T10:30:00Z", "2024-01"],+ "requirementLevel": "Optional"+ },+ "modified": {+ "title": "update/modification date",+ "description": "The most recent date at which the concept scheme was changed or modified",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:modified",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2024", "2024-01-15T10:30:00Z", "2024-01-15", "2024-01"],+ "requirementLevel": "Optional"+ },+ "title": {+ "title": "title",+ "description": "The title of the concept scheme",+ "type": "string",+ "_oldDocs": {+ "uri": "dcterms:title",+ "range": "rdfs:Literal"+ },+ "examples": ["Science Domains", "Federal Data Classification Scheme"],+ "requirementLevel": "Mandatory"+ }+ },+ "required": ["title"],+ "_oldDocs": {+ "rdfClass": "skos:ConceptScheme",+ "rationale": "The introduction of skos:ConceptScheme in DCAT-US 3.0 enhances data resource organization, categorization, and accessibility. It provides a structured framework for controlled vocabularies, aligning with FAIR Vocabulary principles for improved data interoperability and discoverability."+ },+ "examples": [+ {+ "@type": "ConceptScheme",+ "title": "Science Domains",+ "description": "A classification scheme for scientific research domains.",+ "issued": "2020-01-01"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/DataService.json b/demo/corpus/dcat-us/jsonschema/definitions/DataService.jsonnew file mode 100644index 00000000..d67fd291--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/DataService.json@@ -0,0 +1,604 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/dataservice",+ "title": "DataService",+ "description": "A service that provides access to data or data processing functions",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/data-services/climate-api-001"]+ },+ "@type": {+ "type": "string",+ "default": "DataService"+ },+ "contactPoint": {+ "title": "contact point",+ "description": "Contact information for questions about the Data Service. Include an email address that is continuously monitored",+ "type": "array",+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/kind"+ },+ "_oldDocs": {+ "uri": "dcat:contactPoint",+ "range": "vcard:Kind"+ },+ "requirementLevel": "Mandatory"+ },+ "endpointDescription": {+ "title": "endpoint description",+ "description": "List of endpoint descriptions with operations and parameters (for example, OpenAPI or similar service documentation)",+ "type": ["null", "array"],+ "items": {+ "type": "string"+ },+ "_oldDocs": {+ "uri": "dcat:endpointDescription",+ "range": "rdfs:Resource"+ },+ "examples": [+ ["https://api.example.gov/climate/v1/openapi.json"],+ ["https://api.example.gov/climate/docs/openapi.json"]+ ],+ "requirementLevel": "Recommended"+ },+ "endpointURL": {+ "title": "endpoint URL",+ "description": "A list of root locations or primary endpoints of the service (a Web-resolvable IRI)",+ "type": "array",+ "items": {+ "type": "string",+ "title": "URLs",+ "description": "The root location or primary endpoint of the service (a Web-resolvable IRI)",+ "format": "iri"+ },+ "_oldDocs": {+ "uri": "dcat:endpointURL",+ "range": "rdfs:Resource"+ },+ "examples": [+ ["https://api.example.gov/climate/v1"],+ [+ "https://api.example.gov/climate/v1",+ "https://api.example.gov/climate/v2"+ ]+ ],+ "requirementLevel": "Mandatory"+ },+ "keyword": {+ "title": "keyword/tag",+ "description": "List of keywords or tags describing the data service",+ "type": ["null", "array"],+ "items": {+ "title": "Non-empty strings",+ "type": "string",+ "minLength": 1+ },+ "_oldDocs": {+ "uri": "dcat:keyword",+ "range": "rdfs:Literal"+ },+ "examples": [+ ["climate", "weather", "API"],+ ["climate", "weather", "temperature", "API", "REST"]+ ],+ "requirementLevel": "Optional"+ },+ "servesDataset": {+ "title": "serves dataset",+ "description": "List of datasets this service provides access to",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/dataset"+ },+ "_oldDocs": {+ "uri": "dcat:servesDataset",+ "range": "dcat:Dataset"+ },+ "requirementLevel": "Recommended"+ },+ "spatialResolutionInMeters": {+ "title": "spatial resolution in meters",+ "description": "The minimum spatial separation resolvable in a Data Service, measured in meters",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:spatialResolutionInMeters",+ "range": "rdfs:Literal typed as xsd:decimal"+ },+ "examples": ["1000"],+ "requirementLevel": "Optional"+ },+ "temporalResolution": {+ "title": "temporal resolution",+ "description": "The minimum time period resolvable by the Data Service",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:temporalResolution",+ "range": "rdfs:Literal typed as xsd:duration"+ },+ "examples": ["P1D"],+ "requirementLevel": "Optional"+ },+ "theme": {+ "title": "theme/category",+ "description": "List of themes or categories for the data service",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "_oldDocs": {+ "uri": "dcat:theme",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "accessRights": {+ "title": "access rights",+ "description": "Information about whether the data service is publicly accessible, restricted, or not public",+ "anyOf": [+ {+ "type": "null"+ },+ {+ "type": "string",+ "description": "Text description of the access rights"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:accessRights",+ "range": "dcterms:RightsStatement"+ },+ "examples": ["Public access with no restrictions"],+ "requirementLevel": "Optional"+ },+ "conformsTo": {+ "title": "conforms to",+ "description": "List of general standards or specifications that the Data Service endpoints implement",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/standard"+ },+ "_oldDocs": {+ "uri": "dcterms:conformsTo",+ "range": "dcterms:Standard"+ },+ "requirementLevel": "Optional"+ },+ "created": {+ "title": "creation date",+ "description": "The date on which the Data Service was first created",+ "anyOf": [+ {+ "type": "null"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:created",+ "range": "rdfs:Literal typed as xsd:date or xsd:dateTime"+ },+ "examples": ["2020-01-15", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Optional"+ },+ "creator": {+ "title": "creator",+ "description": "List of agents primarily responsible for producing the Data Service",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/agent"+ },+ "_oldDocs": {+ "uri": "dcterms:creator",+ "range": "foaf:Agent"+ },+ "requirementLevel": "Optional"+ },+ "description": {+ "title": "description",+ "description": "Plain-language summary of the data service",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:description",+ "range": "rdfs:Literal"+ },+ "examples": [+ "A RESTful API providing access to historical and real-time climate data including temperature, precipitation, and atmospheric conditions."+ ],+ "requirementLevel": "Optional"+ },+ "identifier": {+ "title": "identifier",+ "description": "The unique identifier for the Data Service, e.g. the URI or other unique identifier in the context of the Catalog",+ "anyOf": [+ {+ "type": "null"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/identifier",+ "description": "inline description of Identifier"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:identifier",+ "range": "rdfs:Literal"+ },+ "requirementLevel": "Optional"+ },+ "otherIdentifier": {+ "title": "other identifier",+ "description": "A list of identifiers for the Data Service besides the main identifier, e.g. the URI or other unique identifiers in the context of the Catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/identifier"+ },+ "requirementLevel": "Optional"+ },+ "language": {+ "title": "language",+ "description": "ISO 639-1 language code values supported by the data service, such as en or es, full list can be seen at https://id.loc.gov/vocabulary/iso639-1.html",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "Language code",+ "maxLength": 2+ },+ {+ "type": "array",+ "title": "List of lanuages",+ "items": {+ "title": "Language code",+ "type": "string",+ "maxLength": 2+ }+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:language",+ "range": "dcterms:LinguisticSystem"+ },+ "examples": ["en", ["en", "es"]],+ "requirementLevel": "Optional"+ },+ "license": {+ "title": "license",+ "description": "License that governs how the data service can be used or reused",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "description": "Full text of the license"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:license",+ "range": "dcterms:LicenseDocument"+ },+ "examples": ["https://creativecommons.org/publicdomain/zero/1.0/"],+ "requirementLevel": "Recommended"+ },+ "modified": {+ "title": "update/modification date",+ "description": "The most recent date on which the Data Service was changed or modified",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:modified",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2024-03-20", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Optional"+ },+ "inventoried": {+ "title": "inventoried date",+ "description": "Date on which the data service was added to the catalog. This may differ from the publication/release date.",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "examples": ["2024-01-15", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Optional"+ },+ "publisher": {+ "title": "publisher",+ "description": "Person or organization responsible for publishing and making the data service available",+ "$ref": "/dcat-us/3.0.0/definitions/agent",+ "_oldDocs": {+ "uri": "dcterms:publisher",+ "range": "foaf:Agent"+ },+ "requirementLevel": "Mandatory"+ },+ "accessRestriction": {+ "title": "access restriction",+ "description": "List of access restrictions related to the data service",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/accessrestriction"+ },+ "_oldDocs": {+ "uri": "dcat-us:accessRestriction",+ "range": "dcat-us:AccessRestriction"+ },+ "requirementLevel": "Optional"+ },+ "cuiRestriction": {+ "title": "CUI restriction",+ "description": "Controlled Unclassified Information restriction related to the data service",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/cuirestriction",+ "description": "inline description of CUIRestriction"+ }+ ],+ "_oldDocs": {+ "uri": "dcat-us:cuiRestriction",+ "range": "dcat-us:CuiRestriction"+ },+ "requirementLevel": "Optional"+ },+ "useRestriction": {+ "title": "use restriction",+ "description": "List of use restrictions related to the data service",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/userestriction"+ },+ "_oldDocs": {+ "uri": "dcat-us:useRestriction",+ "range": "dcat-us:UseRestriction"+ },+ "requirementLevel": "Optional"+ },+ "rights": {+ "title": "rights",+ "description": "Rights statements not already covered by license or accessRights, such as copyright or policy restrictions",+ "type": ["null", "array"],+ "items": {+ "type": "string"+ },+ "_oldDocs": {+ "uri": "dcterms:rights",+ "range": "dcterms:RightsStatement"+ },+ "examples": [+ [+ "Data provided by the National Climate Data Center is in the public domain."+ ]+ ],+ "requirementLevel": "Optional"+ },+ "rightsHolder": {+ "title": "rights holder",+ "description": "A list of Agents (organizations) holding rights on the Data Service",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/organization"+ },+ "_oldDocs": {+ "uri": "dcterms:rightsHolder",+ "range": "org:Organization"+ },+ "requirementLevel": "Optional"+ },+ "spatial": {+ "title": "spatial/geographic coverage",+ "description": "A geographic region that is covered by the Data Service",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/location"+ },+ "_oldDocs": {+ "uri": "dcterms:spatial",+ "range": "dcterms:Location"+ },+ "requirementLevel": "Optional"+ },+ "temporal": {+ "title": "temporal coverage",+ "description": "Time periods covered by the data service",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/periodoftime"+ },+ "_oldDocs": {+ "uri": "dcterms:temporal",+ "range": "dcterms:PeriodOfTime"+ },+ "requirementLevel": "Optional"+ },+ "title": {+ "title": "title",+ "description": "Human-readable title of the data service",+ "type": "string",+ "_oldDocs": {+ "uri": "dcterms:title",+ "range": "rdfs:Literal"+ },+ "examples": ["Climate Data REST API"],+ "requirementLevel": "Mandatory"+ },+ "category": {+ "title": "category",+ "description": "List of high-level categories for the data service",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "_oldDocs": {+ "uri": "dcterms:type",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "hasQualityMeasurement": {+ "title": "quality measurement",+ "description": "Quality measurements for the data service (for example, availability, response time, or reliability)",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/qualitymeasurement"+ },+ "_oldDocs": {+ "uri": "dqv:hasQualityMeasurement",+ "range": "dqv:QualityMeasurement"+ },+ "requirementLevel": "Optional"+ },+ "qualifiedAttribution": {+ "title": "qualified attribution",+ "description": "List of agents with specific responsibilities for the data service",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/attribution"+ },+ "_oldDocs": {+ "uri": "prov:qualifiedAttribution",+ "range": "prov:Attribution"+ },+ "requirementLevel": "Optional"+ },+ "wasUsedBy": {+ "title": "was used by",+ "description": "List of activities that used or tested the data service",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/activity"+ },+ "_oldDocs": {+ "uri": "prov:wasUsedBy",+ "range": "prov:Activity"+ },+ "requirementLevel": "Optional"+ }+ },+ "required": ["contactPoint", "endpointURL", "publisher", "title"],+ "_oldDocs": {+ "rdfClass": "dcat:DataService",+ "rationale": "Introducing dcat:DataService is essential as it clarifies the representation of data services, addressing the confusion caused by using dcat:Distribution to describe services in DCAT 1. This addition promotes clear communication of service-related information, improving discoverability, and facilitating seamless integration and usage by data consumers and applications."+ },+ "examples": [+ {+ "@type": "DataService",+ "title": "Climate Data API",+ "description": "RESTful API providing access to historical climate observations.",+ "endpointURL": ["https://api.example.gov/climate/v1"],+ "endpointDescription": [+ "https://api.example.gov/climate/v1/openapi.json"+ ],+ "contactPoint": [+ {+ "fn": "API Support Team",+ "hasEmail": "mailto:[email protected]"+ }+ ],+ "publisher": {+ "name": "National Climate Data Center"+ },+ "keyword": ["climate", "weather", "API"],+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "servesDataset": [+ {+ "@id": "https://example.gov/datasets/climate-observations-2024",+ "@type": "Dataset",+ "title": "Climate Observations 2024",+ "description": "Annual climate observation data.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/climate-observations-2024"+ }+ ],+ "identifier": "https://example.gov/services/climate-api"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Dataset.json b/demo/corpus/dcat-us/jsonschema/definitions/Dataset.jsonnew file mode 100644index 00000000..8804948b--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Dataset.json@@ -0,0 +1,1149 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/dataset",+ "title": "Dataset",+ "description": "A collection of data published or curated by one provider",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": [+ "https://example.gov/datasets/national-climate-observations-2024"+ ]+ },+ "@type": {+ "type": "string",+ "default": "Dataset"+ },+ "otherIdentifier": {+ "title": "other identifier",+ "description": "Additional identifiers for the dataset besides the main identifier, such as a DOI or other persistent ID",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/identifier"+ },+ "_oldDocs": {+ "uri": "adms:identifier",+ "range": "adms:Identifier"+ },+ "requirementLevel": "Optional"+ },+ "sample": {+ "title": "sample",+ "description": "List of sample distributions for the dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/distribution"+ },+ "_oldDocs": {+ "uri": "adms:sample",+ "range": "dcat:Distribution"+ },+ "requirementLevel": "Optional"+ },+ "status": {+ "title": "lifecycle status",+ "description": "Lifecycle status of the dataset, such as completed, deprecated, under development, or withdrawn",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/concept",+ "description": "inline description of Concept"+ }+ ],+ "_oldDocs": {+ "uri": "adms:status",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "supportedSchema": {+ "title": "supported schema",+ "description": "supported schema for this dataset",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/dataset",+ "description": "inline description of the supported schema"+ }+ ],+ "requirementLevel": "Optional"+ },+ "versionNotes": {+ "title": "version notes",+ "description": "Notes describing how this version differs from earlier versions of the dataset",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "adms:versionNotes",+ "range": "rdfs:Literal"+ },+ "examples": ["Initial release of 2024 climate observations data."],+ "requirementLevel": "Optional"+ },+ "contactPoint": {+ "title": "contact point",+ "description": "A contact point for questions about the Dataset (single contact or list). Include an email address that is continuously monitored",+ "anyOf": [+ {+ "$ref": "/dcat-us/3.0.0/definitions/kind",+ "description": "inline description of Kind"+ },+ {+ "type": "array",+ "title": "List of contacts",+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/kind"+ }+ }+ ],+ "_oldDocs": {+ "uri": "dcat:contactPoint",+ "range": "vcard:Kind"+ },+ "requirementLevel": "Mandatory"+ },+ "distribution": {+ "title": "dataset distribution",+ "description": "List of available distributions for the dataset. This can be omitted when no distribution is available yet.",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/distribution"+ },+ "_oldDocs": {+ "uri": "dcat:distribution",+ "range": "dcat:Distribution"+ },+ "requirementLevel": "Recommended"+ },+ "first": {+ "title": "first",+ "description": "the first item of the sequence the dataset belongs to",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/dataset",+ "description": "inline description of Dataset"+ }+ ],+ "requirementLevel": "Optional"+ },+ "hasCurrentVersion": {+ "title": "current version",+ "description": "reference to the current (latest) version of a dataset",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/dataset",+ "description": "inline description of Dataset"+ }+ ],+ "requirementLevel": "Optional"+ },+ "hasVersion": {+ "title": "has version",+ "description": "List of related Datasets that are a version, edition, or adaptation of the described Dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/dataset"+ },+ "_oldDocs": {+ "uri": "dcat:hasVersion"+ }+ },+ "keyword": {+ "title": "keyword/tag",+ "description": "List of keywords or tags describing the dataset",+ "type": ["null", "array"],+ "items": {+ "title": "Non-empty string",+ "type": "string",+ "minLength": 1+ },+ "_oldDocs": {+ "uri": "dcat:keyword",+ "range": "rdfs:Literal"+ },+ "examples": [+ ["climate", "weather", "temperature", "precipitation"],+ [+ "climate",+ "weather",+ "temperature",+ "precipitation",+ "humidity",+ "wind",+ "meteorology"+ ]+ ],+ "requirementLevel": "Recommended"+ },+ "landingPage": {+ "title": "landing page",+ "description": "A web page from the original data provider that gives access to the Dataset, its Distributions, and related information",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/document",+ "description": "inline description of Document"+ }+ ],+ "_oldDocs": {+ "uri": "dcat:landingPage",+ "range": "foaf:Document"+ },+ "requirementLevel": "Recommended"+ },+ "previousVersion": {+ "title": "previous version",+ "description": "reference to the previous dataset version",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/dataset",+ "description": "inline description of Dataset"+ }+ ],+ "requirementLevel": "Optional"+ },+ "qualifiedRelation": {+ "title": "qualified relation",+ "description": "Detailed relationship between the dataset and another resource, including the role of that relationship",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/relationship"+ },+ "_oldDocs": {+ "uri": "dcat:qualifiedRelation",+ "range": "dcat:Relationship"+ },+ "requirementLevel": "Optional"+ },+ "spatialResolutionInMeters": {+ "title": "Spatial resolution (meters)",+ "description": "Smallest spatial distance between data points, in meters, represented as a single value",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:spatialResolutionInMeters",+ "range": "rdfs:Literal (typed as xsd:decimal)"+ },+ "examples": ["1000"],+ "requirementLevel": "Optional"+ },+ "temporalResolution": {+ "title": "temporal resolution",+ "description": "Smallest time interval between data points, using xsd:duration format (for example, P1D)",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:temporalResolution",+ "range": "rdfs:Literal (typed as xsd:duration)"+ },+ "examples": ["P1D"],+ "requirementLevel": "Optional"+ },+ "theme": {+ "title": "theme/category",+ "description": "List of themes or categories for the dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "_oldDocs": {+ "uri": "dcat:theme",+ "range": "skos:Concept"+ },+ "requirementLevel": "Recommended"+ },+ "version": {+ "title": "version",+ "description": "The version indicator (name or identifier) of a resource",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:version",+ "range": "rdfs:Literal"+ },+ "examples": ["2024.1"],+ "requirementLevel": "Optional"+ },+ "describedBy": {+ "title": "data dictionary",+ "description": "A distribution describing the Data Dictionary for this dataset",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/distribution",+ "description": "inline description of Distribution"+ }+ ],+ "_oldDocs": {+ "uri": "dcat-us:describedBy",+ "range": "dcat:Distribution"+ },+ "requirementLevel": "Recommended"+ },+ "liabilityStatement": {+ "title": "liability statement",+ "description": "A liability statement about the dataset that may clarify limitations of responsibility, qualifications on the accuracy, reliability, and completeness of the data, or absence of endorsement by the data publisher or provider, among other considerations",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "description": "Full text of the liability statement"+ }+ ],+ "_oldDocs": {+ "uri": "dcat-us:liabilityStatement",+ "range": "dcat-us:LiabilityStatement"+ },+ "examples": [+ "This dataset is provided as-is without warranty of any kind. Users are responsible for determining fitness for their intended use."+ ],+ "requirementLevel": "Optional"+ },+ "metadataDistribution": {+ "title": "metadata distribution",+ "description": "Distribution of the original metadata document this dataset was derived from",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/distribution"+ },+ "_oldDocs": {+ "uri": "dcat-us:metadataDistribution",+ "range": "dcat:Distribution"+ },+ "requirementLevel": "Optional"+ },+ "purpose": {+ "title": "purpose",+ "description": "The purpose of the dataset",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat-us:purpose",+ "range": "rdfs:Literal"+ },+ "examples": [+ "To provide comprehensive, high-quality climate observations for research, planning, and decision-making related to weather and climate."+ ],+ "requirementLevel": "Optional"+ },+ "accessRights": {+ "title": "access rights",+ "description": "Information about whether the dataset is publicly accessible, restricted, or not public",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "description": "Text description of the access rights"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:accessRights",+ "range": "dcterms:RightsStatement"+ },+ "examples": [+ "public",+ "Public access with no restrictions. Data is freely available for download and use."+ ],+ "requirementLevel": "Optional"+ },+ "accrualPeriodicity": {+ "title": "frequency",+ "description": "The frequency at which the Dataset is updated",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "description": "ISO 19115 Maintenance Frequency code",+ "enum": [+ "continual",+ "daily",+ "weekly",+ "fortnightly",+ "monthly",+ "quarterly",+ "biannually",+ "annually",+ "asNeeded",+ "irregular",+ "notPlanned",+ "unknown"+ ]+ },+ {+ "type": "string",+ "description": "ISO-8601 Maintenance Frequency code for recurring values, see https://www.iso.org/standard/70907.html",+ "pattern": "^R/P.+$"+ },+ {+ "type": "string",+ "description": "Dublin Core Collection Frequency Vocabulary, see https://www.dublincore.org/specifications/dublin-core/collection-description/frequency/#vocabulary-terms",+ "enum": [+ "continuous",+ "daily",+ "weekly",+ "biweekly",+ "monthly",+ "quarterly",+ "semiannual",+ "annual",+ "irregular",+ "triennial",+ "biennial",+ "threeTimesAYear",+ "bimonthly",+ "semimonthly",+ "threeTimesAMonth",+ "semiweekly",+ "threeTimesAWeek"+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:accrualPeriodicity",+ "range": "dcterms:Frequency"+ },+ "examples": ["daily"],+ "requirementLevel": "Optional"+ },+ "conformsTo": {+ "title": "conforms to",+ "description": "List of standards, schemas, or profiles the dataset follows",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/standard"+ },+ "_oldDocs": {+ "uri": "dcterms:conformsTo",+ "range": "dcterms:Standard"+ },+ "requirementLevel": "Optional"+ },+ "contributor": {+ "title": "contributor",+ "description": "List of agents contributing to the Dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/agent"+ },+ "_oldDocs": {+ "uri": "dcterms:contributor",+ "range": "foaf:Agent"+ },+ "requirementLevel": "Optional"+ },+ "created": {+ "title": "creation date",+ "description": "The date on which the Dataset was first created",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "examples": ["2024-01-01", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Optional"+ },+ "creator": {+ "title": "creator",+ "description": "Person or organization responsible for creating the dataset",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/agent",+ "description": "inline description of Agent"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:creator",+ "range": "foaf:Agent"+ },+ "requirementLevel": "Optional"+ },+ "description": {+ "title": "description",+ "description": "Plain-language summary of the dataset",+ "type": "string",+ "_oldDocs": {+ "uri": "dcterms:description",+ "range": "rdfs:Literal"+ },+ "examples": [+ "Daily temperature, precipitation, and wind measurements from monitoring stations across the United States.",+ "Comprehensive daily climate observations collected from monitoring stations across the United States, including temperature, precipitation, humidity, and wind measurements."+ ],+ "requirementLevel": "Mandatory"+ },+ "hasPart": {+ "title": "has part",+ "description": "List of related datasets that are part of the described dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/dataset"+ },+ "requirementLevel": "Optional"+ },+ "identifier": {+ "title": "identifier",+ "description": "The unique identifier for the Dataset, e.g. the URI or other unique identifier in the context of the Catalog",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/identifier",+ "description": "inline description of Identifier"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:identifier",+ "range": "rdfs:Literal"+ },+ "requirementLevel": "Mandatory"+ },+ "isReferencedBy": {+ "title": "is referenced by",+ "description": "List of links to related resources, such as publications, that reference, cite, or otherwise point to the Dataset",+ "type": ["null", "array"],+ "items": {+ "type": "string",+ "title": "Link",+ "description": "reference iri of Resource",+ "format": "iri"+ },+ "_oldDocs": {+ "uri": "dcterms:isReferencedBy",+ "range": "rdfs:Resource"+ },+ "examples": [["https://example.gov/publications/climate-trends-2024"]],+ "requirementLevel": "Optional"+ },+ "issued": {+ "title": "release date",+ "description": "Date when the dataset was first published. If the exact publication date is unknown, use the date it was first referenced in the catalog.",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:issued",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2024-01-15", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Optional"+ },+ "inventoried": {+ "title": "inventoried date",+ "description": "Date on which the dataset was added to the catalog. This may differ from the publication/release date.",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "examples": ["2024-01-15", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Recommended"+ },+ "language": {+ "title": "language",+ "description": "ISO 639-1 language code values used in the dataset text or metadata, such as en or es, full list can be seen at https://id.loc.gov/vocabulary/iso639-1.html",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "Language code",+ "maxLength": 2+ },+ {+ "type": "array",+ "title": "List of languages",+ "items": {+ "title": "Language code",+ "type": "string",+ "maxLength": 2+ }+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:language",+ "range": "dcterms:LinguisticSystem"+ },+ "examples": [["en"]],+ "requirementLevel": "Optional"+ },+ "modified": {+ "title": "last modified",+ "description": "Most recent date when the dataset's actual data changed, not just metadata",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:modified",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2024-06-01", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Recommended"+ },+ "provenance": {+ "title": "provenance",+ "description": "List of statements about the lineage of a Dataset, including any changes in its ownership or custody since its creation that may be significant for its authenticity, integrity, or interpretation",+ "type": ["null", "array"],+ "items": {+ "type": "string",+ "description": "Full text of the provenance statement"+ },+ "_oldDocs": {+ "uri": "dcterms:provenance",+ "range": "dcterms:ProvenanceStatement"+ },+ "examples": [+ [+ "Data collected from automated weather stations deployed at 2,500 locations across the continental United States.",+ "Quality control procedures applied according to WMO guidelines."+ ]+ ],+ "requirementLevel": "Optional"+ },+ "publisher": {+ "title": "publisher",+ "description": "Organization responsible for publishing and making the dataset available",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/organization",+ "description": "inline description of Organization"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:publisher",+ "range": "foaf:Agent"+ },+ "requirementLevel": "Recommended"+ },+ "relation": {+ "title": "related resource",+ "description": "List of links to related resources when the relationship is not otherwise specified",+ "type": ["null", "array"],+ "items": {+ "type": "string",+ "title": "Link",+ "description": "reference iri of Resource",+ "format": "iri"+ },+ "_oldDocs": {+ "uri": "dcterms:relation",+ "range": "rdfs:Resource"+ },+ "examples": [+ ["https://example.gov/datasets/historical-climate-averages"]+ ],+ "requirementLevel": "Optional"+ },+ "replaces": {+ "title": "replaces",+ "description": "List of Datasets replaced by this Dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/dataset"+ },+ "requirementLevel": "Optional"+ },+ "license": {+ "title": "license",+ "description": "License that governs how the dataset can be used or reused",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "description": "Full text of the license"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:license",+ "range": "dcterms:LicenseDocument"+ },+ "examples": ["https://creativecommons.org/publicdomain/zero/1.0/"],+ "requirementLevel": "Recommended"+ },+ "accessRestriction": {+ "title": "access restriction",+ "description": "List of access restrictions related to the dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/accessrestriction"+ },+ "_oldDocs": {+ "uri": "dcat-us:accessRestriction",+ "range": "dcat-us:AccessRestriction"+ },+ "requirementLevel": "Recommended"+ },+ "cuiRestriction": {+ "title": "CUI restriction",+ "description": "Controlled Unclassified Information restriction related to the dataset",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/cuirestriction",+ "description": "inline description of CUIRestriction"+ }+ ],+ "_oldDocs": {+ "uri": "dcat-us:cuiRestriction",+ "range": "dcat-us:CuiRestriction"+ },+ "requirementLevel": "Recommended"+ },+ "useRestriction": {+ "title": "use restriction",+ "description": "List of use restrictions related to the dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/userestriction"+ },+ "_oldDocs": {+ "uri": "dcat-us:useRestriction",+ "range": "dcat-us:UseRestriction"+ },+ "requirementLevel": "Recommended"+ },+ "rights": {+ "title": "rights",+ "description": "Rights statements not already covered by license or accessRights, such as copyright or policy restrictions",+ "type": ["null", "array"],+ "items": {+ "type": "string",+ "description": "Full text of a statement of rights"+ },+ "_oldDocs": {+ "uri": "dcterms:rights",+ "range": "dcterms:RightsStatement"+ },+ "examples": [+ [+ "Data is provided as-is without warranty. Please cite the National Climate Data Center when using this data."+ ],+ [+ "This data is in the public domain and may be used without restriction."+ ]+ ],+ "requirementLevel": "Recommended"+ },+ "rightsHolder": {+ "title": "rights holder",+ "description": "List of agents (organizations) holding rights on the Dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/organization"+ },+ "requirementLevel": "Optional"+ },+ "source": {+ "title": "data source",+ "description": "List of related Datasets from which the described Dataset is derived",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/dataset"+ },+ "_oldDocs": {+ "uri": "dcterms:source",+ "range": "dcat:Dataset"+ },+ "requirementLevel": "Optional"+ },+ "spatial": {+ "title": "spatial/geographic coverage",+ "description": "A geographic region or regions that are covered by the Dataset",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/location",+ "description": "inline description of Location"+ },+ {+ "type": "array",+ "title": "List of geographic regions",+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/location"+ }+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:spatial",+ "range": "dcterms:Location"+ },+ "requirementLevel": "Recommended"+ },+ "subject": {+ "title": "subject",+ "description": "List of primary subjects for the dataset, usually narrower than broad theme categories",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "_oldDocs": {+ "uri": "dcterms:subject",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "temporal": {+ "title": "temporal coverage",+ "description": "Time periods covered by the dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/periodoftime"+ },+ "_oldDocs": {+ "uri": "dcterms:temporal",+ "range": "dcterms:PeriodOfTime"+ },+ "requirementLevel": "Recommended"+ },+ "title": {+ "title": "title",+ "description": "Human-readable title of the dataset",+ "type": "string",+ "_oldDocs": {+ "uri": "dcterms:title",+ "range": "rdfs:Literal"+ },+ "examples": [+ "Daily Climate Observations 2024",+ "National Climate Observations 2024"+ ],+ "requirementLevel": "Mandatory"+ },+ "category": {+ "title": "category",+ "description": "List of high-level categories for the dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "_oldDocs": {+ "uri": "dcterms:type",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "hasQualityMeasurement": {+ "title": "quality measurement",+ "description": "List of quality measurements for the dataset (for example, completeness, accuracy, or timeliness) beyond spatial or temporal resolution",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/qualitymeasurement"+ },+ "_oldDocs": {+ "uri": "dqv:hasQualityMeasurement",+ "range": "dqv:QualityMeasurement"+ },+ "requirementLevel": "Optional"+ },+ "page": {+ "title": "documentation",+ "description": "List of pages or documents about this dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/document"+ },+ "_oldDocs": {+ "uri": "foaf:page",+ "range": "foaf:Document"+ },+ "requirementLevel": "Optional"+ },+ "qualifiedAttribution": {+ "title": "qualified attribution",+ "description": "List of agents with specific responsibilities for the dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/attribution"+ },+ "_oldDocs": {+ "uri": "prov:qualifiedAttribution",+ "range": "prov:Attribution"+ },+ "requirementLevel": "Optional"+ },+ "wasAttributedTo": {+ "title": "attribution",+ "description": "List of agents attributed to this dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/agent"+ },+ "requirementLevel": "Optional"+ },+ "wasGeneratedBy": {+ "title": "was generated by",+ "description": "List of activities that generated, or provide the business context for the creation of the dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/activity"+ },+ "_oldDocs": {+ "uri": "prov:wasGeneratedBy",+ "range": "prov:Activity"+ },+ "requirementLevel": "Optional"+ },+ "wasUsedBy": {+ "title": "used by",+ "description": "List of activities that used the Dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/activity"+ },+ "requirementLevel": "Optional"+ },+ "image": {+ "title": "image",+ "description": "Thumbnail image illustrating the dataset, especially useful for visual data such as maps, photos, or video",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "Link",+ "description": "The link to the image",+ "format": "iri"+ }+ ],+ "_oldDocs": {+ "uri": "schema:image",+ "range": "schema:url or schema:ImageObject"+ },+ "requirementLevel": "Optional"+ },+ "scopeNote": {+ "title": "usage note",+ "description": "usage note for the dataset",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "skos:scopeNote"+ },+ "examples": [+ "This dataset contains raw observational data. For derived products such as monthly averages or climate normals, see related datasets."+ ],+ "requirementLevel": "Optional"+ }+ },+ "required": ["description", "title", "contactPoint", "identifier"],+ "_oldDocs": {+ "rdfClass": "dcat:Dataset",+ "rationale": "The update of dcat:Dataset is crucial as it aligns the DCAT profile with international standards, offering a standardized and widely recognized way to describe datasets. This alignment enhances data interoperability and discoverability, enabling data publishers to provide structured metadata, improving data sharing, and facilitating seamless integration for users and applications.",+ "subclassOf": "dcat:Resource"+ },+ "examples": [+ {+ "@type": "Dataset",+ "title": "Daily Climate Observations 2024",+ "description": "Daily temperature, precipitation, and wind measurements from monitoring stations across the United States.",+ "identifier": "https://example.gov/datasets/climate-observations-2024",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "keyword": ["climate", "weather", "temperature", "precipitation"],+ "issued": "2024-01-15",+ "modified": "2024-06-01",+ "accrualPeriodicity": "daily",+ "accessRights": "public",+ "landingPage": {+ "@id": "https://example.gov/climate-data",+ "@type": "Document",+ "title": "Climate Data Landing Page"+ },+ "describedBy": {+ "@id": "https://example.gov/climate-data/data-dictionary",+ "@type": "Distribution",+ "title": "Data Dictionary",+ "mediaType": "application/pdf"+ },+ "spatial": {+ "@type": "Location",+ "bbox": {+ "type": "Polygon",+ "coordinates": [+ [+ [-125.0, 24.0],+ [-66.0, 24.0],+ [-66.0, 50.0],+ [-125.0, 50.0],+ [-125.0, 24.0]+ ]+ ]+ }+ },+ "theme": ["Climate Science"],+ "distribution": [+ {+ "title": "Climate Data CSV",+ "downloadURL": "https://example.gov/downloads/climate-2024.csv",+ "mediaType": "text/csv"+ }+ ],+ "rights": [+ "Data is provided as-is without warranty. Please cite the National Climate Data Center when using this data."+ ],+ "temporal": [+ {+ "@type": "PeriodOfTime",+ "startDate": "2024-01-01",+ "endDate": "2024-12-31"+ }+ ]+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/DatasetSeries.json b/demo/corpus/dcat-us/jsonschema/definitions/DatasetSeries.jsonnew file mode 100644index 00000000..d486af1a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/DatasetSeries.json@@ -0,0 +1,423 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/datasetseries",+ "title": "DatasetSeries",+ "description": "A group of related datasets that are published separately",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/series/annual-climate-observations"],+ "requirementLevel": "Recommended"+ },+ "@type": {+ "type": "string",+ "default": "DatasetSeries"+ },+ "contactPoint": {+ "title": "contact point",+ "description": "List of contacts people can use to ask questions or send feedback about the dataset series",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/kind"+ },+ "_oldDocs": {+ "uri": "dcat:contactPoint",+ "range": "vcard:Kind"+ },+ "requirementLevel": "Recommended"+ },+ "first": {+ "title": "first",+ "description": "The first dataset in an ordered dataset series",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/dataset",+ "description": "inline description of the first dataset"+ }+ ],+ "_oldDocs": {+ "uri": "dcat:first",+ "range": "dcat:Dataset"+ },+ "requirementLevel": "Recommended"+ },+ "last": {+ "title": "last",+ "description": "The last dataset in an ordered dataset series",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/dataset",+ "description": "inline description of the last dataset"+ }+ ],+ "_oldDocs": {+ "uri": "dcat:last",+ "range": "dcat:Dataset"+ },+ "requirementLevel": "Recommended"+ },+ "seriesMember": {+ "title": "series member",+ "description": "List of members of the Dataset Series",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/dataset"+ },+ "_oldDocs": {+ "uri": "dcat:seriesMember",+ "range": "dcat:Dataset"+ },+ "requirementLevel": "Recommended"+ },+ "accrualPeriodicity": {+ "title": "frequency",+ "description": "The frequency at which the Dataset Series is updated. This is the series update frequency, not necessarily each dataset's frequency",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "description": "ISO 19115 Maintenance Frequency code",+ "enum": [+ "continual",+ "daily",+ "weekly",+ "fortnightly",+ "monthly",+ "quarterly",+ "biannually",+ "annually",+ "asNeeded",+ "irregular",+ "notPlanned",+ "unknown"+ ]+ },+ {+ "type": "string",+ "description": "ISO-8601 Maintenance Frequency code for recurring values, see https://www.iso.org/standard/70907.html",+ "pattern": "^R/P.+$"+ },+ {+ "type": "string",+ "description": "Dublin Core Collection Frequency Vocabulary, see https://www.dublincore.org/specifications/dublin-core/collection-description/frequency/#vocabulary-terms",+ "enum": [+ "continuous",+ "daily",+ "weekly",+ "biweekly",+ "monthly",+ "quarterly",+ "semiannual",+ "annual",+ "irregular",+ "triennial",+ "biennial",+ "threeTimesAYear",+ "bimonthly",+ "semimonthly",+ "threeTimesAMonth",+ "semiweekly",+ "threeTimesAWeek"+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:accrualPeriodicity",+ "range": "dcterms:Frequency"+ },+ "examples": ["annually"],+ "requirementLevel": "Optional"+ },+ "description": {+ "title": "description",+ "description": "Plain-language summary of the dataset series",+ "type": "string",+ "_oldDocs": {+ "uri": "dcterms:description",+ "range": "rdfs:Literal"+ },+ "examples": [+ "An annual series of comprehensive climate observation datasets collected from monitoring stations across the United States. Each dataset in the series covers one calendar year of daily observations."+ ],+ "requirementLevel": "Mandatory"+ },+ "issued": {+ "title": "release date",+ "description": "Date when the Dataset Series was formally established or published, not the release date of the oldest dataset in the series",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:issued",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2000-01-15", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Optional"+ },+ "modified": {+ "title": "update/modification date",+ "description": "Most recent date when the Dataset Series changed, not the modified date of the newest dataset in the series",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:modified",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": [+ "2024-12-01",+ "2024-06-01",+ "2024-01-15T10:30:00Z",+ "2024",+ "2024-01"+ ],+ "requirementLevel": "Recommended"+ },+ "publisher": {+ "title": "publisher",+ "description": "Organization responsible for maintaining the Dataset Series as a coherent series; this may differ from publishers of individual datasets",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/agent",+ "description": "inline description of publisher"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:publisher",+ "range": "foaf:Agent"+ },+ "requirementLevel": "Recommended"+ },+ "spatial": {+ "title": "spatial/geographic coverage",+ "description": "A geographic region that is covered by the Dataset Series",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/location"+ },+ "_oldDocs": {+ "uri": "dcterms:spatial",+ "range": "dcterms:Location"+ },+ "requirementLevel": "Recommended"+ },+ "temporal": {+ "title": "temporal coverage",+ "description": "Time periods covered by the dataset series",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/periodoftime"+ },+ "_oldDocs": {+ "uri": "dcterms:temporal",+ "range": "dcterms:PeriodOfTime"+ },+ "requirementLevel": "Recommended"+ },+ "title": {+ "title": "title",+ "description": "Human-readable title of the dataset series",+ "type": "string",+ "_oldDocs": {+ "uri": "dcterms:title",+ "range": "rdfs:Literal"+ },+ "examples": [+ "Annual Climate Observations",+ "Annual National Climate Observations Series"+ ],+ "requirementLevel": "Mandatory"+ }+ },+ "required": ["description", "title"],+ "_oldDocs": {+ "rdfClass": "dcat:DatasetSeries",+ "rationale": "Incorporating dcat:DatasetSeries is essential to enable the structured grouping and presentation of related datasets, ensuring that data publishers can convey meaningful collections of data. This facilitates efficient data organization and discovery for users, aligning the DCAT profile with international standards for dataset series representation.",+ "subclassOf": "dcat:Dataset"+ },+ "examples": [+ {+ "@id": "https://example.gov/series/annual-climate-observations",+ "@type": "DatasetSeries",+ "title": "Annual Climate Observations",+ "description": "A series of annual climate observation datasets from monitoring stations.",+ "contactPoint": [+ {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ }+ ],+ "publisher": {+ "name": "National Climate Data Center"+ },+ "accrualPeriodicity": "annually",+ "issued": "2000-01-15",+ "modified": "2024-12-01",+ "first": {+ "@id": "https://example.gov/datasets/climate-observations-2000",+ "@type": "Dataset",+ "title": "Climate Observations 2000",+ "description": "First year of climate observations.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-first"+ },+ "last": {+ "@id": "https://example.gov/datasets/climate-observations-2024",+ "@type": "Dataset",+ "title": "Climate Observations 2024",+ "description": "Latest year of climate observations.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-last"+ },+ "seriesMember": [+ {+ "@id": "https://example.gov/datasets/climate-observations-2022",+ "@type": "Dataset",+ "title": "Climate Observations 2022",+ "description": "Climate observations for 2022.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-member-001"+ },+ {+ "@id": "https://example.gov/datasets/climate-observations-2023",+ "@type": "Dataset",+ "title": "Climate Observations 2023",+ "description": "Climate observations for 2023.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-member-002"+ },+ {+ "@id": "https://example.gov/datasets/climate-observations-2024",+ "@type": "Dataset",+ "title": "Climate Observations 2024",+ "description": "Climate observations for 2024.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-member-003"+ }+ ],+ "spatial": [+ {+ "@type": "Location",+ "bbox": {+ "type": "Polygon",+ "coordinates": [+ [+ [-125.0, 24.0],+ [-66.0, 24.0],+ [-66.0, 50.0],+ [-125.0, 50.0],+ [-125.0, 24.0]+ ]+ ]+ }+ }+ ],+ "temporal": [+ {+ "@type": "PeriodOfTime",+ "startDate": "2000-01-01",+ "endDate": "2024-12-31"+ }+ ]+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Distribution.json b/demo/corpus/dcat-us/jsonschema/definitions/Distribution.jsonnew file mode 100644index 00000000..b7a2f8e6--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Distribution.json@@ -0,0 +1,666 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/distribution",+ "title": "Distribution",+ "description": "A specific representation of a dataset, such as a file, feed, or API response",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/distributions/climate-data-csv-001"]+ },+ "@type": {+ "type": "string",+ "default": "Distribution"+ },+ "representationTechnique": {+ "title": "representation technique",+ "description": "Method or schema used to structure the distribution content (for example, CSV convention, XML schema, or spatial representation type)",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/concept",+ "description": "inline description of Concept"+ }+ ],+ "_oldDocs": {+ "uri": "adms:representationTechnique",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "status": {+ "title": "lifecycle status",+ "description": "The status of the distribution in the context of maturity lifecycle",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/concept",+ "description": "inline description of Concept"+ }+ ],+ "_oldDocs": {+ "uri": "adms:status",+ "range": "skos:Concept"+ },+ "requirementLevel": "Optional"+ },+ "characterEncoding": {+ "title": "character encoding",+ "description": "List of character encodings used in the Distribution, using IANA character set names (for example, UTF-8)",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "array",+ "title": "List of encodings",+ "items": {+ "title": "Character encoding",+ "type": "string"+ }+ }+ ],+ "_oldDocs": {+ "uri": "cnt:characterEncoding",+ "range": "rdfs:Literal"+ },+ "examples": [["UTF-8"]],+ "requirementLevel": "Optional"+ },+ "accessService": {+ "title": "access service",+ "description": "A data service that gives access to the distribution of the dataset",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/dataservice"+ },+ "_oldDocs": {+ "uri": "dcat:accessService",+ "range": "dcat:DataService"+ },+ "requirementLevel": "Optional"+ },+ "accessURL": {+ "title": "access URL",+ "description": "URL for indirect access to the Distribution (for example, a landing page, API docs, or request form), not a direct file download",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "URL",+ "description": "reference iri of Resource",+ "format": "iri"+ }+ ],+ "_oldDocs": {+ "uri": "dcat:accessURL",+ "range": "rdfs:Resource"+ },+ "examples": [+ "https://example.gov/data/climate",+ "https://example.gov/data/climate/access"+ ],+ "requirementLevel": "Recommended"+ },+ "byteSize": {+ "title": "byte size",+ "description": "The size of a Distribution in bytes",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:byteSize",+ "range": "xsd:nonNegativeInteger"+ },+ "examples": ["52428800"],+ "requirementLevel": "Optional"+ },+ "compressFormat": {+ "title": "compression format",+ "description": "The format of the file in which the data is contained in a compressed form, e.g. to reduce the size of the downloadable file",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:compressFormat",+ "range": "dcterms:MediaType"+ },+ "examples": ["application/gzip"],+ "requirementLevel": "Optional"+ },+ "downloadURL": {+ "title": "download URL",+ "description": "Direct URL to a downloadable file for the Distribution; use accessURL for indirect access",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "URL",+ "description": "reference iri of Resource",+ "format": "iri"+ }+ ],+ "_oldDocs": {+ "uri": "dcat:downloadURL",+ "range": "rdfs:Resource"+ },+ "examples": ["https://example.gov/data/climate/climate-data-2023.csv"],+ "requirementLevel": "Optional"+ },+ "mediaType": {+ "title": "media type",+ "description": "MIME type of the Distribution (for example, text/csv or application/json), from the IANA media types registry: https://www.iana.org/assignments/media-types/media-types.xhtml",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:mediaType",+ "range": "dcterms:MediaType"+ },+ "examples": ["text/csv"],+ "requirementLevel": "Optional"+ },+ "packageFormat": {+ "title": "packaging format",+ "description": "The format of the file in which one or more data files are grouped together, e.g. to enable a set of related files to be downloaded together",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:packageFormat",+ "range": "dcterms:MediaType"+ },+ "examples": ["application/zip"],+ "requirementLevel": "Optional"+ },+ "spatialResolutionInMeters": {+ "title": "Spatial resolution (meters)",+ "description": "The minimum spatial separation resolvable in a dataset distribution, measured in meters",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:spatialResolutionInMeters",+ "range": "xsd:decimal"+ },+ "examples": ["1000"],+ "requirementLevel": "Optional"+ },+ "temporalResolution": {+ "title": "termporal resolution",+ "description": "The minimum time period resolvable in the dataset distribution",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat:temporalResolution",+ "range": "xsd:duration"+ },+ "examples": ["P1D"],+ "requirementLevel": "Optional"+ },+ "availability": {+ "title": "availability",+ "description": "An indication how long it is planned to keep the Distribution of the Dataset available",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/concept",+ "description": "inline description of Concept"+ }+ ],+ "requirementLevel": "Optional"+ },+ "accessRestriction": {+ "title": "access restriction",+ "description": "List of access restrictions related to the distribution",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/accessrestriction"+ },+ "_oldDocs": {+ "uri": "dcat-us:accessRestriction",+ "range": "dcat-us:AccessRestriction"+ },+ "requirementLevel": "Recommended"+ },+ "cuiRestriction": {+ "title": "CUI restriction",+ "description": "Controlled Unclassified Information restriction related to the distribution",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/cuirestriction",+ "description": "inline description of CUIRestriction"+ }+ ],+ "_oldDocs": {+ "uri": "dcat-us:cuiRestriction",+ "range": "dcat-us:CuiRestriction"+ },+ "requirementLevel": "Recommended"+ },+ "describedBy": {+ "title": "data dictionary",+ "description": "A distribution containing the Data Dictionary for this distribution",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/distribution",+ "description": "inline description of the data dictionary"+ }+ ],+ "_oldDocs": {+ "uri": "dcat-us:describedBy",+ "range": "dcat:Distribution"+ },+ "requirementLevel": "Recommended"+ },+ "useRestriction": {+ "title": "use restriction",+ "description": "List of use restrictions related to the distribution",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/userestriction"+ },+ "_oldDocs": {+ "uri": "dcat-us:useRestriction",+ "range": "dcat-us:UseRestriction"+ },+ "requirementLevel": "Recommended"+ },+ "accessRights": {+ "title": "access rights",+ "description": "Information about whether the distribution is publicly accessible, restricted, or not public",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "description": "Text description of the access rights"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:accessRights",+ "range": "dcterms:RightsStatement"+ },+ "examples": ["Public access without restrictions"],+ "requirementLevel": "Optional"+ },+ "conformsTo": {+ "title": "linked schemas",+ "description": "List of standards, schemas, or reference systems the Distribution follows (prefer stable URIs when available)",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/standard"+ },+ "_oldDocs": {+ "uri": "dcterms:conformsTo",+ "range": "dcterms:Standard (A basis for comparison; a reference point against which other things can be evaluated.)"+ },+ "requirementLevel": "Optional"+ },+ "description": {+ "title": "description",+ "description": "Plain-language summary of the distribution",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:description",+ "range": "rdfs:Literal"+ },+ "examples": [+ "Daily climate observations in CSV format.",+ "A CSV file containing historical climate data including daily temperature and precipitation readings."+ ],+ "requirementLevel": "Recommended"+ },+ "format": {+ "title": "format",+ "description": "A human-readable description of the file format of the Distribution that provides useful information that might not be apparent from mediaType",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:format",+ "range": "dcterms:MediaType"+ },+ "examples": ["CSV"],+ "requirementLevel": "Recommended"+ },+ "identifier": {+ "title": "identifier",+ "description": "The unique identifier for the Distribution (e.g. DOI, ISBN)",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/identifier",+ "description": "inline description of Identifier"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:identifier",+ "range": "rdfs:Literal"+ },+ "requirementLevel": "Optional"+ },+ "otherIdentifier": {+ "title": "other identifier",+ "description": "A list of identifiers for the Distribution besides the main identifier, e.g. the URI or other unique identifiers in the context of the Catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/identifier"+ },+ "requirementLevel": "Optional"+ },+ "issued": {+ "title": "release date",+ "description": "The date of formal issuance (e.g., publication) of the Distribution",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:issued",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2023-06-01", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Optional"+ },+ "inventoried": {+ "title": "inventoried date",+ "description": "Date on which the distribution was added to the catalog. This may differ from the publication/release date.",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "examples": ["2024-01-15", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Optional"+ },+ "language": {+ "title": "language",+ "description": "ISO 639-1 language code values used in the distribution metadata text, such as en or es, full list can be seen at https://id.loc.gov/vocabulary/iso639-1.html",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "Language code",+ "maxLength": 2+ },+ {+ "type": "array",+ "title": "List of languages",+ "items": {+ "type": "string",+ "title": "Language code",+ "maxLength": 2+ }+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:language",+ "range": "rdfs:Literal"+ },+ "examples": ["en", ["en", "es"]],+ "requirementLevel": "Optional"+ },+ "license": {+ "title": "license",+ "description": "License that governs how the distribution can be used or reused",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "description": "Full text of the license"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:license",+ "range": "dcterms:LicenseDocument"+ },+ "examples": ["https://creativecommons.org/publicdomain/zero/1.0/"],+ "requirementLevel": "Recommended"+ },+ "modified": {+ "title": "last modified",+ "description": "The most recent date on which the Distribution was changed or modified",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:modified",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": [+ "2024-06-01",+ "2024-01-15",+ "2024-01-15T10:30:00Z",+ "2024",+ "2024-01"+ ],+ "requirementLevel": "Recommended"+ },+ "rights": {+ "title": "rights",+ "description": "Rights statements not already covered by license or accessRights, such as copyright or policy restrictions",+ "type": ["null", "array"],+ "items": {+ "type": "string",+ "description": "Full text of a statement of rights"+ },+ "_oldDocs": {+ "uri": "dcterms:rights",+ "range": "dcterms:RightsStatement"+ },+ "examples": [+ ["No rights reserved. This data is in the public domain."],+ [+ "This data is in the public domain and may be used without restriction."+ ]+ ],+ "requirementLevel": "Recommended"+ },+ "title": {+ "title": "title",+ "description": "Human-readable title of the distribution",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:title",+ "range": "rdfs:Literal"+ },+ "examples": ["Climate Data CSV"],+ "requirementLevel": "Recommended"+ },+ "hasQualityMeasurement": {+ "title": "quality measurement",+ "description": "Quality measurements for the distribution (for example, completeness, accuracy, or timeliness)",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/qualitymeasurement"+ },+ "_oldDocs": {+ "uri": "dqv:hasQualityMeasurement",+ "range": "dqv:QualityMeasurement"+ },+ "requirementLevel": "Optional"+ },+ "page": {+ "title": "documentation",+ "description": "A page or document about this Distribution",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/document"+ },+ "_oldDocs": {+ "uri": "foaf:page",+ "range": "foaf:Document"+ },+ "requirementLevel": "Optional"+ },+ "image": {+ "title": "image",+ "description": "A link to a thumbnail picture illustrating the content of the distribution",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "Link",+ "description": "The link to the image",+ "format": "iri"+ }+ ],+ "_oldDocs": {+ "uri": "schema:image",+ "range": "schema:ImageObject"+ },+ "requirementLevel": "Optional"+ },+ "checksum": {+ "title": "checksum",+ "description": "Checksum used to verify that the downloadable file content has not changed",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/checksum",+ "description": "inline description of Checksum"+ }+ ],+ "_oldDocs": {+ "uri": "spdx:checksum",+ "range": "spdx:Checksum"+ },+ "requirementLevel": "Optional"+ }+ },+ "required": [],+ "_oldDocs": {+ "rdfClass": "dcat:Distribution",+ "rationale": "The update to DCAT 3 dcat:Distribution is of paramount significance as it greatly enhances data accessibility. It introduces a more comprehensive and structured approach to describing data distributions, ensuring that data consumers can easily understand and access the data in the format that best suits their needs, ultimately fostering greater data utilization and dissemination.",+ "subclassOf": "dcat:Resource"+ },+ "examples": [+ {+ "@type": "Distribution",+ "title": "Climate Data CSV",+ "description": "Daily climate observations in CSV format.",+ "accessURL": "https://example.gov/data/climate",+ "downloadURL": "https://example.gov/downloads/climate-2024.csv",+ "mediaType": "text/csv",+ "format": "CSV",+ "byteSize": "52428800",+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "modified": "2024-06-01",+ "rights": ["No rights reserved. This data is in the public domain."],+ "describedBy": {+ "@type": "Distribution",+ "title": "CSV Data Dictionary",+ "accessURL": "https://example.gov/data/climate/dictionary"+ },+ "accessRestriction": null,+ "cuiRestriction": null,+ "useRestriction": null+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Document.json b/demo/corpus/dcat-us/jsonschema/definitions/Document.jsonnew file mode 100644index 00000000..f0888b09--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Document.json@@ -0,0 +1,263 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/document",+ "title": "Document",+ "description": "A publication or other document related to a resource",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/documents/climate-user-guide-001"]+ },+ "@type": {+ "type": "string",+ "default": "Document"+ },+ "accessURL": {+ "title": "access URL",+ "description": "A URL that gives access to the Document",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "URL",+ "description": "reference iri of Document",+ "format": "iri"+ }+ ],+ "examples": ["https://example.gov/docs/climate-user-guide"],+ "requirementLevel": "Optional"+ },+ "downloadURL": {+ "title": "download URL",+ "description": "A URL that is a direct link to a downloadable file of the Document in a given format",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "type": "string",+ "title": "URL",+ "description": "reference iri of Document",+ "format": "iri"+ }+ ],+ "examples": ["https://example.gov/docs/climate-user-guide.pdf"],+ "requirementLevel": "Optional"+ },+ "creator": {+ "title": "author",+ "description": "The individual(s) responsible for creating the Document",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/kind"+ },+ "_oldDocs": {+ "uri": "dcterms:creator",+ "range": "org:Organization"+ },+ "requirementLevel": "Optional"+ },+ "mediaType": {+ "title": "media type",+ "description": "The file format of the Document as defined in the official register of media types managed by IANA: https://www.iana.org/assignments/media-types/media-types.xhtml",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:mediaType",+ "range": "dcterms:MediaType"+ },+ "examples": ["application/pdf"],+ "requirementLevel": "Optional"+ },+ "abstract": {+ "title": "abstract",+ "description": "Text abstract of the Document",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:abstract",+ "range": "rdfs:Literal"+ },+ "examples": [+ "This document provides detailed instructions for using climate data products, including API access, file formats, and data interpretation guidelines."+ ],+ "requirementLevel": "Optional"+ },+ "bibliographicCitation": {+ "title": "bibliographic citation",+ "description": "Bibliographic citation as text",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:bibliographicCitation",+ "range": "rdfs:Literal"+ },+ "examples": [+ "National Climate Data Center. (2024). Climate Data User Guide. Retrieved from https://example.gov/docs/climate-user-guide",+ "National Climate Data Center. (2024). Climate Data User Guide. U.S. Department of Commerce."+ ],+ "requirementLevel": "Recommended"+ },+ "conformsTo": {+ "title": "conforms to",+ "description": "List of standards or specifications the document follows",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/standard"+ },+ "_oldDocs": {+ "uri": "dcterms:identifier",+ "range": "dcterms:Standard"+ },+ "requirementLevel": "Optional"+ },+ "corporateCreator": {+ "title": "corporate author",+ "description": "The corporate organization(s) responsible for creating the Document",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/organization"+ },+ "requirementLevel": "Optional"+ },+ "description": {+ "title": "description",+ "description": "Plain-language summary of the document",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:description",+ "range": "rdfs:Literal"+ },+ "examples": [+ "A guide for accessing and using the National Climate Data Center's data products.",+ "A comprehensive guide for accessing and using the National Climate Data Center's data products and services."+ ],+ "requirementLevel": "Recommended"+ },+ "identifier": {+ "title": "identifier",+ "description": "The unique identifier for the Document (e.g. DOI, ISBN)",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/identifier",+ "description": "inline description of Identifier"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:identifier",+ "range": "rdfs:Literal"+ },+ "requirementLevel": "Recommended"+ },+ "otherIdentifier": {+ "title": "other identifier",+ "description": "A list of identifiers for the Document besides the main identifier, e.g. the URI or other unique identifiers in the context of the Catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/identifier"+ },+ "requirementLevel": "Optional"+ },+ "issued": {+ "title": "publication date",+ "description": "Publication date of the Document",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:issued",+ "range": "rdfs:Literal"+ },+ "examples": ["2024-01-15", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Recommended"+ },+ "publisher": {+ "title": "publisher",+ "description": "The organization(s) that published the Document",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/organization"+ },+ "_oldDocs": {+ "uri": "dc:publisher",+ "range": "rdfs:Literal"+ },+ "requirementLevel": "Recommended"+ },+ "title": {+ "title": "title",+ "description": "The title of the Document",+ "type": "string",+ "_oldDocs": {+ "uri": "dcterms:title",+ "range": "rdfs:Literal"+ },+ "examples": ["Climate Data User Guide"],+ "requirementLevel": "Mandatory"+ },+ "category": {+ "title": "category",+ "description": "List of categories/genres for the Document",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "requirementLevel": "Optional"+ }+ },+ "required": ["title"],+ "_oldDocs": {+ "rdfClass": "foaf:Document",+ "rationale": "The introduction of foaf:Document significantly improves the representation of documents within the DCAT-US profile. It ensures that metadata about documents, such as title, format, language, and access options, are clearly defined and standardized. This alignment with global data standards fosters interoperability and eases document integration into various data ecosystems, benefiting both publishers and consumers."+ },+ "examples": [+ {+ "@type": "Document",+ "title": "Climate Data User Guide",+ "description": "A guide for accessing and using the National Climate Data Center's data products.",+ "accessURL": "https://example.gov/docs/climate-user-guide",+ "mediaType": "application/pdf",+ "identifier": "NCDC-UG-2024-001",+ "issued": "2024-03-15",+ "publisher": [+ {+ "@type": "Organization",+ "name": "National Climate Data Center"+ }+ ],+ "bibliographicCitation": "National Climate Data Center. (2024). Climate Data User Guide. Retrieved from https://example.gov/docs/climate-user-guide"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Identifier.json b/demo/corpus/dcat-us/jsonschema/definitions/Identifier.jsonnew file mode 100644index 00000000..7b5fbf49--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Identifier.json@@ -0,0 +1,93 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/identifier",+ "title": "Identifier",+ "description": "A unique identifier and optionally it's scheme and other relevant information",+ "anyOf": [+ {+ "type": "string",+ "title": "Simple string identifier"+ },+ {+ "type": "object",+ "title": "Identifier as a complex object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri"+ },+ "@type": {+ "type": "string",+ "default": "Identifier"+ },+ "schemaAgency": {+ "title": "schema agency",+ "description": "The name of the agency that issued the identifier",+ "type": ["null", "string"]+ },+ "creator": {+ "title": "creator",+ "description": "the agency that manages the identifier scheme",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/organization",+ "description": "inline description of the creator"+ }+ ]+ },+ "issued": {+ "title": "issued",+ "description": "The date of formal issuance (e.g., publication) of the Identifier",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ]+ },+ "version": {+ "title": "version",+ "description": "version of the identifier scheme",+ "type": ["null", "string"]+ },+ "notation": {+ "title": "notation",+ "description": "abbreviation or code from code lists for an identifier",+ "type": ["null", "string"]+ }+ },+ "required": []+ }+ ],+ "_oldDocs": {+ "rdfClass": "adms:Identifier",+ "rationale": "Incorporating adms:Identifier in the DCAT-US profile fosters a culture of data governance and trust by transparently documenting the authority behind each identifier. This enhances data reliability and credibility, boosting confidence for DCAT-US users. Additionally, it enables versatile data access using multiple identifiers, enhancing overall data accessibility and usability for diverse stakeholders."+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Kind.json b/demo/corpus/dcat-us/jsonschema/definitions/Kind.jsonnew file mode 100644index 00000000..e0416e57--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Kind.json@@ -0,0 +1,131 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/kind",+ "title": "Kind",+ "description": "Contact information for an individual or entity",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/contacts/climate-support-001"]+ },+ "@type": {+ "type": "string",+ "default": "Kind"+ },+ "address": {+ "title": "address",+ "description": "The address of the contact",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/address"+ },+ "_oldDocs": {+ "uri": "vcard:address",+ "range": "vcard:Address"+ },+ "requirementLevel": "Optional"+ },+ "hasEmail": {+ "title": "Email",+ "description": "Email address for the contact in mailto: format (for example, mailto:[email protected])",+ "pattern": "^mailto:[\\w\\_\\~\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=\\:.-]+@[\\w.-]+\\.[\\w.-]+?$",+ "type": "string",+ "_oldDocs": {+ "uri": "vcard:hasEmail",+ "range": "rdfs:Resource"+ },+ "examples": [+ "mailto:[email protected]",+ "mailto:[email protected]"+ ],+ "requirementLevel": "Mandatory"+ },+ "family-name": {+ "title": "family name",+ "description": "The family name of the contact",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "vcard:family-name",+ "range": "xsd:string"+ },+ "examples": ["Smith"],+ "requirementLevel": "Optional"+ },+ "fn": {+ "title": "formatted name",+ "description": "The formatted text of the name of the contact",+ "type": "string",+ "_oldDocs": {+ "uri": "vcard:fn",+ "range": "xsd:string"+ },+ "examples": ["Climate Data Support Team", "Dr. Jane Smith"],+ "requirementLevel": "Mandatory"+ },+ "given-name": {+ "title": "given name",+ "description": "The given name of the contact",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "vcard:given-name",+ "range": "xsd:string"+ },+ "examples": ["Jane"],+ "requirementLevel": "Optional"+ },+ "organization-name": {+ "title": "organization name",+ "description": "The name of the organization to contact",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "vcard:organization-name",+ "range": "xsd:string"+ },+ "examples": ["National Climate Data Center"],+ "requirementLevel": "Optional"+ },+ "tel": {+ "title": "telephone",+ "description": "The telephone number for the contact",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "vcard:tel",+ "range": "rdfs:Resource"+ },+ "examples": ["+1-555-123-4567"],+ "requirementLevel": "Optional"+ },+ "title": {+ "title": "position title",+ "description": "The position role of the person to contact",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "vcard:title",+ "range": "xsd:string"+ },+ "examples": ["Senior Climate Data Scientist"],+ "requirementLevel": "Optional"+ }+ },+ "required": ["hasEmail", "fn"],+ "_oldDocs": {+ "rdfClass": "vcard:Kind",+ "rationale": "The introduction of vcard:Kind in DCAT-US 3.0 is driven by the need for standardized, reliable, and interoperable Point of Contact information, ultimately improving the accessibility and usability of data resources within the DCAT-US ecosystem."+ },+ "examples": [+ {+ "@type": "Kind",+ "fn": "Climate Data Support Team",+ "hasEmail": "mailto:[email protected]",+ "organization-name": "National Climate Data Center",+ "tel": "+1-555-123-4567"+ },+ {+ "@type": "Kind",+ "fn": "Dr. Jane Smith",+ "hasEmail": "mailto:[email protected]"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Location.json b/demo/corpus/dcat-us/jsonschema/definitions/Location.jsonnew file mode 100644index 00000000..5752cd55--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Location.json@@ -0,0 +1,270 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/location",+ "title": "Location",+ "description": "A named place or geographic area",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/locations/washington-dc"]+ },+ "@type": {+ "type": "string",+ "default": "Location"+ },+ "bbox": {+ "title": "bounding box",+ "description": "Bounding box for the location, described in WKT, GeoJSON, or GML format",+ "anyOf": [+ {+ "type": "null"+ },+ {+ "type": "string",+ "description": "Bounding box represented in WKT, GeoJSON (stringified), or GML format"+ },+ {+ "type": "object",+ "description": "Bounding box represented in GeoJSON format, either as a Polygon or in bbox array format",+ "properties": {+ "coordinates": {+ "type": "array"+ },+ "type": {+ "type": "string",+ "const": "Polygon"+ }+ },+ "required": ["type", "coordinates"]+ }+ ],+ "_oldDocs": {+ "uri": "dcat:bbox",+ "range": "rdfs:Literal typed as geosparql:wktLiteral or geosparql:gmlLiteral"+ },+ "examples": [+ "POLYGON((-125 24, -66 24, -66 50, -125 50, -125 24))",+ {+ "type": "Polygon",+ "coordinates": [+ [+ [-77.119759, 38.791645],+ [-76.909393, 38.791645],+ [-76.909393, 38.99538],+ [-77.119759, 38.99538],+ [-77.119759, 38.791645]+ ]+ ]+ }+ ],+ "requirementLevel": "Recommended"+ },+ "centroid": {+ "title": "centroid",+ "description": "The geographic center (centroid) of a location described in WKT, GeoJSON, or GML format",+ "anyOf": [+ {+ "type": "null"+ },+ {+ "type": "string",+ "description": "Center point represented in WKT, GeoJSON (stringified), or GML format"+ },+ {+ "type": "object",+ "description": "Centroid represented in GeoJSON format; force point usage with coordinates of longitude and latitude",+ "properties": {+ "coordinates": {+ "type": "array",+ "items": {+ "type": "number"+ },+ "minItems": 2,+ "maxItems": 2+ },+ "type": {+ "type": "string",+ "const": "Point"+ }+ },+ "required": ["type", "coordinates"]+ }+ ],+ "_oldDocs": {+ "uri": "dcat:centroid",+ "range": "rdfs:Literal typed as geosparql:wktLiteral or geosparql:gmlLiteral"+ },+ "examples": [+ {+ "type": "Point",+ "coordinates": [-77.0369, 38.9072]+ }+ ],+ "requirementLevel": "Optional"+ },+ "identifier": {+ "title": "identifier",+ "description": "The unique geographic identifier for the Location, e.g., the URI or other unique identifier in the context of the relevant gazetteer",+ "anyOf": [+ {+ "type": "null"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/identifier",+ "description": "inline description of Identifier"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:identifier",+ "range": "rdfs:Literal"+ },+ "requirementLevel": "Optional"+ },+ "otherIdentifier": {+ "title": "other identifier",+ "description": "A list of geographic identifiers for the Location besides the main identifier, e.g. the URI or other unique identifiers in the context of the relevant gazetteer",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/identifier"+ },+ "requirementLevel": "Optional"+ },+ "geometry": {+ "title": "geometry",+ "description": "Associates a location with a corresponding geometry described in WKT, GeoJSON, or GML format",+ "anyOf": [+ {+ "type": "null"+ },+ {+ "type": "string",+ "description": "String format of the full geometry of the location in WKT, GeoJSON, or GML format"+ },+ {+ "type": "object",+ "description": "Geometry represented in GeoJSON format",+ "required": ["type", "coordinates"]+ }+ ],+ "_oldDocs": {+ "uri": "locn:geometry",+ "range": "locn:Geometry"+ },+ "examples": [+ {+ "type": "Polygon",+ "coordinates": [+ [+ [-77.0402, 38.7916],+ [-76.9094, 38.8921],+ [-76.9115, 38.9355],+ [-76.9286, 38.9784],+ [-77.0024, 38.9657],+ [-77.0389, 38.9939],+ [-77.0672, 38.9687],+ [-77.0782, 38.9143],+ [-77.1198, 38.9342],+ [-77.1198, 38.8456],+ [-77.0402, 38.7916]+ ]+ ]+ }+ ],+ "requirementLevel": "Optional"+ },+ "inScheme": {+ "title": "gazetteer",+ "description": "The gazetteer to which the location belongs",+ "anyOf": [+ {+ "type": "null"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/conceptscheme",+ "description": "inline description of the gazetteer"+ }+ ],+ "_oldDocs": {+ "range": "skos:ConceptScheme",+ "uri": "skos:inScheme"+ },+ "requirementLevel": "Optional"+ },+ "altLabel": {+ "title": "alternative name",+ "description": "An alternative label or name for a location",+ "type": ["null", "string"],+ "_oldDocs": {+ "range": "rdfs:Literal"+ },+ "examples": ["DC"],+ "requirementLevel": "Optional"+ },+ "prefLabel": {+ "title": "geographic name",+ "description": "Preferred label or name of the Location",+ "type": ["null", "string"],+ "_oldDocs": {+ "range": "rdfs:Literal"+ },+ "examples": ["Continental United States", "Washington, D.C."],+ "requirementLevel": "Recommended"+ }+ },+ "required": [],+ "_oldDocs": {+ "rdfClass": "dcterms:Location"+ },+ "examples": [+ {+ "@type": "Location",+ "prefLabel": "Continental United States",+ "bbox": "POLYGON((-125 24, -66 24, -66 50, -125 50, -125 24))"+ },+ {+ "@type": "Location",+ "prefLabel": "Continental United States",+ "bbox": {+ "type": "Polygon",+ "coordinates": [+ [+ [-77.119759, 38.791645],+ [-76.909393, 38.791645],+ [-76.909393, 38.99538],+ [-77.119759, 38.99538],+ [-77.119759, 38.791645]+ ]+ ]+ }+ },+ {+ "@type": "Location",+ "prefLabel": "Null Island",+ "bbox": "POINT (0.0 0.0)"+ },+ {+ "@type": "Location",+ "prefLabel": "Random object",+ "geometry": {+ "type": "Polygon",+ "coordinates": [+ [+ [-77.0402, 38.7916],+ [-76.9094, 38.8921],+ [-76.9115, 38.9355],+ [-76.9286, 38.9784],+ [-77.0024, 38.9657],+ [-77.0389, 38.9939],+ [-77.0672, 38.9687],+ [-77.0782, 38.9143],+ [-77.1198, 38.9342],+ [-77.1198, 38.8456],+ [-77.0402, 38.7916]+ ]+ ]+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Metric.json b/demo/corpus/dcat-us/jsonschema/definitions/Metric.jsonnew file mode 100644index 00000000..53f7cced--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Metric.json@@ -0,0 +1,70 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/metric",+ "title": "Metric",+ "description": "A standard used to measure one aspect of data quality",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/metrics/record-completeness"]+ },+ "@type": {+ "type": "string",+ "default": "Metric"+ },+ "expectedDataType": {+ "title": "expected datatype",+ "description": "Represents the expected data type for the metric's observed value (e.g., xsd:boolean, xsd:double etc...)",+ "type": "string",+ "_oldDocs": {+ "uri": "dqv:expectedDataType",+ "range": "xsd:anySimpleType"+ },+ "examples": ["xsd:decimal", "xsd:double"],+ "requirementLevel": "Mandatory"+ },+ "inDimension": {+ "title": "in dimension",+ "description": "Represents the dimensions a quality metric, certificate and annotation allow a measurement of.",+ "type": "string",+ "_oldDocs": {+ "uri": "dqv:inDimension",+ "range": "dqv:Dimension"+ },+ "examples": [+ "https://example.gov/dimensions/completeness",+ "https://www.w3.org/TR/vocab-dqv/#dqv:completeness"+ ],+ "requirementLevel": "Mandatory"+ },+ "definition": {+ "title": "definition",+ "description": "Definition of the metric.",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "skos:definition",+ "range": "rdfs:Literal"+ },+ "examples": [+ "Percentage of non-null values in the dataset.",+ "The percentage of non-null values for required fields in a dataset. A value of 1.0 indicates 100% completeness."+ ],+ "requirementLevel": "Recommended"+ }+ },+ "required": ["expectedDataType", "inDimension"],+ "_oldDocs": {+ "rdfClass": "dqv:Metric",+ "rationale": "Introducing dqv:Metric in the DCAT-US profile enhances dataset quality assessment and management by aligning with international data quality standards. It allows data publishers to systematically define and communicate dataset quality characteristics, promoting transparency and informed data utilization, fostering trust, and supporting responsible data sharing within the DCAT-US ecosystem."+ },+ "examples": [+ {+ "@type": "Metric",+ "expectedDataType": "xsd:decimal",+ "inDimension": "https://example.gov/dimensions/completeness",+ "definition": "Percentage of non-null values in the dataset."+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Organization.json b/demo/corpus/dcat-us/jsonschema/definitions/Organization.jsonnew file mode 100644index 00000000..bb54ef92--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Organization.json@@ -0,0 +1,107 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/organization",+ "title": "Organization",+ "description": "An organization involved with a resource, including parent or child organizations",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/organizations/census-bureau"]+ },+ "@type": {+ "type": "string",+ "default": "Organization"+ },+ "name": {+ "title": "name",+ "description": "The full name of the Organization",+ "type": "string",+ "_oldDocs": {+ "uri": "foaf:name",+ "range": "xsd:string"+ },+ "examples": ["National Climate Data Center", "U.S. Census Bureau"],+ "requirementLevel": "Mandatory"+ },+ "subOrganizationOf": {+ "title": "suborganization of",+ "description": "Represents hierarchical containment of Organizations or OrganizationalUnits; indicates an Organization which contains this Organization",+ "type": ["null", "array"],+ "items": {+ "$ref": "#"+ },+ "_oldDocs": {+ "uri": "org:subOrganizationOf",+ "range": "org:Organization"+ },+ "requirementLevel": "Optional"+ },+ "altLabel": {+ "title": "alternative label",+ "description": "alternative name (trading name, colloquial name) for an organization",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "skos:altLabel",+ "range": "xsd:string"+ },+ "examples": ["NCDC", "Census Bureau"],+ "requirementLevel": "Optional"+ },+ "notation": {+ "title": "notation",+ "description": "List of abbreviations or codes from code lists for an organization (e.g. DOI, DOD)",+ "type": ["null", "array"],+ "items": {+ "title": "Abbreviation",+ "type": "string"+ },+ "_oldDocs": {+ "uri": "skos:notation",+ "range": "xsd:string"+ },+ "examples": [["USCB", "CB"]],+ "requirementLevel": "Optional"+ },+ "prefLabel": {+ "title": "preferred label",+ "description": "Preferred or legal name of the organization",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "skos:prefLabel",+ "range": "xsd:string"+ },+ "examples": ["United States Census Bureau"],+ "requirementLevel": "Optional"+ }+ },+ "required": ["name"],+ "_oldDocs": {+ "rdfClass": "org:Organization",+ "rationale": "Improving the org:Organization class in DCAT-US 3.0 by supporting prefLabel, alternative labels, and abbreviations is essential to enhance organization representation. This enhancement accommodates variations in organization naming, promotes data interoperability, and improves discoverability within datasets. By incorporating these features, DCAT-US 3.0 aligns with best practices in data representation, enhances data search and transparency, and optimizes the overall usability of data resources.",+ "subclassOf": "foaf:Agent"+ },+ "examples": [+ {+ "@type": "Organization",+ "name": "National Climate Data Center",+ "altLabel": "NCDC"+ },+ {+ "@id": "https://example.gov/organizations/census-bureau",+ "@type": "Organization",+ "name": "U.S. Census Bureau",+ "prefLabel": "United States Census Bureau",+ "altLabel": "Census Bureau",+ "notation": ["USCB", "CB"],+ "subOrganizationOf": [+ {+ "@id": "https://example.gov/organizations/doc",+ "@type": "Organization",+ "name": "U.S. Department of Commerce"+ }+ ]+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/PeriodOfTime.json b/demo/corpus/dcat-us/jsonschema/definitions/PeriodOfTime.jsonnew file mode 100644index 00000000..8e7ed6f1--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/PeriodOfTime.json@@ -0,0 +1,113 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/periodoftime",+ "title": "PeriodOfTime",+ "description": "Information about a specific time period with a start- and/or end-time",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/periods/fiscal-year-2024"]+ },+ "@type": {+ "type": "string",+ "default": "PeriodOfTime"+ },+ "endDate": {+ "title": "end date",+ "description": "The end date of the period of time",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcat:endDate",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2024-12-31", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Recommended"+ },+ "startDate": {+ "title": "start date",+ "description": "The start date of the period of time",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcat:startDate",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2023-10-01", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Recommended"+ }+ },+ "anyOf": [+ {+ "required": ["startDate"]+ },+ {+ "required": ["endDate"]+ }+ ],+ "_oldDocs": {+ "rdfClass": "dcterms:PeriodOfTime",+ "rationale": "The introduction of dcterms:PeriodOfTime in DCAT-US 3.0 is pivotal for harmonizing with international standards and rectifying the inconsistency with DCAT 1. In DCAT-US 1.1, [[ISO8601-1]] was used for interval representation in dcterms:temporal, diverging from DCAT 1's requirement of dcterms:PeriodOfTime. This alignment with DCAT 3 standards in DCAT-US 3.0 not only resolves discrepancies but also streamlines data processing, simplifying parsing and indexing of time intervals. By adopting dcterms:PeriodOfTime, DCAT-US 3.0 promotes ease of implementation, ensuring uniformity, flexibility, accuracy, and enhanced interoperability in handling time-related data, ultimately benefiting data usability and exchange."+ },+ "examples": [+ {+ "@type": "PeriodOfTime",+ "startDate": "2024-01-01",+ "endDate": "2024-12-31"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/QualityMeasurement.json b/demo/corpus/dcat-us/jsonschema/definitions/QualityMeasurement.jsonnew file mode 100644index 00000000..98f3e139--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/QualityMeasurement.json@@ -0,0 +1,66 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/qualitymeasurement",+ "title": "QualityMeasurement",+ "description": "A measurement of a resource against a specific quality metric",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/quality-measurements/completeness-001"]+ },+ "@type": {+ "type": "string",+ "default": "QualityMeasurement"+ },+ "isMeasurementOf": {+ "title": "is measurement of",+ "description": "The metric being observed",+ "$ref": "/dcat-us/3.0.0/definitions/metric",+ "_oldDocs": {+ "uri": "dqv:isMeasurementOf",+ "range": "dqv:Metric"+ },+ "requirementLevel": "Mandatory"+ },+ "value": {+ "title": "value",+ "description": "The value computed by metric",+ "type": "string",+ "_oldDocs": {+ "uri": "dqv:value",+ "range": "rdfs:Literal"+ },+ "examples": ["98.5"],+ "requirementLevel": "Mandatory"+ },+ "unitMeasure": {+ "title": "unit of measure",+ "description": "Unit of measure associated with the value",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "sdmx-attribute:unitMeasure",+ "range": "rdfs:Resource"+ },+ "examples": ["percent"],+ "requirementLevel": "Optional"+ }+ },+ "required": ["isMeasurementOf", "value"],+ "_oldDocs": {+ "rdfClass": "dqv:QualityMeasurement",+ "rationale": "The inclusion of dqv:QualityMeasurement in DCAT-US assists end-users in better evaluating the fitness of use of resources. This optional class enhances data quality assessment, aligns with international standards (DQV), and enables more precise evaluation against specific quality metrics, ultimately improving data usability and adherence to recognized quality assessment practices."+ },+ "examples": [+ {+ "@type": "QualityMeasurement",+ "isMeasurementOf": {+ "expectedDataType": "xsd:decimal",+ "inDimension": "https://example.gov/dimensions/completeness"+ },+ "value": "98.5",+ "unitMeasure": "percent"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Relationship.json b/demo/corpus/dcat-us/jsonschema/definitions/Relationship.jsonnew file mode 100644index 00000000..af2f98a2--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Relationship.json@@ -0,0 +1,57 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/relationship",+ "title": "Relationship",+ "description": "Additional information about how one resource is related to another",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": [+ "https://example.gov/relationships/dataset-001-data-provider"+ ]+ },+ "@type": {+ "type": "string",+ "default": "Relationship"+ },+ "hadRole": {+ "title": "role",+ "description": "The function of an entity or agent with respect to a dataset",+ "type": "string",+ "_oldDocs": {+ "uri": "dcat:hadRole",+ "range": "dcat:Role"+ },+ "examples": ["isInputTo", "dataProvider"],+ "requirementLevel": "Mandatory"+ },+ "relation": {+ "title": "relation",+ "description": "The entity related to the dataset. This string should unambiguously identify the related resource using an appropriate identifier.",+ "type": "string",+ "_oldDocs": {+ "uri": "dcterms:relation",+ "range": "rdfs:Resource"+ },+ "examples": [+ "https://example.gov/models/climate-prediction",+ "https://example.gov/organizations/national-weather-service"+ ],+ "requirementLevel": "Mandatory"+ }+ },+ "required": ["hadRole", "relation"],+ "_oldDocs": {+ "rdfClass": "dcat:Relationship",+ "rationale": "The introduction of dcat:Relationship in DCAT-US serves to enhance the representation and description of relationships between datasets and other resources. This class allows for the attachment of additional information to relationships that are not adequately characterized by standard properties, promoting a more comprehensive understanding of dataset connections. By accommodating nuanced relationship types beyond existing standards like [[DCTERMS]] and [[PROV-O]] properties, DCAT-US ensures greater flexibility and precision in documenting dataset relationships, facilitating more informed data discovery and utilization."+ },+ "examples": [+ {+ "@type": "Relationship",+ "hadRole": "isInputTo",+ "relation": "https://example.gov/models/climate-prediction"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/Standard.json b/demo/corpus/dcat-us/jsonschema/definitions/Standard.jsonnew file mode 100644index 00000000..c0b6f506--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/Standard.json@@ -0,0 +1,242 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/standard",+ "title": "Standard",+ "description": "A standard or specification that another resource conforms to",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/standards/dcat-us-3"]+ },+ "@type": {+ "type": "string",+ "default": "Standard"+ },+ "created": {+ "title": "creation date",+ "description": "The date on which the Standard has been first created",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:created",+ "range": "xsd:date"+ },+ "examples": ["2023-01-01", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Optional"+ },+ "description": {+ "title": "description",+ "description": "Plain-language summary of the standard",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:description",+ "range": "rdfs:Literal"+ },+ "examples": [+ "Data Catalog Vocabulary - United States Profile version 3.0",+ "The DCAT-US 3.0 schema defines a standard metadata format for data catalogs in the United States government, based on W3C DCAT."+ ],+ "requirementLevel": "Recommended"+ },+ "identifier": {+ "title": "identifier",+ "description": "The unique identifier for the Standard, e.g. the URI or other unique identifier in the context of the Catalog",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/identifier",+ "description": "inline description of Identifier"+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:identifier",+ "range": "xsd:string"+ },+ "requirementLevel": "Recommended"+ },+ "otherIdentifier": {+ "title": "other identifier",+ "description": "A list of identifiers for the Standard besides the main identifier, e.g. the URI or other unique identifiers in the context of the Catalog",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/identifier"+ },+ "requirementLevel": "Optional"+ },+ "issued": {+ "title": "issued",+ "description": "The date of formal issuance (e.g., publication) of the Standard",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:issued",+ "range": "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or xsd:gYearMonth)"+ },+ "examples": ["2024-01-15", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Recommended"+ },+ "modified": {+ "title": "last modified",+ "description": "The most recent date on which the Standard was changed or modified",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "title": "Date string",+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "string",+ "format": "date"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}$",+ "description": "A year in YYYY format"+ },+ {+ "type": "string",+ "pattern": "^[0-9]{4}-[0-9]{2}$",+ "description": "A year and month in YYYY-MM format"+ }+ ]+ }+ ],+ "_oldDocs": {+ "uri": "dcterms:modified",+ "range": "xsd:date"+ },+ "examples": ["2024-06-01", "2024-01-15T10:30:00Z", "2024", "2024-01"],+ "requirementLevel": "Optional"+ },+ "title": {+ "title": "title",+ "description": "Human-readable title of the standard",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcterms:title",+ "range": "xsd:string"+ },+ "examples": [+ "DCAT-US 3.0",+ "DCAT-US 3.0 - Data Catalog Vocabulary United States Profile"+ ],+ "requirementLevel": "Recommended"+ },+ "category": {+ "title": "category",+ "description": "List of categories for the Standard",+ "type": ["null", "array"],+ "items": {+ "$ref": "/dcat-us/3.0.0/definitions/concept"+ },+ "requirementLevel": "Optional"+ },+ "inScheme": {+ "title": "in scheme",+ "description": "The reference register to which the Standard belongs",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/conceptscheme",+ "description": "inline description of ConceptScheme"+ }+ ],+ "_oldDocs": {+ "uri": "skos:inScheme",+ "range": "skos:ConceptScheme"+ },+ "requirementLevel": "Recommended"+ }+ },+ "required": [],+ "_oldDocs": {+ "rdfClass": "dcterms:Standard",+ "rationale": "The inclusion of dcterms:Standard in DCAT-US accommodates standard references through URLs or custom, detailed descriptions when specific standards are not available, promoting flexibility and completeness in resource metadata."+ },+ "examples": [+ {+ "@type": "Standard",+ "title": "DCAT-US 3.0",+ "description": "Data Catalog Vocabulary - United States Profile version 3.0",+ "issued": "2024-01-15",+ "identifier": {+ "@type": "Identifier",+ "notation": "DCAT-US-3.0",+ "schemaAgency": "U.S. General Services Administration"+ },+ "inScheme": {+ "@type": "ConceptScheme",+ "title": "Federal Data Standards",+ "description": "A collection of data standards used by federal agencies"+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/definitions/UseRestriction.json b/demo/corpus/dcat-us/jsonschema/definitions/UseRestriction.jsonnew file mode 100644index 00000000..84ce18b8--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/definitions/UseRestriction.json@@ -0,0 +1,76 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://resources.data.gov/dcat-us/3.0.0/definitions/userestriction",+ "title": "UseRestriction",+ "description": "Rules or legal limits on how a resource may be used",+ "type": "object",+ "properties": {+ "@id": {+ "type": "string",+ "format": "iri",+ "examples": ["https://example.gov/restrictions/use-restriction-001"]+ },+ "@type": {+ "type": "string",+ "default": "UseRestriction"+ },+ "restrictionNote": {+ "title": "restriction note",+ "description": "Significant information pertaining to the use or reproduction of the data",+ "type": ["null", "string"],+ "_oldDocs": {+ "uri": "dcat-us:restrictionNote",+ "range": "rdfs:Literal"+ },+ "examples": [+ "This data may be used for any purpose without restriction.",+ "This data may be used for research purposes. Commercial use requires written permission from the data steward."+ ],+ "requirementLevel": "Optional"+ },+ "restrictionStatus": {+ "title": "restriction status",+ "description": "Indication of whether or not there are use restrictions on the archival materials, consider using a controlled vocabulary such as https://www.archives.gov/research/catalog/lcdrg/authority-lists/use-restriction-status",+ "$ref": "/dcat-us/3.0.0/definitions/concept",+ "_oldDocs": {+ "uri": "dcat-us:restrictionStatus",+ "range": "skos:Concept"+ },+ "examples": ["Restricted - Fully", "Unrestricted"],+ "requirementLevel": "Mandatory"+ },+ "specificRestriction": {+ "title": "specific restriction",+ "description": "Authority, code list entry, or policy reference that defines the specific use restriction; consider using a controlled vocabulary such as the NARA https://www.archives.gov/research/catalog/lcdrg/authority-lists/specific-use-restriction",+ "anyOf": [+ {+ "type": "null",+ "title": "Null allowed when not required"+ },+ {+ "$ref": "/dcat-us/3.0.0/definitions/concept",+ "description": "inline description of the specific restriction"+ }+ ],+ "_oldDocs": {+ "uri": "dcat-us:specificRestriction",+ "range": "skos:Concept"+ },+ "examples": ["Copyright", "Trademark"],+ "requirementLevel": "Recommended"+ }+ },+ "required": ["restrictionStatus"],+ "_oldDocs": {+ "rdfClass": "dcat-us:UseRestriction",+ "rationale": "The introduction of dcat-us:UseRestriction in DCAT-US 3.0, aligned with NARA (National Archives and Records Administration) guidelines, enhances compliance and interoperability with NARA-specific use restriction standards. This enables organizations to accurately convey NARA-specific restrictions on data resources, ensuring adherence to archival and data preservation requirements, and promoting consistent data management practices within the DCAT-US framework."+ },+ "examples": [+ {+ "@type": "UseRestriction",+ "restrictionStatus": "Restricted - Fully",+ "specificRestriction": "Trademark",+ "restrictionNote": "This data may be used for any purpose without restriction."+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/AccessRestriction/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/AccessRestriction/good/minimal_example.jsonnew file mode 100644index 00000000..9cd395d7--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/AccessRestriction/good/minimal_example.json@@ -0,0 +1,3 @@+{+ "restrictionStatus": "Restricted"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/AccessRestriction/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/AccessRestriction/good/null_example.jsonnew file mode 100644index 00000000..9a675fad--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/AccessRestriction/good/null_example.json@@ -0,0 +1,5 @@+{+ "restrictionNote": null,+ "restrictionStatus": "",+ "specificRestriction": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/AccessRestriction/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/AccessRestriction/good/typical_example.jsonnew file mode 100644index 00000000..79aee472--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/AccessRestriction/good/typical_example.json@@ -0,0 +1,6 @@+{+ "@type": "AccessRestriction",+ "restrictionStatus": "https://example.gov/concepts/restricted",+ "specificRestriction": "https://www.archives.gov/cui/registry/category-list",+ "restrictionNote": "Access restricted to authorized personnel only."+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Activity/bad/invalid_label_type.json b/demo/corpus/dcat-us/jsonschema/examples/Activity/bad/invalid_label_type.jsonnew file mode 100644index 00000000..9c26a56a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Activity/bad/invalid_label_type.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/activities/invalid-activity",+ "@type": "Activity",+ "label": 12345,+ "category": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Activity/bad/missing_required_label.json b/demo/corpus/dcat-us/jsonschema/examples/Activity/bad/missing_required_label.jsonnew file mode 100644index 00000000..3bc929a8--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Activity/bad/missing_required_label.json@@ -0,0 +1,12 @@+{+ "@id": "https://example.gov/activities/invalid-activity",+ "@type": "Activity",+ "category": [+ {+ "@id": "https://example.gov/concepts/data-collection",+ "@type": "Concept",+ "prefLabel": "Data Collection",+ "inScheme": "https://example.gov/concept-schemes/activity-types"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Activity/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Activity/good/complete_example.jsonnew file mode 100644index 00000000..b7f3e003--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Activity/good/complete_example.json@@ -0,0 +1,18 @@+{+ "@id": "https://example.gov/activities/data-processing-001",+ "@type": "Activity",+ "label": "Data Processing and Quality Assurance",+ "category": [+ {+ "@id": "https://example.gov/concepts/data-processing",+ "@type": "Concept",+ "prefLabel": "Data Processing",+ "definition": "Activities related to processing and transforming raw data into usable formats.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/activity-types",+ "@type": "ConceptScheme",+ "title": "Activity Types"+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Activity/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Activity/good/minimal_example.jsonnew file mode 100644index 00000000..d7d3cdfd--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Activity/good/minimal_example.json@@ -0,0 +1,3 @@+{+ "label": "Data Collection"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Activity/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Activity/good/null_example.jsonnew file mode 100644index 00000000..b488c916--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Activity/good/null_example.json@@ -0,0 +1,4 @@+{+ "category": null,+ "label": ""+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Activity/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Activity/good/typical_example.jsonnew file mode 100644index 00000000..500dde18--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Activity/good/typical_example.json@@ -0,0 +1,5 @@+{+ "@type": "Activity",+ "label": "Data Collection",+ "category": ["https://example.gov/concepts/data-collection"]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Address/bad/invalid_country_type.json b/demo/corpus/dcat-us/jsonschema/examples/Address/bad/invalid_country_type.jsonnew file mode 100644index 00000000..06c90c5d--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Address/bad/invalid_country_type.json@@ -0,0 +1,4 @@+{+ "@type": "Address",+ "country-name": 12345+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Address/bad/invalid_postal_code_type.json b/demo/corpus/dcat-us/jsonschema/examples/Address/bad/invalid_postal_code_type.jsonnew file mode 100644index 00000000..5cf834ef--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Address/bad/invalid_postal_code_type.json@@ -0,0 +1,4 @@+{+ "@type": "Address",+ "postal-code": 20230+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Address/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Address/good/complete_example.jsonnew file mode 100644index 00000000..49da077e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Address/good/complete_example.json@@ -0,0 +1,9 @@+{+ "@id": "https://example.gov/addresses/hq-001",+ "@type": "Address",+ "country-name": "United States",+ "locality": "Washington",+ "postal-code": "20230",+ "region": "DC",+ "street-address": "1401 Constitution Ave NW"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Address/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Address/good/minimal_example.jsonnew file mode 100644index 00000000..d0904515--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Address/good/minimal_example.json@@ -0,0 +1,3 @@+{+ "@type": "Address"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Address/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Address/good/null_example.jsonnew file mode 100644index 00000000..26d80c60--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Address/good/null_example.json@@ -0,0 +1,7 @@+{+ "country-name": null,+ "locality": null,+ "postal-code": null,+ "region": null,+ "street-address": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Address/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Address/good/typical_example.jsonnew file mode 100644index 00000000..4bb6739a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Address/good/typical_example.json@@ -0,0 +1,8 @@+{+ "@type": "Address",+ "street-address": "151 Patton Avenue",+ "locality": "Asheville",+ "region": "NC",+ "postal-code": "28801",+ "country-name": "United States"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/concept_missing_prefLabel.json b/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/concept_missing_prefLabel.jsonnew file mode 100644index 00000000..9e767e92--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/concept_missing_prefLabel.json@@ -0,0 +1,12 @@+{+ "@id": "https://example.gov/agents/invalid-agent",+ "@type": "Agent",+ "name": "Valid Agent Name",+ "category": [+ {+ "@id": "https://example.gov/concepts/government-agency",+ "@type": "Concept",+ "inScheme": "https://example.gov/concept-schemes/organization-types"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/invalid_category_type.json b/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/invalid_category_type.jsonnew file mode 100644index 00000000..828715fb--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/invalid_category_type.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/agents/invalid-agent",+ "@type": "Agent",+ "name": "Valid Agent Name",+ "category": 12345+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/invalid_name_type.json b/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/invalid_name_type.jsonnew file mode 100644index 00000000..4170427b--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/invalid_name_type.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/agents/invalid-agent",+ "@type": "Agent",+ "name": 12345,+ "category": ["https://example.gov/concepts/government-agency"]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/missing_required_name.json b/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/missing_required_name.jsonnew file mode 100644index 00000000..efbc5080--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Agent/bad/missing_required_name.json@@ -0,0 +1,12 @@+{+ "@id": "https://example.gov/agents/invalid-agent",+ "@type": "Agent",+ "category": [+ {+ "@id": "https://example.gov/concepts/government-agency",+ "@type": "Concept",+ "prefLabel": "Government Agency",+ "inScheme": "https://example.gov/concept-schemes/organization-types"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Agent/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Agent/good/complete_example.jsonnew file mode 100644index 00000000..55e9ddee--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Agent/good/complete_example.json@@ -0,0 +1,16 @@+{+ "@id": "https://example.gov/agents/data-steward-001",+ "@type": "Agent",+ "name": "U.S. Department of Commerce Data Stewardship Office",+ "category": [+ {+ "@id": "https://example.gov/concepts/government-agency",+ "@type": "Concept",+ "prefLabel": "Government Agency",+ "altLabel": "Federal Agency",+ "definition": "A government organization responsible for public administration and policy implementation.",+ "notation": ["GOV-AGY", "FA"],+ "inScheme": { "title": "Minimal concept scheme" }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Agent/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Agent/good/minimal_example.jsonnew file mode 100644index 00000000..b92e77ed--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Agent/good/minimal_example.json@@ -0,0 +1,3 @@+{+ "name": "U.S. Department of Commerce Data Stewardship Office"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Agent/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Agent/good/null_example.jsonnew file mode 100644index 00000000..fc009dd8--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Agent/good/null_example.json@@ -0,0 +1,4 @@+{+ "category": null,+ "name": "Agent name"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Agent/good/simple_category_example.json b/demo/corpus/dcat-us/jsonschema/examples/Agent/good/simple_category_example.jsonnew file mode 100644index 00000000..39917a12--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Agent/good/simple_category_example.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/agents/data-steward-001",+ "@type": "Agent",+ "name": "U.S. Department of Commerce Data Stewardship Office",+ "category": ["Organization"]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Agent/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Agent/good/typical_example.jsonnew file mode 100644index 00000000..35780d50--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Agent/good/typical_example.json@@ -0,0 +1,5 @@+{+ "@type": "Agent",+ "name": "National Climate Data Center",+ "category": ["https://example.gov/concepts/federal-agency"]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Attribution/bad/invalid_hadRole_type.json b/demo/corpus/dcat-us/jsonschema/examples/Attribution/bad/invalid_hadRole_type.jsonnew file mode 100644index 00000000..c7c1114d--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Attribution/bad/invalid_hadRole_type.json@@ -0,0 +1,8 @@+{+ "@id": "https://example.gov/attributions/invalid",+ "@type": "Attribution",+ "hadRole": 12345,+ "agent": {+ "name": "Environmental Data Management Office"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Attribution/bad/missing_required_agent.json b/demo/corpus/dcat-us/jsonschema/examples/Attribution/bad/missing_required_agent.jsonnew file mode 100644index 00000000..633b990c--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Attribution/bad/missing_required_agent.json@@ -0,0 +1,5 @@+{+ "@id": "https://example.gov/attributions/invalid",+ "@type": "Attribution",+ "hadRole": "Data Steward"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Attribution/bad/missing_required_hadRole.json b/demo/corpus/dcat-us/jsonschema/examples/Attribution/bad/missing_required_hadRole.jsonnew file mode 100644index 00000000..833f6419--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Attribution/bad/missing_required_hadRole.json@@ -0,0 +1,7 @@+{+ "@id": "https://example.gov/attributions/invalid",+ "@type": "Attribution",+ "agent": {+ "name": "Environmental Data Management Office"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Attribution/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Attribution/good/complete_example.jsonnew file mode 100644index 00000000..72a4bea0--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Attribution/good/complete_example.json@@ -0,0 +1,23 @@+{+ "@id": "https://example.gov/attributions/dataset-steward-001",+ "@type": "Attribution",+ "hadRole": "Data Steward",+ "agent": {+ "@id": "https://example.gov/agents/env-data-office-001",+ "@type": "Agent",+ "name": "Environmental Data Management Office",+ "category": [+ {+ "@id": "https://example.gov/concepts/government-office",+ "@type": "Concept",+ "prefLabel": "Government Office",+ "definition": "A subdivision of a government agency responsible for specific functions.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/organization-types",+ "@type": "ConceptScheme",+ "title": "Organization Types"+ }+ }+ ]+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Attribution/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Attribution/good/minimal_example.jsonnew file mode 100644index 00000000..35566337--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Attribution/good/minimal_example.json@@ -0,0 +1,6 @@+{+ "hadRole": "Data Steward",+ "agent": {+ "name": "Environmental Data Management Office"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Attribution/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Attribution/good/typical_example.jsonnew file mode 100644index 00000000..36ef40bd--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Attribution/good/typical_example.json@@ -0,0 +1,7 @@+{+ "@type": "Attribution",+ "hadRole": "Data Steward",+ "agent": {+ "name": "Environmental Data Management Office"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/bad/invalid_cuiBannerMarking_type.json b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/bad/invalid_cuiBannerMarking_type.jsonnew file mode 100644index 00000000..f8dfdb2b--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/bad/invalid_cuiBannerMarking_type.json@@ -0,0 +1,5 @@+{+ "@type": "CUIRestriction",+ "cuiBannerMarking": 123,+ "designationIndicator": "DOC"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/bad/missing_cuiBannerMarking.json b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/bad/missing_cuiBannerMarking.jsonnew file mode 100644index 00000000..657a2b70--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/bad/missing_cuiBannerMarking.json@@ -0,0 +1,4 @@+{+ "@type": "CUIRestriction",+ "designationIndicator": "DOC"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/bad/missing_designationIndicator.json b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/bad/missing_designationIndicator.jsonnew file mode 100644index 00000000..7bb4bf49--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/bad/missing_designationIndicator.json@@ -0,0 +1,4 @@+{+ "@type": "CUIRestriction",+ "cuiBannerMarking": "CUI//SP-PRVCY"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/complete_example.jsonnew file mode 100644index 00000000..bac22cfa--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/complete_example.json@@ -0,0 +1,10 @@+{+ "@id": "https://example.gov/cui-restrictions/dataset-001",+ "@type": "CUIRestriction",+ "cuiBannerMarking": "CUI//SP-PRVCY//SP-LEGAL",+ "designationIndicator": "DOC",+ "requiredIndicatorPerAuthority": [+ "Privacy Act of 1974",+ "Federal Records Act"+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/minimal_example.jsonnew file mode 100644index 00000000..f49a24b7--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/minimal_example.json@@ -0,0 +1,5 @@+{+ "@type": "CUIRestriction",+ "cuiBannerMarking": "CUI//SP-PRVCY",+ "designationIndicator": "DOC"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/null_example.jsonnew file mode 100644index 00000000..35f44fc8--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/null_example.json@@ -0,0 +1,5 @@+{+ "cuiBannerMarking": "",+ "designationIndicator": "",+ "requiredIndicatorPerAuthority": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/typical_example.jsonnew file mode 100644index 00000000..c9d33754--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CUIRestriction/good/typical_example.json@@ -0,0 +1,5 @@+{+ "@type": "CUIRestriction",+ "cuiBannerMarking": "CUI//SP-CTI",+ "designationIndicator": "Agency XYZ"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_dataset_type.json b/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_dataset_type.jsonnew file mode 100644index 00000000..b68c0ab0--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_dataset_type.json@@ -0,0 +1,6 @@+{+ "@type": "Catalog",+ "title": "Catalog With Invalid Dataset Type",+ "description": "This catalog has dataset as a string instead of an array.",+ "dataset": "This should be an array, not a string"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_homepage_type.json b/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_homepage_type.jsonnew file mode 100644index 00000000..5d18df9a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_homepage_type.json@@ -0,0 +1,18 @@+{+ "@type": "Catalog",+ "title": "Catalog With Invalid Homepage",+ "description": "This catalog has homepage as a string URL instead of a Document object.",+ "dataset": [+ {+ "@type": "Dataset",+ "title": "Example Dataset",+ "description": "A valid dataset.",+ "contactPoint": {+ "fn": "Support",+ "hasEmail": "mailto:[email protected]"+ },+ "identifier": "https://example.gov/datasets/catalog-example-001"+ }+ ],+ "homepage": "https://example.gov/invalid-homepage-format"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_issued_format.json b/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_issued_format.jsonnew file mode 100644index 00000000..83fd3bbf--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_issued_format.json@@ -0,0 +1,18 @@+{+ "@type": "Catalog",+ "title": "Catalog With Invalid Date Format",+ "description": "This catalog has an invalid issued date format.",+ "dataset": [+ {+ "@type": "Dataset",+ "title": "Example Dataset",+ "description": "A valid dataset.",+ "contactPoint": {+ "fn": "Support",+ "hasEmail": "mailto:[email protected]"+ },+ "identifier": "https://example.gov/datasets/catalog-example-001"+ }+ ],+ "issued": "January 15, 2020"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_language_format.json b/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_language_format.jsonnew file mode 100644index 00000000..ad29af32--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/invalid_language_format.json@@ -0,0 +1,18 @@+{+ "@type": "Catalog",+ "title": "Catalog With Invalid Language Format",+ "description": "This catalog has language codes that are too long.",+ "dataset": [+ {+ "@type": "Dataset",+ "title": "Example Dataset",+ "description": "A valid dataset.",+ "contactPoint": {+ "fn": "Support",+ "hasEmail": "mailto:[email protected]"+ },+ "identifier": "https://example.gov/datasets/catalog-example-001"+ }+ ],+ "language": ["english", "spanish"]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/missing_required_dataset.json b/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/missing_required_dataset.jsonnew file mode 100644index 00000000..d606cb4e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Catalog/bad/missing_required_dataset.json@@ -0,0 +1,5 @@+{+ "@type": "Catalog",+ "title": "Catalog Without Datasets",+ "description": "This catalog is missing the required dataset field."+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Catalog/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Catalog/good/complete_example.jsonnew file mode 100644index 00000000..cd4be9d5--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Catalog/good/complete_example.json@@ -0,0 +1,256 @@+{+ "@id": "https://example.gov/catalogs/federal-data-catalog",+ "@type": "Catalog",+ "title": "Federal Data Catalog",+ "description": "A comprehensive catalog of federal government data assets spanning multiple agencies and data domains.",+ "publisher": {+ "@type": "Agent",+ "name": "Federal Data Management Office",+ "category": [+ {+ "@type": "Concept",+ "prefLabel": "Government Agency"+ }+ ]+ },+ "creator": [+ {+ "@type": "Agent",+ "name": "Data Governance Team"+ }+ ],+ "contactPoint": [+ {+ "@type": "Kind",+ "fn": "Federal Data Support Center",+ "hasEmail": "mailto:[email protected]",+ "address": [+ {+ "@type": "Address",+ "street-address": "1800 F Street NW",+ "locality": "Washington",+ "region": "DC",+ "postal-code": "20405",+ "country-name": "United States"+ }+ ],+ "tel": "tel:+1-202-555-0100"+ }+ ],+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "accessRights": "Public access with no restrictions",+ "rights": [+ "This catalog is maintained by the Federal Data Management Office.",+ "Data within this catalog may be subject to individual dataset licensing terms."+ ],+ "rightsHolder": [+ {+ "@type": "Organization",+ "name": "Federal Data Management Office"+ }+ ],+ "language": ["en", "es"],+ "issued": "2020-01-15",+ "modified": "2024-06-01T14:30:00Z",+ "identifier": {+ "@type": "Identifier",+ "notation": "FDC-2020-001",+ "creator": {+ "@type": "Agent",+ "name": "Federal Data Management Office"+ }+ },+ "otherIdentifier": [+ {+ "@type": "Identifier",+ "notation": "LEGACY-CAT-001"+ }+ ],+ "keyword": ["federal data", "government", "open data", "public records"],+ "theme": [+ {+ "@type": "Concept",+ "prefLabel": "Government Administration"+ },+ {+ "@type": "Concept",+ "prefLabel": "Public Services"+ }+ ],+ "themeTaxonomy": [+ {+ "@type": "ConceptScheme",+ "title": "Federal Data Categories",+ "description": "Standard classification scheme for federal government data"+ }+ ],+ "subject": [+ {+ "@type": "Concept",+ "prefLabel": "Public Administration"+ }+ ],+ "category": [+ {+ "@type": "Concept",+ "prefLabel": "Aggregate Catalog"+ }+ ],+ "spatial": [+ {+ "@type": "Location",+ "prefLabel": "United States of America",+ "identifier": "https://www.geonames.org/6252001/"+ }+ ],+ "temporal": [+ {+ "@type": "PeriodOfTime",+ "startDate": "2000-01-01",+ "endDate": "2024-12-31"+ }+ ],+ "conformsTo": {+ "@type": "Standard",+ "title": "DCAT-US 3.0"+ },+ "homepage": {+ "@type": "Document",+ "title": "Federal Data Catalog Portal",+ "accessURL": "https://example.gov/data-catalog",+ "description": "The main portal for accessing the Federal Data Catalog"+ },+ "dataset": [+ {+ "@type": "Dataset",+ "title": "Annual Budget Data",+ "description": "Federal budget allocations and expenditures by agency and fiscal year.",+ "contactPoint": {+ "fn": "Budget Data Team",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "Office of Management and Budget"+ },+ "identifier": "https://example.gov/datasets/catalog-complete-001"+ },+ {+ "@type": "Dataset",+ "title": "Employment Statistics",+ "description": "Monthly employment data across federal agencies.",+ "contactPoint": {+ "fn": "HR Data Team",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "Office of Personnel Management"+ },+ "identifier": "https://example.gov/datasets/catalog-complete-002"+ }+ ],+ "datasetSeries": [+ {+ "@id": "https://example.gov/series/federal-budget-data-series",+ "@type": "DatasetSeries",+ "title": "Federal Budget Data Series",+ "description": "A series of federal budget datasets published by fiscal year.",+ "publisher": {+ "name": "Office of Management and Budget"+ },+ "seriesMember": [+ {+ "@type": "Dataset",+ "title": "Annual Budget Data",+ "description": "Federal budget allocations and expenditures by agency and fiscal year.",+ "contactPoint": {+ "fn": "Budget Data Team",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "Office of Management and Budget"+ },+ "identifier": "https://example.gov/datasets/catalog-complete-001"+ }+ ]+ }+ ],+ "service": [+ {+ "@type": "DataService",+ "title": "Federal Data API",+ "endpointURL": ["https://api.example.gov/data/v1"],+ "contactPoint": [+ {+ "fn": "API Support",+ "hasEmail": "mailto:[email protected]"+ }+ ],+ "publisher": {+ "@type": "Agent",+ "name": "Federal Data Management Office"+ },+ "identifier": "https://example.gov/services/catalog-service-001"+ }+ ],+ "record": [+ {+ "@type": "CatalogRecord",+ "modified": "2024-06-01",+ "primaryTopic": "https://example.gov/datasets/annual-budget-data"+ }+ ],+ "catalog": [+ {+ "@type": "Catalog",+ "title": "Related Agency Catalog",+ "description": "A related catalog from a partner agency.",+ "dataset": [+ {+ "@type": "Dataset",+ "title": "Partner Dataset",+ "description": "Dataset from partner agency.",+ "contactPoint": {+ "fn": "Partner Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "Partner Agency"+ },+ "identifier": "https://example.gov/datasets/subcatalog-1-dataset-001"+ }+ ]+ }+ ],+ "hasPart": [+ {+ "@type": "Catalog",+ "title": "Budget Sub-Catalog",+ "description": "A sub-catalog focused on budget-related datasets.",+ "dataset": [+ {+ "@type": "Dataset",+ "title": "Quarterly Budget Reports",+ "description": "Quarterly financial reports.",+ "contactPoint": {+ "fn": "Finance Team",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "Treasury Department"+ },+ "identifier": "https://example.gov/datasets/subcatalog-1-dataset-002"+ }+ ]+ }+ ],+ "qualifiedAttribution": [+ {+ "@type": "Attribution",+ "agent": {+ "@type": "Agent",+ "name": "Data Quality Assurance Team"+ },+ "hadRole": "Data Quality"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Catalog/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Catalog/good/minimal_example.jsonnew file mode 100644index 00000000..3b2ef569--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Catalog/good/minimal_example.json@@ -0,0 +1,15 @@+{+ "@type": "Catalog",+ "dataset": [+ {+ "@type": "Dataset",+ "title": "Example Dataset",+ "description": "A simple dataset for testing.",+ "contactPoint": {+ "fn": "Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "identifier": "https://example.gov/datasets/catalog-example-001"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Catalog/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Catalog/good/typical_example.jsonnew file mode 100644index 00000000..921abd05--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Catalog/good/typical_example.json@@ -0,0 +1,76 @@+{+ "@type": "Catalog",+ "title": "National Climate Data Catalog",+ "description": "A comprehensive catalog of climate and weather datasets from federal monitoring stations across the United States.",+ "publisher": {+ "@type": "Agent",+ "name": "National Climate Data Center"+ },+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "dataset": [+ {+ "@type": "Dataset",+ "title": "Daily Climate Observations 2024",+ "description": "Daily temperature, precipitation, and wind measurements.",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/climate-observations-1"+ }+ ],+ "datasetSeries": [+ {+ "@id": "https://example.gov/series/annual-climate-observations",+ "@type": "DatasetSeries",+ "title": "Annual Climate Observations",+ "description": "A series of annual climate observation datasets from monitoring stations.",+ "publisher": {+ "name": "National Climate Data Center"+ },+ "seriesMember": [+ {+ "@type": "Dataset",+ "title": "Daily Climate Observations 2024",+ "description": "Daily temperature, precipitation, and wind measurements.",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/climate-observations-1"+ }+ ]+ }+ ],+ "homepage": {+ "@type": "Document",+ "title": "National Climate Data Catalog Homepage",+ "accessURL": "https://example.gov/climate-data"+ },+ "language": ["en"],+ "issued": "2020-01-15",+ "modified": "2024-06-01",+ "rights": ["This catalog is maintained by the National Climate Data Center."],+ "spatial": [+ {+ "@type": "Location",+ "prefLabel": "United States"+ }+ ],+ "themeTaxonomy": [+ {+ "@type": "ConceptScheme",+ "title": "Climate Science Topics"+ }+ ],+ "conformsTo": {+ "@type": "Standard",+ "title": "DCAT-US 3.0"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/bad/invalid_modified_format.json b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/bad/invalid_modified_format.jsonnew file mode 100644index 00000000..6c97eba6--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/bad/invalid_modified_format.json@@ -0,0 +1,7 @@+{+ "@id": "https://example.gov/catalog-records/invalid",+ "@type": "CatalogRecord",+ "title": "Invalid Date Format Record",+ "modified": "January 15, 2024",+ "primaryTopic": "https://example.gov/datasets/some-dataset"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/bad/missing_required_modified.json b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/bad/missing_required_modified.jsonnew file mode 100644index 00000000..e07a620f--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/bad/missing_required_modified.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/catalog-records/invalid",+ "@type": "CatalogRecord",+ "title": "Missing Required Fields Record",+ "primaryTopic": "https://example.gov/datasets/some-dataset"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/bad/missing_required_primaryTopic.json b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/bad/missing_required_primaryTopic.jsonnew file mode 100644index 00000000..7109103d--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/bad/missing_required_primaryTopic.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/catalog-records/invalid",+ "@type": "CatalogRecord",+ "title": "Missing Required Fields Record",+ "modified": "2024-01-15"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/good/complete_example.jsonnew file mode 100644index 00000000..1507c7a7--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/good/complete_example.json@@ -0,0 +1,31 @@+{+ "@id": "https://example.gov/catalog-records/climate-dataset-record-001",+ "@type": "CatalogRecord",+ "title": "Climate Data 2023 Catalog Record",+ "description": [+ "This catalog record describes the registration of the Climate Data 2023 dataset.",+ "Contains metadata about when the dataset was added and last updated."+ ],+ "issued": ["2023-06-01"],+ "modified": "2024-01-15T10:30:00Z",+ "language": ["en", "es"],+ "source": "Original metadata harvested from NOAA data portal",+ "status": {+ "@id": "https://example.gov/concepts/status-published",+ "@type": "Concept",+ "prefLabel": "Published",+ "definition": "The catalog record has been published and is publicly available.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/record-status",+ "@type": "ConceptScheme",+ "title": "Record Status"+ }+ },+ "conformsTo": {+ "@id": "https://example.gov/standards/dcat-us-3",+ "@type": "Standard",+ "title": "DCAT-US 3.0",+ "description": "Data Catalog Vocabulary - United States Profile version 3.0"+ },+ "primaryTopic": "https://example.gov/datasets/climate-data-2023"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/good/minimal_example.jsonnew file mode 100644index 00000000..474b3041--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/good/minimal_example.json@@ -0,0 +1,4 @@+{+ "modified": "2024-01-15",+ "primaryTopic": "https://example.gov/datasets/climate-data-2023"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/good/typical_example.jsonnew file mode 100644index 00000000..12ffa788--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/CatalogRecord/good/typical_example.json@@ -0,0 +1,12 @@+{+ "@type": "CatalogRecord",+ "modified": "2024-06-15",+ "primaryTopic": "https://example.gov/datasets/climate-data-2024",+ "title": "Climate Data 2024 Catalog Entry",+ "issued": ["2024-01-15"],+ "status": "published",+ "conformsTo": {+ "@type": "Standard",+ "title": "DCAT-US 3.0"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Checksum/bad/invalid_algorithm_type.json b/demo/corpus/dcat-us/jsonschema/examples/Checksum/bad/invalid_algorithm_type.jsonnew file mode 100644index 00000000..6fbd6a2c--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Checksum/bad/invalid_algorithm_type.json@@ -0,0 +1,5 @@+{+ "@type": "Checksum",+ "algorithm": 256,+ "checksumValue": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Checksum/bad/missing_algorithm.json b/demo/corpus/dcat-us/jsonschema/examples/Checksum/bad/missing_algorithm.jsonnew file mode 100644index 00000000..6d93be00--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Checksum/bad/missing_algorithm.json@@ -0,0 +1,4 @@+{+ "@type": "Checksum",+ "checksumValue": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Checksum/bad/missing_checksumValue.json b/demo/corpus/dcat-us/jsonschema/examples/Checksum/bad/missing_checksumValue.jsonnew file mode 100644index 00000000..9b2f1ae9--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Checksum/bad/missing_checksumValue.json@@ -0,0 +1,4 @@+{+ "@type": "Checksum",+ "algorithm": "SHA-256"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/complete_example.jsonnew file mode 100644index 00000000..984ea73a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/complete_example.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/checksums/dataset-001-sha256",+ "@type": "Checksum",+ "algorithm": "SHA-256",+ "checksumValue": "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/minimal_example.jsonnew file mode 100644index 00000000..ab8031f6--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/minimal_example.json@@ -0,0 +1,5 @@+{+ "@type": "Checksum",+ "algorithm": "SHA-256",+ "checksumValue": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/null_example.jsonnew file mode 100644index 00000000..8c9e1d58--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/null_example.json@@ -0,0 +1,4 @@+{+ "algorithm": "",+ "checksumValue": ""+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/typical_example.jsonnew file mode 100644index 00000000..412cce6a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Checksum/good/typical_example.json@@ -0,0 +1,5 @@+{+ "@type": "Checksum",+ "algorithm": "SHA-256",+ "checksumValue": "a1b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef123456"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/empty_object.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/empty_object.jsonnew file mode 100644index 00000000..8e74e47e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/empty_object.json@@ -0,0 +1,4 @@+{+ "_comment": "INVALID: Empty object missing required 'prefLabel' property",+ "@type": "Concept"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_altLabel_type.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_altLabel_type.jsonnew file mode 100644index 00000000..4cd4f2ad--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_altLabel_type.json@@ -0,0 +1,6 @@+{+ "_comment": "INVALID: 'altLabel' must be null or string, not a number",+ "@type": "Concept",+ "prefLabel": "Environment",+ "altLabel": 999+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_definition_type.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_definition_type.jsonnew file mode 100644index 00000000..74b77e2f--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_definition_type.json@@ -0,0 +1,8 @@+{+ "_comment": "INVALID: 'definition' must be null or string, not an object",+ "@type": "Concept",+ "prefLabel": "Environment",+ "definition": {+ "text": "This should be a plain string"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_inScheme_type.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_inScheme_type.jsonnew file mode 100644index 00000000..ce93c0bc--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_inScheme_type.json@@ -0,0 +1,6 @@+{+ "_comment": "INVALID: 'inScheme' must be a ConceptScheme object or IRI string, not a number",+ "@type": "Concept",+ "prefLabel": "Environment",+ "inScheme": 12345+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_notation_items_type.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_notation_items_type.jsonnew file mode 100644index 00000000..57e8e632--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_notation_items_type.json@@ -0,0 +1,6 @@+{+ "_comment": "INVALID: 'notation' array items must be strings, not numbers",+ "@type": "Concept",+ "prefLabel": "Environment",+ "notation": [1, 2, 3]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_notation_type_string.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_notation_type_string.jsonnew file mode 100644index 00000000..bb374129--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_notation_type_string.json@@ -0,0 +1,6 @@+{+ "_comment": "INVALID: 'notation' must be null or an array of strings, not a single string",+ "@type": "Concept",+ "prefLabel": "Environment",+ "notation": "ENV"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_prefLabel_type_array.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_prefLabel_type_array.jsonnew file mode 100644index 00000000..3f3915ae--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_prefLabel_type_array.json@@ -0,0 +1,5 @@+{+ "_comment": "INVALID: 'prefLabel' must be a string, not an array",+ "@type": "Concept",+ "prefLabel": ["Label One", "Label Two"]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_prefLabel_type_number.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_prefLabel_type_number.jsonnew file mode 100644index 00000000..fd142b3c--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/invalid_prefLabel_type_number.json@@ -0,0 +1,5 @@+{+ "_comment": "INVALID: 'prefLabel' must be a string, not a number",+ "@type": "Concept",+ "prefLabel": 12345+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/missing_required_prefLabel.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/missing_required_prefLabel.jsonnew file mode 100644index 00000000..70d2eb8a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/bad/missing_required_prefLabel.json@@ -0,0 +1,7 @@+{+ "_comment": "INVALID: Object type Concept requires the 'prefLabel' property",+ "@id": "https://resources.data.gov/concepts/invalid",+ "@type": "Concept",+ "altLabel": "Alternate Name",+ "definition": "A concept without a preferred label"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/good/complete_example.jsonnew file mode 100644index 00000000..ea219fdf--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/good/complete_example.json@@ -0,0 +1,15 @@+{+ "@id": "https://example.gov/concepts/environment",+ "@type": "Concept",+ "prefLabel": "Environment",+ "altLabel": "Ecology",+ "definition": "The natural world, including air, water, land, plants, and animals, especially as affected by human activity.",+ "notation": ["ENV", "E01", "ENVI"],+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/data-themes",+ "@type": "ConceptScheme",+ "version": "2.0",+ "description": "DCAT-US approved themes for categorizing datasets",+ "title": "Data Themes"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/good/minimal_object.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/good/minimal_object.jsonnew file mode 100644index 00000000..740c00c2--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/good/minimal_object.json@@ -0,0 +1,4 @@+{+ "@type": "Concept",+ "prefLabel": "Environment"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/good/null_example.jsonnew file mode 100644index 00000000..81104936--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/good/null_example.json@@ -0,0 +1,3 @@+{+ "prefLabel": ""+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Concept/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Concept/good/typical_example.jsonnew file mode 100644index 00000000..58f1ed7a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Concept/good/typical_example.json@@ -0,0 +1,10 @@+{+ "@type": "Concept",+ "prefLabel": "Climate Science",+ "definition": "The scientific study of climate patterns and change.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/science-domains",+ "@type": "ConceptScheme",+ "title": "Science Domains"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/bad/invalid_date_format.json b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/bad/invalid_date_format.jsonnew file mode 100644index 00000000..0e8b5fec--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/bad/invalid_date_format.json@@ -0,0 +1,5 @@+{+ "@type": "ConceptScheme",+ "title": "Test Scheme",+ "created": "anyString"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/bad/invalid_title_type.json b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/bad/invalid_title_type.jsonnew file mode 100644index 00000000..e63654c5--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/bad/invalid_title_type.json@@ -0,0 +1,4 @@+{+ "@type": "ConceptScheme",+ "title": 12345+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/bad/missing_title.json b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/bad/missing_title.jsonnew file mode 100644index 00000000..26e63063--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/bad/missing_title.json@@ -0,0 +1,4 @@+{+ "@type": "ConceptScheme",+ "description": "A scheme without a title"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/complete_example.jsonnew file mode 100644index 00000000..7a324547--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/complete_example.json@@ -0,0 +1,10 @@+{+ "@id": "https://example.gov/concept-schemes/data-classification",+ "@type": "ConceptScheme",+ "title": "Federal Data Classification Scheme",+ "description": "A controlled vocabulary for classifying federal government data assets by sensitivity and access requirements.",+ "version": "2.0.1",+ "created": "2020",+ "issued": "2020",+ "modified": "2024"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/minimal_example.jsonnew file mode 100644index 00000000..e5c995d2--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/minimal_example.json@@ -0,0 +1,4 @@+{+ "@type": "ConceptScheme",+ "title": "Federal Data Classification Scheme"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/null_example.jsonnew file mode 100644index 00000000..ec009884--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/null_example.json@@ -0,0 +1,8 @@+{+ "created": null,+ "description": null,+ "issued": null,+ "modified": null,+ "title": "",+ "version": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/typical_example.jsonnew file mode 100644index 00000000..ba2094d1--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/ConceptScheme/good/typical_example.json@@ -0,0 +1,6 @@+{+ "@type": "ConceptScheme",+ "title": "Science Domains",+ "description": "A classification scheme for scientific research domains.",+ "issued": "2020-01-01"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_contactPoint.json b/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_contactPoint.jsonnew file mode 100644index 00000000..2a41437e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_contactPoint.json@@ -0,0 +1,9 @@+{+ "@id": "https://example.gov/data-services/invalid",+ "@type": "DataService",+ "title": "Invalid Service",+ "endpointURL": ["https://api.example.gov/invalid"],+ "publisher": {+ "name": "Example Agency"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_endpointURL.json b/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_endpointURL.jsonnew file mode 100644index 00000000..b62910e0--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_endpointURL.json@@ -0,0 +1,14 @@+{+ "@id": "https://example.gov/data-services/invalid",+ "@type": "DataService",+ "title": "Invalid Service",+ "contactPoint": [+ {+ "fn": "Support Team",+ "hasEmail": "mailto:[email protected]"+ }+ ],+ "publisher": {+ "name": "Example Agency"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_publisher.json b/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_publisher.jsonnew file mode 100644index 00000000..2ae113fa--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_publisher.json@@ -0,0 +1,12 @@+{+ "@id": "https://example.gov/data-services/invalid",+ "@type": "DataService",+ "title": "Invalid Service",+ "endpointURL": ["https://api.example.gov/invalid"],+ "contactPoint": [+ {+ "fn": "Support Team",+ "hasEmail": "mailto:[email protected]"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_title.json b/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_title.jsonnew file mode 100644index 00000000..eb1d9172--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DataService/bad/missing_required_title.json@@ -0,0 +1,14 @@+{+ "@id": "https://example.gov/data-services/invalid",+ "@type": "DataService",+ "endpointURL": ["https://api.example.gov/invalid"],+ "contactPoint": [+ {+ "fn": "Support Team",+ "hasEmail": "mailto:[email protected]"+ }+ ],+ "publisher": {+ "name": "Example Agency"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DataService/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/DataService/good/complete_example.jsonnew file mode 100644index 00000000..9801a247--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DataService/good/complete_example.json@@ -0,0 +1,183 @@+{+ "@id": "https://example.gov/data-services/climate-api-001",+ "@type": "DataService",+ "title": "Climate Data REST API",+ "description": "A RESTful API providing access to historical and real-time climate data including temperature, precipitation, and atmospheric conditions.",+ "endpointURL": [+ "https://api.example.gov/climate/v1",+ "https://api.example.gov/climate/v2"+ ],+ "endpointDescription": ["https://api.example.gov/climate/docs/openapi.json"],+ "contactPoint": [+ {+ "@id": "https://example.gov/contacts/climate-team-001",+ "@type": "Kind",+ "fn": "Climate Data Support Team",+ "hasEmail": "mailto:[email protected]",+ "organization-name": "National Climate Data Center",+ "tel": "+1-555-123-4567",+ "address": [+ {+ "@id": "https://example.gov/addresses/climate-office-001",+ "country-name": "United States",+ "locality": "Asheville",+ "postal-code": "28801",+ "region": "NC",+ "street-address": "151 Patton Ave"+ }+ ]+ }+ ],+ "publisher": {+ "@id": "https://example.gov/agents/ncdc-001",+ "@type": "Agent",+ "name": "National Climate Data Center",+ "category": [+ {+ "@id": "https://example.gov/concepts/federal-agency",+ "@type": "Concept",+ "prefLabel": "Federal Agency",+ "definition": "An agency of the federal government of the United States.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/organization-types",+ "@type": "ConceptScheme",+ "title": "Organization Types"+ }+ }+ ]+ },+ "servesDataset": [+ {+ "@id": "https://example.gov/datasets/daily-climate-obs",+ "@type": "Dataset",+ "title": "Daily Climate Observations",+ "description": "Daily observations of temperature, precipitation, and other climate variables.",+ "contactPoint": [+ {+ "fn": "Climate Data Team",+ "hasEmail": "mailto:[email protected]"+ }+ ],+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/served-dataset-001"+ }+ ],+ "keyword": ["climate", "weather", "temperature", "API", "REST"],+ "theme": [+ {+ "@id": "https://example.gov/concepts/climate-science",+ "@type": "Concept",+ "prefLabel": "Climate Science",+ "definition": "The scientific study of climate and climate change.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/science-domains",+ "@type": "ConceptScheme",+ "title": "Science Domains"+ }+ }+ ],+ "conformsTo": [+ {+ "@id": "https://example.gov/standards/ogc-api-features",+ "@type": "Standard",+ "title": "OGC API - Features",+ "description": "OGC standard for accessing geospatial features via a Web API."+ }+ ],+ "language": ["en", "es"],+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "accessRights": "Public access with no restrictions",+ "created": "2020-01-15",+ "modified": "2024-03-20",+ "spatialResolutionInMeters": "1000",+ "temporalResolution": "P1D",+ "spatial": [+ {+ "@id": "https://example.gov/locations/usa",+ "@type": "Location",+ "geometry": "POLYGON((-125 24, -66 24, -66 50, -125 50, -125 24))"+ }+ ],+ "temporal": [+ {+ "@id": "https://example.gov/periods/1950-present",+ "@type": "PeriodOfTime",+ "startDate": "1950-01-01",+ "endDate": "2024-12-31"+ }+ ],+ "creator": [+ {+ "@id": "https://example.gov/agents/ncdc-team",+ "@type": "Agent",+ "name": "NCDC Development Team"+ }+ ],+ "rights": [+ "Data provided by the National Climate Data Center is in the public domain."+ ],+ "rightsHolder": [+ {+ "@id": "https://example.gov/organizations/noaa",+ "@type": "Organization",+ "name": "National Oceanic and Atmospheric Administration"+ }+ ],+ "identifier": {+ "@type": "Identifier",+ "schemaAgency": "example.gov",+ "notation": "CLIMATE-API-001"+ },+ "otherIdentifier": [+ {+ "@type": "Identifier",+ "schemaAgency": "DOI",+ "notation": "10.12345/climate-api"+ }+ ],+ "accessRestriction": [+ {+ "@id": "https://example.gov/restrictions/none",+ "@type": "AccessRestriction",+ "restrictionNote": "No access restrictions apply to this data service.",+ "restrictionStatus": {+ "@id": "https://example.gov/concepts/unrestricted",+ "@type": "Concept",+ "prefLabel": "Unrestricted",+ "definition": "No restrictions on access.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/restriction-status",+ "@type": "ConceptScheme",+ "title": "Restriction Status"+ }+ }+ }+ ],+ "cuiRestriction": {+ "@id": "https://example.gov/cui-restrictions/none",+ "@type": "CUIRestriction",+ "cuiBannerMarking": "",+ "designationIndicator": "",+ "requiredIndicatorPerAuthority": []+ },+ "useRestriction": [+ {+ "@id": "https://example.gov/restrictions/attribution",+ "@type": "UseRestriction",+ "restrictionNote": "Attribution to the Climate Data Center is requested but not required.",+ "restrictionStatus": {+ "@id": "https://example.gov/concepts/unrestricted",+ "@type": "Concept",+ "prefLabel": "Unrestricted",+ "definition": "No restrictions on use.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/restriction-status",+ "@type": "ConceptScheme",+ "title": "Restriction Status"+ }+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DataService/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/DataService/good/minimal_example.jsonnew file mode 100644index 00000000..74dde2d9--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DataService/good/minimal_example.json@@ -0,0 +1,13 @@+{+ "title": "Climate Data API",+ "endpointURL": ["https://api.example.gov/climate/v1"],+ "contactPoint": [+ {+ "fn": "Climate Data Support Team",+ "hasEmail": "mailto:[email protected]"+ }+ ],+ "publisher": {+ "name": "National Climate Data Center"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DataService/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/DataService/good/null_example.jsonnew file mode 100644index 00000000..8ea16eb3--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DataService/good/null_example.json@@ -0,0 +1,35 @@+{+ "accessRights": null,+ "category": null,+ "conformsTo": null,+ "contactPoint": [],+ "created": null,+ "creator": null,+ "description": null,+ "endpointDescription": null,+ "endpointURL": [],+ "hasQualityMeasurement": null,+ "identifier": null,+ "keyword": null,+ "language": null,+ "license": null,+ "modified": null,+ "otherIdentifier": null,+ "publisher": {+ "name": ""+ },+ "qualifiedAttribution": null,+ "rights": null,+ "rightsHolder": null,+ "servesDataset": null,+ "spatial": null,+ "spatialResolutionInMeters": null,+ "temporal": null,+ "temporalResolution": null,+ "theme": null,+ "title": "",+ "wasUsedBy": null,+ "accessRestriction": null,+ "cuiRestriction": null,+ "useRestriction": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DataService/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/DataService/good/typical_example.jsonnew file mode 100644index 00000000..135f8cb9--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DataService/good/typical_example.json@@ -0,0 +1,35 @@+{+ "@type": "DataService",+ "title": "Climate Data API",+ "description": "RESTful API providing access to historical climate observations.",+ "endpointURL": ["https://api.example.gov/climate/v1"],+ "endpointDescription": ["https://api.example.gov/climate/v1/openapi.json"],+ "contactPoint": [+ {+ "fn": "API Support Team",+ "hasEmail": "mailto:[email protected]"+ }+ ],+ "publisher": {+ "name": "National Climate Data Center"+ },+ "keyword": ["climate", "weather", "API"],+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "servesDataset": [+ {+ "@id": "https://example.gov/datasets/climate-observations-2024",+ "@type": "Dataset",+ "title": "Climate Observations 2024",+ "description": "Annual climate observation data.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/climate-observations-2024"+ }+ ],+ "identifier": "https://example.gov/services/climate-api"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Dataset/bad/bad-accrual-periodicity.json b/demo/corpus/dcat-us/jsonschema/examples/Dataset/bad/bad-accrual-periodicity.jsonnew file mode 100644index 00000000..93ad67ac--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Dataset/bad/bad-accrual-periodicity.json@@ -0,0 +1,11 @@+{+ "@type": "Dataset",+ "title": "Example Dataset",+ "description": "A minimal dataset example with invalid periodicity",+ "contactPoint": {+ "fn": "Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "identifier": "https://example.gov/datasets/catalog-example-001",+ "accrualPeriodicity": "every-other-tuesday"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/complete_example.jsonnew file mode 100644index 00000000..b1250d18--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/complete_example.json@@ -0,0 +1,346 @@+{+ "@id": "https://example.gov/datasets/national-climate-observations-2024",+ "@type": "Dataset",+ "title": "National Climate Observations 2024",+ "description": "Comprehensive daily climate observations collected from monitoring stations across the United States, including temperature, precipitation, humidity, and wind measurements.",+ "identifier": {+ "@type": "Identifier",+ "schemaAgency": "National Climate Data Center",+ "notation": "NCDC-CLIMATE-OBS-2024",+ "version": "1.0"+ },+ "publisher": {+ "@id": "https://example.gov/organizations/ncdc",+ "@type": "Organization",+ "name": "National Climate Data Center",+ "altLabel": "NCDC",+ "prefLabel": "National Climate Data Center",+ "notation": ["NCDC"]+ },+ "contactPoint": [+ {+ "@id": "https://example.gov/contacts/climate-support",+ "@type": "Kind",+ "fn": "Climate Data Support Team",+ "hasEmail": "mailto:[email protected]",+ "organization-name": "National Climate Data Center",+ "tel": "+1-555-CLIMATE",+ "title": "Data Support Specialist",+ "address": [+ {+ "@id": "https://example.gov/addresses/ncdc-hq",+ "@type": "Address",+ "street-address": "151 Patton Avenue",+ "locality": "Asheville",+ "region": "NC",+ "postal-code": "28801",+ "country-name": "United States"+ }+ ]+ }+ ],+ "otherIdentifier": [+ {+ "@type": "Identifier",+ "schemaAgency": "DOI",+ "notation": "10.12345/ncdc-climate-2024"+ }+ ],+ "distribution": [+ {+ "@id": "https://example.gov/distributions/climate-csv",+ "@type": "Distribution",+ "title": "Climate Observations CSV",+ "description": "Daily climate observations in CSV format",+ "accessURL": "https://example.gov/data/climate/2024",+ "downloadURL": "https://example.gov/downloads/climate-observations-2024.csv",+ "mediaType": "text/csv",+ "format": "CSV",+ "byteSize": "524288000",+ "characterEncoding": ["UTF-8"],+ "issued": "2024-01-15",+ "modified": "2024-06-01"+ },+ {+ "@id": "https://example.gov/distributions/climate-json",+ "@type": "Distribution",+ "title": "Climate Observations JSON",+ "description": "Daily climate observations in JSON format",+ "accessURL": "https://example.gov/data/climate/2024/json",+ "downloadURL": "https://example.gov/downloads/climate-observations-2024.json",+ "mediaType": "application/json",+ "format": "JSON",+ "byteSize": "785432000"+ }+ ],+ "sample": [+ {+ "@id": "https://example.gov/distributions/climate-sample",+ "@type": "Distribution",+ "title": "Climate Data Sample",+ "description": "A sample subset of climate observations for preview",+ "downloadURL": "https://example.gov/samples/climate-sample.csv",+ "mediaType": "text/csv",+ "byteSize": "10240"+ }+ ],+ "keyword": [+ "climate",+ "weather",+ "temperature",+ "precipitation",+ "humidity",+ "wind",+ "meteorology"+ ],+ "theme": [+ {+ "@id": "https://example.gov/concepts/climate-science",+ "@type": "Concept",+ "prefLabel": "Climate Science",+ "altLabel": "Climatology",+ "definition": "The scientific study of climate, including patterns, variability, and change over time.",+ "notation": ["CLIM-SCI"],+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/science-domains",+ "@type": "ConceptScheme",+ "title": "Science Domains"+ }+ },+ {+ "@id": "https://example.gov/concepts/environmental-monitoring",+ "@type": "Concept",+ "prefLabel": "Environmental Monitoring",+ "definition": "Systematic collection of environmental data to assess conditions and detect changes.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/science-domains",+ "@type": "ConceptScheme",+ "title": "Science Domains"+ }+ }+ ],+ "status": {+ "@id": "https://example.gov/concepts/status-published",+ "@type": "Concept",+ "prefLabel": "Published",+ "definition": "The dataset has been officially published and is available for public access.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/lifecycle-status",+ "@type": "ConceptScheme",+ "title": "Lifecycle Status"+ }+ },+ "landingPage": {+ "@id": "https://example.gov/datasets/climate-2024/landing",+ "@type": "Document",+ "title": "National Climate Observations 2024 - Dataset Home",+ "description": "The official landing page for the National Climate Observations 2024 dataset.",+ "accessURL": "https://example.gov/datasets/climate-2024"+ },+ "describedBy": {+ "@id": "https://example.gov/distributions/climate-data-dict",+ "@type": "Distribution",+ "title": "Climate Data Dictionary",+ "description": "Comprehensive data dictionary describing all variables in the climate observations dataset.",+ "downloadURL": "https://example.gov/docs/climate-data-dictionary.pdf",+ "mediaType": "application/pdf"+ },+ "conformsTo": [+ {+ "@id": "https://example.gov/standards/wmo-climate-data",+ "@type": "Standard",+ "title": "WMO Climate Data Standards",+ "description": "World Meteorological Organization standards for climate data collection and reporting."+ }+ ],+ "spatial": [+ {+ "@id": "https://example.gov/locations/usa",+ "@type": "Location",+ "geometry": "POLYGON((-125 24, -66 24, -66 50, -125 50, -125 24))"+ }+ ],+ "temporal": [+ {+ "@id": "https://example.gov/periods/2024",+ "@type": "PeriodOfTime",+ "startDate": "2024-01-01",+ "endDate": "2024-12-31"+ }+ ],+ "spatialResolutionInMeters": "1000",+ "temporalResolution": "P1D",+ "accrualPeriodicity": "daily",+ "version": "2024.1",+ "versionNotes": "Initial release of 2024 climate observations data.",+ "issued": "2024-01-15",+ "inventoried": "2024-03-01",+ "modified": "2024-06-01",+ "created": "2024-01-01",+ "language": ["en"],+ "accessRights": "Public access with no restrictions. Data is freely available for download and use.",+ "rights": [+ "This data is in the public domain and may be used without restriction."+ ],+ "creator": {+ "@id": "https://example.gov/agents/climate-monitoring-team",+ "@type": "Agent",+ "name": "Climate Monitoring and Analysis Team",+ "category": [+ {+ "@id": "https://example.gov/concepts/research-team",+ "@type": "Concept",+ "prefLabel": "Research Team",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/organization-types",+ "@type": "ConceptScheme",+ "title": "Organization Types"+ }+ }+ ]+ },+ "contributor": [+ {+ "@id": "https://example.gov/agents/station-operators",+ "@type": "Agent",+ "name": "Weather Station Operators Network"+ }+ ],+ "rightsHolder": [+ {+ "@id": "https://example.gov/organizations/noaa",+ "@type": "Organization",+ "name": "National Oceanic and Atmospheric Administration",+ "altLabel": "NOAA"+ }+ ],+ "provenance": [+ "Data collected from automated weather stations deployed at 2,500 locations across the continental United States.",+ "Quality control procedures applied according to WMO guidelines."+ ],+ "purpose": "To provide comprehensive, high-quality climate observations for research, planning, and decision-making related to weather and climate.",+ "liabilityStatement": "This dataset is provided as-is without warranty of any kind. Users are responsible for determining fitness for their intended use.",+ "previousVersion": {+ "@id": "https://example.gov/datasets/national-climate-observations-2023",+ "@type": "Dataset",+ "title": "National Climate Observations 2023",+ "description": "Previous year climate observations.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/complete-example-v1-prev"+ },+ "qualifiedRelation": [+ {+ "@id": "https://example.gov/relationships/climate-model-input",+ "@type": "Relationship",+ "hadRole": "isInputTo",+ "relation": "https://example.gov/models/climate-prediction-model"+ }+ ],+ "qualifiedAttribution": [+ {+ "@id": "https://example.gov/attributions/data-steward",+ "@type": "Attribution",+ "hadRole": "Data Steward",+ "agent": {+ "@id": "https://example.gov/agents/climate-steward",+ "@type": "Agent",+ "name": "Climate Data Stewardship Office"+ }+ }+ ],+ "wasGeneratedBy": [+ {+ "@id": "https://example.gov/activities/2024-monitoring",+ "@type": "Activity",+ "label": "2024 National Climate Monitoring Campaign",+ "category": [+ {+ "@id": "https://example.gov/concepts/data-collection",+ "@type": "Concept",+ "prefLabel": "Data Collection",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/activity-types",+ "@type": "ConceptScheme",+ "title": "Activity Types"+ }+ }+ ]+ }+ ],+ "hasQualityMeasurement": [+ {+ "@id": "https://example.gov/quality/completeness-2024",+ "@type": "QualityMeasurement",+ "isMeasurementOf": {+ "@id": "https://example.gov/metrics/data-completeness",+ "@type": "Metric",+ "expectedDataType": "xsd:decimal",+ "inDimension": "https://example.gov/concepts/completeness-dimension"+ },+ "value": "99.2",+ "unitMeasure": "percent"+ }+ ],+ "page": [+ {+ "@id": "https://example.gov/docs/climate-user-guide",+ "@type": "Document",+ "title": "Climate Observations User Guide",+ "description": "Comprehensive guide for accessing and using the climate observations dataset.",+ "accessURL": "https://example.gov/docs/climate-user-guide"+ }+ ],+ "isReferencedBy": ["https://example.gov/publications/climate-trends-2024"],+ "relation": ["https://example.gov/datasets/historical-climate-averages"],+ "scopeNote": "This dataset contains raw observational data. For derived products such as monthly averages or climate normals, see related datasets.",+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "accessRestriction": [+ {+ "@id": "https://example.gov/restrictions/none",+ "@type": "AccessRestriction",+ "restrictionNote": "No access restrictions apply to this dataset.",+ "restrictionStatus": {+ "@id": "https://example.gov/concepts/unrestricted",+ "@type": "Concept",+ "prefLabel": "Unrestricted",+ "definition": "No restrictions on access.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/restriction-status",+ "@type": "ConceptScheme",+ "title": "Restriction Status"+ }+ }+ }+ ],+ "cuiRestriction": {+ "@id": "https://example.gov/cui-restrictions/none",+ "@type": "CUIRestriction",+ "cuiBannerMarking": "",+ "designationIndicator": "",+ "requiredIndicatorPerAuthority": []+ },+ "useRestriction": [+ {+ "@id": "https://example.gov/restrictions/attribution",+ "@type": "UseRestriction",+ "restrictionNote": "Attribution to the Climate Data Center is requested but not required.",+ "restrictionStatus": {+ "@id": "https://example.gov/concepts/unrestricted",+ "@type": "Concept",+ "prefLabel": "Unrestricted",+ "definition": "No restrictions on use.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/restriction-status",+ "@type": "ConceptScheme",+ "title": "Restriction Status"+ }+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/comprehensive-dataset.json b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/comprehensive-dataset.jsonnew file mode 100644index 00000000..853a6d72--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/comprehensive-dataset.json@@ -0,0 +1,413 @@+{+ "@id": "https://example.gov/datasets/comprehensive-example-001",+ "@type": "Dataset",+ "title": "Comprehensive DCAT-US Dataset Example",+ "description": "This is a comprehensive example dataset demonstrating all available fields in the DCAT-US 3.0 schema, except for Concept references which are excluded. Note: Date fields are set to null due to a schema validation issue where dates match multiple oneOf alternatives.",+ "identifier": "dataset-comprehensive-001",+ "publisher": {+ "@id": "https://example.gov/organizations/sample-agency",+ "@type": "Organization",+ "name": "Sample Government Agency",+ "altLabel": "SGA",+ "prefLabel": "Sample Government Agency",+ "notation": ["SGA", "SAMPLE-GOV"],+ "subOrganizationOf": [+ {+ "@id": "https://example.gov/organizations/parent-department",+ "@type": "Organization",+ "name": "Parent Department"+ }+ ]+ },+ "otherIdentifier": [+ {+ "@id": "https://example.gov/identifiers/alt-001",+ "@type": "Identifier",+ "notation": "ALT-ID-001",+ "schemaAgency": "Example Registry",+ "version": "1.0",+ "issued": null,+ "creator": {+ "@id": "https://example.gov/organizations/registrar",+ "@type": "Organization",+ "name": "Official Registrar Organization"+ }+ }+ ],+ "sample": [+ {+ "@id": "https://example.gov/distributions/sample-csv",+ "@type": "Distribution",+ "downloadURL": "https://example.gov/data/sample-preview.csv",+ "byteSize": "1024",+ "description": "A sample CSV file for preview"+ }+ ],+ "supportedSchema": {+ "@id": "https://example.gov/schemas/data-schema-v1",+ "@type": "Dataset",+ "title": "Data Schema v1",+ "description": "Schema definition for the comprehensive dataset format.",+ "contactPoint": {+ "fn": "Schema Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "Sample Government Agency"+ },+ "identifier": "https://example.gov/datasets/nested-schema-008"+ },+ "versionNotes": "Initial release of the comprehensive example dataset with all fields populated.",+ "contactPoint": [+ {+ "@id": "https://example.gov/contacts/primary-contact",+ "@type": "Kind",+ "fn": "Data Steward Office",+ "hasEmail": "mailto:[email protected]",+ "organization-name": "Sample Government Agency",+ "tel": "+1-555-123-4567",+ "title": "Chief Data Steward",+ "given-name": "Jane",+ "family-name": "Smith",+ "address": [+ {+ "@id": "https://example.gov/addresses/headquarters",+ "@type": "Address",+ "street-address": "123 Government Way",+ "locality": "Washington",+ "region": "DC",+ "postal-code": "20001",+ "country-name": "United States"+ }+ ]+ }+ ],+ "distribution": [+ {+ "@id": "https://example.gov/distributions/main-csv",+ "@type": "Distribution",+ "accessURL": "https://example.gov/data/comprehensive-dataset.csv",+ "downloadURL": "https://example.gov/downloads/comprehensive-dataset.csv",+ "byteSize": "10485760",+ "format": "CSV (Comma-Separated Values)",+ "description": "Main CSV distribution of the dataset",+ "title": "Comprehensive Dataset CSV",+ "characterEncoding": ["UTF-8"],+ "spatialResolutionInMeters": "100",+ "temporalResolution": "P1D",+ "issued": null,+ "modified": null+ },+ {+ "@id": "https://example.gov/distributions/main-json",+ "@type": "Distribution",+ "accessURL": "https://example.gov/data/comprehensive-dataset.json",+ "downloadURL": "https://example.gov/downloads/comprehensive-dataset.json",+ "byteSize": "15728640",+ "format": "JSON (JavaScript Object Notation)",+ "description": "JSON distribution of the dataset"+ }+ ],+ "first": {+ "description": "A minimal dataset",+ "publisher": {+ "name": "The Minimal Organization"+ },+ "title": "Dataset One",+ "contactPoint": {+ "hasEmail": "mailto:[email protected]",+ "fn": "Example contact"+ },+ "identifier": "https://example.gov/datasets/nested-first-001"+ },+ "hasCurrentVersion": {+ "description": "A minimal dataset",+ "publisher": {+ "name": "The Minimal Organization"+ },+ "title": "Dataset One",+ "contactPoint": {+ "hasEmail": "mailto:[email protected]",+ "fn": "Example contact"+ },+ "identifier": "https://example.gov/datasets/nested-current-version-002"+ },+ "hasVersion": [+ {+ "description": "A minimal dataset",+ "publisher": {+ "name": "The Minimal Organization"+ },+ "title": "Dataset One",+ "contactPoint": {+ "hasEmail": "mailto:[email protected]",+ "fn": "Example contact"+ },+ "identifier": "https://example.gov/datasets/nested-version-003"+ }+ ],+ "keyword": [+ "government",+ "open data",+ "comprehensive example",+ "DCAT-US",+ "metadata"+ ],+ "landingPage": {+ "@id": "https://example.gov/datasets/comprehensive-example-001/landing",+ "@type": "Document",+ "title": "Comprehensive Dataset Landing Page",+ "abstract": "The official landing page for the Comprehensive DCAT-US Dataset Example"+ },+ "previousVersion": {+ "@id": "https://example.gov/datasets/comprehensive-example-v0.9",+ "@type": "Dataset",+ "title": "Comprehensive Example v0.9",+ "description": "Previous version.",+ "contactPoint": {+ "fn": "Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "Sample Government Agency"+ },+ "identifier": "https://example.gov/datasets/nested-prev-version-007"+ },+ "qualifiedRelation": [+ {+ "@id": "https://example.gov/relationships/related-dataset-rel",+ "@type": "Relationship",+ "hadRole": "relatedTo",+ "relation": "https://example.gov/datasets/related-dataset-001"+ }+ ],+ "spatialResolutionInMeters": "30",+ "temporalResolution": "P1M",+ "version": "1.0.0",+ "describedBy": {+ "@id": "https://example.gov/distributions/data-dictionary",+ "@type": "Distribution",+ "title": "Data Dictionary",+ "description": "Comprehensive data dictionary describing all fields",+ "downloadURL": "https://example.gov/downloads/data-dictionary.pdf",+ "format": "PDF (Portable Document Format)"+ },+ "liabilityStatement": "This dataset is provided as-is without warranty. The publishing agency is not liable for any damages arising from its use.",+ "metadataDistribution": [+ {+ "@id": "https://example.gov/distributions/metadata-xml",+ "@type": "Distribution",+ "title": "Original ISO 19115 Metadata",+ "description": "The original metadata document in ISO 19115 format",+ "downloadURL": "https://example.gov/metadata/comprehensive-dataset.xml",+ "format": "XML (Extensible Markup Language)"+ }+ ],+ "purpose": "This dataset was created to demonstrate all available fields in the DCAT-US 3.0 schema and serve as a reference implementation.",+ "accessRights": "This dataset is public domain and freely available for any use.",+ "accrualPeriodicity": "monthly",+ "conformsTo": [+ {+ "@id": "https://resources.data.gov/dcat-us/3.0",+ "@type": "Standard",+ "title": "DCAT-US 3.0",+ "description": "Data Catalog Vocabulary - US Profile Version 3.0",+ "identifier": "DCAT-US-3.0",+ "created": null,+ "issued": null,+ "modified": null+ }+ ],+ "contributor": [+ {+ "@id": "https://example.gov/agents/data-analyst",+ "@type": "Agent",+ "name": "Data Analysis Team"+ }+ ],+ "created": null,+ "creator": {+ "@id": "https://example.gov/agents/original-creator",+ "@type": "Agent",+ "name": "Original Dataset Creator"+ },+ "hasPart": [+ {+ "description": "A minimal dataset",+ "publisher": {+ "name": "The Minimal Organization"+ },+ "title": "Dataset One",+ "contactPoint": {+ "hasEmail": "mailto:[email protected]",+ "fn": "Example contact"+ },+ "identifier": "https://example.gov/datasets/nested-part-006"+ }+ ],+ "isReferencedBy": [+ "https://example.gov/publications/annual-report-2024",+ "https://example.gov/publications/data-quality-study"+ ],+ "issued": null,+ "inventoried": null,+ "language": ["en", "es"],+ "modified": null,+ "provenance": [+ "Data was collected through automated sensors deployed across the continental United States."+ ],+ "relation": [+ "https://example.gov/datasets/supplementary-dataset",+ "https://example.gov/services/api-endpoint"+ ],+ "replaces": [+ {+ "description": "A minimal dataset",+ "publisher": {+ "name": "The Minimal Organization"+ },+ "title": "Dataset One",+ "contactPoint": {+ "hasEmail": "mailto:[email protected]",+ "fn": "Example contact"+ },+ "identifier": "https://example.gov/datasets/nested-replaces-010"+ }+ ],+ "rights": [+ "Copyright 2024 Sample Government Agency. Released under CC0 1.0 Universal."+ ],+ "rightsHolder": [+ {+ "@id": "https://example.gov/organizations/rights-holder",+ "@type": "Organization",+ "name": "Sample Government Agency",+ "prefLabel": "Sample Government Agency"+ }+ ],+ "source": [+ {+ "description": "A minimal dataset",+ "publisher": {+ "name": "The Minimal Organization"+ },+ "title": "Dataset One",+ "contactPoint": {+ "hasEmail": "mailto:[email protected]",+ "fn": "Example contact"+ },+ "identifier": "https://example.gov/datasets/nested-source-009"+ }+ ],+ "temporal": [+ {+ "@id": "https://example.gov/periods/data-coverage",+ "@type": "PeriodOfTime",+ "startDate": "2020",+ "endDate": "2026"+ }+ ],+ "hasQualityMeasurement": [+ {+ "@id": "https://example.gov/quality/completeness",+ "@type": "QualityMeasurement",+ "isMeasurementOf": {+ "@id": "https://example.gov/metrics/completeness",+ "@type": "Metric",+ "expectedDataType": "xsd:double",+ "inDimension": "https://www.w3.org/TR/vocab-dqv/#completeness",+ "definition": "The percentage of non-null values in the dataset"+ },+ "value": "98.5",+ "unitMeasure": "percent"+ }+ ],+ "page": [+ {+ "@id": "https://example.gov/docs/user-guide",+ "@type": "Document",+ "title": "User Guide",+ "abstract": "A comprehensive guide for using this dataset",+ "bibliographicCitation": "Sample Government Agency. (2024). Comprehensive Dataset User Guide."+ }+ ],+ "qualifiedAttribution": [+ {+ "@id": "https://example.gov/attributions/data-steward",+ "@type": "Attribution",+ "hadRole": "custodian",+ "agent": {+ "@id": "https://example.gov/agents/steward",+ "@type": "Agent",+ "name": "Data Stewardship Team"+ }+ }+ ],+ "wasAttributedTo": [+ {+ "@id": "https://example.gov/agents/processing-team",+ "@type": "Agent",+ "name": "Data Processing Team"+ }+ ],+ "wasGeneratedBy": [+ {+ "@id": "https://example.gov/activities/data-collection",+ "@type": "Activity",+ "label": "2024 Data Collection Campaign"+ }+ ],+ "wasUsedBy": [+ {+ "@id": "https://example.gov/activities/annual-analysis",+ "@type": "Activity",+ "label": "Annual Data Analysis Project"+ }+ ],+ "image": "https://example.gov/images/dataset-thumbnail.png",+ "scopeNote": "This dataset should be used for demonstration and testing purposes only. It showcases all available metadata fields.",+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "accessRestriction": [+ {+ "@id": "https://example.gov/restrictions/none",+ "@type": "AccessRestriction",+ "restrictionNote": "No access restrictions apply to this dataset.",+ "restrictionStatus": {+ "@id": "https://example.gov/concepts/unrestricted",+ "@type": "Concept",+ "prefLabel": "Unrestricted",+ "definition": "No restrictions on access.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/restriction-status",+ "@type": "ConceptScheme",+ "title": "Restriction Status"+ }+ }+ }+ ],+ "cuiRestriction": {+ "@id": "https://example.gov/cui-restrictions/none",+ "@type": "CUIRestriction",+ "cuiBannerMarking": "",+ "designationIndicator": "",+ "requiredIndicatorPerAuthority": []+ },+ "useRestriction": [+ {+ "@id": "https://example.gov/restrictions/attribution",+ "@type": "UseRestriction",+ "restrictionNote": "Attribution is requested but not required.",+ "restrictionStatus": {+ "@id": "https://example.gov/concepts/unrestricted",+ "@type": "Concept",+ "prefLabel": "Unrestricted",+ "definition": "No restrictions on use.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/restriction-status",+ "@type": "ConceptScheme",+ "title": "Restriction Status"+ }+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/good-accrual-periodicity.json b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/good-accrual-periodicity.jsonnew file mode 100644index 00000000..86074346--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/good-accrual-periodicity.json@@ -0,0 +1,31 @@+{+ "@type": "Dataset",+ "title": "Example Dataset",+ "description": "A minimal dataset example with a valid periodicity",+ "accrualPeriodicity": "quarterly",+ "contactPoint": [+ {+ "@id": "https://example.gov/contacts/primary-contact",+ "@type": "Kind",+ "fn": "Data Steward Office",+ "hasEmail": "mailto:[email protected]",+ "organization-name": "Sample Government Agency",+ "tel": "+1-555-123-4567",+ "title": "Chief Data Steward",+ "given-name": "Jane",+ "family-name": "Smith",+ "address": [+ {+ "@id": "https://example.gov/addresses/headquarters",+ "@type": "Address",+ "street-address": "123 Government Way",+ "locality": "Washington",+ "region": "DC",+ "postal-code": "20001",+ "country-name": "United States"+ }+ ]+ }+ ],+ "identifier": "https://example.gov/datasets/periodicity-example"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/minimal_example.jsonnew file mode 100644index 00000000..6eeac437--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/minimal_example.json@@ -0,0 +1,9 @@+{+ "title": "Example Dataset",+ "description": "A dataset for testing purposes.",+ "contactPoint": {+ "fn": "Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "identifier": "https://example.gov/datasets/example-001"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/null_example.jsonnew file mode 100644index 00000000..e35ed8af--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/null_example.json@@ -0,0 +1,65 @@+{+ "accessRights": null,+ "accrualPeriodicity": null,+ "category": null,+ "conformsTo": null,+ "contactPoint": {+ "fn": "",+ "hasEmail": "mailto:[email protected]"+ },+ "contributor": null,+ "created": null,+ "creator": null,+ "describedBy": null,+ "description": "",+ "distribution": null,+ "first": null,+ "hasCurrentVersion": null,+ "hasPart": null,+ "hasQualityMeasurement": null,+ "hasVersion": null,+ "identifier": "",+ "image": null,+ "inventoried": null,+ "isReferencedBy": null,+ "issued": null,+ "keyword": null,+ "landingPage": null,+ "language": null,+ "liabilityStatement": null,+ "metadataDistribution": null,+ "modified": null,+ "otherIdentifier": null,+ "page": null,+ "previousVersion": null,+ "provenance": null,+ "publisher": null,+ "purpose": null,+ "qualifiedAttribution": null,+ "qualifiedRelation": null,+ "relation": null,+ "replaces": null,+ "rights": null,+ "rightsHolder": null,+ "sample": null,+ "scopeNote": null,+ "source": null,+ "spatial": null,+ "spatialResolutionInMeters": null,+ "status": null,+ "subject": null,+ "supportedSchema": null,+ "temporal": null,+ "temporalResolution": null,+ "theme": null,+ "title": "",+ "version": null,+ "versionNotes": null,+ "wasAttributedTo": null,+ "wasGeneratedBy": null,+ "wasUsedBy": null,+ "license": null,+ "accessRestriction": null,+ "cuiRestriction": null,+ "useRestriction": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/theme_full_example.json b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/theme_full_example.jsonnew file mode 100644index 00000000..de5d22a6--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/theme_full_example.json@@ -0,0 +1,35 @@+{+ "@type": "Dataset",+ "title": "National Water Quality Data",+ "description": "Water quality measurements from rivers and lakes across the United States.",+ "contactPoint": {+ "fn": "Water Resources Support",+ "hasEmail": "mailto:[email protected]"+ },+ "theme": [+ {+ "@type": "Concept",+ "prefLabel": "Water",+ "definition": "Topics related to water resources, water quality, and aquatic ecosystems",+ "notation": ["006"],+ "inScheme": {+ "@id": "https://example.gov/themes",+ "@type": "ConceptScheme",+ "title": "Themes"+ }+ },+ {+ "@type": "Concept",+ "prefLabel": "Environment",+ "altLabel": "Environmental Protection",+ "definition": "Topics related to environmental monitoring, protection, and conservation",+ "notation": ["012"],+ "inScheme": {+ "@id": "https://example.gov/themes",+ "@type": "ConceptScheme",+ "title": "Themes"+ }+ }+ ],+ "identifier": "https://example.gov/datasets/national-water-quality"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/theme_simple_example.json b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/theme_simple_example.jsonnew file mode 100644index 00000000..141b1a4e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/theme_simple_example.json@@ -0,0 +1,14 @@+{+ "@type": "Dataset",+ "title": "National Water Quality Data",+ "description": "Water quality measurements from rivers and lakes across the United States.",+ "contactPoint": {+ "fn": "Water Resources Support",+ "hasEmail": "mailto:[email protected]"+ },+ "theme": [+ "https://example.gov/themes/water",+ "https://example.gov/themes/environment"+ ],+ "identifier": "https://example.gov/datasets/national-water-quality-simple"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/typical_example.jsonnew file mode 100644index 00000000..e1071730--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Dataset/good/typical_example.json@@ -0,0 +1,67 @@+{+ "@type": "Dataset",+ "title": "Daily Climate Observations 2024",+ "description": "Daily temperature, precipitation, and wind measurements from monitoring stations across the United States.",+ "identifier": "https://example.gov/datasets/climate-observations-2024",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "keyword": ["climate", "weather", "temperature", "precipitation"],+ "issued": "2024-01-15",+ "inventoried": "2024-01-15",+ "modified": "2024-06-01",+ "accrualPeriodicity": "daily",+ "accessRights": "public",+ "landingPage": {+ "@id": "https://example.gov/climate-data",+ "@type": "Document",+ "title": "Climate Data Landing Page"+ },+ "describedBy": {+ "@id": "https://example.gov/climate-data/data-dictionary",+ "@type": "Distribution",+ "title": "Data Dictionary",+ "mediaType": "application/pdf"+ },+ "spatial": {+ "@type": "Location",+ "bbox": {+ "type": "Polygon",+ "coordinates": [+ [+ [-125.0, 24.0],+ [-66.0, 24.0],+ [-66.0, 50.0],+ [-125.0, 50.0],+ [-125.0, 24.0]+ ]+ ]+ }+ },+ "theme": ["Climate Science"],+ "distribution": [+ {+ "title": "Climate Data CSV",+ "downloadURL": "https://example.gov/downloads/climate-2024.csv",+ "mediaType": "text/csv"+ }+ ],+ "rights": [+ "Data is provided as-is without warranty. Please cite the National Climate Data Center when using this data."+ ],+ "temporal": [+ {+ "@type": "PeriodOfTime",+ "startDate": "2024-01-01",+ "endDate": "2024-12-31"+ }+ ],+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "accessRestriction": null,+ "cuiRestriction": null,+ "useRestriction": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/bad/bad-accrual-periodicity.json b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/bad/bad-accrual-periodicity.jsonnew file mode 100644index 00000000..e375343f--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/bad/bad-accrual-periodicity.json@@ -0,0 +1,6 @@+{+ "@type": "DatasetSeries",+ "title": "Example Dataset Series",+ "description": "A minimal dataset series example with invalid periodicity",+ "accrualPeriodicity": "not-a-valid-periodicity"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/complete_example.jsonnew file mode 100644index 00000000..ce617e44--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/complete_example.json@@ -0,0 +1,136 @@+{+ "@id": "https://example.gov/series/annual-climate-observations",+ "@type": "DatasetSeries",+ "title": "Annual National Climate Observations Series",+ "description": "An annual series of comprehensive climate observation datasets collected from monitoring stations across the United States. Each dataset in the series covers one calendar year of daily observations.",+ "accrualPeriodicity": "annually",+ "issued": "2000-01-15",+ "modified": "2024-06-01",+ "publisher": {+ "@id": "https://example.gov/agents/ncdc",+ "@type": "Agent",+ "name": "National Climate Data Center",+ "category": [+ {+ "@id": "https://example.gov/concepts/federal-agency",+ "@type": "Concept",+ "prefLabel": "Federal Agency",+ "definition": "An agency of the federal government of the United States.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/organization-types",+ "@type": "ConceptScheme",+ "title": "Organization Types"+ }+ }+ ]+ },+ "contactPoint": [+ {+ "@id": "https://example.gov/contacts/series-manager",+ "@type": "Kind",+ "fn": "Climate Series Data Manager",+ "hasEmail": "mailto:[email protected]",+ "organization-name": "National Climate Data Center",+ "tel": "+1-555-123-4567",+ "title": "Series Data Manager",+ "address": [+ {+ "@id": "https://example.gov/addresses/ncdc-main",+ "@type": "Address",+ "street-address": "151 Patton Avenue",+ "locality": "Asheville",+ "region": "NC",+ "postal-code": "28801",+ "country-name": "United States"+ }+ ]+ }+ ],+ "spatial": [+ {+ "@id": "https://example.gov/locations/usa-coverage",+ "@type": "Location",+ "geometry": "POLYGON((-125 24, -66 24, -66 50, -125 50, -125 24))"+ }+ ],+ "temporal": [+ {+ "@id": "https://example.gov/periods/series-coverage",+ "@type": "PeriodOfTime",+ "startDate": "2000-01-01",+ "endDate": "2024-12-31"+ }+ ],+ "first": {+ "@id": "https://example.gov/datasets/climate-observations-2000",+ "@type": "Dataset",+ "title": "National Climate Observations 2000",+ "description": "The first dataset in the annual climate observations series, covering calendar year 2000.",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-first"+ },+ "last": {+ "@id": "https://example.gov/datasets/climate-observations-2024",+ "@type": "Dataset",+ "title": "National Climate Observations 2024",+ "description": "The most recent dataset in the annual climate observations series, covering calendar year 2024.",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-last"+ },+ "seriesMember": [+ {+ "@id": "https://example.gov/datasets/climate-observations-2022",+ "@type": "Dataset",+ "title": "National Climate Observations 2022",+ "description": "Climate observations for calendar year 2022.",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-member-001"+ },+ {+ "@id": "https://example.gov/datasets/climate-observations-2023",+ "@type": "Dataset",+ "title": "National Climate Observations 2023",+ "description": "Climate observations for calendar year 2023.",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-member-002"+ },+ {+ "@id": "https://example.gov/datasets/climate-observations-2024",+ "@type": "Dataset",+ "title": "National Climate Observations 2024",+ "description": "Climate observations for calendar year 2024.",+ "contactPoint": {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-member-003"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/good-accrual-periodicity.json b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/good-accrual-periodicity.jsonnew file mode 100644index 00000000..1ccacfb8--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/good-accrual-periodicity.json@@ -0,0 +1,7 @@+{+ "@id": "https://example.gov/series/example-dataset-series-quarterly",+ "@type": "DatasetSeries",+ "title": "Example Dataset Series",+ "description": "A minimal dataset series example with valid periodicity",+ "accrualPeriodicity": "quarterly"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/minimal_example.jsonnew file mode 100644index 00000000..e3ab025b--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/minimal_example.json@@ -0,0 +1,5 @@+{+ "@id": "https://example.gov/series/example-dataset-series-minimal",+ "title": "Example Dataset Series",+ "description": "A series of datasets for testing purposes."+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/null_example.jsonnew file mode 100644index 00000000..25b88ec5--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/null_example.json@@ -0,0 +1,15 @@+{+ "@id": "https://example.gov/series/example-dataset-series-null",+ "accrualPeriodicity": null,+ "contactPoint": null,+ "description": "",+ "first": null,+ "issued": null,+ "last": null,+ "modified": null,+ "publisher": null,+ "seriesMember": null,+ "spatial": null,+ "temporal": null,+ "title": ""+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/typical_example.jsonnew file mode 100644index 00000000..aab2160c--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/DatasetSeries/good/typical_example.json@@ -0,0 +1,114 @@+{+ "@id": "https://example.gov/series/annual-climate-observations",+ "@type": "DatasetSeries",+ "title": "Annual Climate Observations",+ "description": "A series of annual climate observation datasets from monitoring stations.",+ "contactPoint": [+ {+ "fn": "Climate Data Support",+ "hasEmail": "mailto:[email protected]"+ }+ ],+ "publisher": {+ "name": "National Climate Data Center"+ },+ "accrualPeriodicity": "annually",+ "issued": "2000-01-15",+ "modified": "2024-12-01",+ "first": {+ "@id": "https://example.gov/datasets/climate-observations-2000",+ "@type": "Dataset",+ "title": "Climate Observations 2000",+ "description": "First year of climate observations.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-first"+ },+ "last": {+ "@id": "https://example.gov/datasets/climate-observations-2024",+ "@type": "Dataset",+ "title": "Climate Observations 2024",+ "description": "Latest year of climate observations.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-last"+ },+ "seriesMember": [+ {+ "@id": "https://example.gov/datasets/climate-observations-2022",+ "@type": "Dataset",+ "title": "Climate Observations 2022",+ "description": "Climate observations for 2022.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-member-001"+ },+ {+ "@id": "https://example.gov/datasets/climate-observations-2023",+ "@type": "Dataset",+ "title": "Climate Observations 2023",+ "description": "Climate observations for 2023.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-member-002"+ },+ {+ "@id": "https://example.gov/datasets/climate-observations-2024",+ "@type": "Dataset",+ "title": "Climate Observations 2024",+ "description": "Climate observations for 2024.",+ "contactPoint": {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ },+ "publisher": {+ "name": "National Climate Data Center"+ },+ "identifier": "https://example.gov/datasets/series-member-003"+ }+ ],+ "spatial": [+ {+ "@type": "Location",+ "bbox": {+ "type": "Polygon",+ "coordinates": [+ [+ [-125.0, 24.0],+ [-66.0, 24.0],+ [-66.0, 50.0],+ [-125.0, 50.0],+ [-125.0, 24.0]+ ]+ ]+ }+ }+ ],+ "temporal": [+ {+ "@type": "PeriodOfTime",+ "startDate": "2000-01-01",+ "endDate": "2024-12-31"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Distribution/bad/invalid_byteSize_type.json b/demo/corpus/dcat-us/jsonschema/examples/Distribution/bad/invalid_byteSize_type.jsonnew file mode 100644index 00000000..d8b3f1ec--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Distribution/bad/invalid_byteSize_type.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/distributions/invalid",+ "@type": "Distribution",+ "accessURL": "https://example.gov/data/valid",+ "byteSize": 12345+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Distribution/bad/invalid_url_format.json b/demo/corpus/dcat-us/jsonschema/examples/Distribution/bad/invalid_url_format.jsonnew file mode 100644index 00000000..baa253fd--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Distribution/bad/invalid_url_format.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/distributions/invalid",+ "@type": "Distribution",+ "accessURL": "not-a-valid-url",+ "downloadURL": "also-not-valid"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/complete_example.jsonnew file mode 100644index 00000000..63d5ee7b--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/complete_example.json@@ -0,0 +1,151 @@+{+ "@id": "https://example.gov/distributions/climate-data-csv-001",+ "@type": "Distribution",+ "title": "Climate Data CSV Distribution",+ "description": "A CSV file containing historical climate data including daily temperature and precipitation readings.",+ "accessURL": "https://example.gov/data/climate/access",+ "downloadURL": "https://example.gov/data/climate/climate-data-2023.csv",+ "mediaType": "text/csv",+ "format": "CSV",+ "byteSize": "15728640",+ "compressFormat": "application/gzip",+ "packageFormat": "application/zip",+ "characterEncoding": ["UTF-8"],+ "spatialResolutionInMeters": "1000",+ "temporalResolution": "P1D",+ "issued": "2023-06-01",+ "modified": "2024-01-15",+ "language": ["en"],+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "accessRights": "Public access without restrictions",+ "rights": [+ "This data is in the public domain and may be used without restriction."+ ],+ "representationTechnique": {+ "@id": "https://example.gov/concepts/tabular-data",+ "@type": "Concept",+ "prefLabel": "Tabular Data",+ "definition": "Data organized in rows and columns.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/data-formats",+ "@type": "ConceptScheme",+ "title": "Data Formats"+ }+ },+ "status": {+ "@id": "https://example.gov/concepts/status-completed",+ "@type": "Concept",+ "prefLabel": "Completed",+ "definition": "The distribution is complete and final.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/lifecycle-status",+ "@type": "ConceptScheme",+ "title": "Lifecycle Status"+ }+ },+ "availability": {+ "@id": "https://example.gov/concepts/available-stable",+ "@type": "Concept",+ "prefLabel": "Stable",+ "definition": "The distribution is intended to be available for the long term.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/availability",+ "@type": "ConceptScheme",+ "title": "Availability"+ }+ },+ "conformsTo": [+ {+ "@id": "https://example.gov/standards/csv-format",+ "@type": "Standard",+ "title": "RFC 4180 - CSV Format",+ "description": "Common Format and MIME Type for Comma-Separated Values (CSV) Files"+ }+ ],+ "describedBy": {+ "@id": "https://example.gov/distributions/climate-data-dict",+ "@type": "Distribution",+ "title": "Climate Data Dictionary",+ "description": "Data dictionary describing the fields in the climate data CSV.",+ "downloadURL": "https://example.gov/data/climate/data-dictionary.pdf",+ "mediaType": "application/pdf"+ },+ "accessService": [+ {+ "@id": "https://example.gov/data-services/climate-api",+ "@type": "DataService",+ "title": "Climate Data API",+ "endpointURL": ["https://api.example.gov/climate/v1"],+ "contactPoint": [+ {+ "fn": "Climate Support",+ "hasEmail": "mailto:[email protected]"+ }+ ],+ "publisher": {+ "name": "Climate Data Center"+ }+ }+ ],+ "accessRestriction": [+ {+ "@id": "https://example.gov/restrictions/none",+ "@type": "AccessRestriction",+ "restrictionNote": "No access restrictions apply to this distribution.",+ "restrictionStatus": {+ "@id": "https://example.gov/concepts/unrestricted",+ "@type": "Concept",+ "prefLabel": "Unrestricted",+ "definition": "No restrictions on access.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/restriction-status",+ "@type": "ConceptScheme",+ "title": "Restriction Status"+ }+ }+ }+ ],+ "cuiRestriction": {+ "@id": "https://example.gov/cui-restrictions/none",+ "@type": "CUIRestriction",+ "cuiBannerMarking": "",+ "designationIndicator": "",+ "requiredIndicatorPerAuthority": []+ },+ "useRestriction": [+ {+ "@id": "https://example.gov/restrictions/attribution",+ "@type": "UseRestriction",+ "restrictionNote": "Attribution to the Climate Data Center is requested but not required.",+ "restrictionStatus": {+ "@id": "https://example.gov/concepts/unrestricted",+ "@type": "Concept",+ "prefLabel": "Unrestricted",+ "definition": "No restrictions on use.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/restriction-status",+ "@type": "ConceptScheme",+ "title": "Restriction Status"+ }+ }+ }+ ],+ "checksum": {+ "@id": "https://example.gov/checksums/climate-csv-sha256",+ "@type": "Checksum",+ "algorithm": "SHA-256",+ "checksumValue": "a1b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef123456"+ },+ "identifier": {+ "@type": "Identifier",+ "schemaAgency": "example.gov",+ "notation": "DIST-CLIMATE-CSV-001"+ },+ "otherIdentifier": [+ {+ "@type": "Identifier",+ "schemaAgency": "DOI",+ "notation": "10.12345/climate-csv-2023"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/minimal_example.jsonnew file mode 100644index 00000000..0967ef42--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/minimal_example.json@@ -0,0 +1 @@+{}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/null_example.jsonnew file mode 100644index 00000000..404d19df--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/null_example.json@@ -0,0 +1,35 @@+{+ "accessRestriction": null,+ "accessRights": null,+ "accessService": null,+ "accessURL": null,+ "availability": null,+ "byteSize": null,+ "characterEncoding": null,+ "checksum": null,+ "compressFormat": null,+ "conformsTo": null,+ "cuiRestriction": null,+ "describedBy": null,+ "description": null,+ "downloadURL": null,+ "format": null,+ "hasQualityMeasurement": null,+ "identifier": null,+ "image": null,+ "issued": null,+ "language": null,+ "license": null,+ "mediaType": null,+ "modified": null,+ "otherIdentifier": null,+ "packageFormat": null,+ "page": null,+ "representationTechnique": null,+ "rights": null,+ "spatialResolutionInMeters": null,+ "status": null,+ "temporalResolution": null,+ "title": null,+ "useRestriction": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/typical_example.jsonnew file mode 100644index 00000000..0b9674f4--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Distribution/good/typical_example.json@@ -0,0 +1,23 @@+{+ "@type": "Distribution",+ "title": "Climate Data CSV",+ "description": "Daily climate observations in CSV format.",+ "accessURL": "https://example.gov/data/climate",+ "downloadURL": "https://example.gov/downloads/climate-2024.csv",+ "mediaType": "text/csv",+ "format": "CSV",+ "byteSize": "52428800",+ "license": "https://creativecommons.org/publicdomain/zero/1.0/",+ "modified": "2024-06-01",+ "rights": ["No rights reserved. This data is in the public domain."],+ "describedBy": {+ "@type": "Distribution",+ "title": "Climate Data Dictionary",+ "description": "Data dictionary describing the fields in the climate data CSV.",+ "downloadURL": "https://example.gov/data/climate/data-dictionary.pdf",+ "mediaType": "application/pdf"+ },+ "accessRestriction": null,+ "cuiRestriction": null,+ "useRestriction": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Document/bad/invalid_title_type.json b/demo/corpus/dcat-us/jsonschema/examples/Document/bad/invalid_title_type.jsonnew file mode 100644index 00000000..7d0bd6e8--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Document/bad/invalid_title_type.json@@ -0,0 +1,5 @@+{+ "@id": "https://example.gov/documents/invalid",+ "@type": "Document",+ "title": 12345+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Document/bad/missing_required_title.json b/demo/corpus/dcat-us/jsonschema/examples/Document/bad/missing_required_title.jsonnew file mode 100644index 00000000..a36123eb--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Document/bad/missing_required_title.json@@ -0,0 +1,5 @@+{+ "@id": "https://example.gov/documents/invalid",+ "@type": "Document",+ "description": "A document without a required title field."+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Document/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Document/good/complete_example.jsonnew file mode 100644index 00000000..3a35d6f4--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Document/good/complete_example.json@@ -0,0 +1,87 @@+{+ "@id": "https://example.gov/documents/climate-user-guide-001",+ "@type": "Document",+ "title": "Climate Data User Guide",+ "description": "A comprehensive guide for accessing and using the National Climate Data Center's data products and services.",+ "abstract": "This document provides detailed instructions for using climate data products, including API access, file formats, and data interpretation guidelines.",+ "accessURL": "https://example.gov/docs/climate-user-guide",+ "downloadURL": "https://example.gov/docs/climate-user-guide.pdf",+ "mediaType": "application/pdf",+ "bibliographicCitation": "National Climate Data Center. (2024). Climate Data User Guide. U.S. Department of Commerce.",+ "issued": "2024-01-15",+ "creator": [+ {+ "@id": "https://example.gov/contacts/doc-author-001",+ "@type": "Kind",+ "fn": "Dr. Jane Smith",+ "hasEmail": "mailto:[email protected]",+ "given-name": "Jane",+ "family-name": "Smith",+ "organization-name": "National Climate Data Center",+ "title": "Senior Climate Scientist"+ }+ ],+ "corporateCreator": [+ {+ "@id": "https://example.gov/organizations/ncdc",+ "@type": "Organization",+ "name": "National Climate Data Center"+ }+ ],+ "publisher": [+ {+ "@id": "https://example.gov/organizations/noaa",+ "@type": "Organization",+ "name": "National Oceanic and Atmospheric Administration"+ }+ ],+ "conformsTo": [+ {+ "@id": "https://example.gov/standards/pdf-a",+ "@type": "Standard",+ "title": "PDF/A-3",+ "description": "ISO 19005-3 - Document management -- Electronic document file format for long-term preservation."+ }+ ],+ "identifier": {+ "@type": "Identifier",+ "schemaAgency": "example.gov",+ "notation": "DOC-CLIMATE-GUIDE-001"+ },+ "otherIdentifier": [+ {+ "@type": "Identifier",+ "schemaAgency": "DOI",+ "notation": "10.12345/climate-guide-2024"+ },+ {+ "@type": "Identifier",+ "schemaAgency": "ISBN",+ "notation": "978-0-123456-78-9"+ }+ ],+ "category": [+ {+ "@id": "https://example.gov/concepts/user-guide",+ "@type": "Concept",+ "prefLabel": "User Guide",+ "definition": "A document that provides instructions for using a product or service.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/document-types",+ "@type": "ConceptScheme",+ "title": "Document Types"+ }+ },+ {+ "@id": "https://example.gov/concepts/technical-documentation",+ "@type": "Concept",+ "prefLabel": "Technical Documentation",+ "definition": "Documentation describing technical aspects of a system or service.",+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/document-types",+ "@type": "ConceptScheme",+ "title": "Document Types"+ }+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Document/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Document/good/minimal_example.jsonnew file mode 100644index 00000000..1a1d36a1--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Document/good/minimal_example.json@@ -0,0 +1,3 @@+{+ "title": "Climate Data User Guide"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Document/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Document/good/null_example.jsonnew file mode 100644index 00000000..a3daf74e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Document/good/null_example.json@@ -0,0 +1,17 @@+{+ "abstract": null,+ "accessURL": null,+ "bibliographicCitation": null,+ "category": null,+ "conformsTo": null,+ "corporateCreator": null,+ "creator": null,+ "description": null,+ "downloadURL": null,+ "identifier": null,+ "issued": null,+ "mediaType": null,+ "otherIdentifier": null,+ "publisher": null,+ "title": ""+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Document/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Document/good/typical_example.jsonnew file mode 100644index 00000000..111f4e96--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Document/good/typical_example.json@@ -0,0 +1,16 @@+{+ "@type": "Document",+ "title": "Climate Data User Guide",+ "description": "A guide for accessing and using the National Climate Data Center's data products.",+ "accessURL": "https://example.gov/docs/climate-user-guide",+ "mediaType": "application/pdf",+ "identifier": "NCDC-UG-2024-001",+ "issued": "2024-03-15",+ "publisher": [+ {+ "@type": "Organization",+ "name": "National Climate Data Center"+ }+ ],+ "bibliographicCitation": "National Climate Data Center. (2024). Climate Data User Guide. Retrieved from https://example.gov/docs/climate-user-guide"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Identifier/bad/invalid_issued_format.json b/demo/corpus/dcat-us/jsonschema/examples/Identifier/bad/invalid_issued_format.jsonnew file mode 100644index 00000000..629a4ea5--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Identifier/bad/invalid_issued_format.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/identifiers/invalid",+ "@type": "Identifier",+ "notation": "VALID-001",+ "issued": "not-a-valid-date"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Identifier/bad/invalid_notation_type.json b/demo/corpus/dcat-us/jsonschema/examples/Identifier/bad/invalid_notation_type.jsonnew file mode 100644index 00000000..451d9ba7--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Identifier/bad/invalid_notation_type.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/identifiers/invalid",+ "@type": "Identifier",+ "notation": 12345,+ "version": true+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/complete_example.jsonnew file mode 100644index 00000000..4d30f3c9--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/complete_example.json@@ -0,0 +1,14 @@+{+ "@id": "https://example.gov/identifiers/dataset-climate-001",+ "@type": "Identifier",+ "schemaAgency": "National Climate Data Center",+ "notation": "NCDC-CLIMATE-2024-001",+ "version": "1.0",+ "issued": "2024-01-15",+ "creator": {+ "@id": "https://example.gov/organizations/ncdc",+ "@type": "Organization",+ "name": "National Climate Data Center",+ "description": "The world's largest archive of weather data."+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/minimal_object_example.json b/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/minimal_object_example.jsonnew file mode 100644index 00000000..0967ef42--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/minimal_object_example.json@@ -0,0 +1 @@+{}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/minimal_string_example.json b/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/minimal_string_example.jsonnew file mode 100644index 00000000..1d1199c3--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/minimal_string_example.json@@ -0,0 +1 @@+"dataset-12345"diff --git a/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/null_example.jsonnew file mode 100644index 00000000..6eadae54--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/null_example.json@@ -0,0 +1,7 @@+{+ "creator": null,+ "issued": null,+ "notation": null,+ "schemaAgency": null,+ "version": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/typical_example.jsonnew file mode 100644index 00000000..aeef0016--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Identifier/good/typical_example.json@@ -0,0 +1,5 @@+{+ "@type": "Identifier",+ "notation": "NCDC-CLIMATE-2024",+ "schemaAgency": "National Climate Data Center"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Kind/bad/invalid_hasEmail_format.json b/demo/corpus/dcat-us/jsonschema/examples/Kind/bad/invalid_hasEmail_format.jsonnew file mode 100644index 00000000..646d755a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Kind/bad/invalid_hasEmail_format.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/contacts/invalid",+ "@type": "Kind",+ "fn": "Data Support Team",+ "hasEmail": "[email protected]"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Kind/bad/missing_required_fn.json b/demo/corpus/dcat-us/jsonschema/examples/Kind/bad/missing_required_fn.jsonnew file mode 100644index 00000000..68133588--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Kind/bad/missing_required_fn.json@@ -0,0 +1,5 @@+{+ "@id": "https://example.gov/contacts/invalid",+ "@type": "Kind",+ "hasEmail": "mailto:[email protected]"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Kind/bad/missing_required_hasEmail.json b/demo/corpus/dcat-us/jsonschema/examples/Kind/bad/missing_required_hasEmail.jsonnew file mode 100644index 00000000..d06db7d8--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Kind/bad/missing_required_hasEmail.json@@ -0,0 +1,5 @@+{+ "@id": "https://example.gov/contacts/invalid",+ "@type": "Kind",+ "fn": "Data Support Team"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Kind/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Kind/good/complete_example.jsonnew file mode 100644index 00000000..d56df34e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Kind/good/complete_example.json@@ -0,0 +1,22 @@+{+ "@id": "https://example.gov/contacts/climate-support-001",+ "@type": "Kind",+ "fn": "Dr. Jane Smith",+ "given-name": "Jane",+ "family-name": "Smith",+ "hasEmail": "mailto:[email protected]",+ "tel": "+1-555-123-4567",+ "organization-name": "National Climate Data Center",+ "title": "Senior Climate Data Scientist",+ "address": [+ {+ "@id": "https://example.gov/addresses/ncdc-main",+ "@type": "Address",+ "street-address": "151 Patton Avenue",+ "locality": "Asheville",+ "region": "NC",+ "postal-code": "28801",+ "country-name": "United States"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Kind/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Kind/good/minimal_example.jsonnew file mode 100644index 00000000..454cea8c--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Kind/good/minimal_example.json@@ -0,0 +1,4 @@+{+ "fn": "Data Support Team",+ "hasEmail": "mailto:[email protected]"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Kind/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Kind/good/null_example.jsonnew file mode 100644index 00000000..abf10e3e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Kind/good/null_example.json@@ -0,0 +1,10 @@+{+ "address": null,+ "family-name": null,+ "fn": "",+ "given-name": null,+ "hasEmail": "mailto:[email protected]",+ "organization-name": null,+ "tel": null,+ "title": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Kind/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Kind/good/typical_example.jsonnew file mode 100644index 00000000..bcb24aea--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Kind/good/typical_example.json@@ -0,0 +1,7 @@+{+ "@type": "Kind",+ "fn": "Climate Data Support Team",+ "hasEmail": "mailto:[email protected]",+ "organization-name": "National Climate Data Center",+ "tel": "+1-555-123-4567"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_bbox_type.json b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_bbox_type.jsonnew file mode 100644index 00000000..d418cdb4--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_bbox_type.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/locations/invalid-location",+ "@type": "Location",+ "prefLabel": "Invalid Location",+ "bbox": 12345+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_centroid_coordinates.json b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_centroid_coordinates.jsonnew file mode 100644index 00000000..21ee58f6--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_centroid_coordinates.json@@ -0,0 +1,9 @@+{+ "@id": "https://example.gov/locations/invalid-centroid",+ "@type": "Location",+ "prefLabel": "Invalid Centroid",+ "centroid": {+ "type": "Point",+ "coordinates": [-77.0369, 38.9072, 100, 200]+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_centroid_type.json b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_centroid_type.jsonnew file mode 100644index 00000000..bee0641b--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_centroid_type.json@@ -0,0 +1,9 @@+{+ "@id": "https://example.gov/locations/invalid-centroid-type",+ "@type": "Location",+ "prefLabel": "Invalid Centroid Type",+ "centroid": {+ "type": "Polygon",+ "coordinates": [-77.0369, 38.9072]+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_geojson_bbox_missing_type.json b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_geojson_bbox_missing_type.jsonnew file mode 100644index 00000000..22c17210--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_geojson_bbox_missing_type.json@@ -0,0 +1,16 @@+{+ "@id": "https://example.gov/locations/invalid-bbox-geojson",+ "@type": "Location",+ "prefLabel": "Invalid GeoJSON Bbox",+ "bbox": {+ "coordinates": [+ [+ [-77.119759, 38.791645],+ [-76.909393, 38.791645],+ [-76.909393, 38.99538],+ [-77.119759, 38.99538],+ [-77.119759, 38.791645]+ ]+ ]+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_geojson_bbox_wrong_type.json b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_geojson_bbox_wrong_type.jsonnew file mode 100644index 00000000..f10e7f32--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_geojson_bbox_wrong_type.json@@ -0,0 +1,14 @@+{+ "@id": "https://example.gov/locations/invalid-bbox-wrong-type",+ "@type": "Location",+ "prefLabel": "Invalid GeoJSON Bbox Type",+ "bbox": {+ "type": "Point",+ "coordinates": [+ [+ [-77.119759, 38.791645],+ [-76.909393, 38.791645]+ ]+ ]+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_prefLabel_type.json b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_prefLabel_type.jsonnew file mode 100644index 00000000..886a0995--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/bad/invalid_prefLabel_type.json@@ -0,0 +1,5 @@+{+ "@id": "https://example.gov/locations/invalid-preflabel",+ "@type": "Location",+ "prefLabel": ["Washington", "D.C."]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/good/bbox_geojson.json b/demo/corpus/dcat-us/jsonschema/examples/Location/good/bbox_geojson.jsonnew file mode 100644index 00000000..5d1b7c66--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/good/bbox_geojson.json@@ -0,0 +1,17 @@+{+ "@id": "https://example.gov/locations/yellowstone",+ "@type": "Location",+ "prefLabel": "Yellowstone National Park",+ "bbox": {+ "type": "Polygon",+ "coordinates": [+ [+ [-111.056, 44.132],+ [-109.831, 44.132],+ [-109.831, 45.102],+ [-111.056, 45.102],+ [-111.056, 44.132]+ ]+ ]+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/good/bbox_wkt.json b/demo/corpus/dcat-us/jsonschema/examples/Location/good/bbox_wkt.jsonnew file mode 100644index 00000000..1d613b3e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/good/bbox_wkt.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/locations/grand-canyon",+ "@type": "Location",+ "prefLabel": "Grand Canyon National Park",+ "bbox": "POLYGON ((-114 35.9, -111.6 35.9, -111.6 36.5, -114 36.5, -114 35.9))"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/good/centroid_geojson.json b/demo/corpus/dcat-us/jsonschema/examples/Location/good/centroid_geojson.jsonnew file mode 100644index 00000000..a700904c--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/good/centroid_geojson.json@@ -0,0 +1,9 @@+{+ "@id": "https://example.gov/locations/statue-of-liberty",+ "@type": "Location",+ "prefLabel": "Statue of Liberty",+ "centroid": {+ "type": "Point",+ "coordinates": [-74.0445, 40.6892]+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Location/good/complete_example.jsonnew file mode 100644index 00000000..64d1e485--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/good/complete_example.json@@ -0,0 +1,60 @@+{+ "@id": "https://example.gov/locations/washington-dc",+ "@type": "Location",+ "prefLabel": "Washington, D.C.",+ "altLabel": "DC",+ "identifier": {+ "@id": "https://example.gov/identifiers/geonames-4140963",+ "@type": "Identifier",+ "notation": "4140963",+ "schemaAgency": "GeoNames"+ },+ "otherIdentifier": [+ {+ "@id": "https://example.gov/identifiers/fips-11001",+ "@type": "Identifier",+ "notation": "11001",+ "schemaAgency": "FIPS"+ },+ "https://www.wikidata.org/wiki/Q61"+ ],+ "bbox": {+ "type": "Polygon",+ "coordinates": [+ [+ [-77.119759, 38.791645],+ [-76.909393, 38.791645],+ [-76.909393, 38.99538],+ [-77.119759, 38.99538],+ [-77.119759, 38.791645]+ ]+ ]+ },+ "centroid": {+ "type": "Point",+ "coordinates": [-77.0369, 38.9072]+ },+ "geometry": {+ "type": "Polygon",+ "coordinates": [+ [+ [-77.0402, 38.7916],+ [-76.9094, 38.8921],+ [-76.9115, 38.9355],+ [-76.9286, 38.9784],+ [-77.0024, 38.9657],+ [-77.0389, 38.9939],+ [-77.0672, 38.9687],+ [-77.0782, 38.9143],+ [-77.1198, 38.9342],+ [-77.1198, 38.8456],+ [-77.0402, 38.7916]+ ]+ ]+ },+ "inScheme": {+ "@id": "https://www.geonames.org/",+ "@type": "ConceptScheme",+ "title": "GeoNames"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/good/geometry_geojson.json b/demo/corpus/dcat-us/jsonschema/examples/Location/good/geometry_geojson.jsonnew file mode 100644index 00000000..effb4276--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/good/geometry_geojson.json@@ -0,0 +1,23 @@+{+ "@id": "https://example.gov/locations/washington-dc",+ "@type": "Location",+ "prefLabel": "Washington, D.C.",+ "geometry": {+ "type": "Polygon",+ "coordinates": [+ [+ [-77.0402, 38.7916],+ [-76.9094, 38.8921],+ [-76.9115, 38.9355],+ [-76.9286, 38.9784],+ [-77.0024, 38.9657],+ [-77.0389, 38.9939],+ [-77.0672, 38.9687],+ [-77.0782, 38.9143],+ [-77.1198, 38.9342],+ [-77.1198, 38.8456],+ [-77.0402, 38.7916]+ ]+ ]+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/good/identifier_iri_reference.json b/demo/corpus/dcat-us/jsonschema/examples/Location/good/identifier_iri_reference.jsonnew file mode 100644index 00000000..b8757e07--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/good/identifier_iri_reference.json@@ -0,0 +1,7 @@+{+ "@id": "https://example.gov/locations/new-york-city",+ "@type": "Location",+ "prefLabel": "New York City",+ "identifier": "https://www.geonames.org/5128581/",+ "inScheme": { "title": "Minimal concept scheme" }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Location/good/minimal_example.jsonnew file mode 100644index 00000000..0ea748c2--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/good/minimal_example.json@@ -0,0 +1,3 @@+{+ "@type": "Location"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Location/good/null_example.jsonnew file mode 100644index 00000000..cd049eb0--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/good/null_example.json@@ -0,0 +1,10 @@+{+ "altLabel": null,+ "bbox": null,+ "centroid": null,+ "geometry": null,+ "identifier": null,+ "inScheme": null,+ "otherIdentifier": null,+ "prefLabel": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Location/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Location/good/typical_example.jsonnew file mode 100644index 00000000..27cb4c88--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Location/good/typical_example.json@@ -0,0 +1,5 @@+{+ "@type": "Location",+ "prefLabel": "Continental United States",+ "bbox": "POLYGON((-125 24, -66 24, -66 50, -125 50, -125 24))"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Metric/bad/invalid_expectedDataType_type.json b/demo/corpus/dcat-us/jsonschema/examples/Metric/bad/invalid_expectedDataType_type.jsonnew file mode 100644index 00000000..aa61b651--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Metric/bad/invalid_expectedDataType_type.json@@ -0,0 +1,5 @@+{+ "@type": "Metric",+ "expectedDataType": 123,+ "inDimension": "https://www.w3.org/TR/vocab-dqv/#dqv:completeness"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Metric/bad/missing_expectedDataType.json b/demo/corpus/dcat-us/jsonschema/examples/Metric/bad/missing_expectedDataType.jsonnew file mode 100644index 00000000..33179a5a--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Metric/bad/missing_expectedDataType.json@@ -0,0 +1,4 @@+{+ "@type": "Metric",+ "inDimension": "https://www.w3.org/TR/vocab-dqv/#dqv:completeness"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Metric/bad/missing_inDimension.json b/demo/corpus/dcat-us/jsonschema/examples/Metric/bad/missing_inDimension.jsonnew file mode 100644index 00000000..ee34653f--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Metric/bad/missing_inDimension.json@@ -0,0 +1,4 @@+{+ "@type": "Metric",+ "expectedDataType": "xsd:boolean"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Metric/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Metric/good/complete_example.jsonnew file mode 100644index 00000000..0ae9f67b--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Metric/good/complete_example.json@@ -0,0 +1,7 @@+{+ "@id": "https://example.gov/metrics/record-completeness",+ "@type": "Metric",+ "expectedDataType": "xsd:double",+ "inDimension": "https://www.w3.org/TR/vocab-dqv/#dqv:completeness",+ "definition": "The percentage of non-null values for required fields in a dataset. A value of 1.0 indicates 100% completeness."+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Metric/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Metric/good/minimal_example.jsonnew file mode 100644index 00000000..3e244755--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Metric/good/minimal_example.json@@ -0,0 +1,5 @@+{+ "@type": "Metric",+ "expectedDataType": "xsd:boolean",+ "inDimension": "height"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Metric/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Metric/good/null_example.jsonnew file mode 100644index 00000000..7114054b--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Metric/good/null_example.json@@ -0,0 +1,5 @@+{+ "definition": null,+ "expectedDataType": "",+ "inDimension": "urn:example:z"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Metric/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Metric/good/typical_example.jsonnew file mode 100644index 00000000..9249a74f--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Metric/good/typical_example.json@@ -0,0 +1,6 @@+{+ "@type": "Metric",+ "expectedDataType": "xsd:decimal",+ "inDimension": "https://example.gov/dimensions/completeness",+ "definition": "Percentage of non-null values in the dataset."+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Organization/bad/invalid_name_type.json b/demo/corpus/dcat-us/jsonschema/examples/Organization/bad/invalid_name_type.jsonnew file mode 100644index 00000000..0492104f--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Organization/bad/invalid_name_type.json@@ -0,0 +1,4 @@+{+ "@type": "Organization",+ "name": 12345+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Organization/bad/missing_name.json b/demo/corpus/dcat-us/jsonschema/examples/Organization/bad/missing_name.jsonnew file mode 100644index 00000000..0d034380--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Organization/bad/missing_name.json@@ -0,0 +1,4 @@+{+ "@type": "Organization",+ "altLabel": "Census Bureau"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Organization/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Organization/good/complete_example.jsonnew file mode 100644index 00000000..19c62ef1--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Organization/good/complete_example.json@@ -0,0 +1,15 @@+{+ "@id": "https://example.gov/organizations/census-bureau",+ "@type": "Organization",+ "name": "U.S. Census Bureau",+ "prefLabel": "United States Census Bureau",+ "altLabel": "Census Bureau",+ "notation": ["USCB", "CB"],+ "subOrganizationOf": [+ {+ "@id": "https://example.gov/organizations/doc",+ "@type": "Organization",+ "name": "U.S. Department of Commerce"+ }+ ]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Organization/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Organization/good/minimal_example.jsonnew file mode 100644index 00000000..b2c4a05e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Organization/good/minimal_example.json@@ -0,0 +1,4 @@+{+ "@type": "Organization",+ "name": "U.S. Department of Commerce"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Organization/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Organization/good/null_example.jsonnew file mode 100644index 00000000..06494c1c--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Organization/good/null_example.json@@ -0,0 +1,7 @@+{+ "altLabel": null,+ "name": "",+ "notation": null,+ "prefLabel": null,+ "subOrganizationOf": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Organization/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Organization/good/typical_example.jsonnew file mode 100644index 00000000..976f708d--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Organization/good/typical_example.json@@ -0,0 +1,5 @@+{+ "@type": "Organization",+ "name": "National Climate Data Center",+ "altLabel": "NCDC"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/bad/invalid_date_format.json b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/bad/invalid_date_format.jsonnew file mode 100644index 00000000..0ebbe7a3--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/bad/invalid_date_format.json@@ -0,0 +1,4 @@+{+ "@type": "PeriodOfTime",+ "startDate": ["2024-01-01"]+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/bad/invalid_date_type.json b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/bad/invalid_date_type.jsonnew file mode 100644index 00000000..95776140--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/bad/invalid_date_type.json@@ -0,0 +1,4 @@+{+ "@type": "PeriodOfTime",+ "startDate": 20240101+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/bad/missing_date.json b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/bad/missing_date.jsonnew file mode 100644index 00000000..cdaadd1e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/bad/missing_date.json@@ -0,0 +1,3 @@+{+ "@type": "PeriodOfTime"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/complete_example.jsonnew file mode 100644index 00000000..4c824bb5--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/complete_example.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/periods/fiscal-year-2024",+ "@type": "PeriodOfTime",+ "startDate": "2023-10-01",+ "endDate": "2024-09-30"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/minimal_example_end_date_only.json b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/minimal_example_end_date_only.jsonnew file mode 100644index 00000000..dddad69f--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/minimal_example_end_date_only.json@@ -0,0 +1,4 @@+{+ "@type": "PeriodOfTime",+ "endDate": "2024-09-30"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/minimal_example_start_date_only.json b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/minimal_example_start_date_only.jsonnew file mode 100644index 00000000..79812b6d--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/minimal_example_start_date_only.json@@ -0,0 +1,4 @@+{+ "@type": "PeriodOfTime",+ "startDate": "2023-10-01"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/null_example.jsonnew file mode 100644index 00000000..6631be5d--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/null_example.json@@ -0,0 +1,4 @@+{+ "endDate": null,+ "startDate": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/typical_example.jsonnew file mode 100644index 00000000..28f0172f--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/typical_example.json@@ -0,0 +1,5 @@+{+ "@type": "PeriodOfTime",+ "startDate": "2024-01-01",+ "endDate": "2024-12-31"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/year_month_example.json b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/year_month_example.jsonnew file mode 100644index 00000000..18e27c33--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/year_month_example.json@@ -0,0 +1,5 @@+{+ "@type": "PeriodOfTime",+ "startDate": "2024-01",+ "endDate": "2024-06"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/year_only_example.json b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/year_only_example.jsonnew file mode 100644index 00000000..91198dca--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/PeriodOfTime/good/year_only_example.json@@ -0,0 +1,4 @@+{+ "@type": "PeriodOfTime",+ "startDate": "2020"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/bad/invalid_value_type.json b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/bad/invalid_value_type.jsonnew file mode 100644index 00000000..d68224f5--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/bad/invalid_value_type.json@@ -0,0 +1,8 @@+{+ "@id": "https://example.gov/quality-measurements/invalid",+ "@type": "QualityMeasurement",+ "isMeasurementOf": {+ "label": "Completeness"+ },+ "value": 98.5+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/bad/missing_required_isMeasurementOf.json b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/bad/missing_required_isMeasurementOf.jsonnew file mode 100644index 00000000..a7a308a0--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/bad/missing_required_isMeasurementOf.json@@ -0,0 +1,5 @@+{+ "@id": "https://example.gov/quality-measurements/invalid",+ "@type": "QualityMeasurement",+ "value": "98.5"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/bad/missing_required_value.json b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/bad/missing_required_value.jsonnew file mode 100644index 00000000..bcb7445c--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/bad/missing_required_value.json@@ -0,0 +1,7 @@+{+ "@id": "https://example.gov/quality-measurements/invalid",+ "@type": "QualityMeasurement",+ "isMeasurementOf": {+ "label": "Completeness"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/complete_example.jsonnew file mode 100644index 00000000..cac5abef--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/complete_example.json@@ -0,0 +1,13 @@+{+ "@id": "https://example.gov/quality-measurements/completeness-001",+ "@type": "QualityMeasurement",+ "isMeasurementOf": {+ "@id": "https://example.gov/metrics/data-completeness-001",+ "@type": "Metric",+ "definition": "The percentage of expected data values that are present in the dataset.",+ "expectedDataType": "xsd:decimal",+ "inDimension": "https://example.gov/concepts/completeness-dimension"+ },+ "value": "98.5",+ "unitMeasure": "percent"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/minimal_example.jsonnew file mode 100644index 00000000..b8efeb14--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/minimal_example.json@@ -0,0 +1,7 @@+{+ "isMeasurementOf": {+ "expectedDataType": "xsd:decimal",+ "inDimension": "https://example.gov/concepts/completeness-dimension"+ },+ "value": "98.5"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/null_example.jsonnew file mode 100644index 00000000..31b74be1--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/null_example.json@@ -0,0 +1,8 @@+{+ "isMeasurementOf": {+ "expectedDataType": "",+ "inDimension": "urn:example:z"+ },+ "unitMeasure": null,+ "value": ""+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/typical_example.jsonnew file mode 100644index 00000000..4c42e6f3--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/QualityMeasurement/good/typical_example.json@@ -0,0 +1,9 @@+{+ "@type": "QualityMeasurement",+ "isMeasurementOf": {+ "expectedDataType": "xsd:decimal",+ "inDimension": "https://example.gov/dimensions/completeness"+ },+ "value": "98.5",+ "unitMeasure": "percent"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Relationship/bad/invalid_hadRole_type.json b/demo/corpus/dcat-us/jsonschema/examples/Relationship/bad/invalid_hadRole_type.jsonnew file mode 100644index 00000000..fb3831be--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Relationship/bad/invalid_hadRole_type.json@@ -0,0 +1,5 @@+{+ "@type": "Relationship",+ "hadRole": 123,+ "relation": "https://example.gov/organizations/partner-agency"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Relationship/bad/missing_hadRole.json b/demo/corpus/dcat-us/jsonschema/examples/Relationship/bad/missing_hadRole.jsonnew file mode 100644index 00000000..58899f57--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Relationship/bad/missing_hadRole.json@@ -0,0 +1,4 @@+{+ "@type": "Relationship",+ "relation": "https://example.gov/organizations/partner-agency"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Relationship/bad/missing_relation.json b/demo/corpus/dcat-us/jsonschema/examples/Relationship/bad/missing_relation.jsonnew file mode 100644index 00000000..7f8ff316--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Relationship/bad/missing_relation.json@@ -0,0 +1,4 @@+{+ "@type": "Relationship",+ "hadRole": "contributor"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/complete_example.jsonnew file mode 100644index 00000000..5fcc91b1--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/complete_example.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/relationships/dataset-001-data-provider",+ "@type": "Relationship",+ "hadRole": "dataProvider",+ "relation": "https://example.gov/organizations/national-weather-service"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/minimal_example.jsonnew file mode 100644index 00000000..e0dbf164--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/minimal_example.json@@ -0,0 +1,5 @@+{+ "@type": "Relationship",+ "hadRole": "contributor",+ "relation": "some resource"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/null_example.jsonnew file mode 100644index 00000000..a88e4c38--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/null_example.json@@ -0,0 +1,4 @@+{+ "hadRole": "",+ "relation": "urn:example:z"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/typical_example.jsonnew file mode 100644index 00000000..c9411f0f--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Relationship/good/typical_example.json@@ -0,0 +1,5 @@+{+ "@type": "Relationship",+ "hadRole": "isInputTo",+ "relation": "https://example.gov/models/climate-prediction"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Standard/bad/invalid_issued_format.json b/demo/corpus/dcat-us/jsonschema/examples/Standard/bad/invalid_issued_format.jsonnew file mode 100644index 00000000..d769c151--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Standard/bad/invalid_issued_format.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/standards/invalid",+ "@type": "Standard",+ "title": "Valid Standard",+ "issued": "not-a-valid-date"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Standard/bad/invalid_title_type.json b/demo/corpus/dcat-us/jsonschema/examples/Standard/bad/invalid_title_type.jsonnew file mode 100644index 00000000..4a91b646--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Standard/bad/invalid_title_type.json@@ -0,0 +1,6 @@+{+ "@id": "https://example.gov/standards/invalid",+ "@type": "Standard",+ "title": 12345,+ "description": true+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Standard/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/Standard/good/complete_example.jsonnew file mode 100644index 00000000..bae0cd74--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Standard/good/complete_example.json@@ -0,0 +1,38 @@+{+ "@id": "https://example.gov/standards/dcat-us-3",+ "@type": "Standard",+ "title": "DCAT-US 3.0 - Data Catalog Vocabulary United States Profile",+ "description": "The DCAT-US 3.0 schema defines a standard metadata format for data catalogs in the United States government, based on W3C DCAT.",+ "created": "2023-01-01",+ "issued": "2024-01-15",+ "modified": "2024-06-01",+ "identifier": {+ "@type": "Identifier",+ "schemaAgency": "resources.data.gov",+ "notation": "DCAT-US-3.0",+ "version": "3.0.0"+ },+ "otherIdentifier": [+ {+ "@type": "Identifier",+ "schemaAgency": "W3C",+ "notation": "DCAT-3.0-US-Profile"+ }+ ],+ "category": [+ {+ "@type": "Concept",+ "prefLabel": "Metadata Standards",+ "inScheme": {+ "@id": "https://example.gov/vocabularies/standard-categories",+ "@type": "ConceptScheme",+ "title": "Standard Categories"+ }+ }+ ],+ "inScheme": {+ "@id": "https://resources.data.gov/standards-register",+ "@type": "ConceptScheme",+ "title": "Standards Register"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Standard/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/Standard/good/minimal_example.jsonnew file mode 100644index 00000000..0967ef42--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Standard/good/minimal_example.json@@ -0,0 +1 @@+{}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Standard/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/Standard/good/null_example.jsonnew file mode 100644index 00000000..5875bbc0--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Standard/good/null_example.json@@ -0,0 +1,11 @@+{+ "category": null,+ "created": null,+ "description": null,+ "identifier": null,+ "inScheme": null,+ "issued": null,+ "modified": null,+ "otherIdentifier": null,+ "title": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/Standard/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/Standard/good/typical_example.jsonnew file mode 100644index 00000000..39c72271--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/Standard/good/typical_example.json@@ -0,0 +1,16 @@+{+ "@type": "Standard",+ "title": "DCAT-US 3.0",+ "description": "Data Catalog Vocabulary - United States Profile version 3.0",+ "issued": "2024-01-15",+ "identifier": {+ "@type": "Identifier",+ "notation": "DCAT-US-3.0",+ "schemaAgency": "U.S. General Services Administration"+ },+ "inScheme": {+ "@type": "ConceptScheme",+ "title": "Federal Data Standards",+ "description": "A collection of data standards used by federal agencies"+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/bad/invalid_restrictionStatus_type.json b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/bad/invalid_restrictionStatus_type.jsonnew file mode 100644index 00000000..d11dee22--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/bad/invalid_restrictionStatus_type.json@@ -0,0 +1,5 @@+{+ "@id": "https://example.gov/restrictions/invalid",+ "@type": "UseRestriction",+ "restrictionStatus": 12345+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/bad/missing_required_restrictionStatus.json b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/bad/missing_required_restrictionStatus.jsonnew file mode 100644index 00000000..6e34f971--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/bad/missing_required_restrictionStatus.json@@ -0,0 +1,5 @@+{+ "@id": "https://example.gov/restrictions/invalid",+ "@type": "UseRestriction",+ "restrictionNote": "Some restriction note without required restrictionStatus"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/complete_example.json b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/complete_example.jsonnew file mode 100644index 00000000..b511fd11--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/complete_example.json@@ -0,0 +1,30 @@+{+ "@id": "https://example.gov/restrictions/use-restriction-001",+ "@type": "UseRestriction",+ "restrictionNote": "This data may be used for research purposes. Commercial use requires written permission from the data steward.",+ "restrictionStatus": {+ "@id": "https://example.gov/concepts/restricted-commercial",+ "@type": "Concept",+ "prefLabel": "Restricted - Commercial Use",+ "altLabel": "Commercial Restriction",+ "definition": "The resource has restrictions on commercial use but is available for research and non-commercial purposes.",+ "notation": ["RST-COM"],+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/restriction-status",+ "@type": "ConceptScheme",+ "title": "Restriction Status"+ }+ },+ "specificRestriction": {+ "@id": "https://example.gov/concepts/nara-restriction-copyright",+ "@type": "Concept",+ "prefLabel": "Copyright Restriction",+ "definition": "Materials protected by copyright with limited use permissions.",+ "notation": ["CR"],+ "inScheme": {+ "@id": "https://example.gov/concept-schemes/nara-restrictions",+ "@type": "ConceptScheme",+ "title": "NARA Restrictions"+ }+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/minimal_example.json b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/minimal_example.jsonnew file mode 100644index 00000000..ae29196e--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/minimal_example.json@@ -0,0 +1,3 @@+{+ "restrictionStatus": "Unrestricted"+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/null_example.json b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/null_example.jsonnew file mode 100644index 00000000..9a675fad--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/null_example.json@@ -0,0 +1,5 @@+{+ "restrictionNote": null,+ "restrictionStatus": "",+ "specificRestriction": null+}diff --git a/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/typical_example.json b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/typical_example.jsonnew file mode 100644index 00000000..9915f951--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/examples/UseRestriction/good/typical_example.json@@ -0,0 +1,6 @@+{+ "@type": "UseRestriction",+ "restrictionStatus": "https://example.gov/concepts/unrestricted",+ "specificRestriction": "https://creativecommons.org/publicdomain/zero/1.0/",+ "restrictionNote": "This data may be used for any purpose without restriction."+}diff --git a/demo/corpus/dcat-us/jsonschema/generated-context.jsonld b/demo/corpus/dcat-us/jsonschema/generated-context.jsonldnew file mode 100644index 00000000..b356b0c2--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/generated-context.jsonld@@ -0,0 +1,602 @@+{+ "@context": {+ "@version": 1.1,+ "adms": "http://www.w3.org/ns/adms#",+ "cnt": "http://www.w3.org/2011/content#",+ "dash": "http://datashapes.org/dash#",+ "dc": "http://purl.org/dc/elements/1.1/",+ "dcat": "http://www.w3.org/ns/dcat#",+ "dcat-us": "http://data.resources.gov/ontology/dcat-us#",+ "dcat-us-shp": "http://data.resources.gov/shapes/dcat-us#",+ "dcatap": "http://data.europa.eu/r5r/",+ "dcterms": "http://purl.org/dc/terms/",+ "dqv": "http://www.w3.org/ns/dqv#",+ "foaf": "http://xmlns.com/foaf/0.1/",+ "gsp": "http://www.opengis.net/ont/geosparql#",+ "locn": "http://www.w3.org/ns/locn#",+ "odrl": "http://www.w3.org/ns/odrl/2/",+ "odrs": "http://schema.theodi.org/odrs#",+ "org": "http://www.w3.org/ns/org#",+ "owl": "http://www.w3.org/2002/07/owl#",+ "prov": "http://www.w3.org/ns/prov#",+ "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",+ "rdfs": "http://www.w3.org/2000/01/rdf-schema#",+ "schema": "https://schema.org/",+ "sdmx-attribute": "http://purl.org/linked-data/sdmx/2009/attribute#",+ "sh": "http://www.w3.org/ns/shacl#",+ "skos": "http://www.w3.org/2004/02/skos/core#",+ "spdx": "http://spdx.org/rdf/terms#",+ "vcard": "http://www.w3.org/2006/vcard/ns#",+ "xsd": "http://www.w3.org/2001/XMLSchema#",+ "AccessRestriction": "dcat-us:AccessRestriction",+ "Activity": "prov:Activity",+ "Address": "locn:Address",+ "Agent": "foaf:Agent",+ "Attribution": "prov:Attribution",+ "CUIRestriction": "dcat-us:CuiRestriction",+ "CatalogRecord": {+ "@id": "dcat:CatalogRecord",+ "@context": {+ "conformsTo": {+ "@id": "dcterms:conformsTo",+ "@type": "@id"+ },+ "description": {+ "@id": "dcterms:description",+ "@container": "@set"+ },+ "issued": {+ "@id": "dcterms:issued",+ "@container": "@set"+ }+ }+ },+ "Checksum": "spdx:Checksum",+ "Concept": "skos:Concept",+ "ConceptScheme": "skos:ConceptScheme",+ "DCAT-US 3 Catalog": {+ "@id": "dcat:Catalog",+ "@context": {+ "conformsTo": {+ "@id": "dcterms:conformsTo",+ "@type": "@id"+ }+ }+ },+ "DataService": "dcat:DataService",+ "Dataset": {+ "@id": "dcat:Dataset",+ "@context": {+ "creator": {+ "@id": "dcterms:creator",+ "@type": "@id"+ },+ "relation": {+ "@id": "dcterms:relation",+ "@type": "@id",+ "@container": "@set"+ },+ "source": {+ "@id": "dcterms:source",+ "@type": "@id",+ "@container": "@set"+ },+ "version": "dcat:version"+ }+ },+ "DatasetSeries": "dcat:DatasetSeries",+ "Distribution": {+ "@id": "dcat:Distribution",+ "@context": {+ "language": {+ "@id": "dcterms:language",+ "@container": "@set"+ }+ }+ },+ "Document": {+ "@id": "foaf:Document",+ "@context": {+ "conformsTo": {+ "@id": "dcterms:identifier",+ "@type": "@id",+ "@container": "@set"+ },+ "mediaType": {+ "@id": "dcterms:mediaType",+ "@type": "@id"+ },+ "publisher": {+ "@id": "dc:publisher",+ "@container": "@set"+ }+ }+ },+ "Identifier": "adms:Identifier",+ "Kind": {+ "@id": "vcard:Kind",+ "@context": {+ "title": {+ "@id": "vcard:title",+ "@type": "xsd:string"+ }+ }+ },+ "Location": "dcterms:Location",+ "Metric": "dqv:Metric",+ "Organization": "org:Organization",+ "PeriodOfTime": "dcterms:PeriodOfTime",+ "QualityMeasurement": "dqv:QualityMeasurement",+ "Relationship": "dcat:Relationship",+ "Standard": {+ "@id": "dcterms:Standard",+ "@context": {+ "created": {+ "@id": "dcterms:created",+ "@type": "xsd:date"+ },+ "identifier": {+ "@id": "dcterms:identifier",+ "@type": "xsd:string"+ },+ "modified": {+ "@id": "dcterms:modified",+ "@type": "xsd:date"+ },+ "title": {+ "@id": "dcterms:title",+ "@type": "xsd:string"+ }+ }+ },+ "UseRestriction": "dcat-us:UseRestriction",+ "abstract": "dcterms:abstract",+ "accessRestriction": {+ "@id": "dcat-us:accessRestriction",+ "@type": "@id",+ "@container": "@set"+ },+ "accessRights": {+ "@id": "dcterms:accessRights",+ "@type": "@id"+ },+ "accessService": {+ "@id": "dcat:accessService",+ "@type": "@id",+ "@container": "@set"+ },+ "accessURL": {+ "@id": "dcat:accessURL",+ "@type": "@id"+ },+ "accrualPeriodicity": {+ "@id": "dcterms:accrualPeriodicity",+ "@type": "@id"+ },+ "address": {+ "@id": "vcard:address",+ "@type": "@id",+ "@container": "@set"+ },+ "agent": {+ "@id": "prov:agent",+ "@type": "@id"+ },+ "algorithm": {+ "@id": "spdx:algorithm",+ "@type": "@id"+ },+ "altLabel": {+ "@id": "skos:altLabel",+ "@type": "xsd:string"+ },+ "bbox": "dcat:bbox",+ "bibliographicCitation": "dcterms:bibliographicCitation",+ "byteSize": {+ "@id": "dcat:byteSize",+ "@type": "xsd:nonNegativeInteger"+ },+ "catalog": {+ "@id": "dcat:catalog",+ "@type": "@id",+ "@container": "@set"+ },+ "category": {+ "@id": "dcterms:type",+ "@type": "@id",+ "@container": "@set"+ },+ "centroid": "dcat:centroid",+ "characterEncoding": {+ "@id": "cnt:characterEncoding",+ "@container": "@set"+ },+ "checksum": {+ "@id": "spdx:checksum",+ "@type": "@id"+ },+ "checksumValue": {+ "@id": "spdx:checksumValue",+ "@type": "xsd:hexBinary"+ },+ "compressFormat": {+ "@id": "dcat:compressFormat",+ "@type": "@id"+ },+ "conformsTo": {+ "@id": "dcterms:conformsTo",+ "@type": "@id",+ "@container": "@set"+ },+ "contactPoint": {+ "@id": "dcat:contactPoint",+ "@type": "@id",+ "@container": "@set"+ },+ "contributor": {+ "@id": "dcterms:contributor",+ "@type": "@id",+ "@container": "@set"+ },+ "country-name": "vcard:country-name",+ "created": "dcterms:created",+ "creator": {+ "@id": "dcterms:creator",+ "@type": "@id",+ "@container": "@set"+ },+ "cuiBannerMarking": {+ "@id": "dcat-us:cuiBannerMarking",+ "@type": "xsd:string"+ },+ "cuiRestriction": {+ "@id": "dcat-us:cuiRestriction",+ "@type": "@id"+ },+ "dataset": {+ "@id": "dcat:dataset",+ "@type": "@id",+ "@container": "@set"+ },+ "definition": "skos:definition",+ "describedBy": {+ "@id": "dcat-us:describedBy",+ "@type": "@id"+ },+ "description": "dcterms:description",+ "designationIndicator": {+ "@id": "dcat-us:designationIndicator",+ "@type": "xsd:string"+ },+ "distribution": {+ "@id": "dcat:distribution",+ "@type": "@id",+ "@container": "@set"+ },+ "downloadURL": {+ "@id": "dcat:downloadURL",+ "@type": "@id"+ },+ "endDate": "dcat:endDate",+ "endpointDescription": {+ "@id": "dcat:endpointDescription",+ "@type": "@id",+ "@container": "@set"+ },+ "endpointURL": {+ "@id": "dcat:endpointURL",+ "@type": "@id",+ "@container": "@set"+ },+ "expectedDataType": {+ "@id": "dqv:expectedDataType",+ "@type": "xsd:anySimpleType"+ },+ "family-name": {+ "@id": "vcard:family-name",+ "@type": "xsd:string"+ },+ "first": {+ "@id": "dcat:first",+ "@type": "@id"+ },+ "fn": {+ "@id": "vcard:fn",+ "@type": "xsd:string"+ },+ "format": {+ "@id": "dcterms:format",+ "@type": "@id"+ },+ "geometry": {+ "@id": "locn:geometry",+ "@type": "@id"+ },+ "given-name": {+ "@id": "vcard:given-name",+ "@type": "xsd:string"+ },+ "hadRole": {+ "@id": "dcat:hadRole",+ "@type": "@id"+ },+ "hasEmail": {+ "@id": "vcard:hasEmail",+ "@type": "@id"+ },+ "hasPart": {+ "@id": "dcterms:hasPart",+ "@type": "@id",+ "@container": "@set"+ },+ "hasQualityMeasurement": {+ "@id": "dqv:hasQualityMeasurement",+ "@type": "@id",+ "@container": "@set"+ },+ "hasVersion": {+ "@id": "dcat:hasVersion",+ "@container": "@set"+ },+ "homepage": {+ "@id": "foaf:homepage",+ "@type": "@id"+ },+ "identifier": "dcterms:identifier",+ "image": {+ "@id": "schema:image",+ "@type": "@id"+ },+ "inDimension": {+ "@id": "dqv:inDimension",+ "@type": "@id"+ },+ "inScheme": {+ "@id": "skos:inScheme",+ "@type": "@id"+ },+ "isMeasurementOf": {+ "@id": "dqv:isMeasurementOf",+ "@type": "@id"+ },+ "isReferencedBy": {+ "@id": "dcterms:isReferencedBy",+ "@type": "@id",+ "@container": "@set"+ },+ "issued": "dcterms:issued",+ "keyword": {+ "@id": "dcat:keyword",+ "@container": "@set"+ },+ "label": {+ "@id": "rdfs:label",+ "@type": "xsd:string"+ },+ "landingPage": {+ "@id": "dcat:landingPage",+ "@type": "@id"+ },+ "language": {+ "@id": "dcterms:language",+ "@type": "@id",+ "@container": "@set"+ },+ "last": {+ "@id": "dcat:last",+ "@type": "@id"+ },+ "liabilityStatement": {+ "@id": "dcat-us:liabilityStatement",+ "@type": "@id"+ },+ "license": {+ "@id": "dcterms:license",+ "@type": "@id"+ },+ "locality": "vcard:locality",+ "mediaType": {+ "@id": "dcat:mediaType",+ "@type": "@id"+ },+ "metadataDistribution": {+ "@id": "dcat-us:metadataDistribution",+ "@type": "@id",+ "@container": "@set"+ },+ "modified": "dcterms:modified",+ "name": {+ "@id": "foaf:name",+ "@type": "xsd:string"+ },+ "notation": {+ "@id": "skos:notation",+ "@type": "xsd:string",+ "@container": "@set"+ },+ "organization-name": {+ "@id": "vcard:organization-name",+ "@type": "xsd:string"+ },+ "otherIdentifier": {+ "@id": "adms:identifier",+ "@type": "@id",+ "@container": "@set"+ },+ "packageFormat": {+ "@id": "dcat:packageFormat",+ "@type": "@id"+ },+ "page": {+ "@id": "foaf:page",+ "@type": "@id",+ "@container": "@set"+ },+ "postal-code": "vcard:postal-code",+ "prefLabel": {+ "@id": "skos:prefLabel",+ "@type": "xsd:string"+ },+ "primaryTopic": {+ "@id": "foaf:primaryTopic",+ "@type": "@id"+ },+ "provenance": {+ "@id": "dcterms:provenance",+ "@type": "@id",+ "@container": "@set"+ },+ "publisher": {+ "@id": "dcterms:publisher",+ "@type": "@id"+ },+ "purpose": "dcat-us:purpose",+ "qualifiedAttribution": {+ "@id": "prov:qualifiedAttribution",+ "@type": "@id",+ "@container": "@set"+ },+ "qualifiedRelation": {+ "@id": "dcat:qualifiedRelation",+ "@type": "@id",+ "@container": "@set"+ },+ "record": {+ "@id": "dcat:record",+ "@type": "@id",+ "@container": "@set"+ },+ "region": "vcard:region",+ "relation": {+ "@id": "dcterms:relation",+ "@type": "@id"+ },+ "representationTechnique": {+ "@id": "adms:representationTechnique",+ "@type": "@id"+ },+ "requiredIndicatorPerAuthority": {+ "@id": "dcat-us:requiredIndicatorPerAuthority",+ "@type": "xsd:string",+ "@container": "@set"+ },+ "restrictionNote": "dcat-us:restrictionNote",+ "restrictionStatus": {+ "@id": "dcat-us:restrictionStatus",+ "@type": "@id"+ },+ "rights": {+ "@id": "dcterms:rights",+ "@type": "@id",+ "@container": "@set"+ },+ "rightsHolder": {+ "@id": "dcterms:rightsHolder",+ "@type": "@id",+ "@container": "@set"+ },+ "sample": {+ "@id": "adms:sample",+ "@type": "@id",+ "@container": "@set"+ },+ "scopeNote": "skos:scopeNote",+ "seriesMember": {+ "@id": "dcat:seriesMember",+ "@type": "@id",+ "@container": "@set"+ },+ "servesDataset": {+ "@id": "dcat:servesDataset",+ "@type": "@id",+ "@container": "@set"+ },+ "service": {+ "@id": "dcat:service",+ "@type": "@id",+ "@container": "@set"+ },+ "source": {+ "@id": "dcterms:source",+ "@type": "@id"+ },+ "spatial": {+ "@id": "dcterms:spatial",+ "@type": "@id",+ "@container": "@set"+ },+ "spatialResolutionInMeters": {+ "@id": "dcat:spatialResolutionInMeters",+ "@type": "xsd:decimal"+ },+ "specificRestriction": {+ "@id": "dcat-us:specificRestriction",+ "@type": "@id"+ },+ "startDate": "dcat:startDate",+ "status": {+ "@id": "adms:status",+ "@type": "@id"+ },+ "street-address": "vcard:street-address",+ "subOrganizationOf": {+ "@id": "org:subOrganizationOf",+ "@type": "@id",+ "@container": "@set"+ },+ "subject": {+ "@id": "dcterms:subject",+ "@type": "@id",+ "@container": "@set"+ },+ "tel": {+ "@id": "vcard:tel",+ "@type": "@id"+ },+ "temporal": {+ "@id": "dcterms:temporal",+ "@type": "@id",+ "@container": "@set"+ },+ "temporalResolution": {+ "@id": "dcat:temporalResolution",+ "@type": "xsd:duration"+ },+ "theme": {+ "@id": "dcat:theme",+ "@type": "@id",+ "@container": "@set"+ },+ "themeTaxonomy": {+ "@id": "dcat:themeTaxonomy",+ "@type": "@id",+ "@container": "@set"+ },+ "title": "dcterms:title",+ "unitMeasure": {+ "@id": "sdmx-attribute:unitMeasure",+ "@type": "@id"+ },+ "useRestriction": {+ "@id": "dcat-us:useRestriction",+ "@type": "@id",+ "@container": "@set"+ },+ "value": "dqv:value",+ "version": {+ "@id": "dcat:version",+ "@type": "xsd:string"+ },+ "versionNotes": "adms:versionNotes",+ "wasGeneratedBy": {+ "@id": "prov:wasGeneratedBy",+ "@type": "@id",+ "@container": "@set"+ },+ "wasUsedBy": {+ "@id": "prov:wasUsedBy",+ "@type": "@id",+ "@container": "@set"+ }+ }+}diff --git a/demo/corpus/dcat-us/jsonschema/generated-context.observed.jsonld b/demo/corpus/dcat-us/jsonschema/generated-context.observed.jsonldnew file mode 100644index 00000000..4fdbdea7--- /dev/null+++ b/demo/corpus/dcat-us/jsonschema/generated-context.observed.jsonld@@ -0,0 +1,541 @@+{+ "@context": {+ "@version": 1.1,+ "adms": "http://www.w3.org/ns/adms#",+ "cnt": "http://www.w3.org/2011/content#",+ "dash": "http://datashapes.org/dash#",+ "dc": "http://purl.org/dc/elements/1.1/",+ "dcat": "http://www.w3.org/ns/dcat#",+ "dcat-us": "http://data.resources.gov/ontology/dcat-us#",+ "dcat-us-shp": "http://data.resources.gov/shapes/dcat-us#",+ "dcatap": "http://data.europa.eu/r5r/",+ "dcterms": "http://purl.org/dc/terms/",+ "dqv": "http://www.w3.org/ns/dqv#",+ "foaf": "http://xmlns.com/foaf/0.1/",+ "gsp": "http://www.opengis.net/ont/geosparql#",+ "locn": "http://www.w3.org/ns/locn#",+ "odrl": "http://www.w3.org/ns/odrl/2/",+ "odrs": "http://schema.theodi.org/odrs#",+ "org": "http://www.w3.org/ns/org#",+ "owl": "http://www.w3.org/2002/07/owl#",+ "prov": "http://www.w3.org/ns/prov#",+ "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",+ "rdfs": "http://www.w3.org/2000/01/rdf-schema#",+ "schema": "https://schema.org/",+ "sdmx-attribute": "http://purl.org/linked-data/sdmx/2009/attribute#",+ "sh": "http://www.w3.org/ns/shacl#",+ "skos": "http://www.w3.org/2004/02/skos/core#",+ "spdx": "http://spdx.org/rdf/terms#",+ "vcard": "http://www.w3.org/2006/vcard/ns#",+ "xsd": "http://www.w3.org/2001/XMLSchema#",+ "AccessRestriction": "dcat-us:AccessRestriction",+ "Activity": "prov:Activity",+ "Address": "locn:Address",+ "Agent": "foaf:Agent",+ "Attribution": "prov:Attribution",+ "CUIRestriction": "dcat-us:CuiRestriction",+ "CatalogRecord": {+ "@id": "dcat:CatalogRecord",+ "@context": {+ "conformsTo": {+ "@id": "dcterms:conformsTo",+ "@type": "@id"+ },+ "description": {+ "@id": "dcterms:description",+ "@container": "@set"+ },+ "issued": {+ "@id": "dcterms:issued",+ "@container": "@set"+ }+ }+ },+ "Checksum": "spdx:Checksum",+ "Concept": "skos:Concept",+ "ConceptScheme": "skos:ConceptScheme",+ "DCAT-US 3 Catalog": {+ "@id": "dcat:Catalog",+ "@context": {+ "conformsTo": {+ "@id": "dcterms:conformsTo",+ "@type": "@id"+ }+ }+ },+ "DataService": "dcat:DataService",+ "Dataset": {+ "@id": "dcat:Dataset",+ "@context": {+ "creator": {+ "@id": "dcterms:creator",+ "@type": "@id"+ },+ "relation": {+ "@id": "dcterms:relation",+ "@container": "@set"+ },+ "source": {+ "@id": "dcterms:source",+ "@container": "@set"+ },+ "version": "dcat:version"+ }+ },+ "DatasetSeries": "dcat:DatasetSeries",+ "Distribution": {+ "@id": "dcat:Distribution",+ "@context": {+ "language": {+ "@id": "dcterms:language",+ "@container": "@set"+ }+ }+ },+ "Document": {+ "@id": "foaf:Document",+ "@context": {+ "conformsTo": {+ "@id": "dcterms:identifier",+ "@type": "@id",+ "@container": "@set"+ },+ "mediaType": "dcterms:mediaType",+ "publisher": {+ "@id": "dc:publisher",+ "@container": "@set"+ }+ }+ },+ "Identifier": "adms:Identifier",+ "Kind": {+ "@id": "vcard:Kind",+ "@context": {+ "title": {+ "@id": "vcard:title",+ "@type": "xsd:string"+ }+ }+ },+ "Location": "dcterms:Location",+ "Metric": "dqv:Metric",+ "Organization": "org:Organization",+ "PeriodOfTime": "dcterms:PeriodOfTime",+ "QualityMeasurement": "dqv:QualityMeasurement",+ "Relationship": "dcat:Relationship",+ "Standard": {+ "@id": "dcterms:Standard",+ "@context": {+ "created": {+ "@id": "dcterms:created",+ "@type": "xsd:date"+ },+ "identifier": {+ "@id": "dcterms:identifier",+ "@type": "xsd:string"+ },+ "modified": {+ "@id": "dcterms:modified",+ "@type": "xsd:date"+ },+ "title": {+ "@id": "dcterms:title",+ "@type": "xsd:string"+ }+ }+ },+ "UseRestriction": "dcat-us:UseRestriction",+ "abstract": "dcterms:abstract",+ "accessRestriction": {+ "@id": "dcat-us:accessRestriction",+ "@type": "@id",+ "@container": "@set"+ },+ "accessRights": "dcterms:accessRights",+ "accessService": {+ "@id": "dcat:accessService",+ "@type": "@id",+ "@container": "@set"+ },+ "accessURL": {+ "@id": "dcat:accessURL",+ "@type": "@id"+ },+ "accrualPeriodicity": "dcterms:accrualPeriodicity",+ "address": {+ "@id": "vcard:address",+ "@type": "@id",+ "@container": "@set"+ },+ "agent": {+ "@id": "prov:agent",+ "@type": "@id"+ },+ "algorithm": "spdx:algorithm",+ "altLabel": {+ "@id": "skos:altLabel",+ "@type": "xsd:string"+ },+ "bbox": "dcat:bbox",+ "bibliographicCitation": "dcterms:bibliographicCitation",+ "byteSize": {+ "@id": "dcat:byteSize",+ "@type": "xsd:nonNegativeInteger"+ },+ "catalog": {+ "@id": "dcat:catalog",+ "@type": "@id",+ "@container": "@set"+ },+ "category": {+ "@id": "dcterms:type",+ "@container": "@set"+ },+ "centroid": "dcat:centroid",+ "characterEncoding": {+ "@id": "cnt:characterEncoding",+ "@container": "@set"+ },+ "checksum": {+ "@id": "spdx:checksum",+ "@type": "@id"+ },+ "checksumValue": {+ "@id": "spdx:checksumValue",+ "@type": "xsd:hexBinary"+ },+ "compressFormat": "dcat:compressFormat",+ "conformsTo": {+ "@id": "dcterms:conformsTo",+ "@type": "@id",+ "@container": "@set"+ },+ "contactPoint": {+ "@id": "dcat:contactPoint",+ "@type": "@id",+ "@container": "@set"+ },+ "contributor": {+ "@id": "dcterms:contributor",+ "@type": "@id",+ "@container": "@set"+ },+ "country-name": "vcard:country-name",+ "created": "dcterms:created",+ "creator": {+ "@id": "dcterms:creator",+ "@type": "@id",+ "@container": "@set"+ },+ "cuiBannerMarking": {+ "@id": "dcat-us:cuiBannerMarking",+ "@type": "xsd:string"+ },+ "cuiRestriction": {+ "@id": "dcat-us:cuiRestriction",+ "@type": "@id"+ },+ "dataset": {+ "@id": "dcat:dataset",+ "@type": "@id",+ "@container": "@set"+ },+ "definition": "skos:definition",+ "describedBy": {+ "@id": "dcat-us:describedBy",+ "@type": "@id"+ },+ "description": "dcterms:description",+ "designationIndicator": {+ "@id": "dcat-us:designationIndicator",+ "@type": "xsd:string"+ },+ "distribution": {+ "@id": "dcat:distribution",+ "@type": "@id",+ "@container": "@set"+ },+ "downloadURL": {+ "@id": "dcat:downloadURL",+ "@type": "@id"+ },+ "endDate": "dcat:endDate",+ "endpointDescription": {+ "@id": "dcat:endpointDescription",+ "@type": "@id",+ "@container": "@set"+ },+ "endpointURL": {+ "@id": "dcat:endpointURL",+ "@type": "@id",+ "@container": "@set"+ },+ "expectedDataType": {+ "@id": "dqv:expectedDataType",+ "@type": "xsd:anySimpleType"+ },+ "family-name": {+ "@id": "vcard:family-name",+ "@type": "xsd:string"+ },+ "first": {+ "@id": "dcat:first",+ "@type": "@id"+ },+ "fn": {+ "@id": "vcard:fn",+ "@type": "xsd:string"+ },+ "format": "dcterms:format",+ "geometry": "locn:geometry",+ "given-name": {+ "@id": "vcard:given-name",+ "@type": "xsd:string"+ },+ "hadRole": "dcat:hadRole",+ "hasEmail": {+ "@id": "vcard:hasEmail",+ "@type": "@id"+ },+ "hasPart": {+ "@id": "dcterms:hasPart",+ "@type": "@id",+ "@container": "@set"+ },+ "hasQualityMeasurement": {+ "@id": "dqv:hasQualityMeasurement",+ "@type": "@id",+ "@container": "@set"+ },+ "hasVersion": {+ "@id": "dcat:hasVersion",+ "@container": "@set"+ },+ "homepage": {+ "@id": "foaf:homepage",+ "@type": "@id"+ },+ "identifier": "dcterms:identifier",+ "image": {+ "@id": "schema:image",+ "@type": "@id"+ },+ "inDimension": "dqv:inDimension",+ "inScheme": {+ "@id": "skos:inScheme",+ "@type": "@id"+ },+ "isMeasurementOf": {+ "@id": "dqv:isMeasurementOf",+ "@type": "@id"+ },+ "isReferencedBy": {+ "@id": "dcterms:isReferencedBy",+ "@type": "@id",+ "@container": "@set"+ },+ "issued": "dcterms:issued",+ "keyword": {+ "@id": "dcat:keyword",+ "@container": "@set"+ },+ "label": {+ "@id": "rdfs:label",+ "@type": "xsd:string"+ },+ "landingPage": {+ "@id": "dcat:landingPage",+ "@type": "@id"+ },+ "language": {+ "@id": "dcterms:language",+ "@container": "@set"+ },+ "last": {+ "@id": "dcat:last",+ "@type": "@id"+ },+ "liabilityStatement": "dcat-us:liabilityStatement",+ "license": {+ "@id": "dcterms:license",+ "@type": "@id"+ },+ "locality": "vcard:locality",+ "mediaType": "dcat:mediaType",+ "metadataDistribution": {+ "@id": "dcat-us:metadataDistribution",+ "@type": "@id",+ "@container": "@set"+ },+ "modified": "dcterms:modified",+ "name": {+ "@id": "foaf:name",+ "@type": "xsd:string"+ },+ "notation": {+ "@id": "skos:notation",+ "@type": "xsd:string",+ "@container": "@set"+ },+ "organization-name": {+ "@id": "vcard:organization-name",+ "@type": "xsd:string"+ },+ "otherIdentifier": {+ "@id": "adms:identifier",+ "@type": "@id",+ "@container": "@set"+ },+ "packageFormat": "dcat:packageFormat",+ "page": {+ "@id": "foaf:page",+ "@type": "@id",+ "@container": "@set"+ },+ "postal-code": "vcard:postal-code",+ "prefLabel": {+ "@id": "skos:prefLabel",+ "@type": "xsd:string"+ },+ "primaryTopic": {+ "@id": "foaf:primaryTopic",+ "@type": "@id"+ },+ "provenance": {+ "@id": "dcterms:provenance",+ "@container": "@set"+ },+ "publisher": {+ "@id": "dcterms:publisher",+ "@type": "@id"+ },+ "purpose": "dcat-us:purpose",+ "qualifiedAttribution": {+ "@id": "prov:qualifiedAttribution",+ "@type": "@id",+ "@container": "@set"+ },+ "qualifiedRelation": {+ "@id": "dcat:qualifiedRelation",+ "@type": "@id",+ "@container": "@set"+ },+ "record": {+ "@id": "dcat:record",+ "@type": "@id",+ "@container": "@set"+ },+ "region": "vcard:region",+ "relation": "dcterms:relation",+ "representationTechnique": {+ "@id": "adms:representationTechnique",+ "@type": "@id"+ },+ "requiredIndicatorPerAuthority": {+ "@id": "dcat-us:requiredIndicatorPerAuthority",+ "@type": "xsd:string",+ "@container": "@set"+ },+ "restrictionNote": "dcat-us:restrictionNote",+ "restrictionStatus": "dcat-us:restrictionStatus",+ "rights": {+ "@id": "dcterms:rights",+ "@container": "@set"+ },+ "rightsHolder": {+ "@id": "dcterms:rightsHolder",+ "@type": "@id",+ "@container": "@set"+ },+ "sample": {+ "@id": "adms:sample",+ "@type": "@id",+ "@container": "@set"+ },+ "scopeNote": "skos:scopeNote",+ "seriesMember": {+ "@id": "dcat:seriesMember",+ "@type": "@id",+ "@container": "@set"+ },+ "servesDataset": {+ "@id": "dcat:servesDataset",+ "@type": "@id",+ "@container": "@set"+ },+ "service": {+ "@id": "dcat:service",+ "@type": "@id",+ "@container": "@set"+ },+ "source": "dcterms:source",+ "spatial": {+ "@id": "dcterms:spatial",+ "@type": "@id",+ "@container": "@set"+ },+ "spatialResolutionInMeters": {+ "@id": "dcat:spatialResolutionInMeters",+ "@type": "xsd:decimal"+ },+ "specificRestriction": {+ "@id": "dcat-us:specificRestriction",+ "@type": "@id"+ },+ "startDate": "dcat:startDate",+ "status": "adms:status",+ "street-address": "vcard:street-address",+ "subOrganizationOf": {+ "@id": "org:subOrganizationOf",+ "@type": "@id",+ "@container": "@set"+ },+ "subject": {+ "@id": "dcterms:subject",+ "@type": "@id",+ "@container": "@set"+ },+ "tel": "vcard:tel",+ "temporal": {+ "@id": "dcterms:temporal",+ "@type": "@id",+ "@container": "@set"+ },+ "temporalResolution": {+ "@id": "dcat:temporalResolution",+ "@type": "xsd:duration"+ },+ "theme": {+ "@id": "dcat:theme",+ "@container": "@set"+ },+ "themeTaxonomy": {+ "@id": "dcat:themeTaxonomy",+ "@type": "@id",+ "@container": "@set"+ },+ "title": "dcterms:title",+ "unitMeasure": "sdmx-attribute:unitMeasure",+ "useRestriction": {+ "@id": "dcat-us:useRestriction",+ "@type": "@id",+ "@container": "@set"+ },+ "value": "dqv:value",+ "version": {+ "@id": "dcat:version",+ "@type": "xsd:string"+ },+ "versionNotes": "adms:versionNotes",+ "wasGeneratedBy": {+ "@id": "prov:wasGeneratedBy",+ "@type": "@id",+ "@container": "@set"+ },+ "wasUsedBy": {+ "@id": "prov:wasUsedBy",+ "@type": "@id",+ "@container": "@set"+ }+ }+}diff --git a/demo/dcat_conformance.py b/demo/dcat_conformance.pynew file mode 100644index 00000000..a1b14f30--- /dev/null+++ b/demo/dcat_conformance.py@@ -0,0 +1,477 @@+#!/usr/bin/env python3+"""Recompute the DCAT-US validator finding end to end, from vendored inputs only.++DCAT-US 3.0's README describes the profile as an implementation of the W3C+DCAT standard. Its published JSON Schema carries no JSON-LD `@context`, so+none of its own examples expand into DCAT (or any other) RDF vocabulary as+published. The schema was not always contextless: every bound property still+carries the RDF term it stood for in an `_oldDocs` block, left behind when+`shacl/dcat-us_3.0_shacl_shapes.ttl` was deleted in pull request 120 (commit+99ef81c9, https://github.com/GSA/dcat-us/pull/120). That block is a binding+the schema already implies; nothing here invents an RDF term the schema does+not already name.++This script does three things, in order, against files committed under+`demo/corpus/dcat-us/`, with no network access and no model call:++ 1. Reads `jsonschema/definitions/*.json` and derives a JSON-LD context from+ the `_oldDocs` blocks: which class each definition binds to, and which+ RDF term and coercion (resource vs. literal, singular vs. set) each of+ its properties binds to. Namespace prefixes are read from the recovered+ shapes file's own `@prefix` block (`recovered-shapes.ttl`), so the+ context and the shapes cannot disagree about what a prefix expands to.+ 2. Expands every `jsonschema/examples/<Class>/good/*.json` file twice: once+ exactly as published (no context at all) and once with the derived+ context injected, and counts triples, distinct predicates and DCAT+ namespace predicates each way.+ 3. Merges the expanded corpus and runs it, both ways, against+ `recovered-shapes.ttl` with pySHACL, counting violations and how many+ focus nodes the shapes actually reach.++Every number this script prints is measured here; none is quoted from+anywhere else. Run it with `python3 demo/dcat_conformance.py`.+"""++from __future__ import annotations++import argparse+import json+import re+import sys+from collections import Counter+from dataclasses import dataclass, field+from pathlib import Path++import rdflib+from pyshacl import validate as pyshacl_validate+from rdflib import RDF, Graph, URIRef++ROOT = Path(__file__).resolve().parent.parent+CORPUS = ROOT / "demo" / "corpus" / "dcat-us"+DEFINITIONS = CORPUS / "jsonschema" / "definitions"+EXAMPLES = CORPUS / "jsonschema" / "examples"+SHAPES_PATH = CORPUS / "recovered-shapes.ttl"+BASE = "https://example.gov/"+DCAT_NS = "http://www.w3.org/ns/dcat#"+SH = rdflib.Namespace("http://www.w3.org/ns/shacl#")++# --------------------------------------------------------------------------+# 1. Read the schema's own binding+# --------------------------------------------------------------------------+++@dataclass(frozen=True)+class PropBinding:+ owner: str+ iri: str+ coercion: str | None # '@id', an xsd curie, or None (plain literal)+ is_list: bool++ def key(self) -> tuple:+ return (self.iri, self.coercion, self.is_list)+++@dataclass+class ClassDef:+ name: str+ rdf_class: str | None+ properties: dict[str, PropBinding] = field(default_factory=dict)+++def _collect_properties(node: dict) -> tuple[dict, list]:+ """Properties declared at this level, plus those nested in anyOf/oneOf/allOf.++ Concept and Identifier accept a bare string or an object; their real+ properties live one level down, inside `anyOf`. Reading only the top+ level silently drops the two most frequently instantiated classes in the+ example corpus.+ """+ props = dict(node.get("properties") or {})+ required = list(node.get("required") or ())+ for key in ("anyOf", "oneOf", "allOf"):+ for branch in node.get(key, []) or []:+ if not isinstance(branch, dict):+ continue+ for pname, pnode in (branch.get("properties") or {}).items():+ props.setdefault(pname, pnode)+ required.extend(branch.get("required") or ())+ return props, required+++def _is_array(node: dict) -> bool:+ t = node.get("type")+ if t == "array" or (isinstance(t, list) and "array" in t):+ return True+ for key in ("anyOf", "oneOf"):+ for branch in node.get(key, []) or []:+ if isinstance(branch, dict) and _is_array(branch):+ return True+ return False+++def _single_xsd_token(range_text: str) -> str | None:+ """A single xsd: datatype named in a range string, or None if zero or several."""+ hits = sorted(set(re.findall(r"xsd:[A-Za-z]+", range_text)))+ return hits[0] if len(hits) == 1 else None+++def _coercion_for(range_text: str | None) -> str | None:+ if not range_text:+ return None+ if range_text.startswith("xsd:"):+ return _single_xsd_token(range_text)+ if range_text.startswith("rdfs:Literal"):+ # e.g. "rdfs:Literal (typed as xsd:date, xsd:dateTime, xsd:gYear or+ # xsd:gYearMonth)" names four types; left uncoerced deliberately.+ return _single_xsd_token(range_text)+ # Anything else the schema names as a range is a class, i.e. a resource.+ return "@id"+++def load_classes(definitions_dir: Path) -> dict[str, ClassDef]:+ classes: dict[str, ClassDef] = {}+ for path in sorted(definitions_dir.glob("*.json")):+ raw = json.loads(path.read_text(encoding="utf-8"))+ name = raw["title"] # the schema's own title is the bare @type word examples use+ old = raw.get("_oldDocs") or {}+ declared, _required = _collect_properties(raw)+ properties: dict[str, PropBinding] = {}+ for pname, pnode in declared.items():+ if pname.startswith("@") or not isinstance(pnode, dict):+ continue+ pold = pnode.get("_oldDocs") or {}+ iri = pold.get("uri")+ if not iri:+ continue # the schema names this property but assigns it no RDF term+ properties[pname] = PropBinding(+ owner=name,+ iri=iri,+ coercion=_coercion_for(pold.get("range")),+ is_list=_is_array(pnode),+ )+ classes[name] = ClassDef(name=name, rdf_class=old.get("rdfClass"), properties=properties)+ return classes+++# --------------------------------------------------------------------------+# 2. Build the JSON-LD context the schema implies+# --------------------------------------------------------------------------+++def load_shapes_namespaces(shapes_path: Path) -> dict[str, str]:+ """The prefix table declared at the top of the shapes file itself.++ Using the shapes file's own prefixes, rather than reconstructing one+ independently, guarantees the generated context and the shapes being+ validated against cannot disagree about what a prefix like `dcat-us:`+ expands to. `bind_namespaces="none"` matters here: rdflib otherwise+ pre-binds its own ~20 default prefixes (brick, csvw, dcam, ...) before+ parsing, which would leak unrelated bindings into a context meant to+ record only what this file declares.+ """+ g = Graph(bind_namespaces="none")+ g.parse(str(shapes_path), format="turtle")+ return {prefix: str(ns) for prefix, ns in g.namespaces() if prefix}+++ABSOLUTE_IRI = re.compile(r"^[A-Za-z][A-Za-z0-9+.\-]*:")+++def scan_bare_values(files: list[Path], classes: dict[str, ClassDef]) -> set[str]:+ """Terms bound to '@id' whose published values are not actually IRI-shaped.++ 22 keys the schema declares with a resource range are published as prose+ in the examples (an `accessRights` sentence, a `provenance` paragraph).+ Under a strict binding those become manufactured relative IRIs built out+ of a label. This scan finds which terms that happens to, so a second,+ lenient context can be built that leaves those specific terms as plain+ literals instead.+ """+ bound_ids = {+ pname: b for cls in classes.values() for pname, b in cls.properties.items() if b.coercion == "@id"+ }++ def walk(node) -> set[str]:+ found: set[str] = set()+ if isinstance(node, list):+ for item in node:+ found |= walk(item)+ elif isinstance(node, dict):+ for key, value in node.items():+ if key.startswith("@") or key not in bound_ids:+ if isinstance(value, (dict, list)):+ found |= walk(value)+ continue+ values = value if isinstance(value, list) else [value]+ for item in values:+ if isinstance(item, (dict, list)):+ found |= walk(item)+ elif isinstance(item, str) and not ABSOLUTE_IRI.match(item):+ found.add(key)+ return found++ lenient: set[str] = set()+ for path in files:+ raw = json.loads(path.read_text(encoding="utf-8"))+ lenient |= walk(raw)+ return lenient+++def _term_definition(binding: PropBinding, lenient_terms: set[str] | None, term: str) -> dict | str:+ coercion = binding.coercion+ if lenient_terms and term in lenient_terms and coercion == "@id":+ coercion = None+ definition: dict = {"@id": binding.iri}+ if coercion:+ definition["@type"] = coercion+ if binding.is_list:+ definition["@container"] = "@set"+ if list(definition) == ["@id"]:+ return binding.iri+ return definition+++def _term_bindings(classes: dict[str, ClassDef]) -> dict[str, dict[str, PropBinding]]:+ out: dict[str, dict[str, PropBinding]] = {}+ for cls in classes.values():+ for pname, binding in cls.properties.items():+ out.setdefault(pname, {})[cls.name] = binding+ return out+++def _resolve_term(owners: dict[str, PropBinding]) -> tuple[PropBinding, dict[str, PropBinding]]:+ """One dominant binding (used by the most classes) plus per-class overrides.++ Four terms in DCAT-US bind to two different RDF properties depending on+ the owning class (e.g. `conformsTo` on Document binds to+ dcterms:identifier while five other classes bind it to+ dcterms:conformsTo). Collapsing to a single global mapping would silently+ pick one and mis-expand the other classes' data.+ """+ counts = Counter(b.key() for b in owners.values())+ dominant_key = sorted(counts.items(), key=lambda kv: (-kv[1], str(kv[0])))[0][0]+ dominant = next(b for b in owners.values() if b.key() == dominant_key)+ overrides = {c: b for c, b in sorted(owners.items()) if b.key() != dominant_key}+ return dominant, overrides+++def build_context(+ classes: dict[str, ClassDef], namespaces: dict[str, str], lenient_terms: set[str] | None = None+) -> dict:+ ctx: dict = {"@version": 1.1}+ ctx.update({prefix: iri for prefix, iri in sorted(namespaces.items())})++ bindings = _term_bindings(classes)+ scoped: dict[str, dict] = {name: {} for name in classes}+ terms: dict[str, object] = {}+ for term, owners in sorted(bindings.items()):+ dominant, overrides = _resolve_term(owners)+ terms[term] = _term_definition(dominant, lenient_terms, term)+ for cname, binding in overrides.items():+ scoped[cname][term] = _term_definition(binding, lenient_terms, term)++ for cls in sorted(classes.values(), key=lambda c: c.name):+ if not cls.rdf_class:+ continue+ if scoped[cls.name]:+ ctx[cls.name] = {"@id": cls.rdf_class, "@context": dict(sorted(scoped[cls.name].items()))}+ else:+ ctx[cls.name] = cls.rdf_class++ ctx.update(dict(sorted(terms.items())))+ return {"@context": ctx}+++# --------------------------------------------------------------------------+# 3. Expand the examples, with and without the binding+# --------------------------------------------------------------------------+++def expand_file(path: Path, context: dict | None, base: str = BASE) -> tuple[Graph | None, str | None]:+ raw = json.loads(path.read_text(encoding="utf-8"))+ if not isinstance(raw, dict):+ # A handful of "good" examples are a bare JSON string (a Concept or+ # an Identifier used in its string form, e.g. Identifier/good/+ # minimal_string_example.json is literally "dataset-12345"). With no+ # context, rdflib's json-ld parser has nothing to hang the value off+ # and raises; that failure is the "as published" measurement for+ # this file. With a context, the string is carried under `@graph`,+ # which is valid JSON-LD and correctly expands to zero triples: a+ # bare label is not a node, so a faithful binding finds nothing to+ # assert about it, not an error.+ if context is None:+ return None, "example root is not a JSON object"+ doc = {**context, "@graph": raw}+ g = Graph()+ try:+ g.parse(data=json.dumps(doc), format="json-ld", base=base)+ except Exception as exc: # noqa: BLE001 - the failure itself is the measurement+ return None, f"{type(exc).__name__}: {exc}"+ return g, None+ doc = raw if context is None else {**context, **{k: v for k, v in raw.items() if k != "@context"}}+ g = Graph()+ try:+ g.parse(data=json.dumps(doc), format="json-ld", base=base)+ except Exception as exc: # noqa: BLE001 - the failure itself is the measurement+ return None, f"{type(exc).__name__}: {exc}"+ return g, None+++def measure(files: list[Path], context: dict | None, base: str = BASE) -> dict:+ total = 0+ predicates: Counter = Counter()+ zero_files: list[str] = []+ errors: list[dict] = []+ for path in files:+ g, err = expand_file(path, context, base)+ if err:+ errors.append({"file": path.name, "error": err})+ continue+ n = len(g)+ total += n+ if n == 0:+ zero_files.append(path.name)+ for _, p, _ in g:+ predicates[str(p)] += 1+ dcat_triples = sum(v for k, v in predicates.items() if k.startswith(DCAT_NS))+ return {+ "files": len(files),+ "triples": total,+ "distinctPredicates": len(predicates),+ "dcatPredicateTriples": dcat_triples,+ "zeroTripleFiles": len(zero_files),+ "zeroTripleFileNames": sorted(zero_files),+ "errors": errors,+ "topPredicates": sorted(predicates.items(), key=lambda kv: (-kv[1], kv[0]))[:25],+ }+++def merge_corpus(files: list[Path], context: dict | None, base: str = BASE) -> Graph:+ merged = Graph()+ for path in files:+ g, err = expand_file(path, context, base)+ if err:+ continue+ for triple in g:+ merged.add(triple)+ return merged+++# --------------------------------------------------------------------------+# 4. Validate against the deleted shapes+# --------------------------------------------------------------------------+++def run_shacl(shapes_path: Path, data: Graph) -> dict:+ shapes = Graph().parse(str(shapes_path), format="turtle")+ conforms, results_graph, _results_text = pyshacl_validate(+ data, shacl_graph=shapes, inference="none", advanced=True, debug=False+ )+ severities: Counter = Counter()+ for result in results_graph.subjects(RDF.type, SH.ValidationResult):+ for severity in results_graph.objects(result, SH.resultSeverity):+ severities[str(severity).rsplit("#", 1)[-1]] += 1+ target_classes = {o for o in shapes.objects(None, SH.targetClass) if isinstance(o, URIRef)}+ present_types = {o for o in data.objects(None, RDF.type) if isinstance(o, URIRef)}+ matched = target_classes & present_types+ focus_nodes = {s for cls in matched for s in data.subjects(RDF.type, cls)}+ return {+ "shapeTriples": len(shapes),+ "conforms": bool(conforms),+ "violations": sum(severities.values()),+ "bySeverity": dict(severities),+ "targetClassCount": len(target_classes),+ "matchedClasses": sorted(str(c) for c in matched),+ "matchedClassCount": len(matched),+ "focusNodes": len(focus_nodes),+ "dataTriples": len(data),+ }+++# --------------------------------------------------------------------------+# main+# --------------------------------------------------------------------------+++def main() -> int:+ parser = argparse.ArgumentParser(description=__doc__)+ parser.add_argument("--out", type=Path, default=CORPUS / "jsonschema")+ args = parser.parse_args()++ classes = load_classes(DEFINITIONS)+ namespaces = load_shapes_namespaces(SHAPES_PATH)+ good_files = sorted(EXAMPLES.glob("*/good/*.json"))++ # Two contexts, both derived purely from the schema and the corpus, never+ # hand-written: "declared" applies the binding exactly as the schema+ # states it; "observed" additionally relaxes the specific terms the+ # corpus scan finds are not published as IRIs, so a resource-range term+ # is not forced into a manufactured relative IRI built out of a label.+ declared = build_context(classes, namespaces)+ lenient_terms = scan_bare_values(good_files, classes)+ observed = build_context(classes, namespaces, lenient_terms=lenient_terms)++ as_published = measure(good_files, None)+ with_declared = measure(good_files, declared)+ with_observed = measure(good_files, observed)++ corpus_published = merge_corpus(good_files, None)+ corpus_declared = merge_corpus(good_files, declared)+ corpus_observed = merge_corpus(good_files, observed)++ shacl_published = run_shacl(SHAPES_PATH, corpus_published)+ shacl_declared = run_shacl(SHAPES_PATH, corpus_declared)+ shacl_observed = run_shacl(SHAPES_PATH, corpus_observed)++ zero_bound_classes = sorted(c.name for c in classes.values() if not c.properties)++ result = {+ "measured": "2026-08-25, this repository, no network, no model call",+ "commit": COMMIT_SHA,+ "classes": len(classes),+ "classesWithZeroBoundProperties": zero_bound_classes,+ "lenientTermCount": len(lenient_terms),+ "lenientTerms": sorted(lenient_terms),+ "examples": {"asPublished": as_published, "withDeclaredBinding": with_declared, "withObservedBinding": with_observed},+ "corpusTriples": {+ "asPublished": len(corpus_published),+ "withDeclaredBinding": len(corpus_declared),+ "withObservedBinding": len(corpus_observed),+ },+ "shacl": {+ "legacyShapesOverPublishedCorpus": shacl_published,+ "legacyShapesOverDeclaredBoundCorpus": shacl_declared,+ "legacyShapesOverObservedBoundCorpus": shacl_observed,+ },+ }++ args.out.mkdir(parents=True, exist_ok=True)+ (args.out / "generated-context.jsonld").write_text(json.dumps(declared, indent=2, sort_keys=False) + "\n", encoding="utf-8")+ (args.out / "generated-context.observed.jsonld").write_text(json.dumps(observed, indent=2, sort_keys=False) + "\n", encoding="utf-8")+ (ROOT / "demo" / "dcat_conformance_measurements.json").write_text(+ json.dumps(result, indent=2, sort_keys=True, ensure_ascii=False) + "\n", encoding="utf-8"+ )++ print(f"classes {len(classes)} good examples {len(good_files)} lenient terms {len(lenient_terms)}")+ print(f"as published : {as_published['triples']:5} triples {as_published['distinctPredicates']:3} predicates "+ f"{as_published['dcatPredicateTriples']:4} dcat {as_published['zeroTripleFiles']:3} empty "+ f"{len(as_published['errors'])} errors")+ print(f"declared binding : {with_declared['triples']:5} triples {with_declared['distinctPredicates']:3} predicates "+ f"{with_declared['dcatPredicateTriples']:4} dcat {with_declared['zeroTripleFiles']:3} empty "+ f"{len(with_declared['errors'])} errors")+ print(f"observed binding : {with_observed['triples']:5} triples {with_observed['distinctPredicates']:3} predicates "+ f"{with_observed['dcatPredicateTriples']:4} dcat {with_observed['zeroTripleFiles']:3} empty "+ f"{len(with_observed['errors'])} errors")+ print(f"shacl over as-published corpus : conforms={shacl_published['conforms']} "+ f"violations={shacl_published['violations']} focus_nodes={shacl_published['focusNodes']}")+ print(f"shacl over declared-bound corpus : conforms={shacl_declared['conforms']} "+ f"violations={shacl_declared['violations']} focus_nodes={shacl_declared['focusNodes']}")+ print(f"shacl over observed-bound corpus : conforms={shacl_observed['conforms']} "+ f"violations={shacl_observed['violations']} focus_nodes={shacl_observed['focusNodes']}")+ return 0+++COMMIT_SHA = "7a6e803fb94ee9903e7e7405ec4afcc8da13383f"++if __name__ == "__main__":+ sys.exit(main())diff --git a/demo/dcat_conformance_measurements.json b/demo/dcat_conformance_measurements.jsonnew file mode 100644index 00000000..c414ff57--- /dev/null+++ b/demo/dcat_conformance_measurements.json@@ -0,0 +1,433 @@+{+ "classes": 26,+ "classesWithZeroBoundProperties": [+ "Concept",+ "Identifier"+ ],+ "commit": "7a6e803fb94ee9903e7e7405ec4afcc8da13383f",+ "corpusTriples": {+ "asPublished": 73,+ "withDeclaredBinding": 1381,+ "withObservedBinding": 1383+ },+ "examples": {+ "asPublished": {+ "dcatPredicateTriples": 0,+ "distinctPredicates": 1,+ "errors": [+ {+ "error": "example root is not a JSON object",+ "file": "minimal_string_example.json"+ }+ ],+ "files": 115,+ "topPredicates": [+ [+ "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",+ 76+ ]+ ],+ "triples": 76,+ "zeroTripleFileNames": [+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_example.json",+ "minimal_object_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json"+ ],+ "zeroTripleFiles": 38+ },+ "withDeclaredBinding": {+ "dcatPredicateTriples": 228,+ "distinctPredicates": 123,+ "errors": [],+ "files": 115,+ "topPredicates": [+ [+ "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",+ 281+ ],+ [+ "http://purl.org/dc/terms/title",+ 114+ ],+ [+ "http://purl.org/dc/terms/description",+ 75+ ],+ [+ "http://xmlns.com/foaf/0.1/name",+ 66+ ],+ [+ "http://www.w3.org/2004/02/skos/core#prefLabel",+ 47+ ],+ [+ "http://purl.org/dc/terms/identifier",+ 44+ ],+ [+ "http://www.w3.org/2006/vcard/ns#fn",+ 43+ ],+ [+ "http://www.w3.org/2006/vcard/ns#hasEmail",+ 43+ ],+ [+ "http://www.w3.org/ns/dcat#contactPoint",+ 38+ ],+ [+ "http://purl.org/dc/terms/publisher",+ 34+ ],+ [+ "http://www.w3.org/2004/02/skos/core#notation",+ 34+ ],+ [+ "http://www.w3.org/2004/02/skos/core#definition",+ 32+ ],+ [+ "http://www.w3.org/2004/02/skos/core#inScheme",+ 31+ ],+ [+ "http://www.w3.org/ns/dcat#keyword",+ 28+ ],+ [+ "http://purl.org/dc/terms/issued",+ 17+ ],+ [+ "http://purl.org/dc/terms/modified",+ 16+ ],+ [+ "http://data.resources.gov/ontology/dcat-us#restrictionStatus",+ 15+ ],+ [+ "http://purl.org/dc/terms/type",+ 15+ ],+ [+ "http://www.w3.org/ns/dcat#downloadURL",+ 15+ ],+ [+ "http://www.w3.org/ns/dcat#accessURL",+ 12+ ],+ [+ "http://www.w3.org/ns/dcat#hadRole",+ 12+ ],+ [+ "http://www.w3.org/ns/dcat#startDate",+ 12+ ],+ [+ "http://data.resources.gov/ontology/dcat-us#restrictionNote",+ 11+ ],+ [+ "http://purl.org/dc/terms/language",+ 11+ ],+ [+ "http://www.w3.org/2004/02/skos/core#altLabel",+ 11+ ]+ ],+ "triples": 1508,+ "zeroTripleFileNames": [+ "minimal_example.json",+ "minimal_example.json",+ "minimal_object_example.json",+ "minimal_string_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json"+ ],+ "zeroTripleFiles": 10+ },+ "withObservedBinding": {+ "dcatPredicateTriples": 228,+ "distinctPredicates": 123,+ "errors": [],+ "files": 115,+ "topPredicates": [+ [+ "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",+ 281+ ],+ [+ "http://purl.org/dc/terms/title",+ 114+ ],+ [+ "http://purl.org/dc/terms/description",+ 75+ ],+ [+ "http://xmlns.com/foaf/0.1/name",+ 66+ ],+ [+ "http://www.w3.org/2004/02/skos/core#prefLabel",+ 47+ ],+ [+ "http://purl.org/dc/terms/identifier",+ 44+ ],+ [+ "http://www.w3.org/2006/vcard/ns#fn",+ 43+ ],+ [+ "http://www.w3.org/2006/vcard/ns#hasEmail",+ 43+ ],+ [+ "http://www.w3.org/ns/dcat#contactPoint",+ 38+ ],+ [+ "http://purl.org/dc/terms/publisher",+ 34+ ],+ [+ "http://www.w3.org/2004/02/skos/core#notation",+ 34+ ],+ [+ "http://www.w3.org/2004/02/skos/core#definition",+ 32+ ],+ [+ "http://www.w3.org/2004/02/skos/core#inScheme",+ 31+ ],+ [+ "http://www.w3.org/ns/dcat#keyword",+ 28+ ],+ [+ "http://purl.org/dc/terms/issued",+ 17+ ],+ [+ "http://purl.org/dc/terms/modified",+ 16+ ],+ [+ "http://data.resources.gov/ontology/dcat-us#restrictionStatus",+ 15+ ],+ [+ "http://purl.org/dc/terms/type",+ 15+ ],+ [+ "http://www.w3.org/ns/dcat#downloadURL",+ 15+ ],+ [+ "http://www.w3.org/ns/dcat#accessURL",+ 12+ ],+ [+ "http://www.w3.org/ns/dcat#hadRole",+ 12+ ],+ [+ "http://www.w3.org/ns/dcat#startDate",+ 12+ ],+ [+ "http://data.resources.gov/ontology/dcat-us#restrictionNote",+ 11+ ],+ [+ "http://purl.org/dc/terms/language",+ 11+ ],+ [+ "http://www.w3.org/2004/02/skos/core#altLabel",+ 11+ ]+ ],+ "triples": 1510,+ "zeroTripleFileNames": [+ "minimal_example.json",+ "minimal_example.json",+ "minimal_object_example.json",+ "minimal_string_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json",+ "null_example.json"+ ],+ "zeroTripleFiles": 10+ }+ },+ "lenientTermCount": 22,+ "lenientTerms": [+ "accessRights",+ "accrualPeriodicity",+ "algorithm",+ "category",+ "compressFormat",+ "format",+ "geometry",+ "hadRole",+ "inDimension",+ "language",+ "liabilityStatement",+ "mediaType",+ "packageFormat",+ "provenance",+ "relation",+ "restrictionStatus",+ "rights",+ "source",+ "status",+ "tel",+ "theme",+ "unitMeasure"+ ],+ "measured": "2026-08-25, this repository, no network, no model call",+ "shacl": {+ "legacyShapesOverDeclaredBoundCorpus": {+ "bySeverity": {+ "Violation": 178+ },+ "conforms": false,+ "dataTriples": 1381,+ "focusNodes": 228,+ "matchedClassCount": 24,+ "matchedClasses": [+ "http://data.resources.gov/ontology/dcat-us#AccessRestriction",+ "http://data.resources.gov/ontology/dcat-us#UseRestriction",+ "http://purl.org/dc/terms/Location",+ "http://purl.org/dc/terms/PeriodOfTime",+ "http://purl.org/dc/terms/Standard",+ "http://spdx.org/rdf/terms#Checksum",+ "http://www.w3.org/2004/02/skos/core#Concept",+ "http://www.w3.org/2004/02/skos/core#ConceptScheme",+ "http://www.w3.org/2006/vcard/ns#Kind",+ "http://www.w3.org/ns/adms#Identifier",+ "http://www.w3.org/ns/dcat#CatalogRecord",+ "http://www.w3.org/ns/dcat#DataService",+ "http://www.w3.org/ns/dcat#Dataset",+ "http://www.w3.org/ns/dcat#DatasetSeries",+ "http://www.w3.org/ns/dcat#Distribution",+ "http://www.w3.org/ns/dcat#Relationship",+ "http://www.w3.org/ns/dqv#Metric",+ "http://www.w3.org/ns/dqv#QualityMeasurement",+ "http://www.w3.org/ns/locn#Address",+ "http://www.w3.org/ns/org#Organization",+ "http://www.w3.org/ns/prov#Activity",+ "http://www.w3.org/ns/prov#Attribution",+ "http://xmlns.com/foaf/0.1/Agent",+ "http://xmlns.com/foaf/0.1/Document"+ ],+ "shapeTriples": 4043,+ "targetClassCount": 34,+ "violations": 178+ },+ "legacyShapesOverObservedBoundCorpus": {+ "bySeverity": {+ "Violation": 272+ },+ "conforms": false,+ "dataTriples": 1383,+ "focusNodes": 228,+ "matchedClassCount": 24,+ "matchedClasses": [+ "http://data.resources.gov/ontology/dcat-us#AccessRestriction",+ "http://data.resources.gov/ontology/dcat-us#UseRestriction",+ "http://purl.org/dc/terms/Location",+ "http://purl.org/dc/terms/PeriodOfTime",+ "http://purl.org/dc/terms/Standard",+ "http://spdx.org/rdf/terms#Checksum",+ "http://www.w3.org/2004/02/skos/core#Concept",+ "http://www.w3.org/2004/02/skos/core#ConceptScheme",+ "http://www.w3.org/2006/vcard/ns#Kind",+ "http://www.w3.org/ns/adms#Identifier",+ "http://www.w3.org/ns/dcat#CatalogRecord",+ "http://www.w3.org/ns/dcat#DataService",+ "http://www.w3.org/ns/dcat#Dataset",+ "http://www.w3.org/ns/dcat#DatasetSeries",+ "http://www.w3.org/ns/dcat#Distribution",+ "http://www.w3.org/ns/dcat#Relationship",+ "http://www.w3.org/ns/dqv#Metric",+ "http://www.w3.org/ns/dqv#QualityMeasurement",+ "http://www.w3.org/ns/locn#Address",+ "http://www.w3.org/ns/org#Organization",+ "http://www.w3.org/ns/prov#Activity",+ "http://www.w3.org/ns/prov#Attribution",+ "http://xmlns.com/foaf/0.1/Agent",+ "http://xmlns.com/foaf/0.1/Document"+ ],+ "shapeTriples": 4043,+ "targetClassCount": 34,+ "violations": 272+ },+ "legacyShapesOverPublishedCorpus": {+ "bySeverity": {},+ "conforms": true,+ "dataTriples": 73,+ "focusNodes": 0,+ "matchedClassCount": 0,+ "matchedClasses": [],+ "shapeTriples": 4043,+ "targetClassCount": 34,+ "violations": 0+ }+ }+}diff --git a/demo/precomputed/MANIFEST.sha256 b/demo/precomputed/MANIFEST.sha256index 6e4436d1..62f31b4e 100644--- a/demo/precomputed/MANIFEST.sha256+++ b/demo/precomputed/MANIFEST.sha256@@ -1,6 +1,6 @@198cbb5a2734e83c7347ad739f2bf8d3d038526bb89b3383ee277929bd307c07 compare.json257d0ca76ab9b3c892cb06c2acc46c97d878be758bba99a2dcd8758f4b32ec44 graph.json-37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570 findings.json-504bb4ff5ad3a7ff1568cbe92b55415646a3076adeff22b4ed60637957cd17d3 bundle.json+94aa1ece09b95caa42ebbd2de332a737fdc8331bbbb5ead22279b028b479ec0b bundle.json9a5257a4d084b733e1d69fd714113402806215a810e79c342c4360799961eb03 corpus.json+aa03d13e399ec47561223478562de2227e45c3a406d54a2ada193c69dc68699c findings.jsonb91d367cc4722fe65a18a49d57b79cea8194673c780579968f644a9f4ef0cada chat.jsondiff --git a/demo/precomputed/bundle.json b/demo/precomputed/bundle.jsonindex 984db73c..267f238b 100644--- a/demo/precomputed/bundle.json+++ b/demo/precomputed/bundle.json@@ -200,7 +200,131 @@"title": "W3C Data Catalog Vocabulary (DCAT) - Version 3, Section 4: Conformance"}],- "findings": [],+ "findings": [+ {+ "claims": [+ {+ "document": "profile-readme.md",+ "object": "implementation of the W3C DCAT standard",+ "predicate": "claims"+ },+ {+ "document": "w3c-dcat-conformance.md",+ "object": "conforming data use the dcat: vocabulary (W3C DCAT 3, section 4)",+ "predicate": "requires"+ },+ {+ "document": "jsonschema/examples/Catalog/good/complete_example.json",+ "object": "1 triple: rdf:type of a manufactured IRI, no @context present, 0 dcat: predicates",+ "predicate": "expandsAsPublishedTo"+ },+ {+ "document": "jsonschema/examples/Dataset/good/complete_example.json",+ "object": "1 triple: rdf:type of a manufactured IRI, no @context present, 0 dcat: predicates",+ "predicate": "expandsAsPublishedTo"+ }+ ],+ "id": "conformance-1-readme-vs-examples",+ "kind": "conformance",+ "subject": "dcat-us:profile"+ },+ {+ "claims": [+ {+ "document": "jsonschema/MANIFEST.json",+ "object": "115 good example files across 26 classes under jsonschema/examples/<Class>/good/",+ "predicate": "enumerates"+ },+ {+ "document": "profile-readme.md",+ "object": "the JSON Schema definitions in jsonschema/definitions/ carry no @context key",+ "predicate": "publishesNoContextFor"+ },+ {+ "document": "jsonschema/definitions/Dataset.json",+ "object": "115 files expand to 76 triples total, 1 distinct predicate (rdf:type), 0 dcat: triples, 38 files empty, 1 parse error (demo/dcat_conformance.py, no context)",+ "predicate": "measuredAsPublished"+ },+ {+ "document": "recovered-shapes.ttl",+ "object": "the same 115 files, with the context demo/dcat_conformance.py derives from _oldDocs, expand to 1510 triples, 123 distinct predicates, 228 dcat: triples, 10 files empty, 0 errors",+ "predicate": "measuredWithBinding"+ }+ ],+ "id": "conformance-2-corpus-wide-expansion",+ "kind": "conformance",+ "subject": "dcat-us:jsonschema-examples-good"+ },+ {+ "claims": [+ {+ "document": "jsonschema/definitions/Concept.json",+ "object": "skos:Concept, in _oldDocs.rdfClass, with prefLabel, definition, inScheme, notation as properties",+ "predicate": "declaresRdfClass"+ },+ {+ "document": "jsonschema/definitions/Concept.json",+ "object": "prefLabel, definition, inScheme, notation carry no _oldDocs.uri: zero of Concept's properties have an RDF term",+ "predicate": "bindsNoneOf"+ },+ {+ "document": "jsonschema/definitions/Identifier.json",+ "object": "schemaAgency, creator, issued, version, notation carry no _oldDocs.uri: zero of Identifier's properties have an RDF term",+ "predicate": "bindsNoneOf"+ },+ {+ "document": "jsonschema/examples/Concept/good/complete_example.json",+ "object": "prefLabel and definition values, present in the data, that no shape or context can reach",+ "predicate": "instantiatesUncheckable"+ },+ {+ "document": "jsonschema/examples/Identifier/good/complete_example.json",+ "object": "schemaAgency and creator values, present in the data, that no shape or context can reach",+ "predicate": "instantiatesUncheckable"+ }+ ],+ "id": "conformance-3-unbound-heavily-instantiated-classes",+ "kind": "conformance",+ "subject": "dcat-us:Concept,dcat-us:Identifier"+ },+ {+ "claims": [+ {+ "document": "pr-120-record.md",+ "object": "shacl/dcat-us_3.0_shacl_shapes.ttl, at commit aaa3ff4a, in favour of the JSON Schema alone",+ "predicate": "deletes"+ },+ {+ "document": "recovered-shapes.ttl",+ "object": "conforms=true, 0 violations, 0 focus nodes: the shapes select nothing to check against the 115 examples as published",+ "predicate": "unchangedFileValidatesAsPublishedCorpusAs"+ },+ {+ "document": "recovered-shapes.ttl",+ "object": "conforms=false, 272 violations, 228 focus nodes, once the schema-implied binding is applied to the same 115 examples",+ "predicate": "sameUnchangedFileValidatesBoundCorpusAs"+ },+ {+ "document": "jsonschema/examples/Dataset/good/complete_example.json",+ "object": "35, once bound (sh:datatype and sh:minCount failures on dcterms/foaf/dcat properties)",+ "predicate": "firesViolations"+ },+ {+ "document": "jsonschema/examples/Catalog/good/complete_example.json",+ "object": "19, once bound",+ "predicate": "firesViolations"+ },+ {+ "document": "jsonschema/examples/Distribution/good/complete_example.json",+ "object": "14, once bound",+ "predicate": "firesViolations"+ }+ ],+ "id": "conformance-4-deleted-shapes-fire-on-bound-examples",+ "kind": "conformance",+ "subject": "dcat-us:pr-120"+ }+ ],"graph": {"classes": [{diff --git a/demo/precomputed/findings.json b/demo/precomputed/findings.jsonindex fe51488c..d1ba1683 100644--- a/demo/precomputed/findings.json+++ b/demo/precomputed/findings.json@@ -1 +1,125 @@-[]+[+ {+ "id": "conformance-1-readme-vs-examples",+ "subject": "dcat-us:profile",+ "kind": "conformance",+ "claims": [+ {+ "document": "profile-readme.md",+ "predicate": "claims",+ "object": "implementation of the W3C DCAT standard"+ },+ {+ "document": "w3c-dcat-conformance.md",+ "predicate": "requires",+ "object": "conforming data use the dcat: vocabulary (W3C DCAT 3, section 4)"+ },+ {+ "document": "jsonschema/examples/Catalog/good/complete_example.json",+ "predicate": "expandsAsPublishedTo",+ "object": "1 triple: rdf:type of a manufactured IRI, no @context present, 0 dcat: predicates"+ },+ {+ "document": "jsonschema/examples/Dataset/good/complete_example.json",+ "predicate": "expandsAsPublishedTo",+ "object": "1 triple: rdf:type of a manufactured IRI, no @context present, 0 dcat: predicates"+ }+ ]+ },+ {+ "id": "conformance-2-corpus-wide-expansion",+ "subject": "dcat-us:jsonschema-examples-good",+ "kind": "conformance",+ "claims": [+ {+ "document": "jsonschema/MANIFEST.json",+ "predicate": "enumerates",+ "object": "115 good example files across 26 classes under jsonschema/examples/<Class>/good/"+ },+ {+ "document": "profile-readme.md",+ "predicate": "publishesNoContextFor",+ "object": "the JSON Schema definitions in jsonschema/definitions/ carry no @context key"+ },+ {+ "document": "jsonschema/definitions/Dataset.json",+ "predicate": "measuredAsPublished",+ "object": "115 files expand to 76 triples total, 1 distinct predicate (rdf:type), 0 dcat: triples, 38 files empty, 1 parse error (demo/dcat_conformance.py, no context)"+ },+ {+ "document": "recovered-shapes.ttl",+ "predicate": "measuredWithBinding",+ "object": "the same 115 files, with the context demo/dcat_conformance.py derives from _oldDocs, expand to 1510 triples, 123 distinct predicates, 228 dcat: triples, 10 files empty, 0 errors"+ }+ ]+ },+ {+ "id": "conformance-3-unbound-heavily-instantiated-classes",+ "subject": "dcat-us:Concept,dcat-us:Identifier",+ "kind": "conformance",+ "claims": [+ {+ "document": "jsonschema/definitions/Concept.json",+ "predicate": "declaresRdfClass",+ "object": "skos:Concept, in _oldDocs.rdfClass, with prefLabel, definition, inScheme, notation as properties"+ },+ {+ "document": "jsonschema/definitions/Concept.json",+ "predicate": "bindsNoneOf",+ "object": "prefLabel, definition, inScheme, notation carry no _oldDocs.uri: zero of Concept's properties have an RDF term"+ },+ {+ "document": "jsonschema/definitions/Identifier.json",+ "predicate": "bindsNoneOf",+ "object": "schemaAgency, creator, issued, version, notation carry no _oldDocs.uri: zero of Identifier's properties have an RDF term"+ },+ {+ "document": "jsonschema/examples/Concept/good/complete_example.json",+ "predicate": "instantiatesUncheckable",+ "object": "prefLabel and definition values, present in the data, that no shape or context can reach"+ },+ {+ "document": "jsonschema/examples/Identifier/good/complete_example.json",+ "predicate": "instantiatesUncheckable",+ "object": "schemaAgency and creator values, present in the data, that no shape or context can reach"+ }+ ]+ },+ {+ "id": "conformance-4-deleted-shapes-fire-on-bound-examples",+ "subject": "dcat-us:pr-120",+ "kind": "conformance",+ "claims": [+ {+ "document": "pr-120-record.md",+ "predicate": "deletes",+ "object": "shacl/dcat-us_3.0_shacl_shapes.ttl, at commit aaa3ff4a, in favour of the JSON Schema alone"+ },+ {+ "document": "recovered-shapes.ttl",+ "predicate": "unchangedFileValidatesAsPublishedCorpusAs",+ "object": "conforms=true, 0 violations, 0 focus nodes: the shapes select nothing to check against the 115 examples as published"+ },+ {+ "document": "recovered-shapes.ttl",+ "predicate": "sameUnchangedFileValidatesBoundCorpusAs",+ "object": "conforms=false, 272 violations, 228 focus nodes, once the schema-implied binding is applied to the same 115 examples"+ },+ {+ "document": "jsonschema/examples/Dataset/good/complete_example.json",+ "predicate": "firesViolations",+ "object": "35, once bound (sh:datatype and sh:minCount failures on dcterms/foaf/dcat properties)"+ },+ {+ "document": "jsonschema/examples/Catalog/good/complete_example.json",+ "predicate": "firesViolations",+ "object": "19, once bound"+ },+ {+ "document": "jsonschema/examples/Distribution/good/complete_example.json",+ "predicate": "firesViolations",+ "object": "14, once bound"+ }+ ]+ }+]diff --git a/demo/requirements.txt b/demo/requirements.txtindex eea9b4f6..cdd808ed 100644--- a/demo/requirements.txt+++ b/demo/requirements.txt@@ -1,2 +1,4 @@presidio-analyzer>=2.2pytest>=8.0+rdflib>=7.0+pyshacl>=0.25diff --git a/demo/tests/test_dcat_conformance.py b/demo/tests/test_dcat_conformance.pynew file mode 100644index 00000000..d7b7965c--- /dev/null+++ b/demo/tests/test_dcat_conformance.py@@ -0,0 +1,88 @@+"""Pin the headline figures demo/dcat_conformance.py measures.++These numbers are recomputed here, from the vendored jsonschema/ tree under+demo/corpus/dcat-us/, not quoted from anywhere else. If GSA/dcat-us changes+its published examples or schema, this test fails rather than letting the+findings in demo/precomputed/findings.json silently drift away from what the+corpus actually measures.+"""++from demo.dcat_conformance import (+ CORPUS,+ DEFINITIONS,+ EXAMPLES,+ SHAPES_PATH,+ build_context,+ load_classes,+ load_shapes_namespaces,+ measure,+ merge_corpus,+ run_shacl,+ scan_bare_values,+)+++def _good_files():+ return sorted(EXAMPLES.glob("*/good/*.json"))+++def test_corpus_is_vendored():+ assert DEFINITIONS.is_dir()+ assert EXAMPLES.is_dir()+ assert SHAPES_PATH.is_file()+ assert len(list(DEFINITIONS.glob("*.json"))) == 26+ assert len(_good_files()) == 115+ assert len(list(EXAMPLES.glob("*/bad/*.json"))) == 76+++def test_two_classes_have_zero_bound_properties():+ # skos:Concept and adms:Identifier are the schema's two most frequently+ # instantiated types in the example corpus; the schema names properties+ # for both but assigns none of them an RDF term.+ classes = load_classes(DEFINITIONS)+ assert classes["Concept"].properties == {}+ assert classes["Identifier"].properties == {}+++def test_as_published_examples_carry_no_dcat_vocabulary():+ files = _good_files()+ result = measure(files, None)+ assert result["files"] == 115+ assert result["triples"] == 76+ assert result["distinctPredicates"] == 1+ assert result["dcatPredicateTriples"] == 0+ assert result["zeroTripleFiles"] == 38+ assert len(result["errors"]) == 1+++def test_binding_the_schema_implies_recovers_dcat_vocabulary():+ classes = load_classes(DEFINITIONS)+ namespaces = load_shapes_namespaces(SHAPES_PATH)+ files = _good_files()+ lenient_terms = scan_bare_values(files, classes)+ assert len(lenient_terms) == 22+ context = build_context(classes, namespaces, lenient_terms=lenient_terms)+ result = measure(files, context)+ assert result["triples"] == 1510+ assert result["distinctPredicates"] == 123+ assert result["dcatPredicateTriples"] == 228+ assert result["zeroTripleFiles"] == 10+ assert len(result["errors"]) == 0+++def test_deleted_shapes_select_nothing_as_published_but_fire_once_bound():+ classes = load_classes(DEFINITIONS)+ namespaces = load_shapes_namespaces(SHAPES_PATH)+ files = _good_files()+ lenient_terms = scan_bare_values(files, classes)+ context = build_context(classes, namespaces, lenient_terms=lenient_terms)++ published = run_shacl(SHAPES_PATH, merge_corpus(files, None))+ assert published["conforms"] is True+ assert published["violations"] == 0+ assert published["focusNodes"] == 0++ bound = run_shacl(SHAPES_PATH, merge_corpus(files, context))+ assert bound["conforms"] is False+ assert bound["focusNodes"] == 228+ assert bound["violations"] == 272diff --git a/studio/src/lib/demo-source.ts b/studio/src/lib/demo-source.tsindex 1f04c04b..1eb146ab 100644--- a/studio/src/lib/demo-source.ts+++ b/studio/src/lib/demo-source.ts@@ -3,7 +3,13 @@ export interface Claim { document: string; predicate: string; object: string }export interface Contradiction {id: stringsubject: string- kind: 'provenance-split' | 'disjointness' | 'typing'+ // 'provenance-split' and 'typing': two documents type the same individual+ // incompatibly. 'disjointness': a reasoner-caught axiom violation.+ // 'conformance': a claim contradicted by the artifacts published alongside+ // it, e.g. a README asserting a standard the corpus does not exhibit,+ // established by a validator run rather than the document-to-ontology+ // pipeline. Every kind still cites real documents in its claims.+ kind: 'provenance-split' | 'disjointness' | 'typing' | 'conformance'claims: Claim[]}export interface GraphView {