| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "$id": "urn:OCPP:1.6:2019:12:SendLocalListRequest", |
| 4 | "title": "SendLocalListRequest", |
| 5 | "type": "object", |
| 6 | "properties": { |
| 7 | "listVersion": { |
| 8 | "type": "integer" |
| 9 | }, |
| 10 | "localAuthorizationList": { |
| 11 | "type": "array", |
| 12 | "items": { |
| 13 | "type": "object", |
| 14 | "properties": { |
| 15 | "idTag": { |
| 16 | "type": "string", |
| 17 | "maxLength": 20 |
| 18 | }, |
| 19 | "idTagInfo": { |
| 20 | "type": "object", |
| 21 | "properties": { |
| 22 | "expiryDate": { |
| 23 | "type": "string", |
| 24 | "format": "date-time" |
| 25 | }, |
| 26 | "parentIdTag": { |
| 27 | "type": "string", |
| 28 | "maxLength": 20 |
| 29 | }, |
| 30 | "status": { |
| 31 | "type": "string", |
| 32 | "additionalProperties": false, |
| 33 | "enum": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"] |
| 34 | } |
| 35 | }, |
| 36 | "additionalProperties": false, |
| 37 | "required": ["status"] |
| 38 | } |
| 39 | }, |
| 40 | "additionalProperties": false, |
| 41 | "required": ["idTag"] |
| 42 | } |
| 43 | }, |
| 44 | "updateType": { |
| 45 | "type": "string", |
| 46 | "additionalProperties": false, |
| 47 | "enum": ["Differential", "Full"] |
| 48 | } |
| 49 | }, |
| 50 | "additionalProperties": false, |
| 51 | "required": ["listVersion", "updateType"] |
| 52 | } |