capec
Theme
Text size
GitHub Menu

Example data

Dataset reference datasets/example-data

Checked by automation only

still a draft

Written 2026-11-04 by ktl-librarian (automation). Last checked 2026-11-04 by ktl-librarian (automation).

The full record
Checks
  • 2026-11-04 by ktl-librarian (automation)
Sources
About
Graph
Open this concept in the knowledge graph
IRI
https://w3id.org/lmodel/capec/knowledge/datasets/example-data
Licence
CC BY 4.0
Files
Markdown JSON-LD Source on GitHub History on GitHub

tests/data/valid/ holds examples of each class, and tests/data/invalid/ a counter-example for each constraint the validator can state. A counter-example’s first line says where it fails.1

tests/data/problem/invalid/ holds a counter-example for each rule the generated JSON Schema cannot state, which tests/capec_rules.py checks.1

tests/test_data.py also builds each entry example back into XML and asks the XSD about it.2


  1. tests/data/README.md ↩︎ ↩︎

  2. tests/test_data.py ↩︎