{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://schema.humancellatlas.org/type/biomaterial/5.2.0/cell_line",
  "description": "Information about the cell line used in the biomaterial",
  "additionalProperties": false,
  "required": [
    "describedBy",
    "schema_type",
    "biomaterial_core"
  ],
  "title": "cell_line",
  "type": "object",
  "properties": {
    "describedBy": {
      "description": "The URL reference to the schema.",
      "type": "string",
      "pattern": "^(http|https)://schema.(dev.data.|)humancellatlas.org/type/biomaterial/v[0-9]{1,}.[0-9]{1,}.[0-9]{1,}/cell_line"
    },
    "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"
    },
    "schema_type": {
      "description": "The type of the metadata schema entity.",
      "type": "string",
      "enum": [
        "biomaterial"
      ]
    },
    "biomaterial_core": {
      "description": "Core biomaterial-level information.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/core/biomaterial/6.1.0/biomaterial_core"
    },
    "catalog_number": {
      "description": "The supplier catalogue number for the cell line.",
      "type": "string",
      "user_friendly": "Catalog number"
    },
    "catalog_url": {
      "description": "The supplier catalogue URL for the cell line.",
      "type": "string",
      "user_friendly": "Catalog URL"
    },
    "cell_cycle": {
      "description": "The cell cycle phase if the cell line is synchronized growing cells or the phase is known. Should be a child term of https://www.ebi.ac.uk/ols/ontologies/go/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FGO_0007049.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/5.2.0/cell_cycle_ontology",
      "user_friendly": "Cell cycle"
    },
    "cell_line_type": {
      "description": "The type of cell line. Must be one of primary, immortalized, stem cell-derived, or synthetic.",
      "type": "string",
      "enum": [
        "primary",
        "immortalized",
        "stem cell-derived",
        "synthetic"
      ],
      "user_friendly": "Cell line type"
    },
    "cell_morphology": {
      "description": "Features relating to the morphology of cells in a biomaterial.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/biomaterial/5.2.0/cell_morphology",
      "user_friendly": "Cell morphology"
    },
    "growth_conditions": {
      "description": "Features relating to the growth and/or maintenance of a biomaterial.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/biomaterial/6.1.0/growth_conditions",
      "user_friendly": "Growth conditions"
    },
    "cell_type": {
      "description": "The cell type that the cell line was derived from. Should be a child term of https://www.ebi.ac.uk/ols/ontologies/clo/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FCL_0000003.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/5.2.0/cell_type_ontology",
      "user_friendly": "Cell type"
    },
    "date_established": {
      "description": "When the cell line was established, in date-time format. yyyy-mm-ddThh:mm:ssZ.",
      "type": "string",
      "format": "date-time",
      "user_friendly": "Date established"
    },
    "disease": {
      "description": "Free text describing any disease association to the cell type. Should be an EFO ontology.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/5.2.0/disease_ontology",
      "user_friendly": "Disease"
    },
    "genus_species": {
      "description": "The scientific binomial name for the species of the biomaterial.",
      "type": "array",
      "example": "Homo sapiens",
      "items": {
        "$ref": "https://schema.humancellatlas.org/module/ontology/5.2.0/species_ontology"
      },
      "user_friendly": "Genus species"
    },
    "publications": {
      "description": "One or more publications in which the cell line creation was cited.",
      "type": "array",
      "items": {
        "$ref": "https://schema.humancellatlas.org/module/project/5.2.0/publication"
      },
      "user_friendly": "Publications"
    }
  }
}
