diff --git a/datacontract.schema.json b/datacontract.schema.json index f277503..568a004 100644 --- a/datacontract.schema.json +++ b/datacontract.schema.json @@ -680,6 +680,12 @@ }, "description": "The compound primary key of the model." }, + "quality": { + "type": "array", + "items": { + "$ref": "#/$defs/Quality" + } + }, "examples": { "type": "array" }, @@ -1704,6 +1710,20 @@ } } }, + { + "if": { + "properties": { + "type": { + "const": "text" + } + } + }, + "then": { + "required": [ + "description" + ] + } + }, { "if": { "properties": {