Framework
normalizeSchema()
Function: normalizeSchema()
function normalizeSchema(schema): NormalizedSchemaNormalize a schema definition into internal format.
Validates the schema structure and computes derived information like required fields, unique fields, and indexed fields.
Parameters
| Parameter | Type | Description |
|---|---|---|
schema | SchemaFields | Raw schema definition from user |
Returns
Normalized schema for internal use
Throws
FlashcoreValidationError if schema is invalid
