Create StudySchema
Create a study schema.
ID generation
- For
AUTO_GENERATED_FROM_PREFIX, provide a non-empty, uniqueprefix. New studies receive IDs generated from that prefix. - For
MANUAL, omitprefixor provide an empty value. Callers must provide IDs when creating studies with this schema.
Study-type restrictions
entryTemplateIdsassociates entry templates with the schema and is supported only forCUSTOMstudy schemas. Provide at most 50 IDs.isDesignApprovalRequiredis supported forCUSTOMschemas and, when design review is enabled for the tenant, forCLINICALandPRECLINICALschemas. It is not supported forPROCESS_DEVELOPMENTorASSAY_DEVELOPMENTschemas.
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.
How study IDs are assigned for studies created from this schema. AUTO_GENERATED_FROM_PREFIX requires a non-empty prefix and does not accept a caller-provided ID. MANUAL requires an empty prefix. A study ID may be provided at creation, and if omitted the server generates one.
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.