{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://schema.humancellatlas.org/type/protocol/sequencing/8.1.3/sequencing_protocol",
  "description": "Information about the sequencing protocol",
  "additionalProperties": false,
  "required": [
    "describedBy",
    "schema_type",
    "protocol_core",
    "instrument_manufacturer_model",
    "paired_ends",
    "sequencing_approach"
  ],
  "title": "sequencing_protocol",
  "type": "object",
  "properties": {
    "describedBy": {
      "description": "The URL reference to the schema.",
      "type": "string",
      "pattern": "^(http|https)://schema.(.*?)humancellatlas.org/type/protocol/sequencing/(([0-9]{1,}.[0-9]{1,}.[0-9]{1,})|([a-zA-Z]*?))/sequencing_protocol"
    },
    "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": [
        "protocol"
      ]
    },
    "provenance": {
      "description": "Provenance information provided by the system.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/system/1.0.1/provenance"
    },
    "protocol_core": {
      "description": "Core protocol-level information.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/core/protocol/5.2.2/protocol_core"
    },
    "instrument_manufacturer_model": {
      "description": "The manufacturer and model of the sequencer used. Should be a child term of https://www.ebi.ac.uk/ols/ontologies/efo/terms?iri=http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_0000548.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/5.3.0/instrument_ontology",
      "example": "Illumina HiSeq 4000",
      "user_friendly": "Instrument manufacturer and model"
    },
    "local_machine_name": {
      "description": "Local name for the particular machine on which the biomaterial was sequenced.",
      "type": "string",
      "user_friendly": "Local machine name",
      "example": "Machine1"
    },
    "paired_ends": {
      "description": "Was a paired-end sequencing strategy used?",
      "type": "boolean",
      "example": "Should be one of: yes, no.",
      "comment": "If 10x, then put no.",
      "user_friendly": "Paired ends?"
    },
    "sequencing_approach": {
      "description": "The general approach for sequencing.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/ontology/1.1.0/sequencing_ontology",
      "user_friendly": "Sequencing approach",
      "example": "full length single cell RNA sequencing"
    },
    "10x": {
      "description": "Fields specific for 10x experiments.",
      "type": "object",
      "$ref": "https://schema.humancellatlas.org/module/process/sequencing/1.0.1/10x",
      "user_friendly": "10x-specific"
    }
  }
}
