SendLocalList.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "$schema": "http://json-schema.org/draft-04/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": [
  34. "Accepted",
  35. "Blocked",
  36. "Expired",
  37. "Invalid",
  38. "ConcurrentTx"
  39. ]
  40. }
  41. },
  42. "additionalProperties": false,
  43. "required": [
  44. "status"
  45. ]
  46. }
  47. },
  48. "additionalProperties": false,
  49. "required": [
  50. "idTag"
  51. ]
  52. }
  53. },
  54. "updateType": {
  55. "type": "string",
  56. "additionalProperties": false,
  57. "enum": [
  58. "Differential",
  59. "Full"
  60. ]
  61. }
  62. },
  63. "additionalProperties": false,
  64. "required": [
  65. "listVersion",
  66. "updateType"
  67. ]
  68. }