| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "$id": "urn:OCPP:Cp:2:2020:3:NotifyCustomerInformationRequest", |
| 4 | "$comment": "OCPP 2.0.1 FINAL", |
| 5 | "definitions": { |
| 6 | "CustomDataType": { |
| 7 | "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.", |
| 8 | "javaType": "CustomData", |
| 9 | "type": "object", |
| 10 | "properties": { |
| 11 | "vendorId": { |
| 12 | "type": "string", |
| 13 | "maxLength": 255 |
| 14 | } |
| 15 | }, |
| 16 | "required": ["vendorId"] |
| 17 | } |
| 18 | }, |
| 19 | "type": "object", |
| 20 | "additionalProperties": false, |
| 21 | "properties": { |
| 22 | "customData": { |
| 23 | "$ref": "#/definitions/CustomDataType" |
| 24 | }, |
| 25 | "data": { |
| 26 | "description": "(Part of) the requested data. No format specified in which the data is returned. Should be human readable.\r\n", |
| 27 | "type": "string", |
| 28 | "maxLength": 512 |
| 29 | }, |
| 30 | "tbc": { |
| 31 | "description": "“to be continued” indicator. Indicates whether another part of the monitoringData follows in an upcoming notifyMonitoringReportRequest message. Default value when omitted is false.\r\n", |
| 32 | "type": "boolean", |
| 33 | "default": false |
| 34 | }, |
| 35 | "seqNo": { |
| 36 | "description": "Sequence number of this message. First message starts at 0.\r\n", |
| 37 | "type": "integer" |
| 38 | }, |
| 39 | "generatedAt": { |
| 40 | "description": " Timestamp of the moment this message was generated at the Charging Station.\r\n", |
| 41 | "type": "string", |
| 42 | "format": "date-time" |
| 43 | }, |
| 44 | "requestId": { |
| 45 | "description": "The Id of the request.\r\n\r\n", |
| 46 | "type": "integer" |
| 47 | } |
| 48 | }, |
| 49 | "required": ["data", "seqNo", "generatedAt", "requestId"] |
| 50 | } |