Skip to content

Commit

Permalink
Update core-person.json
Browse files Browse the repository at this point in the history
  • Loading branch information
khazelton authored Apr 3, 2020
1 parent 3ef01f5 commit f1785e1
Showing 1 changed file with 84 additions and 88 deletions.
172 changes: 84 additions & 88 deletions schema/core-person.json
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"}
}
}
}

0 comments on commit f1785e1

Please sign in to comment.