From 14031cc496677b5a01259fa2949476748c907e60 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 19 Nov 2023 17:48:09 +0100 Subject: [PATCH] Update JSON schema --- datacontract.schema.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/datacontract.schema.json b/datacontract.schema.json index c3080b9..04d3cee 100644 --- a/datacontract.schema.json +++ b/datacontract.schema.json @@ -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." }, @@ -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": { @@ -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",