yaal-coop / scim2-models

SCIM resources serialization and validation with Pydantic

Home Page:https://scim2-models.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check attributes syntax

azmeuk opened this issue · comments

RFC7644 §3.10 indicates that attributes have a defined syntax.
There should be a validator that checks the attributes syntax.
The validator should optionally read a resources parameter in the validation context, so it can check if the attributes urn related to a known model.
The validator should optionally read a default_resource parameter in the validation context, so it can recognize attributes without a schema urn prefix.