{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubject/main/json-schema/hubject-get-signed-contract-data-response-schema.json",
  "title": "GetSignedContractDataResponse",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hubject-opcp-ccp-openapi.json#/components/schemas/GetSignedContractDataResponse",
  "type": "object",
  "properties": {
    "CCPResponse": {
      "type": "object",
      "properties": {
        "emaidContent": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "messageDef": {
                "type": "object",
                "properties": {
                  "certificateInstallationRes": {
                    "type": "string",
                    "description": "Base64 encoded EXI - Contract installation response as defined in the ISO15118 standard"
                  },
                  "emaid": {
                    "type": "string",
                    "pattern": "^[A-Za-z]{2}[-]?\\w{3}[-]?\\w{9}[-]?(\\w{1})?$",
                    "minLength": 14,
                    "maxLength": 15,
                    "description": "contract identifier of contract certificate"
                  },
                  "metaData": {
                    "type": "string",
                    "description": "placeholder for future applications"
                  },
                  "cpsV2GRootCertificateFingerprint": {
                    "type": "string",
                    "description": "The SHA256 Fingerprint of the desired V2G root CA which shall was used to sign these data with the regarding CPS signing certificate. Its optional. If not given, the CPS will decide which CPS signing V2G PKI will be renurned\n",
                    "pattern": "^[0-9a-fA-F]{8}\\-([0-9a-fA-F]{4}\\-){3}[0-9a-fA-F]{12}$",
                    "x-stoplight": {
                      "id": "t4cyeu1zs8bm7"
                    }
                  }
                },
                "required": [
                  "certificateInstallationRes"
                ]
              }
            }
          }
        }
      }
    }
  }
}