{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/emporix/main/json-schema/emporix-patch-schema.json",
  "title": "Patch",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-shipping-openapi.yml#/components/schemas/Patch",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "op": {
        "type": "string",
        "description": "Indicates an operation which should be done. Available operations: `add`, `remove` and `replace`"
      },
      "path": {
        "type": "string",
        "description": "Indicates a path for which the value should be applied. For example: `/shippingMethod`, `/cutOffTime/day`"
      },
      "value": {
        "description": "Indicates a value that should be changed or added. The value can be of a primitive type, like string, number, boolean or it can be an object or an array.",
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "object"
          }
        ]
      }
    }
  }
}