﻿{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:2:2018:4:SignCertificateRequest",
  "comment": "OCPP 2.0 - v1p0",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "csr": {
      "type": "string",
      "maxLength": 800
    },
    "typeOfCertificate": {
      "type": "string",
      "additionalProperties": true,
      "enum": [
        "ChargingStationCertificate",
        "V2GCertificate"
      ]
    }
  },
  "required": [
    "csr"
  ]
}