{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aftership/main/json-schema/aftership-cancel-pickup-v3-schema.json",
  "title": "CancelPickup",
  "description": "Cancel Pickup object: the description of cancel pickup object",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aftership-cancel-pickups-api-openapi.yml#/components/schemas/Cancel_pickup.v3",
  "x-stoplight": {
    "id": "jgle7lqc6xxxj"
  },
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "x-stoplight": {
        "id": "bwqr7ztwl631p"
      }
    },
    "status": {
      "type": "string",
      "x-stoplight": {
        "id": "0r93vfcowv3h6"
      },
      "enum": [
        "cancelling",
        "cancelled",
        "failed"
      ]
    },
    "pickup": {
      "$ref": "#/$defs/Reference.v3",
      "x-stoplight": {
        "id": "idaarrs82dppb"
      }
    },
    "created_at": {
      "type": "string",
      "x-stoplight": {
        "id": "y0gzu3zuv27yw"
      },
      "description": "the timestamp of created_at\n\nExample: `2022-05-18T09:17:38+00:00`"
    },
    "updated_at": {
      "type": "string",
      "x-stoplight": {
        "id": "h651ir6ht6h52"
      },
      "description": "the timestamp of updated_at\n\nExample: `2022-05-18T09:17:38+00:00`\n"
    }
  },
  "$defs": {
    "Reference.v3": {
      "title": "Reference",
      "x-stoplight": {
        "id": "pwqp1323bhe8q"
      },
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "id of referring object\n"
        }
      },
      "x-tags": [
        "Primitive"
      ],
      "description": "Reference object: the description of reference information"
    }
  }
}