tm-drtina opened a new pull request, #425:
URL: https://github.com/apache/directory-scimple/pull/425

   https://issues.apache.org/jira/browse/SCIMPLE-93
   
   Fields that have `referenceTypes` set should have type `reference`. 
Previously we set type=reference for field `type`, but it should be on field 
`ref`
   ```
             {
               "name" : "value",
               "type" : "reference",
               "referenceTypes" : ["external"],
               "multiValued" : false,
               "description" : "URL of a photo of the User.",
               "required" : false,
               "caseExact" : false,
               "mutability" : "readWrite",
               "returned" : "default",
               "uniqueness" : "none"
             },
   ```
   source: https://datatracker.ietf.org/doc/html/rfc7643#section-8.7.1 (page 59)
   
   > A reference has a "referenceTypes" attribute...
   > ...
   > By convention, a reference is commonly represented as a "$ref" 
sub-attribute in complex or multi-valued attributes; however, this is OPTIONAL.
   
   source: https://datatracker.ietf.org/doc/html/rfc7643#section-2.3.7
   
   The condition is not very nice, since the default is a list with one empty 
string...


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to