forked from hbacila/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
published.schema.json
28 lines (28 loc) · 1.71 KB
/
published.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"meta:license": [
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "https://ns.adobe.com/xdm/common/event/published",
"type": "object",
"title": "Published Event",
"meta:extends": "https://ns.adobe.com/xdm/common/eventenvelope",
"description": "The `published event` represents the activity of releasing an object for distribution. Some examples of the published activity are, publishing digital content on a website, publishing a book, publishing an article in a journal, publishing a memo on a notice board, etcetera. The [`object`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object) field should specify the object that was released/published, whereas the [`target`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-target) field, if present, should describe where the said object was published on. The `published event` can only be used in passive contexts. Example: the act of publishing an article in a journal would be represented by the `published` activity wherein, the article would be the `object` of publication and the journal would be the `target`.",
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/eventenvelope"
},
{
"properties": {
"@type": {
"type": "string",
"const": "https://ns.adobe.com/xdm/common/event/published"
}
}
}
],
"meta:status": "experimental"
}