{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://schema.humancellatlas.org/type/process/5.0.0/process",
  "description": "Information about the process",
  "additionalProperties": false,
  "required": [
    "describedBy",
    "schema_type",
    "process_core"
  ],
  "title": "process",
  "type": "object",
  "properties": {
    "describedBy": {
      "description": "The URL reference to the schema.",
      "type": "string",
      "pattern": "^(http|https)://schema.(.*?)humancellatlas.org/type/process/(([0-9]{1,}.[0-9]{1,}.[0-9]{1,})|([a-zA-Z]*?))/process"
    },
    "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": [
        "process"
      ]
    },
    "provenance": {
      "description": "Provenance information provided by the system.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/system/1.0.1/provenance"
    },
    "process_core": {
      "description": "Core process-level information.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/core/process/8.0.0/process_core"
    },
    "length_of_time": {
      "description": "Length of time the process took to execute, from start to finish, in Length of time unit.",
      "pattern": "^[0-9]+\\.?[0-9]*-?[0-9]*\\.?[0-9]*$",
      "type": "string",
      "user_friendly": "Length of time",
      "example": "10"
    },
    "length_of_time_unit": {
      "description": "The unit in which Length of time is expressed.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/5.3.0/time_unit_ontology",
      "user_friendly": "Length of time unit",
      "example": "Should be one of: microsecond, second, minute, hour, day, week, month, or year."
    },
    "process_type": {
      "description": "The type of process.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/5.3.0/process_type_ontology",
      "user_friendly": "Process type",
      "example": "sample enrichment"
    },
    "deviation_from_protocol": {
      "description": "Any deviation from the protocol provided.",
      "type": "string",
      "user_friendly": "Deviation from protocol"
    },
    "insdc_experiment": {
      "description": "An INSDC (International Nucleotide Sequence Database Collaboration) experiment accession.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/process/sequencing/1.1.2/insdc_experiment",
      "user_friendly": "INSDC experiment"
    }
  }
}
