Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 971 Bytes

SchemaField.md

File metadata and controls

19 lines (11 loc) · 971 Bytes

SchemaField

SchemaField defines the properties of a field in the schema.

Properties

Name Type Description Notes
array Boolean Array indicates if the field is an array of values. For example, if `type` is string and `array` is `true`, then the field is an array of strings. [optional]
arrayLength Integer The required length of the array, if `array` is `true`. This allows you to enforce that an array contains an exact number of items. For example, to store a 2x2 vector, you could set `type` to float, `array` to `true` and `array_length` to `4`. [optional]
description String The description of the field. [optional]
mode SchemaFieldMode
name String The name of the field.
type SchemaFieldType