@stencila/schema
Version:
Stencila schema and other specifications
217 lines (216 loc) • 5.41 kB
JSON
{
"title": "Person",
"@id": "schema:Person",
"role": "secondary",
"status": "stable",
"description": "A person (alive, dead, undead, or fictional). https://schema.org/Person.",
"parser": "person",
"properties": {
"type": {
"description": "The name of the type and all descendant types.",
"type": "string",
"enum": [
"Person"
],
"default": "Person",
"from": "Thing"
},
"id": {
"description": "The identifier for this item.",
"type": "string",
"from": "Thing"
},
"alternateNames": {
"@id": "schema:alternateName",
"description": "Alternate names (aliases) for the item.",
"type": "array",
"items": {
"type": "string"
},
"from": "Thing",
"aliases": [
"alternateName"
]
},
"description": {
"@id": "schema:description",
"description": "A description of the item.",
"type": "string",
"from": "Thing"
},
"meta": {
"@id": "stencila:meta",
"description": "Metadata associated with this item.",
"type": "object",
"from": "Thing"
},
"name": {
"@id": "schema:name",
"description": "The name of the item.",
"type": "string",
"from": "Thing"
},
"url": {
"@id": "schema:url",
"description": "The URL of the item.",
"type": "string",
"format": "uri",
"from": "Thing"
},
"address": {
"@id": "schema:address",
"description": "Postal address for the person.",
"type": "string",
"from": "Person"
},
"affiliations": {
"@id": "schema:affiliation",
"description": "Organizations that the person is affiliated with.",
"type": "array",
"items": {
"$ref": "Organization.schema.json"
},
"from": "Person",
"aliases": [
"affiliation"
]
},
"emails": {
"@id": "schema:email",
"description": "Email addresses for the person.",
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"from": "Person",
"aliases": [
"email"
]
},
"familyNames": {
"@id": "schema:familyName",
"aliases": [
"familyName",
"surname",
"surnames",
"lastName",
"lastNames"
],
"description": "Family name. In the U.S., the last name of an Person. \nThis can be used along with givenName instead of the name property.\n",
"allOf": [
{
"parser": "ssv"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"from": "Person"
},
"funders": {
"@id": "schema:funder",
"description": "A person or organization that supports (sponsors) something through\nsome kind of financial contribution.\n",
"type": "array",
"items": {
"anyOf": [
{
"$ref": "Organization.schema.json"
},
{
"$ref": "Person.schema.json"
}
]
},
"from": "Person",
"aliases": [
"funder"
]
},
"givenNames": {
"@id": "schema:givenName",
"aliases": [
"firstName",
"firstNames",
"givenName"
],
"description": "Given name. In the U.S., the first name of a Person.\nThis can be used along with familyName instead of the name property.\n",
"allOf": [
{
"parser": "ssv"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"from": "Person"
},
"honorificPrefix": {
"@id": "schema:honorificPrefix",
"aliases": [
"prefix"
],
"description": "An honorific prefix preceding a person's name such as Dr/Mrs/Mr.",
"type": "string",
"from": "Person"
},
"honorificSuffix": {
"@id": "schema:honorificSuffix",
"aliases": [
"suffix"
],
"description": "An honorific suffix after a person's name such as MD/PhD/MSCSW.",
"type": "string",
"from": "Person"
},
"jobTitle": {
"@id": "schema:jobTitle",
"description": "The job title of the person (for example, Financial Manager).",
"type": "string",
"from": "Person"
},
"memberOf": {
"@id": "schema:memberOf",
"description": "An organization (or program membership) to which this person belongs.",
"type": "array",
"items": [
{
"$ref": "Organization.schema.json"
}
],
"from": "Person"
},
"telephoneNumbers": {
"@id": "schema:telephone",
"aliases": [
"telephone",
"telephoneNumber"
],
"description": "Telephone numbers for the person.",
"type": "array",
"items": {
"type": "string"
},
"from": "Person"
}
},
"source": "https://github.com/stencila/schema/blob/master/schema/organization/Person.schema.yaml",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://stencila.github.com/schema/Person.schema.json",
"category": "organization",
"children": [],
"descendants": [],
"type": "object",
"aliases": true,
"additionalProperties": false,
"required": [
"type"
],
"parent": "Thing"
}