Skip to content

Commit

Permalink
fix only top versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rlh1994 committed May 8, 2024
1 parent 0ba41f9 commit afebbbf
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 25 deletions.
34 changes: 27 additions & 7 deletions src/components/JsonSchemaValidator/Schemas/dbtEcommerce_0.8.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@
"title": "SQL & Alias",
"properties": {
"sql": {
"type": "string"
"type": "string",
"title": "Field SQL",
"format": "sql",
"order": 1
},
"alias": {
"type": "string"
"type": "string",
"title": "Field Alias",
"order": 2
}
},
"required": [
Expand Down Expand Up @@ -358,11 +363,15 @@
"properties": {
"schema": {
"type": "string",
"title": "(JSON) schema name for the field",
"order": 1,
"description": "The schema name of your events table, atomic in most use cases, alternatively for sdes/contexts this should instead be the name of the field itself"
},
"field": {
"type": "string",
"description": "The name of the field to use as session identifier, alternatively, in case of sdes/contexts it is the name of the element that refers to the field to be extracted"
"order": 2,
"title": "Field name",
"description": "The name of the field to use as user identifier, alternatively, in case of sdes/contexts it is the name of the element that refers to the field to be extracted"
}
},
"required": [
Expand Down Expand Up @@ -410,10 +419,14 @@
"properties": {
"schema": {
"type": "string",
"title": "(JSON) schema name for the field",
"order": 1,
"description": "The schema name of your events table, atomic in most use cases, alternatively for sdes/contexts this should instead be the name of the field itself"
},
"field": {
"type": "string",
"title": "Field name",
"order": 2,
"description": "The name of the field to use as user identifier, alternatively, in case of sdes/contexts it is the name of the element that refers to the field to be extracted"
}
},
Expand Down Expand Up @@ -514,19 +527,26 @@
"properties": {
"schema": {
"type": "string",
"description": "Table name"
"title": "Table name",
"description": "Table name",
"order": 1
},
"prefix": {
"type": "string",
"description": "Prefix to add to columns"
"title": "Column prefix",
"description": "Prefix to add to columns",
"order": 2
},
"alias": {
"type": "string",
"description": "Table alias for the subquery"
"title": "CTE Alias",
"description": "Table alias for the subquery",
"order": 3
},
"single_entity": {
"type": "boolean",
"title": "Is single entity?"
"title": "Is single entity?",
"order": 4
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
},
"surrogate_key_treat_nulls_as_empty_strings": {
"type": "boolean",
"order": 999,
"title": "Surrogate Key Treat Nulls as Empty Strings",
"group": "Operation and Logic",
"longDescription": "Passed through to `dbt_utils` to match legacy surrogate key behavior.",
Expand All @@ -253,11 +254,15 @@
"properties": {
"schema": {
"type": "string",
"title": "(JSON) schema name for the field",
"order": 1,
"description": "The schema name of your events table, atomic in most use cases, alternatively for sdes/contexts this should instead be the name of the field itself"
},
"field": {
"type": "string",
"description": "The name of the field to use as user identifier, alternatively, in case of sdes/contexts it is the name of the element that refers to the field to be extracted"
"order": 2,
"title": "Field name",
"description": "The name of the field to use as session identifier, alternatively, in case of sdes/contexts it is the name of the element that refers to the field to be extracted"
}
},
"required": [
Expand Down Expand Up @@ -305,10 +310,14 @@
"properties": {
"schema": {
"type": "string",
"title": "(JSON) schema name for the field",
"order": 1,
"description": "The schema name of your events table, atomic in most use cases, alternatively for sdes/contexts this should instead be the name of the field itself"
},
"field": {
"type": "string",
"order": 2,
"title": "Field name",
"description": "The name of the field to use as user identifier, alternatively, in case of sdes/contexts it is the name of the element that refers to the field to be extracted"
}
},
Expand Down Expand Up @@ -512,22 +521,29 @@
"items": {
"type": "object",
"title": "Entity or SDE",
"properties": {
"properties": {
"schema": {
"type": "string",
"description": "Table name"
"title": "Table name",
"description": "Table name",
"order": 1
},
"prefix": {
"type": "string",
"description": "Prefix to add to columns"
"title": "Column prefix",
"description": "Prefix to add to columns",
"order": 2
},
"alias": {
"type": "string",
"description": "Table alias for the subquery"
"title": "CTE Alias",
"description": "Table alias for the subquery",
"order": 3
},
"single_entity": {
"type": "boolean",
"title": "Is single entity?"
"title": "Is single entity?",
"order": 4
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@
"type": "string",
"order": 2,
"title": "Field name",
"description": "The name of the field to use as user identifier, alternatively, in case of sdes/contexts it is the name of the element that refers to the field to be extracted"
"description": "The name of the field to use as session identifier, alternatively, in case of sdes/contexts it is the name of the element that refers to the field to be extracted"
}
},
"required": [
Expand Down
46 changes: 35 additions & 11 deletions src/components/JsonSchemaValidator/Schemas/dbtUtils_0.16.4.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@
"title": "SQL & Alias",
"properties": {
"sql": {
"type": "string"
"type": "string",
"title": "Field SQL",
"format": "sql",
"order": 1
},
"alias": {
"type": "string"
"type": "string",
"title": "Field Alias",
"order": 2
}
},
"required": [
Expand Down Expand Up @@ -203,10 +208,16 @@
"title": "Identifier",
"properties": {
"schema": {
"type": "string"
"type": "string",
"title": "(JSON) schema name for the field",
"order": 1,
"description": "The schema name of your events table, atomic in most use cases, alternatively for sdes/contexts this should instead be the name of the field itself"
},
"field": {
"type": "string"
"type": "string",
"order": 2,
"title": "Field name",
"description": "The name of the field to use as session identifier, alternatively, in case of sdes/contexts it is the name of the element that refers to the field to be extracted"
}
},
"required": [
Expand Down Expand Up @@ -253,10 +264,16 @@
"title": "Identifier",
"properties": {
"schema": {
"type": "string"
"type": "string",
"title": "(JSON) schema name for the field",
"order": 1,
"description": "The schema name of your events table, atomic in most use cases, alternatively for sdes/contexts this should instead be the name of the field itself"
},
"field": {
"type": "string"
"type": "string",
"order": 2,
"title": "Field name",
"description": "The name of the field to use as user identifier, alternatively, in case of sdes/contexts it is the name of the element that refers to the field to be extracted"
}
},
"required": [
Expand Down Expand Up @@ -295,19 +312,26 @@
"properties": {
"schema": {
"type": "string",
"description": "Table name"
"title": "Table name",
"description": "Table name",
"order": 1
},
"prefix": {
"type": "string",
"description": "Prefix to add to columns"
"title": "Column prefix",
"description": "Prefix to add to columns",
"order": 2
},
"alias": {
"type": "string",
"description": "Table alias for the subquery"
"title": "CTE Alias",
"description": "Table alias for the subquery",
"order": 3
},
"single_entity": {
"type": "boolean",
"title": "Is single entity?"
"title": "Is single entity?",
"order": 4
}
},
"required": [
Expand All @@ -319,4 +343,4 @@
"uniqueItems": true
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ src/components/JsonSchemaValidator/Schemas/dbtUtils_0.15.2.json
src/components/JsonSchemaValidator/Schemas/dbtUtils_0.16.0.json
src/components/JsonSchemaValidator/Schemas/dbtUtils_0.16.1.json
src/components/JsonSchemaValidator/Schemas/dbtUtils_0.16.2.json
src/components/JsonSchemaValidator/Schemas/dbtUtils_0.16.3.json
src/components/JsonSchemaValidator/Schemas/dbtWeb*

0 comments on commit afebbbf

Please sign in to comment.