{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schema.humancellatlas.org/module/project/8.0.1/contact",
  "description": "Information about an individual who submitted or contributed to a project.",
  "additionalProperties": false,
  "required": [
    "name",
    "institution"
  ],
  "title": "Contact",
  "name": "contact",
  "type": "object",
  "properties": {
    "describedBy": {
      "description": "The URL reference to the schema.",
      "type": "string",
      "pattern": "^(http|https)://schema.(.*?)humancellatlas.org/module/project/(([0-9]{1,}.[0-9]{1,}.[0-9]{1,})|([a-zA-Z]*?))/contact"
    },
    "schema_version": {
      "description": "The version number of the schema in major.minor.patch format.",
      "type": "string",
      "pattern": "^[0-9]{1,}.[0-9]{1,}.[0-9]{1,}$",
      "example": "4.6.1"
    },
    "name": {
      "description": "Name of individual who has contributed to the project.",
      "type": "string",
      "example": "John,D,Doe; Jane,,Smith",
      "guidelines": "Enter in the format: first name,middle name or initial,last name.",
      "user_friendly": "Contact name"
    },
    "email": {
      "description": "Email address for the individual.",
      "type": "string",
      "example": "dummy@email.com",
      "format": "email",
      "user_friendly": "Email address"
    },
    "phone": {
      "description": "Phone number of the individual or their lab.",
      "type": "string",
      "example": "(+1) 234-555-6789",
      "guidelines": "Include the country code.",
      "user_friendly": "Phone number"
    },
    "institution": {
      "description": "Name of primary institute where the individual works.",
      "type": "string",
      "user_friendly": "Institute",
      "example": "EMBL-EBI; University of Washington"
    },
    "laboratory": {
      "description": "Name of lab or department within the institute where the individual works.",
      "type": "string",
      "user_friendly": "Laboratory/Department",
      "example": "Division of Vaccine Discovery; Department of Biology"
    },
    "address": {
      "description": "Street address where the individual works.",
      "type": "string",
      "example": "0000 Main Street, Nowheretown, MA, 12091",
      "guidelines": "Include street name and number, city, country division, and postal code.",
      "user_friendly": "Street address"
    },
    "country": {
      "description": "Country where the individual works.",
      "type": "string",
      "user_friendly": "Country",
      "example": "USA"
    },
    "corresponding_contributor": {
      "description": "Whether the individual is a primary point of contact for the project.",
      "type": "boolean",
      "user_friendly": "Corresponding contributor",
      "example": "Should be one of: yes, or no."
    },
    "project_role": {
      "description": "Primary role of the individual in the project.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/1.0.0/contributor_role_ontology",
      "example": "principal investigator; computational scientist",
      "user_friendly": "Project role"
    },
    "orcid_id": {
      "description": "The individual's ORCID ID linked to previous work.",
      "type": "string",
      "example": "0000-1111-2222-3333",
      "user_friendly": "ORCID ID"
    }
  }
}
