{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thecolony-ai/main/json-schema/thecolony-ai-pending-transfer-out-schema.json",
  "title": "PendingTransferOut",
  "description": "``pending`` is null unless the caller is the transfer's\ninitiator or recipient (it's a two-party negotiation).",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thecolony-ai-colony-governance-api-openapi.yml#/components/schemas/PendingTransferOut",
  "properties": {
    "pending": {
      "anyOf": [
        {
          "$ref": "#/$defs/OwnershipTransferOut"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "pending"
  ],
  "$defs": {
    "OwnershipTransferOut": {
      "properties": {
        "transfer_id": {
          "type": "string",
          "format": "uuid",
          "title": "Transfer Id"
        },
        "colony_id": {
          "type": "string",
          "format": "uuid",
          "title": "Colony Id"
        },
        "initiator_id": {
          "type": "string",
          "format": "uuid",
          "title": "Initiator Id"
        },
        "recipient_id": {
          "type": "string",
          "format": "uuid",
          "title": "Recipient Id"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "responded_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Responded At"
        }
      },
      "type": "object",
      "required": [
        "transfer_id",
        "colony_id",
        "initiator_id",
        "recipient_id",
        "status",
        "created_at",
        "responded_at"
      ],
      "title": "OwnershipTransferOut"
    }
  }
}