{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-assay-result-schema.json", "title": "AssayResult", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/benchling-assay-results-api-openapi.yml#/components/schemas/AssayResult", "properties": { "archiveRecord": { "allOf": [ { "$ref": "#/$defs/ArchiveRecord" } ], "description": "ArchiveRecord Resource if the result is archived. This is null if the result is not archived.\n" }, "createdAt": { "description": "DateTime at which the the result was created", "format": "date-time", "readOnly": true, "type": "string" }, "creator": { "allOf": [ { "$ref": "#/$defs/UserSummary" } ], "description": "UserSummary Resource of who created the request", "readOnly": true }, "entryId": { "description": "ID of the entry that this result is attached to", "type": [ "string", "null" ] }, "fieldValidation": { "additionalProperties": { "$ref": "#/$defs/UserValidation" }, "description": "Object mapping field names to a UserValidation Resource object for that field. To **set** validation for a result, you *must* use this object.\n", "type": "object" }, "fields": { "allOf": [ { "$ref": "#/$defs/Fields" } ], "description": "Field values for the returned result. Please note the keys of each field are the field's system name (additional_prop) instead of the field's display name (additionalProp).\n" }, "id": { "description": "ID of the result", "type": "string" }, "isReviewed": { "description": "Whether or not this result is attached to an accepted entry", "type": "boolean" }, "modifiedAt": { "description": "DateTime at which the the result was last modified", "format": "date-time", "readOnly": true, "type": "string" }, "projectId": { "description": "ID of the project to insert the result into", "type": [ "string", "null" ] }, "schema": { "allOf": [ { "$ref": "#/$defs/SchemaSummary" } ], "description": "Schema that the result belongs to", "title": "SchemaProperty" }, "v3Id": { "description": "V3 identifier for the result", "readOnly": true, "type": "string" }, "validationComment": { "readOnly": true, "type": "string" }, "validationStatus": { "readOnly": true, "type": "string" } }, "type": "object", "$defs": { "ArchiveRecord": { "properties": { "reason": { "type": "string" } }, "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" }, "SchemaSummary": { "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "type": "object" }, "UserSummary": { "allOf": [ { "$ref": "#/$defs/PartySummary" }, {} ] }, "UserValidation": { "properties": { "validationComment": { "description": "A string explaining the reason for the provided validation status.", "type": "string" }, "validationStatus": { "description": "Valid values for this enum depend on whether it is used to set a value (e.g., in a POST request), or is a return value for an existing result.\nAcceptable values for setting a status are 'VALID' or 'INVALID'. Possible return values are 'VALID', 'INVALID', or 'PARTIALLY_VALID' (a result will be partially valid if it has some valid fields and some invalid fields).\n", "enum": [ "VALID", "INVALID", "PARTIALLY_VALID" ], "type": "string" } }, "type": "object" } } }