{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schema.humancellatlas.org/type/biomaterial/2.0.3/imaged_specimen",
  "description": "Information about a tissue specimen after it has been sectioned and prepared for imaging.",
  "additionalProperties": false,
  "required": [
    "describedBy",
    "schema_type",
    "biomaterial_core",
    "slice_thickness"
  ],
  "title": "Imaged specimen",
  "name": "imaged_specimen",
  "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]*?))/imaged_specimen"
    },
    "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.3/provenance"
    },
    "biomaterial_core": {
      "description": "Core biomaterial-level information.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/core/biomaterial/7.0.3/biomaterial_core",
      "user_friendly": "Biomaterial core"
    },
    "overview_images": {
      "description": "List of filenames of photographs of specimen.",
      "type": "array",
      "items": {
        "pattern": "^.*.jpg$|^.*.jpeg$|^.*.tiff$|^.*.png$",
        "type": "string"
      },
      "user_friendly": "Gross image",
      "example": "my_image_file.jpg, overview_image.tiff",
      "guidelines": "Must be of format JPEG, TIFF, or PNG."
    },
    "slice_thickness": {
      "description": "Thickness of the imaged slice in micrometres.",
      "type": "number",
      "example": "14",
      "user_friendly": "Imaged slice thickness"
    },
    "internal_anatomical_structures": {
      "description": "Internal (landmark) structures visible in the overview image that are informative about the broader anatomical context/location of the sample.",
      "type": "array",
      "items": {
        "$ref": "https://schema.humancellatlas.org/module/ontology/5.3.3/organ_part_ontology"
      },
      "user_friendly": "Internal tissue structures"
    }
  }
}
