void
Theme
Text size
GitHub Menu

Validate data against the void schema

Playbook how-to playbooks/validate-data

Nobody 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
  1. Name the class the file holds, such as Dataset or Linkset, and run linkml-validate -s src/void/schema/void.yaml -C Dataset dataset.yaml.1
  2. 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’s class key. 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.
  3. Check by hand, or as tests/test_data.py does, what no validator states:
    • a linkset’s targets name two different datasets;
    • a uriRegexPattern is a regular expression;
    • each example and root resource starts with the uriSpace and matches the uriRegexPattern.

  1. docs/index.md, the Validating data section ↩︎