{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://schema.humancellatlas.org/module/ontology/5.1.0/organ_part_ontology",
  "id": "https://schema.humancellatlas.org/module/ontology/5.1.0/organ_part_ontology",
  "description": "A term that may be associated with an anatomy-related ontology term",
  "additionalProperties": false,
  "required": [
    "text"
  ],
  "title": "organ_part_ontology",
  "properties": {
    "describedBy": {
      "description": "The URL reference to the schema.",
      "type": "string",
      "pattern": "https://schema.humancellatlas.org/module/ontology/[0-9]{1,}.[0-9]{1,}.[0-9]{1,}/organ_part_ontology"
    },
    "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"
    },
    "text": {
      "description": "The text for the term as the user provides it.",
      "type": "string"
    },
    "ontology": {
      "description": "A term for a specific part of an organ from the ontology [UBERON](https://www.ebi.ac.uk/ols/ontologies/uberon).",
      "type": "string",
      "graph_restriction": {
        "ontologies": [
          "obo:uberon",
          "obo:efo"
        ],
        "classes": [
          "UBERON:0000465"
        ],
        "relations": [
          "rdfs:subClassOf"
        ],
        "direct": false,
        "include_self": true
      }
    }
  },
  "type": "object"
}
