Commit | Line | Data |
---|---|---|
61f26ca6 JB |
1 | { |
2 | "$schema": "http://json-schema.org/draft-07/schema#", | |
3 | "$id": "urn:OCPP:Cp:1.6:2020:3:SignedUpdateFirmware.req", | |
4 | "definitions": { | |
5 | "FirmwareType": { | |
6 | "type": "object", | |
7 | "additionalProperties": false, | |
8 | "properties": { | |
9 | "location": { | |
10 | "type": "string", | |
11 | "maxLength": 512 | |
12 | }, | |
13 | "retrieveDateTime": { | |
14 | "type": "string", | |
15 | "format": "date-time" | |
16 | }, | |
17 | "installDateTime": { | |
18 | "type": "string", | |
19 | "format": "date-time" | |
20 | }, | |
21 | "signingCertificate": { | |
22 | "type": "string", | |
23 | "maxLength": 5500 | |
24 | }, | |
25 | "signature": { | |
26 | "type": "string", | |
27 | "maxLength": 800 | |
28 | } | |
29 | }, | |
30 | "required": ["location", "retrieveDateTime", "signingCertificate", "signature"] | |
31 | } | |
32 | }, | |
33 | "type": "object", | |
34 | "additionalProperties": false, | |
35 | "properties": { | |
36 | "retries": { | |
37 | "type": "integer" | |
38 | }, | |
39 | "retryInterval": { | |
40 | "type": "integer" | |
41 | }, | |
42 | "requestId": { | |
43 | "type": "integer" | |
44 | }, | |
45 | "firmware": { | |
46 | "$ref": "#/definitions/FirmwareType" | |
47 | } | |
48 | }, | |
49 | "required": ["requestId", "firmware"] | |
50 | } |