Skip to content

Commit

Permalink
Merge pull request #23 from brianpeiris/user-address-primary-sub-attr…
Browse files Browse the repository at this point in the history
…ibute

 Add primary subAttribute to addresses multi-value attribute of User schema
  • Loading branch information
sleelin authored Apr 19, 2024
2 parents 60f9242 + 9efc1ec commit 6cd162c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/schemas/user.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions test/lib/schemas/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@
"name": "type", "type": "string", "multiValued": false, "required": false, "caseExact": false,
"canonicalValues": ["work", "home", "other"], "mutability": "readWrite", "returned": "default", "uniqueness": "none",
"description": "A label indicating the attribute's function, e.g. 'work' or 'home'."
},
{
"name": "primary", "type": "boolean", "multiValued": false, "required": false, "mutability": "readWrite", "returned": "default",
"description": "A Boolean value indicating the 'primary' or preferred attribute value for this attribute, e.g. the preferred mailing address or primary email address. The primary attribute value 'true' MUST appear no more than once."
}
]
},
Expand Down

0 comments on commit 6cd162c

Please sign in to comment.