{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "enum": [
        "delivery",
        "other"
      ]
    },
    "refund_requested": {
      "type": "boolean"
    },
    "refund_approved": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "amount_rub": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    }
  },
  "required": [
    "category",
    "refund_requested",
    "refund_approved",
    "amount_rub"
  ],
  "additionalProperties": false
}
