-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
84 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,99 +1,95 @@ | ||
| { | ||
| "$schema": "http://json-schema.org/draft-07/schema#", | ||
| "title": "Minimal Registry Person Schema from Internet2 T&I", | ||
| "description": "Minimal Registry Person Schema from Internet2 T&I", | ||
| "type": "object", | ||
| "properties": { | ||
| "name": {"$ref": "#/components/schemas/name"}, | ||
| "logon-id": {"$ref": "#/components/schemas/logon-id"}, | ||
| "iam-id": {"$ref": "#/components/schemas/iam-id"}, | ||
| "prior-id": {"$ref": "#/components/schemas/prior-id"}, | ||
| "sor-id": {"$ref": "#/components/schemas/sor-id"}, | ||
| "subj-id": {"$ref": "#/components/schemas/sub-id"}, | ||
| "birthDate": {"$ref": "#/components/schemas/birthDate"}, | ||
| "email": {"$ref": "#/components/schemas/email"}, | ||
| "phone": {"$ref": "#/components/schemas/phone"}, | ||
| "personalPronoun": {"$ref": "#/components/schemas/personalPronoun"} | ||
| }, | ||
| "components": { | ||
| "schemas": { | ||
| "name": { | ||
| "$schema": "http://json-schema.org/draft-07/schema#", | ||
| "title": "Minimal Registry Person Schema from Internet2 T&I", | ||
| "description": "Minimal Registry Person Schema from Internet2 T&I", | ||
| "type": "object", | ||
| "properties": { | ||
| "name": {"$ref": "#/components/schemas/name"}, | ||
| "logon-id": {"$ref": "#/components/schemas/logon-id"}, | ||
| "iam-id": {"$ref": "#/components/schemas/iam-id"}, | ||
| "prior-id": {"$ref": "#/components/schemas/prior-id"}, | ||
| "sor-id": {"$ref": "#/components/schemas/sor-id"}, | ||
| "subj-id": {"$ref": "#/components/schemas/subj-id"}, | ||
| "datefbirth": {"$ref": "#/components/schemas/dateofbirth"}, | ||
| "email": {"$ref": "#/components/schemas/email"}, | ||
| "phone": {"$ref": "#/components/schemas/phone"}, | ||
| "personalPronoun": {"$ref": "#/components/schemas/personalPronoun"} | ||
| }, | ||
| "components": { | ||
| "schemas": { | ||
| "name": { | ||
| "type": "object", | ||
| "properties": { | ||
| "familyName": {"type": "string"}, | ||
| "givenName": {"type": "string"}, | ||
| "middleName": {"type": "string"}, | ||
| "nameType": {"type": "string"} | ||
| } | ||
| }, | ||
|
|
||
| "logon-id": { | ||
| "type": "string", | ||
| "description": "same as identifier/network in Core Attribute Specification. Mapped to target system ID, (__NAME__, in ConnID)" | ||
| }, | ||
|
|
||
| "iam-id": { | ||
| "type": "string", | ||
| "description": "same as identifier/enterprise in Core Attribute Specification; created on inbound mapping(?)" | ||
| }, | ||
|
|
||
| "prior-id": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
|
|
||
| "sor-id": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "object", | ||
| "properties": { | ||
| "familyName": {"type": "string"}, | ||
| "givenName": {"type": "string"}, | ||
| "middleName": {"type": "string"}, | ||
| "nameType": {"type": "string"} | ||
| } | ||
| }, | ||
|
|
||
| "logon-id": { | ||
| "type": "string", | ||
| "description": "same as identifier/network in Core Attribute Specification. Mapped to target system ID, (__NAME__, in ConnID)" | ||
| }, | ||
|
|
||
| "iam-id": { | ||
| "type": "string", | ||
| "description": "same as identifier/enterprise in Core Attribute Specification; created on inbound mapping(?)" | ||
| }, | ||
|
|
||
| "prior-id": | ||
| "type": "array", | ||
| "description": "same as identifier/enterprise in Core Attribute Specification; created on inbound mapping(?)", | ||
| "items": { | ||
| "source": {"type": "string"}, | ||
| "id": {"type": "string"} | ||
| } | ||
| } | ||
| }, | ||
|
|
||
| "sor-id": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "object", | ||
| "description": "required(?) Same as identifier/enterprise in Core Attribute Specification. Where identifier crosswalk is mapped in midPoint", | ||
| "properties": { | ||
| "source": {"type": "string"}, | ||
| "id": {"type": "string"} | ||
| } | ||
| }, | ||
|
|
||
| "subj-id": { | ||
| "type": "string", | ||
| "description": "Identifier used in federated scenarios, can carry values of SAML identifier profile 'subject-id'", | ||
| }, | ||
|
|
||
| "birthDate": { | ||
| "type": "string", | ||
| "description": "Date of birth, string representtion of dateOfBirth in Core Attribute Specification"}, | ||
|
|
||
| "email": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "object", | ||
| "properties": { | ||
| "emailAddress": {"type": "string"} | ||
| "emailType": {"type": "string"} } | ||
| } | ||
|
|
||
| "subj-id": { | ||
| "type": "string", | ||
| "description": "Preferred personal pronoun" | ||
| }, | ||
|
|
||
| "phone": { | ||
| "type": "array", | ||
| "description": "same as telephoneNumber in Core Attribute Specification", | ||
| "items": { | ||
| "type": "object", | ||
| "properties": { | ||
| "phoneNumber": {"type": "string"}, | ||
| "phoneType": {"type": "string"} | ||
| } | ||
|
|
||
| "dateofbirth": { | ||
| "type": "string", | ||
| "description": "Date of birth, string representtion of dateOfBirth in Core Attribute Specification" | ||
| }, | ||
|
|
||
| "email": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "object", | ||
| "properties": { | ||
| "emailAddress": {"type": "string"}, | ||
| "emailType": {"type": "string"} } | ||
| } | ||
| }, | ||
|
|
||
| "phone": { | ||
| "type": "array", | ||
| "description": "same as telephoneNumber in Core Attribute Specification", | ||
| "items": { | ||
| "type": "object", | ||
| "properties": { | ||
| "phoneNumber": {"type": "string"}, | ||
| "phoneType": {"type": "string"} | ||
| } | ||
| }, | ||
|
|
||
| "personalPronoun": { | ||
| "type": "string", | ||
| "description": "Preferred personal pronoun"} | ||
| } | ||
| }, | ||
| "required": [ | ||
| "name", | ||
| "email" | ||
| ], | ||
|
|
||
| "personalPronoun": { | ||
| "type": "string", | ||
| "description": "Preferred personal pronoun"} | ||
| } | ||
| } | ||
| } |