Make physicalType and logicalType optional (already in JSON schema, update in documentation)

This commit is contained in:
Simon Harrer
2025-02-10 17:04:27 +01:00
parent 4543b7b364
commit d7651439a4

View File

@@ -243,9 +243,9 @@ Some keys are more applicable when the described property is a column.
|--------------------------|------------------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| primaryKey | Primary Key | No | Boolean value specifying whether the field is primary or not. Default is false. |
| primaryKeyPosition | Primary Key Position | No | If field is a primary key, the position of the primary key element. Starts from 1. Example of `account_id, name` being primary key columns, `account_id` has primaryKeyPosition 1 and `name` primaryKeyPosition 2. Default to -1. |
| logicalType | Logical Type | Yes | The logical field datatype. One of `string`, `date`, `number`, `integer`, `object`, `array` or `boolean`. |
| logicalType | Logical Type | No | The logical field datatype. One of `string`, `date`, `number`, `integer`, `object`, `array` or `boolean`. |
| logicalTypeOptions | Logical Type Options | No | Additional optional metadata to describe the logical type. See [here](#logical-type-options) for more details about supported options for each `logicalType`. |
| physicalType | Physical Type | Yes | The physical element data type in the data source. For example, VARCHAR(2), DOUBLE, INT. |
| physicalType | Physical Type | No | The physical element data type in the data source. For example, VARCHAR(2), DOUBLE, INT. |
| description | Description | No | Description of the element. |
| required | Required | No | Indicates if the element may contain Null values; possible values are true and false. Default is false. |
| unique | Unique | No | Indicates if the element contains unique values; possible values are true and false. Default is false. |