{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codeb/json-schema/codeb-csc-rqes-credential-info-schema.json",
  "title": "CscRqesCredentialInfo",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codeb-openapi.json#/components/schemas/CscRqesCredentialInfo",
  "type": "object",
  "properties": {
    "credentialID": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "signatureQualifier": {
      "type": "string",
      "const": "eu_eidas_aes"
    },
    "key": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "enabled",
            "disabled"
          ]
        },
        "algo": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "len": {
          "type": "integer"
        },
        "curve": {
          "type": "string"
        }
      }
    },
    "cert": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "valid",
            "expired",
            "revoked",
            "suspended"
          ]
        },
        "certificates": {
          "type": "array",
          "items": {
            "type": "string",
            "contentEncoding": "base64"
          }
        },
        "issuerDN": {
          "type": "string"
        },
        "serialNumber": {
          "type": "string"
        },
        "subjectDN": {
          "type": "string"
        },
        "validFrom": {
          "type": "string"
        },
        "validTo": {
          "type": "string"
        }
      }
    },
    "auth": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "const": "oauth2code"
        },
        "objects": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    },
    "SCAL": {
      "type": "string",
      "const": "2"
    },
    "multisign": {
      "type": "integer"
    },
    "lang": {
      "type": "string"
    }
  }
}