{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-ise/json-schema/cisco-ise-ca-certificateprofile-schema.json",
  "title": "ca.certificateprofile",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-ise-certificateprofile-api-openapi.yml#/components/schemas/ca.certificateprofile",
  "required": [
    "CertificateProfile"
  ],
  "type": "object",
  "properties": {
    "CertificateProfile": {
      "$ref": "#/$defs/CertificateProfile"
    }
  },
  "$defs": {
    "CertificateProfile": {
      "required": [
        "name"
      ],
      "properties": {
        "allowedAsUserName": {
          "title": "allowedAsUserName",
          "type": "boolean",
          "description": "To be set true or false"
        },
        "externalIdentityStoreName": {
          "title": "externalIdentityStoreName",
          "type": "string",
          "description": "referred IDStore name for the Certificate Profile or [not applicable] in case no identity store is chosen"
        },
        "certificateAttributeName": {
          "title": "certificateAttributeName",
          "type": "object",
          "description": "Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in usernameFrom. Allowed values: SUBJECT_COMMON_NAME, SUBJECT_ALTERNATIVE_NAME, SUBJECT_SERIAL_NUMBER, SUBJECT, SUBJECT_ALTERNATIVE_NAME_OTHER_NAME, SUBJECT_ALTERNATIVE_NAME_EMAIL, SUBJECT_ALTERNATIVE_NAME_DNS. Additional internal value ALL_SUBJECT_AND_ALTERNATIVE_NAMES is used automatically when usernameFrom=UPN"
        },
        "matchMode": {
          "title": "matchMode",
          "type": "object",
          "description": "Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON"
        },
        "usernameFrom": {
          "title": "usernameFrom",
          "type": "object",
          "description": "The attribute in the certificate where the user name should be taken from. Allowed values: CERTIFICATE (for a specific attribute as defined in certificateAttributeName), UPN (for using any Subject or Alternative Name Attributes in the Certificate - an option only in AD)"
        },
        "name": {
          "title": "name",
          "type": "string",
          "description": "name"
        },
        "id": {
          "title": "id",
          "type": "string",
          "description": "Id"
        },
        "description": {
          "title": "description",
          "type": "string",
          "description": "Description"
        }
      }
    }
  }
}