{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-dna-sequence-schema.json", "title": "DnaSequence", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/benchling-dna-sequences-api-openapi.yml#/components/schemas/DnaSequence", "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "annotations": { "items": { "$ref": "#/$defs/DnaAnnotation" }, "type": "array" }, "apiURL": { "description": "The canonical url of the DNA Sequence in the API.", "format": "uri", "readOnly": true, "type": "string" }, "archiveRecord": { "allOf": [ { "$ref": "#/$defs/ArchiveRecord" } ] }, "authors": { "items": { "$ref": "#/$defs/UserSummary" }, "type": "array" }, "bases": { "type": "string" }, "createdAt": { "format": "date-time", "readOnly": true, "type": "string" }, "creator": { "$ref": "#/$defs/UserSummary" }, "customFields": { "$ref": "#/$defs/CustomFields" }, "dnaAlignmentIds": { "description": "API IDs of Nucleotide Alignments involving the RNA sequence", "items": { "type": "string" }, "type": "array" }, "entityRegistryId": { "type": [ "string", "null" ] }, "fields": { "$ref": "#/$defs/Fields" }, "folderId": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "isCircular": { "type": "boolean" }, "length": { "type": "integer" }, "modifiedAt": { "format": "date-time", "readOnly": true, "type": "string" }, "name": { "type": "string" }, "parts": { "items": { "$ref": "#/$defs/DnaSequencePart" }, "type": "array" }, "primers": { "items": { "$ref": "#/$defs/Primer" }, "type": "array" }, "registrationOrigin": { "allOf": [ { "$ref": "#/$defs/RegistrationOrigin" } ], "readOnly": true }, "registryId": { "type": [ "string", "null" ] }, "schema": { "allOf": [ { "$ref": "#/$defs/SchemaSummary" } ] }, "transcriptions": { "items": { "$ref": "#/$defs/DnaSequenceTranscription" }, "type": "array" }, "translations": { "items": { "$ref": "#/$defs/Translation" }, "type": "array" }, "url": { "description": "The path of the web URL, omitting the tenant domain", "type": "string" }, "webURL": { "readOnly": true, "type": "string" } }, "type": "object", "$defs": { "ArchiveRecord": { "properties": { "reason": { "type": "string" } }, "type": "object" }, "CustomField": { "properties": { "value": { "type": "string" } }, "type": "object" }, "CustomFields": { "additionalProperties": { "$ref": "#/$defs/CustomField" }, "type": "object" }, "DnaAnnotation": { "allOf": [ { "$ref": "#/$defs/SequenceFeatureBase" }, { "properties": { "end": { "description": "0-based exclusive end index. The end of the sequence is always represented as 0.", "type": "integer" }, "start": { "description": "0-based inclusive start index.", "type": "integer" }, "strand": { "maximum": 1, "minimum": -1, "type": "integer" }, "type": { "type": "string" } }, "type": "object" } ] }, "DnaSequencePart": { "allOf": [ { "$ref": "#/$defs/NucleotideSequencePart" }, { "properties": { "strand": { "maximum": 1, "minimum": -1, "type": "integer" } }, "type": "object" } ] }, "DnaSequenceTranscription": { "properties": { "end": { "description": "0-based exclusive end index. The end of the sequence is always represented as 0.", "type": "integer" }, "sequenceId": { "description": "Linked RNA sequence ID.", "type": "string" }, "start": { "description": "0-based inclusive start index.", "type": "integer" }, "strand": { "maximum": 1, "minimum": -1, "type": "integer" } }, "type": "object" }, "Field": { "properties": { "displayValue": { "readOnly": true, "type": [ "string", "null" ] }, "isMulti": { "readOnly": true, "type": "boolean" }, "textValue": { "readOnly": true, "type": [ "string", "null" ] }, "type": { "allOf": [ { "$ref": "#/$defs/FieldType" } ], "readOnly": true }, "value": { "description": "For single link fields, use the id of the item you want to link (eg. \"seq_jdf8BV24\").\nFor multi-link fields, use an array of ids of the items you want to link (eg. [\"seq_jdf8BV24\"])\n", "oneOf": [ { "type": "string" }, { "type": "boolean" }, { "type": "number" }, { "type": "object" }, { "items": { "type": "string" }, "type": "array" } ] } }, "required": [ "value" ], "type": "object" }, "FieldType": { "enum": [ "dna_sequence_link", "aa_sequence_link", "custom_entity_link", "entity_link", "mixture_link", "molecule_link", "dropdown", "part_link", "translation_link", "aa_part_link", "base_molecule_link", "blob_link", "text", "long_text", "batch_link", "storage_link", "entry_link", "assay_request_link", "assay_result_link", "assay_run_link", "boolean", "float", "integer", "datetime", "date", "json" ], "type": "string" }, "Fields": { "additionalProperties": { "$ref": "#/$defs/Field" }, "type": "object" }, "NucleotideSequencePart": { "properties": { "end": { "description": "0-based exclusive end index. The end of the sequence is always represented as 0.", "type": "integer" }, "sequenceId": { "type": "string" }, "start": { "description": "0-based inclusive start index.", "type": "integer" } }, "type": "object" }, "PartySummary": { "properties": { "handle": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" } }, "type": "object" }, "Primer": { "properties": { "bases": { "readOnly": true, "type": "string" }, "bindPosition": { "readOnly": true, "type": "integer" }, "color": { "readOnly": true, "type": "string" }, "end": { "description": "0-based exclusive end index. The end of the sequence is always represented as 0.", "type": "integer" }, "name": { "readOnly": true, "type": "string" }, "oligoId": { "type": "string" }, "overhangLength": { "readOnly": true, "type": "integer" }, "start": { "description": "0-based inclusive start index.", "type": "integer" }, "strand": { "type": "integer" } }, "type": "object" }, "RegistrationOrigin": { "properties": { "originEntryId": { "readOnly": true, "type": [ "string", "null" ] }, "registeredAt": { "format": "date-time", "readOnly": true, "type": "string" } }, "type": "object" }, "SchemaSummary": { "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "type": "object" }, "SequenceFeatureBase": { "properties": { "color": { "description": "Hex color code used when displaying this feature in the UI.", "type": "string" }, "customFields": { "items": { "$ref": "#/$defs/SequenceFeatureCustomField" }, "maxItems": 100, "type": "array" }, "name": { "maxLength": 2048, "type": "string" }, "notes": { "maxLength": 10000, "type": "string" } }, "type": "object" }, "SequenceFeatureCustomField": { "description": "A name and value pair associated with a sequence feature (annotation or translation). For genbank imports, these are the qualifiers associated with each feature.", "properties": { "name": { "description": "Name of the custom field", "type": "string" }, "value": { "description": "Value of the custom field", "type": "string" } }, "type": "object" }, "Translation": { "allOf": [ { "$ref": "#/$defs/SequenceFeatureBase" }, { "properties": { "aminoAcids": { "readOnly": true, "type": "string" }, "coerceStartCodonToMethionine": { "default": false, "description": "Whether to override the translation of the start codon to Methionine. Has no effect when the start codon already translates to Methionine.", "type": "boolean" }, "end": { "description": "0-based exclusive end index. The end of the sequence is always represented as 0.", "type": "integer" }, "geneticCode": { "default": "STANDARD", "description": "The genetic code to use when translating the nucleotide sequence into amino acids.", "enum": [ "STANDARD", "VERTEBRATE_MITOCHONDRIAL", "YEAST_MITOCHONDRIAL", "MOLD_PROTOZOAN_COELENTERATE_MITOCHONDRIAL_MYCOPLASMA_SPIROPLASMA", "INVERTEBRATE_MITOCHONDRIAL", "CILIATE_DASYCLADACEAN_HEXAMITA_NUCLEAR", "ECHINODERM_FLATWORM_MITOCHONDRIAL", "EUPLOTID_NUCLEAR", "BACTERIAL_ARCHAEAL_PLANT_PLASTID", "ALTERNATIVE_YEAST_NUCLEAR", "ASCIDIAN_MITOCHONDRIAL", "ALTERNATIVE_FLATWORM_MITOCHONDRIAL", "CHLOROPHYCEAN_MITOCHONDRIAL", "TREMATODE_MITOCHONDRIAL", "SCENEDESMUS_OBLIQUUS_MITOCHONDRIAL", "THRAUSTOCHYTRIUM_MITOCHONDRIAL", "RHABDOPLEURIDAE_MITOCHONDRIAL", "CANDIDATE_DIVISION_SR1_GRACILIBACTERIA", "PACHYSOLEN_TANNOPHILUS_NUCLEAR", "MESODINIUM_NUCLEAR", "PERITRICH_NUCLEAR", "CEPHALODISCIDAE_MITOCHONDRIAL_UAA_TYR" ], "type": "string" }, "regions": { "items": { "properties": { "end": { "description": "0-based exclusive end index. The end of the sequence is always represented as 0.", "type": "integer" }, "start": { "description": "0-based inclusive start index.", "type": "integer" } }, "type": "object" }, "type": "array" }, "start": { "description": "0-based inclusive start index.", "type": "integer" }, "strand": { "type": "integer" } }, "type": "object" } ] }, "UserSummary": { "allOf": [ { "$ref": "#/$defs/PartySummary" }, {} ] } } }