property: normal field, hidden: backend-only (not sent to frontend), resolve: computed field (not stored in DB).
If true, field cannot be modified after document creation. Only set during create.
Minimum value constraint for Int or Float fields. Validation runs on save.
Maximum value constraint for Int or Float fields. Validation runs on save.
Minimum string length constraint for String fields.
Maximum string length constraint for String fields.
Restrict field values to enum values. Typically used with enumOf() defined classes.
If false, field is excluded from default queries. Use for sensitive or large fields.
MongoDB aggregation expression for Insight fields. Calculates statistics across matched documents.
Example value for API documentation generation (Swagger/OpenAPI).
Value type for Map fields. The key is always string, value type is specified by 'of'.
Custom validation function. Receives the field value and full model, returns boolean.
Enable text indexing for full-text search (search) or filtering (filter) capabilities.
Custom metadata object for additional field information used by UI components or plugins.
Referenced document belongs to this document
Many-to-many relationship without ownership