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