{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/benchling/json-schema/Oligo.json",
  "title": "Oligo",
  "discriminator": {
    "mapping": {
      "DNA": "DnaOligo",
      "RNA": "RnaOligo"
    },
    "propertyName": "nucleotideType"
  },
  "properties": {
    "aliases": {
      "description": "Array of aliases",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "apiURL": {
      "description": "The canonical url of the Oligo in the API.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "archiveRecord": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArchiveRecord"
        }
      ],
      "nullable": true
    },
    "authors": {
      "items": {
        "$ref": "#/components/schemas/UserSummary"
      },
      "type": "array"
    },
    "bases": {
      "description": "Base pairs of the Oligo.",
      "example": "ACTTTTT",
      "type": "string"
    },
    "createdAt": {
      "description": "DateTime the Oligo was created.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "creator": {
      "$ref": "#/components/schemas/UserSummary"
    },
    "customFields": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CustomFields"
        }
      ],
      "description": "Custom fields set on the Oligo."
    },
    "entityRegistryId": {
      "description": "Registry ID of the Oligo if registered.",
      "nullable": true,
      "type": "string"
    },
    "fields": {
      "$ref": "#/components/schemas/Fields"
    },
    "folderId": {
      "description": "ID of the folder that contains the Oligo.",
      "nullable": true,
      "type": "string"
    },
    "id": {
      "description": "ID of the Oligo.",
      "example": "seq_bhuDUw9D",
      "type": "string"
    },
    "length": {
      "description": "Number of bases in the Oligo.",
      "type": "integer"
    },
    "modifiedAt": {
      "description": "DateTime the Oligo was last modified.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "name": {
      "description": "Name of the Oligo.",
      "type": "string"
    },
    "nucleotideType": {
      "description": "Nucleotide type of the Oligo.",
      "enum": [
        "DNA",
        "RNA"
      ],
      "type": "string"
    },
    "registrationOrigin": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RegistrationOrigin"
        }
      ],
      "nullable": true,
      "readOnly": true
    },
    "registryId": {
      "description": "Registry the Oligo is registered in.",
      "nullable": true,
      "type": "string"
    },
    "schema": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SchemaSummary"
        }
      ],
      "nullable": true
    },
    "webURL": {
      "description": "URL of the Oligo.",
      "example": "https://benchling.com/benchling/f/lib_hBHqKbzE-oligos/seq_bhuDUw9D-test-oligo-abc/edit",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    }
  },
  "type": "object"
}