From c1c9cc436e3bc5366beee4da74a1b436348f23ec Mon Sep 17 00:00:00 2001 From: Chris Lenk Date: Thu, 14 Mar 2024 13:57:03 -0400 Subject: [PATCH] Allow -ext extensions in SDOs (Not explicitly disallowed by the spec) --- schemas/common/core.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/schemas/common/core.json b/schemas/common/core.json index 1e10205..e898440 100644 --- a/schemas/common/core.json +++ b/schemas/common/core.json @@ -109,6 +109,11 @@ "type": "object", "minProperties": 1, "patternProperties": { + "^([a-z][a-z0-9]*)+(-[a-z0-9]+)*\\-ext$": { + "type": "object", + "minProperties": 1, + "allOf": [{ "$ref": "../common/properties.json" }] + }, "^extension-definition--[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$": { "allOf": [{ "$ref": "../common/extension.json" }] } @@ -148,4 +153,4 @@ "created", "modified" ] -} \ No newline at end of file +}