BlueRui commented on PR #781:
URL: 
https://github.com/apache/directory-scimple/pull/781#issuecomment-2773423129

   I have a general question on how to interpret "canonicalValues" based on the 
SCIM schema. As we can see [here 
](https://datatracker.ietf.org/doc/html/rfc7643#section-4.2:~:text=immutable%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22returned%22%20%3A%20%22default%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22uniqueness%22%20%3A%20%22none%22%0A%20%20%20%20%20%20%20%20%20%20%7D%2C-,%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22name%22%20%3A%20%22type%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22multiValued%22%20%3A%20false%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22A%20label%20indicating%20the,caseExact%22%20%3A%20false%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22canonicalValues%22%20%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22User%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22Group%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20
 
%20%20%22mutability%22%20%3A%20%22immutable%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22returned%22%20%3A%20%22default%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22uniqueness%22%20%3A%20%22none%22%0A%20%20%20%20%20%20%20%20%20%20%7D,-%5D%2C%0A%20%20%20%20%20%20%20%20%22mutability%22%20%3A%20%22readWrite%22%2C%0A%20%20%20%20%20%20%20%20%22returned%22%20%3A%20%22default%22%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%2C%0A%20%20%20%20%22meta)in
 the schema, "type" take canonicalValues. And here's the definition of  
[canonicalValues](https://datatracker.ietf.org/doc/html/rfc7643#section-2.4:~:text=canonicalValues%20%20A%20collection%20of%20suggested%20canonical%20values%20that%0A%20%20%20%20%20%20%20%20%20MAY%20be%20used%20(e.g.%2C%20%22work%22%20and%20%22home%22).%20%20In%20some%20cases%2C%20service%0A%20%20%20%20%20%20%20%20%20providers%20MAY%20choose%20to%20ignore%20unsupported%20values.%20%20OPTIONAL.)
   If canonicalValues only suggest valuest that MAY be used, does it mean that 
all the fields with type "canonicalValues" cannot be implemented as enum?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to