Skip to content

Commit

Permalink
Update JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenchrist committed Nov 19, 2023
1 parent 8fa165c commit 14031cc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions datacontract.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"dataContractSpecification": {
"type": "string",
"enum": [
"0.9.1"
"0.9.1",
"0.9.0"
],
"description": "Specifies the Data Contract Specification being used."
},
Expand Down Expand Up @@ -242,6 +243,7 @@
}
},
"models": {
"description": "Specifies the logical data model. Use the models name (e.g., the table name) as the key.",
"type": "object",
"minProperties": 1,
"propertyNames": {
Expand All @@ -254,9 +256,12 @@
"type": "string"
},
"type": {
"type": "string"
"description": "The type of the model. Examples: table, object. Default: table.",
"type": "string",
"default": "table",
},
"fields": {
"description": "Specifies a field in the data model. Use the field name (e.g., the column name) as the key.",
"type": "object",
"additionalProperties": {
"type": "object",
Expand Down

0 comments on commit 14031cc

Please sign in to comment.