Skip to content

Commit c6a3683

Browse files
authored
Merge pull request #112 from bitol-io/dev-types-optional2
Make physicalType and logicalType optional (already in JSON schema, u…
2 parents 4543b7b + d765143 commit c6a3683

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ Some keys are more applicable when the described property is a column.
243243
|--------------------------|------------------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
244244
| primaryKey | Primary Key | No | Boolean value specifying whether the field is primary or not. Default is false. |
245245
| 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. |
246-
| logicalType | Logical Type | Yes | The logical field datatype. One of `string`, `date`, `number`, `integer`, `object`, `array` or `boolean`. |
246+
| logicalType | Logical Type | No | The logical field datatype. One of `string`, `date`, `number`, `integer`, `object`, `array` or `boolean`. |
247247
| 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`. |
248-
| physicalType | Physical Type | Yes | The physical element data type in the data source. For example, VARCHAR(2), DOUBLE, INT. |
248+
| physicalType | Physical Type | No | The physical element data type in the data source. For example, VARCHAR(2), DOUBLE, INT. |
249249
| description | Description | No | Description of the element. |
250250
| required | Required | No | Indicates if the element may contain Null values; possible values are true and false. Default is false. |
251251
| unique | Unique | No | Indicates if the element contains unique values; possible values are true and false. Default is false. |

0 commit comments

Comments
 (0)