{
    "$id": "ResetRequest",
    "comment": "OCPP 2.0.1 FINAL",
    "definitions": {
        "CustomDataType": {
            "description": "Represents OCPP CustomData. Allows vendor-specific extension properties.",
            "javaType": "CustomData",
            "type": "object",
            "properties": {
                "vendorId": {
                    "type": "string",
                    "maxLength": 255
                }
            },
            "required": ["vendorId"]
        },
        "ResetEnumType": {
            "description": "This contains the type of reset that the Charging Station or EVSE should perform.\r\n",
            "javaType": "ResetEnum",
            "type": "string",
            "additionalProperties": true,
            "enum": ["Immediate", "OnIdle"],
            "tsEnumNames": ["Immediate", "OnIdle"]
        }
    },
    "type": "object",
    "additionalProperties": true,
    "properties": {
        "customData": {
            "$ref": "#/definitions/CustomDataType"
        },
        "type": {
            "$ref": "#/definitions/ResetEnumType"
        },
        "evseId": {
            "description": "This contains the ID of a specific EVSE that needs to be reset, instead of the entire Charging Station.\r\n",
            "type": "integer",
            "minimum": -2147483648,
            "maximum": 2147483647
        }
    },
    "required": ["type"]
}
