{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-aa-sequence-schema.json", "title": "AaSequence", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/benchling-aa-sequences-api-openapi.yml#/components/schemas/AaSequence", "properties": { "aliases": { "description": "Array of aliases", "items": { "type": "string" }, "type": "array" }, "aminoAcids": { "description": "Amino acids of the AA sequence.", "type": "string" }, "annotations": { "description": "Array of annotation objects on the AA sequence.", "items": { "$ref": "#/$defs/AaAnnotation" }, "type": "array" }, "apiURL": { "description": "The canonical url of the AA Sequence in the API.", "format": "uri", "readOnly": true, "type": "string" }, "archiveRecord": { "allOf": [ { "$ref": "#/$defs/ArchiveRecord" } ] }, "authors": { "items": { "$ref": "#/$defs/UserSummary" }, "type": "array" }, "createdAt": { "description": "DateTime the AA sequence was created.", "format": "date-time", "readOnly": true, "type": "string" }, "creator": { "$ref": "#/$defs/UserSummary" }, "customFields": { "allOf": [ { "$ref": "#/$defs/CustomFields" } ], "description": "Custom fields set on the AA sequence." }, "entityRegistryId": { "description": "Registry ID of the AA sequence if registered.", "type": [ "string", "null" ] }, "fields": { "$ref": "#/$defs/Fields" }, "folderId": { "description": "ID of the folder that contains the AA sequence.", "type": [ "string", "null" ] }, "id": { "description": "ID of the AA sequence.", "type": "string" }, "length": { "description": "Number of amino acids in the AA sequence.", "type": "integer" }, "modifiedAt": { "description": "DateTime the AA sequence was last modified.", "format": "date-time", "readOnly": true, "type": "string" }, "name": { "description": "Name of the AA sequence.", "type": "string" }, "registrationOrigin": { "allOf": [ { "$ref": "#/$defs/RegistrationOrigin" } ], "readOnly": true }, "registryId": { "description": "Registry the AA sequence is registered in.", "type": [ "string", "null" ] }, "schema": { "allOf": [ { "$ref": "#/$defs/SchemaSummary" } ] }, "url": { "description": "The path of the web URL, omitting the tenant domain", "type": "string" }, "webURL": { "description": "URL of the AA sequence.", "format": "uri", "readOnly": true, "type": "string" } }, "type": "object", "$defs": { "AaAnnotation": { "properties": { "color": { "type": "string" }, "end": { "description": "0-based exclusive end index. The end of the AA sequence is always represented as 0.", "type": "integer" }, "id": { "type": "string" }, "name": { "maxLength": 255, "type": "string" }, "notes": { "maxLength": 10000, "type": "string" }, "start": { "description": "0-based inclusive start index.", "type": "integer" }, "type": { "maxLength": 255, "type": "string" } }, "type": "object" }, "ArchiveRecord": { "properties": { "reason": { "type": "string" } }, "type": "object" }, "CustomField": { "properties": { "value": { "type": "string" } }, "type": "object" }, "CustomFields": { "additionalProperties": { "$ref": "#/$defs/CustomField" }, "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" }, "PartySummary": { "properties": { "handle": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" } }, "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" }, "UserSummary": { "allOf": [ { "$ref": "#/$defs/PartySummary" }, {} ] } } }