@citrineos/base
Version:
The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.
66 lines (65 loc) • 2.7 kB
JSON
{
"$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 <<configkey-number-of-display-messages,NumberOfDisplayMessages.maxLimit>>\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"]
}