STIX 2.0 Proposal2 : Make IDs required (#221) - STIXProject/specifications GitHub Wiki

Consensus has been achieved on this issue. The relevant issues trackers have been marked as such. Any future treatment of this issue will occur within the pre-draft, draft and final specifications.

Issue Summary

Currently the parsing of STIX content is complicated by an uncertainty whether or not constructs that are allowed to have IDs specified actually have them specified.

Dependent on resolving Issue #148, the set of constructs that this change would affect are:

(bold entries are currently existing "IDable constructs"; italic entries are new "IDable constructs" depending on acceptance of other issue proposals)

Making IDs required would force all instances of the above constructs to always include ID properties with values.

Ensures that relationships can always be defined to or from IDable constructs.

Proposed

Dependent on resolving Issue #148, it is proposed to set the multiplicity on the "id" property of IDableConstructType to "1".

Proposed Model

Examples

Example snippets are not really applicable here as this is simply saying that all instances of IDable constructs MUST specify an ID.

JSON Schema Serialization snippets

N/A

JSON Serialization example snippets

N/A

Open Questions