Force Tag ID to uppercase in OCPP server
MODIFY
src/assets/server/ocpp/schemas/authorize-request.json
src/assets/server/ocpp/schemas/authorize-request.json
"type": "string",
"description": "string defining identification token, e.g. RFID or credit card number. To be treated as case insensitive.",
"minLength": 1,
- "maxLength": 20
+ "maxLength": 20,
+ "transform": ["toUpperCase"]
},
"performanceID": {
"type": "string",

MODIFY
src/assets/server/ocpp/schemas/start-transaction-request.json
src/assets/server/ocpp/schemas/start-transaction-request.json
"type": "string",
"description": "string defining identification token, e.g. RFID or credit card number. To be treated as case insensitive.",
"minLength": 1,
- "maxLength": 20
+ "maxLength": 20,
+ "transform": ["toUpperCase"]
},
"timestamp": {
"type": "string",

MODIFY
src/assets/server/ocpp/schemas/stop-transaction-request-15.json
src/assets/server/ocpp/schemas/stop-transaction-request-15.json
"type": "string",
"description": "string defining identification token, e.g. RFID or credit card number. To be treated as case insensitive.",
"minLength": 0,
- "maxLength": 20
+ "maxLength": 20,
+ "transform": ["toUpperCase"]
},
"timestamp": {
"type": "string",

MODIFY
src/assets/server/ocpp/schemas/stop-transaction-request-16.json
src/assets/server/ocpp/schemas/stop-transaction-request-16.json
"type": "string",
"description": "string defining identification token, e.g. RFID or credit card number. To be treated as case insensitive.",
"minLength": 0,
- "maxLength": 20
+ "maxLength": 20,
+ "transform": ["toUpperCase"]
},
"timestamp": {
"type": "string",

Force Tag ID to uppercase in OCPP server