Elasticsearch Store: `Interfaces Data Schema`
interfaces.DataSchema
Data Schema and Version
Table of contents
Properties
Properties
all_formatters
• Optional
all_formatters: boolean
If enabled this will allow the use of some of the slower but more correct JSON Schema formatters:
- "date"
- "time"
- "date-time"
- "uri"
- "uri-reference"
- "hostname"
- "email"
Defined in
elasticsearch-store/src/interfaces.ts:168
schema
• schema: any
The Data Schema in JSON Schema format
Defined in
elasticsearch-store/src/interfaces.ts:139
strict
• Optional
strict: boolean
If enabled and the data fails to match the schema or version an error will thrown
Default
false
Defined in
elasticsearch-store/src/interfaces.ts:147
validate_on_read
• Optional
validate_on_read: boolean
Validate and format the records when reading
Default
true