{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/infocert/main/json-schema/infocert-input-credentials-info-schema.json",
  "title": "input-credentials-info",
  "description": "Input parameters for credentials/info method",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infocert-csc-openapi.json#/components/schemas/input-credentials-info",
  "type": "object",
  "required": [
    "credentialID"
  ],
  "properties": {
    "credentialID": {
      "$ref": "#/$defs/credentialID"
    },
    "certificates": {
      "$ref": "#/$defs/certificates"
    },
    "certInfo": {
      "$ref": "#/$defs/certInfo"
    },
    "authInfo": {
      "$ref": "#/$defs/authInfo"
    },
    "lang": {
      "$ref": "#/$defs/lang"
    },
    "clientData": {
      "$ref": "#/$defs/clientData"
    }
  },
  "$defs": {
    "authInfo": {
      "type": "boolean",
      "description": "Specifies if the information on the authorization mechanisms supported by this credential (PIN and OTP groups) shall be returned"
    },
    "certInfo": {
      "type": "boolean",
      "description": "Specifies if the information on the end entity certificate shall be returned as printable strings"
    },
    "certificates": {
      "type": "string",
      "description": "The Certificates Schema",
      "pattern": "^(none|single|chain)$"
    },
    "clientData": {
      "type": "string",
      "description": "Arbitrary data from the Signature Application"
    },
    "credentialID": {
      "type": "string",
      "description": "The identifier associated to the credential"
    },
    "lang": {
      "type": "string",
      "description": "Request a preferred language according to RFC 3066"
    }
  }
}