{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/signicat/main/json-schema/signicat-custom-claim-dto-schema.json",
  "title": "CustomClaimDto",
  "description": "Represents a custom claim.",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/signicat-oidc-config-openapi.yml#/components/schemas/CustomClaimDto",
  "required": [
    "alias",
    "claim"
  ],
  "type": "object",
  "properties": {
    "id": {
      "maxLength": 100,
      "type": [
        "string",
        "null"
      ],
      "description": "The custom claim identifier"
    },
    "claim": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string",
      "description": "The claim to set an alias to"
    },
    "alias": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string",
      "description": "The alias to the claim"
    },
    "version": {
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ],
      "description": "Internal version of the custom claim (Read only)."
    }
  },
  "additionalProperties": false
}