{
  "$id": "InstallCertificateRequest",
  "comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
  "definitions": {
    "InstallCertificateUseEnumType": {
      "description": "Indicates the certificate type that is sent.\r\n",
      "javaType": "InstallCertificateUseEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "V2GRootCertificate",
        "MORootCertificate",
        "ManufacturerRootCertificate",
        "CSMSRootCertificate",
        "OEMRootCertificate"
      ],
      "tsEnumNames": [
        "V2GRootCertificate",
        "MORootCertificate",
        "ManufacturerRootCertificate",
        "CSMSRootCertificate",
        "OEMRootCertificate"
      ]
    },
    "CustomDataType": {
      "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
      "javaType": "CustomData",
      "type": "object",
      "properties": {
        "vendorId": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": ["vendorId"]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "certificateType": {
      "$ref": "#/definitions/InstallCertificateUseEnumType"
    },
    "certificate": {
      "description": "A PEM encoded X.509 certificate.\r\n",
      "type": "string",
      "maxLength": 10000
    },
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    }
  },
  "required": ["certificateType", "certificate"]
}
