Validate data against the void schema
playbooks/validate-dataNobody has checked this yet
still a draft
Written 2026-10-31 by ktl-librarian (automation).
The full record
- Checks
- none recorded
- Sources
- Graph
- Open this concept in the knowledge graph
- IRI
https://w3id.org/lmodel/void/knowledge/playbooks/validate-data- Licence
- CC BY 4.0
- Files
- Markdown JSON-LD Source on GitHub History on GitHub
- Name the class the file holds, such as
DatasetorLinkset, and runlinkml-validate -s src/void/schema/void.yaml -C Dataset dataset.yaml.1 - Validate before loading a file into either model in
src/void/datamodel/. The dataclasses check no pattern, minimum or number of values, and cannot load a class partition’sclasskey. The Pydantic models check those, but they check neither that an address is an IRI nor the two rules that ask for one slot or another. - Check by hand, or as
tests/test_data.pydoes, what no validator states:- a linkset’s targets name two different datasets;
- a
uriRegexPatternis a regular expression; - each example and root resource starts with the
uriSpaceand matches theuriRegexPattern.
docs/index.md, the Validating data section ↩︎