{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codeb/json-schema/codeb-csc-rqes-info-schema.json",
  "title": "CscRqesInfo",
  "description": "CSC section 11.1 service metadata for the EU-wallet profile. specs is 2.2.0.0, the version the EU RQES libraries require.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codeb-openapi.json#/components/schemas/CscRqesInfo",
  "type": "object",
  "properties": {
    "specs": {
      "type": "string",
      "const": "2.2.0.0"
    },
    "name": {
      "type": "string"
    },
    "logo": {
      "type": "string",
      "format": "uri"
    },
    "region": {
      "type": "string"
    },
    "lang": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "authType": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "oauth2code"
        ]
      }
    },
    "oauth2": {
      "type": "string",
      "format": "uri",
      "description": "OAuth 2.0 base URI: https://<tenant>/csc/rqes. Endpoints: {oauth2}/oauth2/authorize, {oauth2}/oauth2/token, {oauth2}/oauth2/pushed_authorize, {oauth2}/revoke."
    },
    "supportsRar": {
      "type": "boolean"
    },
    "supportedHashTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "2.16.840.1.101.3.4.2.1"
        ]
      }
    },
    "asynchronousOperationMode": {
      "type": "boolean"
    },
    "validationInfo": {
      "type": "boolean"
    },
    "methods": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "signAlgorithms": {
      "type": "object",
      "properties": {
        "algos": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "signature_formats": {
      "type": "object",
      "properties": {
        "formats": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "envelope_properties": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "conformance_levels": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}