How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Closed vs. open world constraints on OPTs (again)

calendar_today November 17, 2026 person @pablo Pablo Pazos domain ehrbase

Going further into this… If we have an “any” constraint, in an open or closed world context, that means “any type allowed there by the RM is allowed in the data that complies with this archetype/template”: value matches {*} If we add one constraint, in an open world context this means “if the attribute has a DV_TEXT value, it should comply with the constraint, else, all other types allowed by the RM at this point are also allowed ”: value matches { DV_TEXT { … } } Though in a “closed world” context, that constraint would mean “only DV_TEXT nodes are allowed here, anything else not defined by

open_in_new Read original post