{
  "$id": "ClearTariffsRequest",
  "comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
  "definitions": {
    "CustomDataType": {
      "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
      "javaType": "CustomData",
      "type": "object",
      "properties": {
        "vendorId": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": ["vendorId"]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "tariffIds": {
      "description": "List of tariff Ids to clear. When absent clears all tariffs at _evseId_.\r\n\r\n",
      "type": "array",
      "additionalItems": false,
      "items": {
        "type": "string",
        "maxLength": 60
      },
      "minItems": 1
    },
    "evseId": {
      "description": "When present only clear tariffs matching _tariffIds_ at EVSE _evseId_.\r\n\r\n",
      "type": "integer",
      "minimum": 0
    },
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    }
  }
}
