| 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 |
"ChargingLimitSourceEnumType": { |
| 20 |
"description": "Source of the charging limit.\r\n", |
| 21 |
"javaType": "ChargingLimitSourceEnum", |
| 22 |
"type": "string", |
| 23 |
"additionalProperties": false, |
| 24 |
"enum": [ |
| 25 |
"EMS", |
| 26 |
"Other", |
| 27 |
"SO", |
| 28 |
"CSO" |
| 29 |
] |
| 30 |
} |
| 31 |
}, |
| 32 |
"type": "object", |
| 33 |
"additionalProperties": false, |
| 34 |
"properties": { |
| 35 |
"customData": { |
| 36 |
"$ref": "#/definitions/CustomDataType" |
| 37 |
}, |
| 38 |
"chargingLimitSource": { |
| 39 |
"$ref": "#/definitions/ChargingLimitSourceEnumType" |
| 40 |
}, |
| 41 |
"evseId": { |
| 42 |
"description": "EVSE Identifier.\r\n", |
| 43 |
"type": "integer" |
| 44 |
} |
| 45 |
}, |
| 46 |
"required": [ |
| 47 |
"chargingLimitSource" |
| 48 |
] |
| 49 |
} |