{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:SendAction",
  "title": "SendAction",
  "description": "The act of physically/electronically dispatching an object for transfer from an origin to a destination. Related actions:\\n\\n* [[ReceiveAction]]: The reciprocal of SendAction.\\n* [[GiveAction]]: Unlike GiveAction, SendAction does not imply the transfer of ownership (e.g. I can send you my laptop, but I'm not necessarily 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": {
    "deliveryMethod": {
      "description": "A sub property of instrument. The method of delivery.",
      "oneOf": [
        { "$ref": "schema:DeliveryMethod" },
        { "type": "array", "items": { "$ref": "schema:DeliveryMethod" } }
      ]
    },
    "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" }
            ]
          }
        }
      ]
    }
  }
}
