Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/schema/artifacts/data_warehouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ tables:
cost_currency_primary_continent STRING,
cost_currency_introduced_on DATE,
name STRING,
internal_name STRING,
name_text STRING,
description STRING,
created_at TIMESTAMP,
Expand All @@ -122,6 +123,7 @@ tables:
release_dates ARRAY<DATE>,
component_ids ARRAY<STRING>,
options STRUCT<size STRING, the_sighs STRING, color STRING, is_draft BOOLEAN>,
internal_details STRUCT<name STRING>,
the_opts STRUCT<size STRING, the_sighs STRING, color STRING, is_draft BOOLEAN>,
inventor STRUCT<name STRING, nationality STRING, stock_ticker STRING, __typename STRING>,
named_inventor STRUCT<name STRING, nationality STRING, stock_ticker STRING, __typename STRING>,
Expand Down
10 changes: 10 additions & 0 deletions config/schema/artifacts/datastore_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,8 @@ index_templates:
format: strict_date
name:
type: keyword
internal_name:
type: keyword
name_text:
type: text
description:
Expand Down Expand Up @@ -1386,6 +1388,10 @@ index_templates:
type: keyword
is_draft:
type: boolean
internal_details:
properties:
name:
type: keyword
the_opts:
properties:
size:
Expand Down Expand Up @@ -1463,6 +1469,10 @@ index_templates:
required: true
_size:
enabled: true
_source:
excludes:
- internal_name
- internal_details.*
settings:
index.mapping.ignore_malformed: false
index.mapping.coerce: false
Expand Down
27 changes: 27 additions & 0 deletions config/schema/artifacts/json_schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,12 @@ json_schema_version: 1
- "$ref": "#/$defs/String"
- maxLength: 8191
- type: 'null'
internal_name:
anyOf:
- allOf:
- "$ref": "#/$defs/String"
- maxLength: 8191
- type: 'null'
name_text:
anyOf:
- allOf:
Expand Down Expand Up @@ -902,6 +908,10 @@ json_schema_version: 1
anyOf:
- "$ref": "#/$defs/WidgetOptions"
- type: 'null'
internal_details:
anyOf:
- "$ref": "#/$defs/WidgetInternalDetails"
- type: 'null'
the_options:
anyOf:
- "$ref": "#/$defs/WidgetOptions"
Expand Down Expand Up @@ -953,6 +963,7 @@ json_schema_version: 1
- cost_currency_primary_continent
- cost_currency_introduced_on
- name
- internal_name
- name_text
- description
- created_at
Expand All @@ -962,6 +973,7 @@ json_schema_version: 1
- release_dates
- component_ids
- options
- internal_details
- the_options
- inventor
- named_inventor
Expand All @@ -973,6 +985,21 @@ json_schema_version: 1
- metadata
description: For more performant queries on this type, please filter on `workspace_id`
if possible.
WidgetInternalDetails:
type: object
properties:
name:
anyOf:
- allOf:
- "$ref": "#/$defs/String"
- maxLength: 8191
- type: 'null'
__typename:
type: string
const: WidgetInternalDetails
default: WidgetInternalDetails
required:
- name
WidgetOptions:
type: object
properties:
Expand Down
36 changes: 36 additions & 0 deletions config/schema/artifacts/json_schemas_by_version/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,15 @@ json_schema_version: 1
ElasticGraph:
type: String
nameInIndex: name
internal_name:
anyOf:
- allOf:
- "$ref": "#/$defs/String"
- maxLength: 8191
- type: 'null'
ElasticGraph:
type: String
nameInIndex: internal_name
name_text:
anyOf:
- allOf:
Expand Down Expand Up @@ -1229,6 +1238,13 @@ json_schema_version: 1
ElasticGraph:
type: WidgetOptions
nameInIndex: options
internal_details:
anyOf:
- "$ref": "#/$defs/WidgetInternalDetails"
- type: 'null'
ElasticGraph:
type: WidgetInternalDetails
nameInIndex: internal_details
the_options:
anyOf:
- "$ref": "#/$defs/WidgetOptions"
Expand Down Expand Up @@ -1307,6 +1323,7 @@ json_schema_version: 1
- cost_currency_primary_continent
- cost_currency_introduced_on
- name
- internal_name
- name_text
- description
- created_at
Expand All @@ -1316,6 +1333,7 @@ json_schema_version: 1
- release_dates
- component_ids
- options
- internal_details
- the_options
- inventor
- named_inventor
Expand All @@ -1327,6 +1345,24 @@ json_schema_version: 1
- metadata
description: For more performant queries on this type, please filter on `workspace_id`
if possible.
WidgetInternalDetails:
type: object
properties:
name:
anyOf:
- allOf:
- "$ref": "#/$defs/String"
- maxLength: 8191
- type: 'null'
ElasticGraph:
type: String
nameInIndex: name
__typename:
type: string
const: WidgetInternalDetails
default: WidgetInternalDetails
required:
- name
WidgetOptions:
type: object
properties:
Expand Down
Loading
Loading