Pure functions for building SCIM schema maps.
These helpers convert DSL attribute definitions into RFC 7643-compliant schema map structures.
Summary
Functions
Builds an attribute map from DSL options.
Builds the complete schema map from DSL-collected data.
Builds a sub-attribute map (used inside complex attributes).
Functions
Builds an attribute map from DSL options.
The key presence varies by type to match existing schema behavior:
- string: includes caseExact and uniqueness
- boolean: no caseExact, uniqueness optional (only if explicitly provided)
- complex: includes subAttributes, mutability, returned, uniqueness
- reference: includes referenceTypes, caseExact, uniqueness
Builds the complete schema map from DSL-collected data.
Builds a sub-attribute map (used inside complex attributes).