{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aftership/main/json-schema/aftership-cancel-label-v3-schema.json",
  "title": "CancelLabel",
  "description": "Cancel Label object: the description of cancel label object",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aftership-cancel-labels-api-openapi.yml#/components/schemas/Cancel_label.v3",
  "x-stoplight": {
    "id": "z2mr6rgdbtram"
  },
  "type": "object",
  "x-tags": [
    "Resource"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "cancelling",
        "cancelled",
        "failed"
      ]
    },
    "label": {
      "$ref": "#/$defs/Reference.v3"
    },
    "created_at": {
      "type": "string",
      "description": "the timestamp of created_at"
    },
    "updated_at": {
      "type": "string",
      "description": "the timestamp of updated_at"
    }
  },
  "$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"
    }
  }
}