person (property)

This page documents an OPTIMADE Property Definition. See https://schemas.optimade.org/ for more information.

ID: https://schemas.optimade.org/defs/v1.2/properties/optimade/common/person
Definition name: person

Property name: person
Description: A dictionary with name information about a person.
Type: dictionary

Requirements/Conventions:

Examples:

Formats: [JSON] [MD]

JSON definition:

{
    "$id": "https://schemas.optimade.org/defs/v1.2/properties/optimade/common/person",
    "$schema": "https://schemas.optimade.org/meta/v1.2/optimade/property_definition.json",
    "title": "person",
    "x-optimade-type": "dictionary",
    "x-optimade-definition": {
        "label": "person_optimade_common",
        "kind": "property",
        "version": "1.2.0",
        "format": "1.2",
        "name": "person"
    },
    "type": [
        "object",
        "null"
    ],
    "description": "A dictionary with name information about a person.\n\n**Requirements/Conventions**:\n\n- The dictionary MUST adhere to the following format:\n\n    - **name**: Full name of the person, REQUIRED.\n    - **firstname**, **lastname**: Parts of the person's name, OPTIONAL.",
    "required": [
        "name"
    ],
    "properties": {
        "name": {
            "x-optimade-type": "string",
            "x-optimade-unit": "inapplicable",
            "type": [
                "string"
            ]
        },
        "firstname": {
            "x-optimade-type": "string",
            "x-optimade-unit": "inapplicable",
            "type": [
                "string"
            ]
        },
        "lastname": {
            "x-optimade-type": "string",
            "x-optimade-unit": "inapplicable",
            "type": [
                "string"
            ]
        }
    },
    "examples": [
        {
            "name": "John Smith"
        },
        {
            "name": "Arthur Dent",
            "firstname": "Arthur",
            "lastname": "Dent"
        }
    ],
    "x-optimade-unit": "inapplicable"
}