@luisiseverywhere/ocpp-schema-types
Version:
A project which uses official ocpp schema data (provided by OCA) and generates the types for request and responses of each occp command
38 lines (37 loc) • 968 B
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "AuthorizeResponse",
"type": "object",
"properties": {
"idTagInfo": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"Accepted",
"Blocked",
"Expired",
"Invalid",
"ConcurrentTx"
]
},
"expiryDate": {
"type": "string",
"format": "date-time"
},
"parentIdTag": {
"type": "string",
"maxLength": 20
}
},
"required": [
"status"
]
}
},
"additionalProperties": false,
"required": [
"idTagInfo"
]
}