Last active
September 6, 2017 19:24
-
-
Save geszes/b63b5c3dedff2a2f702c6fd54555b9cc to your computer and use it in GitHub Desktop.
tier-minimal-person-schema
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
{ | |
"id": "2819c223-7f76-453a-413861904646", | |
"dateCreated": "2012-02-02T02:02:02", | |
"dateInactivated": "2017-07-07T07:07:07", | |
"friendlyName": "jqpublic", | |
"status": "active", | |
"beginTimestamp": "2016-06-06T06:06:06", | |
"endTimestamp": "", | |
"updatingEntityId": "", | |
"updatingSOR": "", | |
"protect": false, | |
"identifiers": [{ | |
"userName": "jqpublic" | |
}], | |
"names": [{ | |
"type": "legal", | |
"formatted": "John Q. Public", | |
"givenName": "John", | |
"familyName": "Public", | |
"middleName": "Q.", | |
"honorificPrefix": "Mr.", | |
"honorificSuffix": "Jr." | |
}], | |
"emails": [{ | |
"type": "home", | |
"value": "jpublic@example.invalid" | |
}], | |
"phoneNumbers": [{ | |
"type": "mobile", | |
"primary": true, | |
"value": "+15555551212" | |
}], | |
"meta": { | |
"resourceType": "Person" | |
} | |
} |
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
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"definitions": {}, | |
"id": "http://example.com/example.json", | |
"properties": { | |
"beginTimestamp": { | |
"id": "/properties/beginTimestamp", | |
"type": "string" | |
}, | |
"emails": { | |
"id": "/properties/emails", | |
"items": { | |
"id": "/properties/emails/items", | |
"properties": { | |
"value": { | |
"id": "/properties/emails/items/properties/value", | |
"type": "string" | |
}, | |
"type": { | |
"id": "/properties/emails/items/properties/type", | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"type": "array" | |
}, | |
"phoneNumbers": { | |
"id": "/properties/phoneNumbers", | |
"items": { | |
"id": "/properties/phoneNumbers/items", | |
"properties": { | |
"value": { | |
"id": "/properties/phoneNumbers/items/properties/value", | |
"type": "string" | |
}, | |
"primary": { | |
"id": "/properties/phoneNumbers/items/properties/primary", | |
"type": "boolean" | |
}, | |
"type": { | |
"id": "/properties/phoneNumbers/items/properties/type", | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"type": "array" | |
}, | |
"dateCreated": { | |
"id": "/properties/dateCreated", | |
"type": "string" | |
}, | |
"dateInactivated": { | |
"id": "/properties/dateInactivated", | |
"type": "string" | |
}, | |
"endTimestamp": { | |
"id": "/properties/endTimestamp", | |
"type": "string" | |
}, | |
"entityObjectId": { | |
"id": "/properties/entityObjectId", | |
"type": "string" | |
}, | |
"entityType": { | |
"id": "/properties/entityType", | |
"type": "string" | |
}, | |
"friendlyName": { | |
"description": "A common name the entity, suitable for display purposes.", | |
"id": "/properties/friendlyName", | |
"type": "string" | |
}, | |
"identifiers": { | |
"id": "/properties/identifiers", | |
"items": { | |
"id": "/properties/identifiers/items", | |
"properties": { | |
"userName": { | |
"description": "A handle by which the person is known in contexts of gaining access to services.", | |
"id": "/properties/identifiers/items/properties/userName", | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"type": "array" | |
}, | |
"names": { | |
"id": "/properties/names", | |
"items": { | |
"id": "/properties/names/items", | |
"properties": { | |
"givenName": { | |
"id": "/properties/names/items/properties/givenName", | |
"type": "string" | |
}, | |
"formatted": { | |
"id": "/properties/names/items/properties/formatted", | |
"type": "string" | |
}, | |
"familyName": { | |
"id": "/properties/names/items/properties/familyName", | |
"type": "string" | |
}, | |
"middleName": { | |
"id": "/properties/names/items/properties/middleName", | |
"type": "string" | |
}, | |
"honorificPrefix": { | |
"id": "/properties/names/items/properties/honorificPrefix", | |
"type": "string" | |
}, | |
"honorificSuffix": { | |
"id": "/properties/names/items/properties/honorificSuffix", | |
"type": "string" | |
}, | |
"type": { | |
"id": "/properties/names/items/properties/type", | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"type": "array" | |
}, | |
"protect": { | |
"id": "/properties/protect", | |
"type": "boolean" | |
}, | |
"status": { | |
"description": "This is used to track the lifecycle of an entity through a series of states.", | |
"id": "/properties/status", | |
"title": "Status of entry", | |
"type": "string" | |
}, | |
"updatingEntityId": { | |
"id": "/properties/updatingEntityId", | |
"type": "string" | |
}, | |
"updatingSOR": { | |
"id": "/properties/updatingSOR", | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment