Skip to content

Update the schema for the software object languages property change between CS02 and CS03#169

Merged
adulau merged 1 commit intomasterfrom
fix-software-object-language
Nov 5, 2025
Merged

Update the schema for the software object languages property change between CS02 and CS03#169
adulau merged 1 commit intomasterfrom
fix-software-object-language

Conversation

@ejratl
Copy link
Copy Markdown
Contributor

@ejratl ejratl commented Jul 17, 2025

This is the counterpart to the stix-validator change: oasis-open/cti-stix-validator#243

This changes the schema to allow both ISO 639-2 and RFC 5646 languages. I added this to the stix-validator for backwards compatibility, but since it requires a change to the schema, I think this needs some discussion and consideration.

RIght now the schema requires the 3 letter codes of ISO 639-2 which doesn't match STIX 2.1 CS03 but does match STIX 2.1 CS02. After this patch, it will accept both ISO 639-2 and RFC 5646. (RFC 5646 is required by STIX 2.1 CS03). So objects that adhere to either CS will be allowed through rather than only those that match the latest spec.

Open to suggestions here.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 31, 2025

CLA assistant check
All committers have signed the CLA.

@adulau adulau merged commit 3bf9e69 into master Nov 5, 2025
3 checks passed
@ejratl ejratl deleted the fix-software-object-language branch January 19, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants