diff --git a/schemas/ext_schema.json b/schemas/ext_schema.json index 9ae365f400..5179e121e8 100644 --- a/schemas/ext_schema.json +++ b/schemas/ext_schema.json @@ -95,6 +95,16 @@ "items": { "type": "object", "required": ["version", "state"], + "if": { + "properties": { + "state": { + "const": "ratified" + } + } + }, + "then": { + "required": ["ratification_date"] + }, "properties": { "version": { "$ref": "schema_defs.json#/$defs/extension_version"