复杂属性不能包含具有子属性(即复杂属性)的子属性。
但是,当我在同一RFC第8.7.2节第88行中读取模式定义时,我注意到urn:ietf:params:scim:schemas:core:2.0:Schema描述如下:
{
...
"attributes" : [
...
{
"name" : "attributes",
"type" : "complex",
"multiValued" : true,
"description" : "A complex attribute that includes the
attributes of a schema.",
"required" : true,
"mutability" : "readOnly",
"returned" : "default",
"subAttributes" : [
...
{
"name" : "subAttributes",
"type" : "complex",
"multiValued" : true,
"description" : "Used to define the sub-attributes of a
complex attribute.",
"required" : false,
"mutability" : "readOnly",
"returned" : "default",
"subAttributes" : [我错过了什么?
发布于 2016-09-14 07:01:18
对于所有架构定义,复杂属性可能包含另一个复杂属性。在RFC7643第7节中我们可以读到
与其他核心资源不同,“架构”资源可能包含子属性中的复杂对象,除非另有规定,否则所有属性都是必需的。
https://stackoverflow.com/questions/39475320
复制相似问题