Create DnaOligoSchema
Create a DNA oligo schema.
Naming and identifiers
- Schema
name(display name) uniqueness within the organization is case-sensitive. systemNamemust be unique within the organization across all schema families (warehouse SQL identifiers share one namespace per organization).itemIdPrefixvalidation rules are described on that field.
Archiving
- When archiving,
archiveReasonmust be one of the archive purposes allowed for this schema type. Allowed values are not a fixed OpenAPI enum; they depend on tenant configuration and how the schema is classified in the archive system.
Constraints
- Configuring a constraint requires a registry with strict validation enabled.
Sub-resource listings
GET …/field-definitions/items,GET …/fieldsets/items, andGET …/validation-rules/itemsreturn unpaginated lists.pageSizeand unknown query parameters are ignored.
Responses
- OpenAPI documents
409 Conflicton many operations, but these endpoints do not return409.
Field definitions
Allowed link field definition types are those listed on CreateSchemaFieldDefinitionInput for this resource (see the request schema fieldDefinitions anyOf list).
Name templates
nameTemplateis not accepted on create. Configure name templates with a PATCH update.
Validation rules
- Create validation rules with
:create-validation-rule. Ruledefinitionstrings use the grammarthis.fields.<systemName> = "value"(field references must use the field’ssystemName, not its display name). The expression must evaluate to true for validation to pass; when it evaluates to false, the rule fails anderrorMessageis returned.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
A human-readable description of the schema. At most 1000 characters.
Prefix used for registry IDs (entityRegistryId) of entities registered from this schema. Required when no prefix-providing fieldset is applied in fieldsets. When set directly, must be at most 32 characters, must not contain whitespace or special characters (letters, digits, ., _, and - are allowed), and must not end in a digit. Prefix uniqueness within the registry (including archived schemas) follows the organization setting ENABLE_REGISTRY_CASE_INSENSITIVE: when enabled, comparison is case-insensitive; when disabled, prefixes that differ only by letter case are treated as distinct. An applied fieldset that provides a prefix takes precedence and this value is not used for prefix-uniqueness validation.
Naming strategies allowed when registering entities of this schema. Optional; when omitted, defaults to the organization’s enabled labeling strategies, then fieldset configuration is applied.
Optional uniqueness constraint configured directly on this schema at creation. Requires a registry with strict validation enabled. Set uniqueResidues to IGNORE_CASE to include nucleotide residues (case-insensitive) in the composite uniqueness key. Omit to create the schema without a directly configured constraint; fieldsets referenced in fieldsets may still supply a constraint.
Optional field definitions to create on the schema. Each field definition’s display name must be unique within the set using case-sensitive comparison; each field definition’s system name must be unique within the set. Each field definition’s display name must be unique among all fields on this schema (case-sensitive); unrelated schemas may reuse the same display name. The total number of link fields must not exceed the configured limit. On INTEGER and DECIMAL field definitions, numericMin and numericMax are rejected with numericMin cannot be set on field definitions for this schema type (and the analogous message for numericMax). Only link field types listed in this endpoint’s fieldDefinitions schema are accepted; other link types fail validation. Omit to create the schema with no custom fields beyond fieldsets.
API IDs of fieldsets to apply to the schema at creation. Optional. Fieldset-provided fields and configuration are merged into the schema.
Icon displayed in the UI for entities registered from this schema. Optional; when omitted, defaults to OLIGO_V2.
Whether registry IDs appear in UI chips for entities of this schema. Optional; when omitted, defaults to false.
Whether entities of this schema can be placed in inventory containers. Optional; when omitted, defaults to false.
The user-facing name of the schema. Must be non-empty after stripping whitespace, at most 255 characters, and unique within the organization.
Configuration for non-exclusive static schema interfaces (system categories) implemented by this schema. Optional; when omitted, no system categories are configured.
The SQL identifier used as the warehouse table name. If not provided, one is auto-generated from the display name. Must match the pattern [a-z_][a-z0-9_$]*, cannot be a reserved table name, cannot start with ‘bnch$’, and must be unique within the organization.
Whether the registry ID is used as the display label for registered entities. Optional; when omitted, defaults to false.
Response
Prefix used for registry IDs (entityRegistryId) of entities registered from this schema.