From d781a0eb0572661e5bf747c3d4047ed9881cf131 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Thu, 14 Sep 2017 07:49:50 +0200 Subject: [PATCH] add: first version of a person object (partially based on the PNR types) --- objects/person/definition.json | 80 ++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100755 objects/person/definition.json diff --git a/objects/person/definition.json b/objects/person/definition.json new file mode 100755 index 0000000..d47ed9d --- /dev/null +++ b/objects/person/definition.json @@ -0,0 +1,80 @@ +{ + "requiredOneOf": [ + "first-name", + "last-name" + ], + "attributes": { + "text": { + "description": "A description of the person or identity.", + "disable_correlation": true, + "ui-priority": 1, + "misp-attribute": "text" + }, + "last-name": { + "description": "Last name of a natural person.", + "ui-priority": 0, + "misp-attribute": "last-name" + }, + "middle-name": { + "description": "Middle name of a natural person", + "ui-priority": 0, + "misp-attribute": "middle-name" + }, + "first-name": { + "description": "First name of a natural person.", + "ui-priority": 0, + "misp-attribute": "first-name" + }, + "date-of-birth": { + "description": "Date of birth of a natural person (in YYYY-MM-DD format).", + "ui-priority": 0, + "misp-attribute": "date-of-birth" + }, + "place-of-birth": { + "description": "Place of birth of a natural person.", + "ui-priority": 0, + "misp-attribute": "place-of-birth" + }, + "gender": { + "description": "The gender of a natural person.", + "ui-priority": 0, + "misp-attribute": "gender", + "required_value": [ + "Male", + "Female", + "Other", + "Prefer not to say" + ] + }, + "passport-number": { + "description": "The passport number of a natural person.", + "ui-priority": 0, + "misp-attribute": "passport-number" + }, + "passport-country": { + "description": "The country in which the passport was issued.", + "ui-priority": 0, + "misp-attribute": "passport-country" + }, + "passport-expiration": { + "description": "The expiration date of a passport.", + "ui-priority": 0, + "misp-attribute": "passport-expiration" + }, + "redress-number": { + "description": "The Redress Control Number is the record identifier for people who apply for redress through the DHS Travel Redress Inquiry Program (DHS TRIP). DHS TRIP is for travelers who have been repeatedly identified for additional screening and who want to file an inquiry to have erroneous information corrected in DHS systems.", + "ui-priority": 0, + "misp-attribute": "redress-number" + }, + "nationality": { + "description": "The nationality of a natural person.", + "ui-priority": 0, + "misp-attribute": "nationality" + } + }, + "version": 1, + "description": "An person which describes a person or an identity.", + "meta-category": "misc", + "uuid": "a15b0477-e9d1-4b9c-9546-abe78a4f4248", + "name": "person" +}