Create
{
"$id": "http://www.w3.org/ns/activitystreams/Create.json",
"title": "Create",
"description": "Indicates that the actor has created the object.",
"$comment": "https://www.w3.org/TR/activitystreams-vocabulary/#dfn-create",
"allOf": [ { "$ref": "Activity.json#" } ],
"definitions": {
"possibleType": {
"enum": [
"Create",
"http://www.w3.org/ns/activitystreams#Create",
"https://www.w3.org/ns/activitystreams#Create"
]
},
"byTypeRef": {
"properties": {
"type": {
"oneOf": [
{ "$ref": "#/definitions/possibleType" },
{ "type": "array", "contains": { "$ref": "#/definitions/possibleType" } }
]
}
}
},
"possibleRef": {
"oneOf": [
{ "$ref": "#" },
{ "$ref": "Link.json#" },
{
"type": "string",
"format": "uri",
"links": [{
"rel": "full",
"href": "{+$}"
}]
}
]
},
"possibleRefArray": {
"oneOf": [
{ "$ref": "#/definitions/possibleRef" },
{
"type": "array",
"items": { "$ref": "#/definitions/possibleRef" }
}
]
}
}
}
View source