From 583c43ec4ba332e423404f29ae2933046bcf3cb5 Mon Sep 17 00:00:00 2001 From: Chris Thorpe Date: Mon, 18 Jun 2018 11:38:57 +0100 Subject: [PATCH] Added jobTitle and telephone fields Fix for #4 --- app/models/Person.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/models/Person.json b/app/models/Person.json index 49db53f..8923b72 100755 --- a/app/models/Person.json +++ b/app/models/Person.json @@ -40,6 +40,13 @@ "example": "Daley", "description": ["An given name of the person","This person must give direct permission for their personal information to be shared as part of the Open Data."] }, + "jobTitle": { + "fieldName": "jobTitle", + "sameAs": "http://schema.org/name", + "requiredType": "http://schema.org/Text", + "example": "Chief Coach", + "description": ["The job title for the person, especially used in the context of a leader.","This person must give direct permission for their personal information to be shared as part of the Open Data."] + }, "name": { "fieldName": "name", "sameAs": "http://schema.org/name", @@ -47,6 +54,13 @@ "example": "Daley Thompson", "description": ["An full name for the person, where structured data around givenName and familyName is not available.","This person must give direct permission for their personal information to be shared as part of the Open Data."] }, + "telephone": { + "fieldName": "telephone", + "sameAs": "http://schema.org/name", + "requiredType": "http://schema.org/Text", + "example": "01 811 8055", + "description": ["A contact telephone number for the person.","This person must give direct permission for their personal information to be shared as part of the Open Data."] + }, "url": { "fieldName": "url", "sameAs": "http://schema.org/url",