Create MixtureSchema
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
Set to true to access beta operations via /api/v3.
Request
A human-readable description of the schema. At most 1000 characters.
A uniqueness constraint: registered mixtures of this schema must have unique values across the fields named in fieldDefinitionNames. Each name must be the display name of a field on this schema or one of its fieldsets; at least 1 and at most 100 names, with no duplicates, computed fields or archived fields. Requires the registry to use strict validation, and is not allowed when a fieldset on the schema already defines a constraint.
The initial fields of this schema, in display order. Accepts the entity schema field types, including DROPDOWN (set dropdownId to the API ID of a non-archived dropdown) and link types such as FIELDSET_LINK and SYSTEM_CATEGORY_LINK. Numeric ranges (numericMin/numericMax) are not supported. At most one field can be a parent link (isParent) to a mixture schema, and that field cannot be multi-valued. Field names and system names must each be unique within the schema, and the configured per-schema field and link field limits apply. To change fields after the schema is created, use set-field-definitions.
The user-facing name of the schema. Must be non-empty after stripping whitespace, at most 255 characters, and unique within the organization.
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.
Response
Whether mixture ingredients can specify their component lot as a container and/or entity from inventory. Only applicable when allowMeasuredIngredients is true. Will be null when allowMeasuredIngredients is false.
Defines uniqueness requirements for entities within a schema. Constraints ensure that
registered entities have unique values across specified fields (see fieldDefinitionNames)
or unique domain-specific properties (see TypeSpecificConstraint). The hasUniqueResidues
field is a legacy indicator for sequence uniqueness.