https://ns.adobe.com/xdm/common/event/unpublished
The unpublished event
represents the activity of making an object, which was previously published, unavailable for distribution. It can be thought of as the semantic opposite of the published event
. Some examples of the unpublished activity are, taking down digital content from a website, taking down a previously published memo from the notice board, etcetera. The object
field should specify the object that was taken down/unpublished, whereas the target
field, if present, should describe where the said object was taken down from. The unpublished event
can only be used in passive contexts. Example: the act of taking down a previously published memo from the notice board would be represented by the unpublished
activity wherein, the memo would be the object
of the unpublished event
and the notice board would be the target
.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | No | Experimental | No | Forbidden | Permitted | common/event/unpublished.schema.json |
- Unpublished Event
https://ns.adobe.com/xdm/common/event/unpublished
- EventEnvelope
https://ns.adobe.com/xdm/common/eventenvelope
- EventEnvelope
{
"@id": "https://events.adobe.io/event/id/82235bac-2b81-4e70-90b5-2bd1f04b5c7b",
"@type": "https://ns.adobe.com/xdm/common/event/unpublished",
"xdm:objectType": "https://ns.adobe.com/xdm/assets/asset",
"activitystreams:actor": {
"@id": "D13A1E7053E46A220A4C86E1@AdobeID",
"@type": "https://ns.adobe.com/adobecloudplatform/ims/user"
},
"activitystreams:generator": {
"xdm:root": "https://cc-api-storage.adobe.io/",
"@type": "https://ns.adobe.com/xdm/content/repository"
},
"activitystreams:object": {
"@type": "https://ns.adobe.com/xdm/assets/asset",
"repo:id": "urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185",
"xdm:name": "example.jpg",
"repo:etag": "6fc55d0389d856ae7deccebba54f110e",
"xdm:path": "/MyFolder/example.jpg",
"dc:format": "image/jpeg"
},
"activitystreams:published": "2016-07-16T19:20:30+01:00",
"activitystreams:to": {
"@id": "D13A1E7053E46A220A4C86E1@AdobeID",
"@type": "https://ns.adobe.com/adobecloudplatform/ims/user"
}
}
Property | Type | Required | Defined by |
---|---|---|---|
@type | const |
Optional | Unpublished Event (this schema) |
xdm:objectType | complex | Optional | EventEnvelope |
* |
any | Additional | this schema allows additional properties |
@type
- is optional
- type:
const
- defined in this schema
The value of this property must be equal to:
"https://ns.adobe.com/xdm/common/event/unpublished"
This is the type of the object
that has been emitting this event. The value of this field MUST be exactly same as the value of the object.type
field. Making the type available in the event envelope allows routing systems to dispatch events based on the object type without inspecting the object itself.
xdm:objectType
- is optional
- type: complex
- defined in EventEnvelope
One of the following conditions need to be fulfilled.
Array type:
All items must be of the type:
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)