Skip to contentExplanations
- Faults in the catalogue nobody has checked this yet, still a draft
The oddities of CAPEC 3.9 that tests/test_catalogue.py pins: CAPEC-244 cites REF-97, which the catalogue lacks, two patterns repeat a weakness, two names end in a space, two skills hold no text, eleven flows repeat a step number, and CAPEC-699 is a Meta child of a Standard pattern. - From XML to data nobody has checked this yet, still a draft
Why a converter stands between the catalogue and the schema, and its rules: MITRE publishes XML, LinkML validates keys and values, and scripts/capec_to_json.py turns one into the other without changing a key or a value. A test turns the data back and finds the catalogue. - Identifiers and references checked by automation only, still a draft
Why a CAPEC number is a string of digits and why references are typed: a number names and never counts, and the rdflib dumper cannot expand a bare identifier, so RDF comes through JSON-LD. Exclude_ID ranges over any entry, because the XSD says only that it names an ancestor. - Keys and values checked by automation only, still a draft
Why the schema's keys and values are spelled as they are: each key is the XSD's own element or attribute name, such as Related_Attack_Patterns, each value the XSD's own text, and classes and enums carry a Capec prefix. - Mappings checked by automation only, still a draft
Where the schema crosses to other vocabularies: STIX, ATT&CK, CWE, the SEPSES CAPEC ontology, SKOS, Dublin Core, schema.org and Wikidata. The schema is the one home for mappings, and each is read at its source and held by a test. - Rules in Python checked by automation only, still a draft
Why tests/capec_rules.py exists: a JSON Schema looks at one value at a time, so it cannot say that a reference names an entry the catalogue holds, or that no number is used twice. What the data merely shows goes in tests/test_catalogue.py with its counts. - What the generators do with these keys nobody has checked this yet, still a draft
How LinkML's generators treat the XSD's short keys: gen-owl warns that six keys shared across classes are ambiguous and gives them no label, the JSON-LD context gives a key one IRI, and the key Date shares a docs page with LinkML's type. - What the schema leaves out checked by automation only, still a draft
What the schema does not do: it says nothing about whether an entry is true, nothing evaluates a view's filter, and it holds the keys the XSD defines even where CAPEC 3.9 uses none, such as Audience and Member_Of. - Why abstraction levels are values checked by automation only, still a draft
Why Meta, Standard and Detailed are values of Abstraction and not subclasses: no field depends on them. The XSD says an execution flow is usually for Detailed patterns, and CAPEC 3.9 gives flows to all three levels, so no rule ties them.