yaal-coop / scim2-models

SCIM resources serialization and validation with Pydantic
https://scim2-models.readthedocs.io
Apache License 2.0
5 stars 2 forks source link

Utility to convert attribute syntax between SCIM and pydantic #22

Closed azmeuk closed 2 days ago

azmeuk commented 1 month ago

RFC7644 §3.10 defines the SCIM attribute syntax, which contains optional schema urn prefixes, and separate subattributes with dots.

Pydantic represents attributes for inclusion and exclusion by a dictionnary/set.

pydantic-scim2 should provide utility methods to convert from one syntax to the other, so clients and servers can pythonically build attribute restricted requests and responses.