Custom Libraries & Metadata
Creating a Custom Library
- In Library, click New Library.
- Choose a name and description.
- The library is scoped to your tenant (
tenant_id).
Metadata Categories
Each library supports typed metadata categories:
- TEXT — free-form string
- NUMBER — numeric value (Decimal)
- SELECT — constrained option list
- BOOLEAN — true/false toggle
- APPARATUS — linked apparatus reference
Categories are managed via Manage Metadata Categories and validated with validate_metadata_values on write.
Library Items
Items store values in a JSONB metadata_values column. Editing is only allowed for tenant-owned items.