40 lines
1.4 KiB
JSON
40 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:GiveAction",
|
|
"title": "GiveAction",
|
|
"description": "The act of transferring ownership of an object to a destination. Reciprocal of TakeAction.\\n\\nRelated actions:\\n\\n* [[TakeAction]]: Reciprocal of GiveAction.\\n* [[SendAction]]: Unlike SendAction, GiveAction implies that ownership is being transferred (e.g. I may send my laptop to you, but that doesn't mean I'm giving it to you).",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "The act of transferring/moving (abstract or concrete) animate or inanimate objects from one place to another.",
|
|
"$ref": "schema:TransferAction"
|
|
}
|
|
],
|
|
"properties": {
|
|
"recipient": {
|
|
"description": "A sub property of participant. The participant who is at the receiving end of the action.",
|
|
"oneOf": [
|
|
{
|
|
"anyOf": [
|
|
{ "$ref": "schema:Audience" },
|
|
{ "$ref": "schema:ContactPoint" },
|
|
{ "$ref": "schema:Organization" },
|
|
{ "$ref": "schema:Person" }
|
|
]
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{ "$ref": "schema:Audience" },
|
|
{ "$ref": "schema:ContactPoint" },
|
|
{ "$ref": "schema:Organization" },
|
|
{ "$ref": "schema:Person" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|