Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 3 additions & 1 deletion config/schema/artifacts/data_warehouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ tables:
table_schema: |-
CREATE TABLE IF NOT EXISTS manufacturers (
id STRING,
guid STRING,
name STRING,
created_at TIMESTAMP,
ceo STRUCT<id STRING, name STRING, nationality STRING, __typename STRING>
Expand All @@ -64,7 +65,8 @@ tables:
name STRING,
created_at TIMESTAMP,
material STRING,
manufacturer_id STRING
manufacturer_id STRING,
manufacturer_guid STRING
)
named_inventors:
table_schema: |-
Expand Down
4 changes: 4 additions & 0 deletions config/schema/artifacts/datastore_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1677,6 +1677,8 @@ indices:
properties:
id:
type: keyword
guid:
type: keyword
name:
type: keyword
created_at:
Expand Down Expand Up @@ -1722,6 +1724,8 @@ indices:
type: keyword
manufacturer_id:
type: keyword
manufacturer_guid:
type: keyword
__sources:
type: keyword
__versions:
Expand Down
12 changes: 12 additions & 0 deletions config/schema/artifacts/json_schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ json_schema_version: 1
allOf:
- "$ref": "#/$defs/ID"
- maxLength: 8191
guid:
allOf:
- "$ref": "#/$defs/ID"
- maxLength: 8191
name:
anyOf:
- allOf:
Expand All @@ -418,6 +422,7 @@ json_schema_version: 1
default: Manufacturer
required:
- id
- guid
- name
- created_at
- ceo
Expand Down Expand Up @@ -451,6 +456,12 @@ json_schema_version: 1
- "$ref": "#/$defs/ID"
- maxLength: 8191
- type: 'null'
manufacturer_guid:
anyOf:
- allOf:
- "$ref": "#/$defs/ID"
- maxLength: 8191
- type: 'null'
__typename:
type: string
const: MechanicalPart
Expand All @@ -461,6 +472,7 @@ json_schema_version: 1
- created_at
- material
- manufacturer_id
- manufacturer_guid
Money:
type: object
properties:
Expand Down
18 changes: 18 additions & 0 deletions config/schema/artifacts/json_schemas_by_version/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,13 @@ json_schema_version: 1
ElasticGraph:
type: ID!
nameInIndex: id
guid:
allOf:
- "$ref": "#/$defs/ID"
- maxLength: 8191
ElasticGraph:
type: ID!
nameInIndex: guid
name:
anyOf:
- allOf:
Expand Down Expand Up @@ -529,6 +536,7 @@ json_schema_version: 1
default: Manufacturer
required:
- id
- guid
- name
- created_at
- ceo
Expand Down Expand Up @@ -577,6 +585,15 @@ json_schema_version: 1
ElasticGraph:
type: ID
nameInIndex: manufacturer_id
manufacturer_guid:
anyOf:
- allOf:
- "$ref": "#/$defs/ID"
- maxLength: 8191
- type: 'null'
ElasticGraph:
type: ID
nameInIndex: manufacturer_guid
__typename:
type: string
const: MechanicalPart
Expand All @@ -587,6 +604,7 @@ json_schema_version: 1
- created_at
- material
- manufacturer_id
- manufacturer_guid
Money:
type: object
properties:
Expand Down
Loading
Loading