From 7bba13b5557fd8927b56273c1308a40b1be88c53 Mon Sep 17 00:00:00 2001 From: Anand Daga Date: Mon, 5 Nov 2018 22:56:50 -0800 Subject: [PATCH 1/4] Added dcx JSON-LD prefix definition --- schemas/common/context.jsonld | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schemas/common/context.jsonld b/schemas/common/context.jsonld index 14c0c1f0fb..b23ec7cd81 100644 --- a/schemas/common/context.jsonld +++ b/schemas/common/context.jsonld @@ -28,6 +28,7 @@ "activitystreams": "https://www.w3.org/ns/activitystreams", "schema": "http://schema.org", "repo": "http://ns.adobe.com/adobecloud/core/1.0/", - "iptc4xmpExt": "http://iptc.org/std/Iptc4xmpExt/1.1/" + "iptc4xmpExt": "http://iptc.org/std/Iptc4xmpExt/1.1/", + "dcx": "http://ns.adobe.com/dcx/" } } From 8a3ce685a0c6b7c07b2148c64c15dba257d4866e Mon Sep 17 00:00:00 2001 From: Anand Daga Date: Mon, 5 Nov 2018 22:57:54 -0800 Subject: [PATCH 2/4] Added dcx:type property to the meta schema --- meta.schema.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta.schema.json b/meta.schema.json index 0b6a7e9632..266ca89293 100644 --- a/meta.schema.json +++ b/meta.schema.json @@ -125,6 +125,11 @@ "title": { "type": "string", "minLength": 3 + }, + "dcx:type": { + "type": "string", + "pattern": "^(\\w+|\\*)\/([-.\\w.]+|\\*)\\+dcx$", + "description": "The DCX format or group of formats this schema can be applied to in validation workflows." } }, "allOf": [ From 95c9117ff89cbc0f8bb5ed8adf3bf475ca65dc80 Mon Sep 17 00:00:00 2001 From: Anand Daga Date: Mon, 5 Nov 2018 23:41:02 -0800 Subject: [PATCH 3/4] Fix Lint Issues --- meta.schema.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta.schema.json b/meta.schema.json index 266ca89293..1d896063b7 100644 --- a/meta.schema.json +++ b/meta.schema.json @@ -128,8 +128,9 @@ }, "dcx:type": { "type": "string", - "pattern": "^(\\w+|\\*)\/([-.\\w.]+|\\*)\\+dcx$", - "description": "The DCX format or group of formats this schema can be applied to in validation workflows." + "pattern": "^(\\w+|\\*)/([-.\\w.]+|\\*)\\+dcx$", + "description": + "The DCX format or group of formats this schema can be applied to in validation workflows." } }, "allOf": [ From b3a2dc690e8b9bcc34fd633b7cf1206b2cd52375 Mon Sep 17 00:00:00 2001 From: Anand Daga Date: Tue, 6 Nov 2018 22:37:59 -0800 Subject: [PATCH 4/4] Rename dcx:type property to dcx:typeRestriction in the meta schema --- meta.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta.schema.json b/meta.schema.json index 1d896063b7..4985abd08d 100644 --- a/meta.schema.json +++ b/meta.schema.json @@ -126,7 +126,7 @@ "type": "string", "minLength": 3 }, - "dcx:type": { + "dcx:typeRestriction": { "type": "string", "pattern": "^(\\w+|\\*)/([-.\\w.]+|\\*)\\+dcx$", "description":