{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schema.humancellatlas.org/type/biomaterial/8.3.4/organoid",
  "description": "Information about an organoid biomaterial.",
  "additionalProperties": false,
  "required": [
    "describedBy",
    "schema_type",
    "biomaterial_core",
    "model_for_organ"
  ],
  "title": "organoid",
  "type": "object",
  "properties": {
    "describedBy": {
      "description": "The URL reference to the schema.",
      "type": "string",
      "pattern": "^(http|https)://schema.(.*?)humancellatlas.org/type/biomaterial/(([0-9]{1,}.[0-9]{1,}.[0-9]{1,})|([a-zA-Z]*?))/organoid"
    },
    "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"
      ]
    },
    "provenance": {
      "description": "Provenance information provided by the system.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/system/1.0.2/provenance"
    },
    "biomaterial_core": {
      "description": "Core biomaterial-level information.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/core/biomaterial/7.0.2/biomaterial_core"
    },
    "genus_species": {
      "description": "The scientific binomial name for the species of the organoid.",
      "type": "array",
      "example": "Homo sapiens",
      "items": {
        "$ref": "https://schema.humancellatlas.org/module/ontology/5.3.1/species_ontology"
      },
      "user_friendly": "Genus species"
    },
    "model_for_organ": {
      "description": "Organ for which this organoid is a model system.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/5.3.1/organ_ontology",
      "example": "brain",
      "user_friendly": "Organ model"
    },
    "model_organ_part": {
      "description": "Organ part for which this organoid is a model system.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/5.3.1/organ_part_ontology",
      "example": "cortex",
      "user_friendly": "Organ part model"
    },
    "organoid_age": {
      "description": "Age of the organoid in Organoid age unit. Measured from when cell aggregates started differentiating to desired organoid model.",
      "type": "number",
      "example": 55,
      "user_friendly": "Organoid age"
    },
    "organoid_age_unit": {
      "description": "The unit in which Organoid age is expressed.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/5.3.1/time_unit_ontology",
      "example": "Should be one of: minute, hour, day, week, month, or year.",
      "user_friendly": "Organoid age unit"
    },
    "organoid_size": {
      "description": "Size of the organoid in Organoid size unit.",
      "type": "number",
      "example": 4,
      "user_friendly": "Organoid size"
    },
    "organoid_size_unit": {
      "description": "The unit in which the Organoid size is expressed.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/5.3.1/length_unit_ontology",
      "example": "millimeter",
      "user_friendly": "Organoid size unit"
    },
    "organoid_morphology": {
      "description": "General description of the organoid morphology.",
      "type": "string",
      "example": "Epithelial monolayer with budding crypt-like domains.",
      "user_frinedly": "Organoid morphology"
    },
    "organoid_type": {
      "description": "The type of organoid.",
      "type": "string",
      "enum": [
        "primary",
        "immortalized",
        "stem cell-derived",
        "synthetic"
      ],
      "example": "Should be one of: primary, immortalized, stem cell-derived, or synthetic.",
      "user_friendly": "Organoid type"
    },
    "embedded_in_matrigel": {
      "description": "Whether the organoid is embedded in a matrigel.",
      "type": "boolean",
      "example": "Should be one of: yes, no.",
      "user_friendly": "Organoid embeddded in matrigel?"
    },
    "organoid_growth_environment": {
      "description": "Growth environment in which the organoid is grown.",
      "type": "string",
      "example": "matrigel, liquid suspension, adherent",
      "user_friendly": "Organoid growth environment"
    },
    "input_aggregate_cell_count": {
      "description": "Estimated number of cells per input cell aggregate.",
      "type": "number",
      "example": 10000,
      "user_friendly": "Input aggregate cell count"
    },
    "organoid_stored_oxygen_levels": {
      "description": "Percent oxygen level organoid was stored in prior to sequencing.",
      "type": "number",
      "example": 75,
      "user_friendly": "Organoid stored oxygen level"
    }
  }
}
