Skip to content

fix(ids): implement attribute selection and value presence checks - #855

Draft
rihokirss wants to merge 3 commits into
ThatOpen:mainfrom
rihokirss:codex/ids-attribute
Draft

rihokirss wants to merge 3 commits into
ThatOpen:mainfrom
rihokirss:codex/ids-attribute

Conversation

@rihokirss

Copy link
Copy Markdown
Contributor

Adds attribute-based applicability selection and corrects attribute presence/value checks. GlobalId is read from the Fragments GUID metadata. Required reference and select attributes pass when populated; null optional attributes pass while populated empty attributes must satisfy their value restriction.

This branch depends on #822 and includes its two commits unchanged. It addresses attribute applicability in #831.

Validation: 45 unchanged public buildingSMART attribute fixtures pass (four failed before this change). Each fixture additionally compares attribute applicability against direct required-facet evaluation over all imported entities, including objects without geometry. The full IDS suite passes (62 tests), core TypeScript compilation passes, and ESLint passes for the changed TypeScript files.

This branch has not been deployed

No deployments
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.

2 participants