Skip to content

Commit

Permalink
Merge pull request #552 from ananddaga14/andaga/dcx
Browse files Browse the repository at this point in the history
 Added dcx JSON-LD prefix definition & dcx:type property to the meta schema
  • Loading branch information
kstreeter authored Nov 26, 2018
2 parents 946e85a + 6e33652 commit 7e23e03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions meta.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@
"title": {
"type": "string",
"minLength": 3
},
"dcx:typeRestriction": {
"type": "string",
"pattern": "^(\\w+|\\*)/([-.\\w.]+|\\*)\\+dcx$",
"description":
"The DCX format or group of formats this schema can be applied to in validation workflows."
}
},
"allOf": [
Expand Down
3 changes: 2 additions & 1 deletion schemas/common/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
}
}

0 comments on commit 7e23e03

Please sign in to comment.