| 1 |
{ |
| 2 |
"$schema": "http://json-schema.org/draft-06/schema#", |
| 3 |
"$id": "urn:OCPP:Cp:1.6:2020:3:GetLog.req", |
| 4 |
"definitions": { |
| 5 |
"LogEnumType": { |
| 6 |
"type": "string", |
| 7 |
"additionalProperties": false, |
| 8 |
"enum": [ |
| 9 |
"DiagnosticsLog", |
| 10 |
"SecurityLog" |
| 11 |
] |
| 12 |
}, |
| 13 |
"LogParametersType": { |
| 14 |
"type": "object", |
| 15 |
"additionalProperties": false, |
| 16 |
"properties": { |
| 17 |
"remoteLocation": { |
| 18 |
"type": "string", |
| 19 |
"maxLength": 512 |
| 20 |
}, |
| 21 |
"oldestTimestamp": { |
| 22 |
"type": "string", |
| 23 |
"format": "date-time" |
| 24 |
}, |
| 25 |
"latestTimestamp": { |
| 26 |
"type": "string", |
| 27 |
"format": "date-time" |
| 28 |
} |
| 29 |
}, |
| 30 |
"required": [ |
| 31 |
"remoteLocation" |
| 32 |
] |
| 33 |
} |
| 34 |
}, |
| 35 |
"type": "object", |
| 36 |
"additionalProperties": false, |
| 37 |
"properties": { |
| 38 |
"log": { |
| 39 |
"$ref": "#/definitions/LogParametersType" |
| 40 |
}, |
| 41 |
"logType": { |
| 42 |
"$ref": "#/definitions/LogEnumType" |
| 43 |
}, |
| 44 |
"requestId": { |
| 45 |
"type": "integer" |
| 46 |
}, |
| 47 |
"retries": { |
| 48 |
"type": "integer" |
| 49 |
}, |
| 50 |
"retryInterval": { |
| 51 |
"type": "integer" |
| 52 |
} |
| 53 |
}, |
| 54 |
"required": [ |
| 55 |
"logType", |
| 56 |
"requestId", |
| 57 |
"log" |
| 58 |
] |
| 59 |
} |