@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.
52 lines (51 loc) • 1.85 kB
JSON
{
"$id": "NotifyDERStartStopRequest",
"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": {
"controlId": {
"description": "Id of the started or stopped DER control.\r\nCorresponds to the _controlId_ of the SetDERControlRequest.\r\n\r\n",
"type": "string",
"maxLength": 36
},
"started": {
"description": "True if DER control has started. False if it has ended.\r\n\r\n",
"type": "boolean"
},
"timestamp": {
"description": "Time of start or end of event.\r\n\r\n",
"type": "string",
"format": "date-time"
},
"supersededIds": {
"description": "List of controlIds that are superseded as a result of this control starting.\r\n\r\n",
"type": "array",
"additionalItems": false,
"items": {
"type": "string",
"maxLength": 36
},
"minItems": 1,
"maxItems": 24
},
"customData": {
"$ref": "#/definitions/CustomDataType"
}
},
"required": ["controlId", "started", "timestamp"]
}