{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://schema.humancellatlas.org/module/project/5.2.2/contact",
  "description": "Information about a person who submitted or contributed to a project.",
  "additionalProperties": false,
  "required": [
    "contact_name",
    "email"
  ],
  "title": "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"
    },
    "contact_name": {
      "description": "Name of any individual who has contributed to this project.",
      "type": "string",
      "example": "Format: 'first, middle, last name', middle can be initial or left blank. Example: John,D,Smith.",
      "user_friendly": "Contact name"
    },
    "email": {
      "description": "Email address for the individual.",
      "type": "string",
      "example": "Enter a valid email address.",
      "format": "email",
      "user_friendly": "Email address"
    },
    "phone": {
      "description": "Phone number of the individual or their lab.",
      "type": "string",
      "example": "Enter a valid phone number, including country code.",
      "user_friendly": "Phone number"
    },
    "institution": {
      "description": "Name of primary institute where the individual works.",
      "type": "string",
      "user_friendly": "Institute"
    },
    "laboratory": {
      "description": "Name of lab or department within the institute where the individual works.",
      "type": "string",
      "user_friendly": "Laboratory/Department"
    },
    "address": {
      "description": "Street address where the individual works.",
      "type": "string",
      "example": "Include street name and number, city, country division, postal code.",
      "user_friendly": "Address"
    },
    "country": {
      "description": "Country where the individual works.",
      "type": "string",
      "user_friendly": "Country"
    }
  }
}
