{
    "$id": "GetDisplayMessagesRequest",
    "comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
    "definitions": {
        "MessagePriorityEnumType": {
            "description": "If provided the Charging Station shall return Display Messages with the given priority only.\r\n",
            "javaType": "MessagePriorityEnum",
            "type": "string",
            "additionalProperties": false,
            "enum": ["AlwaysFront", "InFront", "NormalCycle"],
            "tsEnumNames": ["AlwaysFront", "InFront", "NormalCycle"]
        },
        "MessageStateEnumType": {
            "description": "If provided the Charging Station shall return Display Messages with the given state only. \r\n",
            "javaType": "MessageStateEnum",
            "type": "string",
            "additionalProperties": false,
            "enum": ["Charging", "Faulted", "Idle", "Unavailable", "Suspended", "Discharging"],
            "tsEnumNames": ["Charging", "Faulted", "Idle", "Unavailable", "Suspended", "Discharging"]
        },
        "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": {
        "id": {
            "description": "If provided the Charging Station shall return Display Messages of the given ids. This field SHALL NOT contain more ids than set in &lt;&lt;configkey-number-of-display-messages,NumberOfDisplayMessages.maxLimit&gt;&gt;\r\n\r\n",
            "type": "array",
            "additionalItems": false,
            "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
            },
            "minItems": 1
        },
        "requestId": {
            "description": "The Id of this request.\r\n",
            "type": "integer",
            "minimum": -2147483648,
            "maximum": 2147483647
        },
        "priority": {
            "$ref": "#/definitions/MessagePriorityEnumType"
        },
        "state": {
            "$ref": "#/definitions/MessageStateEnumType"
        },
        "customData": {
            "$ref": "#/definitions/CustomDataType"
        }
    },
    "required": ["requestId"]
}
