Rules in Python
explanations/rules-in-pythonChecked 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)
- 2026-11-04 by
- Sources
- About
- Pointed to by
- Validate a catalogue (references)
- Graph
- Open this concept in the knowledge graph
- IRI
https://w3id.org/lmodel/capec/knowledge/explanations/rules-in-python- Licence
- CC BY 4.0
- Files
- Markdown JSON-LD Source on GitHub History on GitHub
A JSON Schema looks at one value at a time. So tests/capec_rules.py checks that each reference names something the catalogue holds, and that no number or reference identifier is used twice.1
What the data merely shows, such as a deprecated entry’s name beginning with DEPRECATED, goes in tests/test_catalogue.py with its counts, and not in the schema.2