openapi: 3.1.0
info:
  title: Signing Profile API
  description: REST API for managing Signing Profiles in the platform
  contact:
    name: ILM
    url: https://www.otilm.com
    email: ilm@omnitrust.com
  license:
    name: "Apache License, Version 2.0"
    url: https://github.com/OmniTrustILM/interface-documentation/blob/main/LICENSE.md
  version: 2.20.0
  x-logo:
    url: images/ilm-logo.svg
externalDocs:
  description: ILM Documentation
  url: https://docs.otilm.com
servers:
- url: https://demo.otilm.com/api
  description: ILM Demo server
tags:
- name: Signing Profile Management
  description: Signing Profile Management API
paths:
  /v1/signingProfiles/{uuid}:
    get:
      tags:
      - Signing Profile Management
      summary: "Details of a Signing Profile. If no specific version is provided,\
        \ the latest version will be returned."
      operationId: getSigningProfile
      parameters:
      - name: uuid
        in: path
        description: Signing Profile UUID
        required: true
        schema:
          type: string
          format: uuid
      - name: version
        in: query
        description: Specific version of the Signing Profile
        required: false
        schema:
          type: integer
          format: int32
      responses:
        "200":
          description: Signing Profile details retrieved
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/SigningProfileDto"
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
    put:
      tags:
      - Signing Profile Management
      summary: Update Signing Profile
      description: |-
        Request to update an existing Signing Profile.
        If there are existing Signing Records produced using this Signing Profile, creates a new version of Signing Profile.
        Otherwise updates the latest version in-place.
      operationId: updateSigningProfile
      parameters:
      - name: uuid
        in: path
        description: Signing Profile UUID
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/SigningProfileRequestDto"
        required: true
      responses:
        "502":
          description: Connector Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "503":
          description: Connector Communication Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "200":
          description: Signing Profile updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/SigningProfileDto"
        "409":
          description: Already Exists
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "422":
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
              example:
              - Error Message 1
              - Error Message 2
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
    delete:
      tags:
      - Signing Profile Management
      summary: Delete Signing Profile
      operationId: deleteSigningProfile
      parameters:
      - name: uuid
        in: path
        description: Signing Profile UUID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        "204":
          description: Signing Profile deleted
        "400":
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles:
    post:
      tags:
      - Signing Profile Management
      summary: Add new Signing Profile
      operationId: createSigningProfile
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/SigningProfileRequestDto"
        required: true
      responses:
        "502":
          description: Connector Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "503":
          description: Connector Communication Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "201":
          description: New Signing Profile added
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/SigningProfileDto"
        "409":
          description: Already Exists
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "422":
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
              example:
              - Error Message 1
              - Error Message 2
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
    delete:
      tags:
      - Signing Profile Management
      summary: Delete multiple Signing Profiles
      operationId: bulkDeleteSigningProfiles
      requestBody:
        description: Signing Profile UUIDs
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
            example:
            - c2f685d4-6a3e-11ec-90d6-0242ac120003
            - b9b09548-a97c-4c6a-a06a-e4ee6fc2da98
        required: true
      responses:
        "200":
          description: Signing Profiles deleted
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/BulkActionMessageDto"
        "422":
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
              example:
              - Error Message 1
              - Error Message 2
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/{uuid}/signingRecords:
    post:
      tags:
      - Signing Profile Management
      summary: List Signing Records produced under a Signing Profile
      description: "Returns a paginated, filterable list of all Signing Records that\
        \ were produced using this Signing Profile. Supports the same search and pagination\
        \ parameters as the top-level Signing Records listing."
      operationId: listSigningRecordsForSigningProfile
      parameters:
      - name: uuid
        in: path
        description: Signing Profile UUID
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/SearchRequestDto"
        required: true
      responses:
        "200":
          description: Signing Records retrieved
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/PaginationResponseDtoSigningRecordListDto"
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "422":
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
              example:
              - Error Message 1
              - Error Message 2
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/list:
    post:
      tags:
      - Signing Profile Management
      summary: List of available Signing Profiles
      operationId: listSigningProfiles
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/SearchRequestDto"
        required: true
      responses:
        "200":
          description: Signing Profiles retrieved
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/PaginationResponseDtoSigningProfileListDto"
        "422":
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
              example:
              - Error Message 1
              - Error Message 2
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/{uuid}/protocols/tsp/deactivate:
    patch:
      tags:
      - Signing Profile Management
      summary: Deactivate TSP for Signing Profile
      operationId: deactivateTsp
      parameters:
      - name: uuid
        in: path
        description: Signing Profile UUID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        "204":
          description: TSP deactivated
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/{uuid}/enable:
    patch:
      tags:
      - Signing Profile Management
      summary: Enable Signing Profile
      operationId: enableSigningProfile
      parameters:
      - name: uuid
        in: path
        description: Signing Profile UUID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        "204":
          description: Signing Profile enabled
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/{uuid}/disable:
    patch:
      tags:
      - Signing Profile Management
      summary: Disable Signing Profile
      operationId: disableSigningProfile
      parameters:
      - name: uuid
        in: path
        description: Signing Profile UUID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        "204":
          description: Signing Profile disabled
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/{signingProfileUuid}/protocols/tsp/activate/{tspProfileUuid}:
    patch:
      tags:
      - Signing Profile Management
      summary: Activate TSP for Signing Profile
      operationId: activateTsp
      parameters:
      - name: signingProfileUuid
        in: path
        description: Signing Profile UUID
        required: true
        schema:
          type: string
          format: uuid
      - name: tspProfileUuid
        in: path
        description: TSP Profile UUID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        "200":
          description: TSP activated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/TspActivationDetailDto"
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/enable:
    patch:
      tags:
      - Signing Profile Management
      summary: Enable multiple Signing Profiles
      operationId: bulkEnableSigningProfiles
      requestBody:
        description: Signing Profile UUIDs
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
            example:
            - c2f685d4-6a3e-11ec-90d6-0242ac120003
            - b9b09548-a97c-4c6a-a06a-e4ee6fc2da98
        required: true
      responses:
        "200":
          description: Signing Profiles enabled
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/BulkActionMessageDto"
        "422":
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
              example:
              - Error Message 1
              - Error Message 2
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/disable:
    patch:
      tags:
      - Signing Profile Management
      summary: Disable multiple Signing Profiles
      operationId: bulkDisableSigningProfiles
      requestBody:
        description: Signing Profile UUIDs
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
            example:
            - c2f685d4-6a3e-11ec-90d6-0242ac120003
            - b9b09548-a97c-4c6a-a06a-e4ee6fc2da98
        required: true
      responses:
        "200":
          description: Signing Profiles disabled
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/BulkActionMessageDto"
        "422":
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
              example:
              - Error Message 1
              - Error Message 2
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/{uuid}/protocols/tsp:
    get:
      tags:
      - Signing Profile Management
      summary: Get the activation details of the Timestamping Protocol (TSP) for Signing
        Profile
      operationId: getTspActivationDetails
      parameters:
      - name: uuid
        in: path
        description: Signing Profile UUID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        "200":
          description: TSP details retrieved
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/TspActivationDetailDto"
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/supportedProtocols:
    get:
      tags:
      - Signing Profile Management
      summary: List signing protocols supported for a given workflow type
      operationId: listSupportedProtocols
      parameters:
      - name: signingWorkflowType
        in: query
        description: Signing workflow type code (e.g. 'timestamping')
        required: true
        schema:
          $ref: "#/components/schemas/SigningWorkflowType"
      responses:
        "200":
          description: Supported protocols retrieved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/SigningProtocol"
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/signingCertificates:
    get:
      tags:
      - Signing Profile Management
      summary: Get list of certificates eligible to be used for digital signing
      operationId: listSigningCertificates
      parameters:
      - name: signingWorkflowType
        in: query
        description: Signing Workflow Type
        required: true
        schema:
          $ref: "#/components/schemas/SigningWorkflowType"
      - name: qualifiedTimestamp
        in: query
        description: "When true and signingWorkflowType is TIMESTAMPING, restricts\
          \ results to certificates that satisfy ETSI EN 319 421 qualified timestamp\
          \ requirements"
        required: false
        schema:
          type: boolean
          default: false
      - name: requireNonRepudiation
        in: query
        description: "When true and signingWorkflowType is CONTENT_SIGNING or RAW_SIGNING,\
          \ restricts results to certificates carrying the nonRepudiation key-usage\
          \ bit."
        required: false
        schema:
          type: boolean
          default: false
      - name: requiredExtendedKeyUsageOids
        in: query
        description: "When signingWorkflowType is CONTENT_SIGNING or RAW_SIGNING,\
          \ restricts results to certificates carrying all of these extended key usage\
          \ OIDs, in dot notation."
        required: false
        schema:
          type: array
          items:
            type: string
            example: 1.3.6.1.5.5.7.3.36
            pattern: "^([01]\\.(\\d|[1-3]\\d)|2\\.(0|[1-9]\\d*))(\\.(0|[1-9]\\d*)){0,49}$"
      responses:
        "200":
          description: List of certificates retrieved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/CertificateDto"
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/signatureFormattingConnectors/{connectorUuid}/formattingAttributes:
    get:
      tags:
      - Signing Profile Management
      summary: Get formatting attribute descriptors from a Signature Formatting Provider
      description: Queries the Signature Formatting Provider for its available formatting
        attribute descriptors with connector default values. Serves the timestamping
        workflow only. Content-signing formatting attributes are declared per operation
        under the Content Signing Formatting contract and are not returned here. The
        signingProfileUuid parameter is used for authorization only and does not affect
        the returned descriptors.
      operationId: listSignatureFormattingConnectorAttributes
      parameters:
      - name: connectorUuid
        in: path
        description: Signature Formatting Provider UUID
        required: true
        schema:
          type: string
          format: uuid
      - name: signingProfileUuid
        in: query
        description: Signing Profile UUID — used for authorization purposes only
        required: false
        schema:
          type: string
          format: uuid
      responses:
        "502":
          description: Connector Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "503":
          description: Connector Communication Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "200":
          description: Formatting attribute descriptors retrieved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/BaseAttributeDto"
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/signatureFormattingConnectors/{connectorUuid}/contentSigningFormattingAttributes:
    get:
      tags:
      - Signing Profile Management
      summary: Get content signing formatting attribute descriptors from a Signature
        Formatting Provider
      description: |-
        Returns the formatting attribute descriptors a content signing Signing Profile can reach,
        merged by name into one flat set carrying the connector's default values.
        family and maxLevel together name the workflow the Signing Profile will run, and the connector
        must be able to serve it; the descriptor set follows from maxLevel,
        so family does not narrow the returned descriptors.
        The signingProfileUuid parameter is used for authorization only and does not affect the
        returned descriptors.
      operationId: listContentSigningFormattingConnectorAttributes
      parameters:
      - name: connectorUuid
        in: path
        description: Signature Formatting Provider UUID
        required: true
        schema:
          type: string
          format: uuid
      - name: family
        in: query
        description: Signature family the Signing Profile produces
        required: true
        schema:
          $ref: "#/components/schemas/SignatureFamily"
      - name: maxLevel
        in: query
        description: Highest signature level the Signing Profile may reach
        required: true
        schema:
          $ref: "#/components/schemas/SignatureLevel"
      - name: signingProfileUuid
        in: query
        description: Signing Profile UUID — used for authorization purposes only
        required: false
        schema:
          type: string
          format: uuid
      responses:
        "502":
          description: Connector Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "503":
          description: Connector Communication Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "200":
          description: Formatting attribute descriptors retrieved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/BaseAttributeDto"
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "422":
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
              example:
              - Error Message 1
              - Error Message 2
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/search:
    get:
      tags:
      - Signing Profile Management
      summary: List search filters for Signing Profiles
      operationId: listSigningProfileSearchableFields
      responses:
        "200":
          description: List of search filters retrieved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/SearchFieldDataByGroupDto"
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
  /v1/signingProfiles/certificates/{certificateUuid}/signatureAttributes:
    get:
      tags:
      - Signing Profile Management
      summary: Get signing operation attribute descriptors for a certificate
      description: "Returns the signing operation attribute descriptors (e.g. signature\
        \ scheme, digest algorithm) for the key of the given certificate. Intended\
        \ for use during Signing Profile creation to populate the signingOperationAttributes\
        \ field."
      operationId: listSignatureAttributesForCertificate
      parameters:
      - name: certificateUuid
        in: path
        description: Certificate UUID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        "502":
          description: Connector Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "503":
          description: Connector Communication Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "200":
          description: Signature attribute descriptors retrieved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/BaseAttributeDto"
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorMessageDto"
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthenticationServiceExceptionDto"
        "500":
          description: Internal Server Error
      security:
      - SessionAuth: []
      - CertificateAuth: []
      - BearerJWTAuth: []
components:
  schemas:
    ApiKeySecretContent:
      type: object
      description: Secret representing an API Key
      properties:
        type:
          $ref: "#/components/schemas/SecretType"
          description: Secret type
          examples:
          - apiKey
        content:
          type: string
          description: API Key content string
          minLength: 1
      required:
      - content
      - type
      title: ApiKeySecretContent
    AttributeCallback:
      type: object
      properties:
        callbackContext:
          type: string
          description: Context part of callback URL
        callbackMethod:
          type: string
          description: HTTP method of the callback. This value is required for connector
            callbacks and optional only for callbacks defined on resource objects.
        mappings:
          type: array
          description: Mappings for the callback method
          items:
            $ref: "#/components/schemas/AttributeCallbackMapping"
          uniqueItems: true
        dependsOn:
          type: array
          description: "Names of the attributes, within this same form, whose values\
            \ this Attributes v2 callback consumes and is triggered by. Providing\
            \ this field — even as an empty list — marks the callback as an Attributes\
            \ v2 callback; an empty list means the callback fires once when the form\
            \ opens (it depends on no other field). At most one of dependsOn or callbackContext\
            \ may be set; a callback with neither field set defines no callback. Not\
            \ allowed on RESOURCE attributes. These rules are enforced by the platform."
          items:
            type: string
      required:
      - mappings
    AttributeCallbackMapping:
      type: object
      properties:
        from:
          type: string
          description: Name of the attribute whose value is to be used as value of
            path variable or request param or body field.It is optional and must be
            set only if value is not set.
        attributeType:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the attribute. It is optional and must be set only
            if special behaviour is needed.
        attributeContentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: 'Type of the attribute content. '
        to:
          type: string
          description: Name of the path variable or request param or body field which
            is to be used to assign value of attribute
        targets:
          type: array
          description: Set of targets for propagating value.
          items:
            $ref: "#/components/schemas/AttributeValueTarget"
          uniqueItems: true
        value:
          description: Static value to be propagated to targets. It is optional and
            is set only if the value is known at attribute creation time.
      required:
      - targets
      - to
    AttributeConstraintType:
      type: string
      enum:
      - regExp
      - range
      - dateTime
      - jsonSchema
    AttributeContentType:
      type: string
      enum:
      - string
      - text
      - integer
      - boolean
      - float
      - date
      - time
      - datetime
      - secret
      - file
      - credential
      - codeblock
      - object
      - resource
    AttributeResource:
      type: string
      enum:
      - certificates
      - credentials
      - authorities
      - entities
      - locations
      - secrets
    AttributeType:
      type: string
      enum:
      - data
      - group
      - info
      - meta
      - custom
    AttributeValueTarget:
      type: string
      enum:
      - pathVariable
      - requestParameter
      - body
      - filter
    AttributeVersion:
      type: string
      enum:
      - v2
      - v3
    BaseAttributeConstraint:
      type: object
      description: Base Attribute Constraint definition
      discriminator:
        propertyName: type
        mapping:
          regExp: "#/components/schemas/RegexpAttributeConstraint"
          range: "#/components/schemas/RangeAttributeConstraint"
          dateTime: "#/components/schemas/DateTimeAttributeConstraint"
          jsonSchema: "#/components/schemas/JsonSchemaAttributeConstraint"
      oneOf:
      - $ref: "#/components/schemas/RegexpAttributeConstraint"
      - $ref: "#/components/schemas/RangeAttributeConstraint"
      - $ref: "#/components/schemas/DateTimeAttributeConstraint"
      - $ref: "#/components/schemas/JsonSchemaAttributeConstraint"
      properties:
        description:
          type: string
          description: Description of the constraint
        errorMessage:
          type: string
          description: Error message to be displayed for wrong data
        type:
          $ref: "#/components/schemas/AttributeConstraintType"
          description: Attribute Constraint Type
      required:
      - type
    BaseAttributeContentDtoV2:
      type: object
      description: Base Attribute ContentV2 definition
      oneOf:
      - $ref: "#/components/schemas/BooleanAttributeContentV2"
      - $ref: "#/components/schemas/CodeBlockAttributeContentV2"
      - $ref: "#/components/schemas/CredentialAttributeContentV2"
      - $ref: "#/components/schemas/DateAttributeContentV2"
      - $ref: "#/components/schemas/DateTimeAttributeContentV2"
      - $ref: "#/components/schemas/FileAttributeContentV2"
      - $ref: "#/components/schemas/FloatAttributeContentV2"
      - $ref: "#/components/schemas/IntegerAttributeContentV2"
      - $ref: "#/components/schemas/ObjectAttributeContentV2"
      - $ref: "#/components/schemas/SecretAttributeContentV2"
      - $ref: "#/components/schemas/StringAttributeContentV2"
      - $ref: "#/components/schemas/TextAttributeContentV2"
      - $ref: "#/components/schemas/TimeAttributeContentV2"
      properties:
        reference:
          type: string
          description: ContentV2 Reference
    BaseAttributeContentDtoV3:
      description: Base Attribute Content
      discriminator:
        propertyName: contentType
        mapping:
          boolean: "#/components/schemas/BooleanAttributeContentV3"
          codeblock: "#/components/schemas/CodeBlockAttributeContentV3"
          date: "#/components/schemas/DateAttributeContentV3"
          datetime: "#/components/schemas/DateTimeAttributeContentV3"
          file: "#/components/schemas/FileAttributeContentV3"
          float: "#/components/schemas/FloatAttributeContentV3"
          integer: "#/components/schemas/IntegerAttributeContentV3"
          object: "#/components/schemas/ObjectAttributeContentV3"
          string: "#/components/schemas/StringAttributeContentV3"
          text: "#/components/schemas/TextAttributeContentV3"
          time: "#/components/schemas/TimeAttributeContentV3"
          resource: "#/components/schemas/ResourceObjectContent"
      oneOf:
      - $ref: "#/components/schemas/BooleanAttributeContentV3"
      - $ref: "#/components/schemas/CodeBlockAttributeContentV3"
      - $ref: "#/components/schemas/DateAttributeContentV3"
      - $ref: "#/components/schemas/DateTimeAttributeContentV3"
      - $ref: "#/components/schemas/FileAttributeContentV3"
      - $ref: "#/components/schemas/FloatAttributeContentV3"
      - $ref: "#/components/schemas/IntegerAttributeContentV3"
      - $ref: "#/components/schemas/ObjectAttributeContentV3"
      - $ref: "#/components/schemas/StringAttributeContentV3"
      - $ref: "#/components/schemas/TextAttributeContentV3"
      - $ref: "#/components/schemas/TimeAttributeContentV3"
      - $ref: "#/components/schemas/ResourceObjectContent"
    BasicAuthSecretContent:
      type: object
      description: Secret representing Basic Authentication credentials
      properties:
        type:
          $ref: "#/components/schemas/SecretType"
          description: Secret type
          examples:
          - apiKey
        username:
          type: string
          description: Username for Basic Authentication
          example: admin
          minLength: 1
        password:
          type: string
          description: Password for Basic Authentication
          minLength: 1
      required:
      - password
      - type
      - username
      title: BasicAuthSecretContent
    BooleanAttributeContentV2:
      type: object
      description: Boolean attribute content to store true/false values
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          type: boolean
          description: Boolean attribute value
      required:
      - data
    BooleanAttributeContentV3:
      type: object
      description: Boolean attribute content to store true/false values
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          type: boolean
          description: Boolean attribute value
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Boolean attribute value
      required:
      - contentType
      - data
    CertificateType:
      type: string
      enum:
      - X.509
      - SSH
    CodeBlockAttributeContentData:
      type: object
      properties:
        language:
          $ref: "#/components/schemas/ProgrammingLanguageEnum"
          description: Definition of programming languages used for code
          examples:
          - "JAVA, PHP, C, etc"
        code:
          type: string
          description: Block of the code in Base64. Formatting of the code is specified
            by variable language
      required:
      - code
      - language
    CodeBlockAttributeContentV2:
      type: object
      description: Codeblock attribute content to store encoded snippets of programming
        language code
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          $ref: "#/components/schemas/CodeBlockAttributeContentData"
          description: CodeBlock attribute content data
      required:
      - data
    CodeBlockAttributeContentV3:
      type: object
      description: Codeblock attribute content to store encoded snippets of programming
        language code
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          $ref: "#/components/schemas/CodeBlockAttributeContentData"
          description: CodeBlock attribute content data
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    ContentSigningWorkflowRequestDto:
      type: object
      description: Content signing workflow configuration request. The validation
        material that LONG_TERM and ARCHIVAL embed is fetched by the Signature Formatting
        Provider and needs no configuration here.
      properties:
        type:
          $ref: "#/components/schemas/SigningWorkflowType"
          description: Signing workflow type
          examples:
          - timestamping
        signatureFormattingConnectorUuid:
          type: string
          format: uuid
          description: UUID of the Signature Formatting Provider that constructs the
            data-to-be-signed (DTBS) for Content signing. Required for ILM-managed
            signing; must be omitted for delegated signing.
        signatureFormattingConnectorAttributes:
          type: array
          description: Attributes for the Signature Formatting Provider that control
            DTBS construction for the content signing workflow. Must be omitted for
            delegated signing.
          items:
            $ref: "#/components/schemas/RequestAttribute"
        family:
          $ref: "#/components/schemas/SignatureFamily"
          description: Signature family this profile produces. Required for ILM-managed
            signing; must be omitted for delegated signing.
        maxLevel:
          $ref: "#/components/schemas/SignatureLevel"
          description: Highest signature level a request may ask for. A request asking
            for more is rejected. Required for ILM-managed signing; must be omitted
            for delegated signing.
        timestampSource:
          $ref: "#/components/schemas/TimestampSourceRequestDto"
          description: "Source of the timestamps embedded at level TIMESTAMPED and\
            \ above. Required when maxLevel is TIMESTAMPED or higher, and must be\
            \ omitted when maxLevel is SIGNED, which embeds no timestamp. Must be\
            \ omitted for delegated signing."
        documentSizeCap:
          type: integer
          format: int64
          description: "Largest document accepted for signing, in bytes. Enforced\
            \ when an ILM-managed signing request arrives. When omitted, no profile-level\
            \ cap applies."
          example: 5242880
          exclusiveMinimum: 0
        requireNonRepudiation:
          type: boolean
          description: "Demand the nonRepudiation key-usage bit specifically, for\
            \ commitment-grade profiles. Applies to ILM-managed signing only. For\
            \ delegated signing, omit it or send false; an echoed false from a response\
            \ is accepted, true is rejected."
        requiredExtendedKeyUsageOids:
          type: array
          description: "Extended key usage OIDs the signing certificate must all carry,\
            \ in dot notation (1.3.6.1.5.5.7.3.36 is RFC 9336 id-kp-documentSigning).\
            \ An empty set accepts any extended key usage. Applies to ILM-managed\
            \ signing only; for delegated signing send nothing or an empty set."
          items:
            type: string
            minLength: 1
            pattern: "^([01]\\.(\\d|[1-3]\\d)|2\\.(0|[1-9]\\d*))(\\.(0|[1-9]\\d*)){0,49}$"
          uniqueItems: true
      required:
      - type
    CredentialAttributeContentData:
      type: object
      properties:
        uuid:
          type: string
          description: Object identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Object Name
          examples:
          - Name
        kind:
          type: string
          description: Credential Kind
          examples:
          - "SoftKeyStore, Basic, ApiKey, etc"
        attributes:
          type: array
          description: List of Credential Attributes
          items:
            $ref: "#/components/schemas/DataAttributeV2"
      required:
      - attributes
      - kind
      - name
      - uuid
    CredentialAttributeContentV2:
      type: object
      description: Credential attribute content carrying information about credential
        to use
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          $ref: "#/components/schemas/CredentialAttributeContentData"
          description: Credential attribute content data
      required:
      - data
    DataAttributeProperties:
      type: object
      properties:
        label:
          type: string
          description: Friendly name of the the Attribute
          examples:
          - Attribute Name
        visible:
          type: boolean
          default: true
          description: "Boolean determining if the Attribute is visible and can be\
            \ displayed, otherwise it should be hidden to the user."
        group:
          type: string
          description: "Group of the Attribute, used for the logical grouping of the\
            \ Attribute"
          examples:
          - requiredAttributes
        required:
          type: boolean
          default: false
          description: "Boolean determining if the Attribute is required. If true,\
            \ the Attribute must be provided."
        readOnly:
          type: boolean
          default: false
          description: "Boolean determining if the Attribute is read only. If true,\
            \ the Attribute content cannot be changed."
        list:
          type: boolean
          default: false
          description: Boolean determining if the Attribute contains list of values
            in the content
        multiSelect:
          type: boolean
          default: false
          description: Boolean determining if the Attribute can have multiple values
        protectionLevel:
          $ref: "#/components/schemas/ProtectionLevel"
          default: none
          description: Protection level of the attribute content
        resource:
          $ref: "#/components/schemas/AttributeResource"
          description: "Resource of the attribute, relevant if the attribute has Resource\
            \ content type"
        extensibleList:
          type: boolean
          default: false
          description: Boolean determining if a list Attribute can have values other
            than predefined options
      required:
      - extensibleList
      - label
      - list
      - multiSelect
      - readOnly
      - required
      - visible
    DataAttributeV2:
      type: object
      description: Data attribute allows to store and transfer dynamic data. Its content
        can be edited and send in requests to store.
      properties:
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        version:
          type: integer
          format: int32
          description: Version of the attribute
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        content:
          type: array
          description: Content of the Attribute
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV2"
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Type of the Content
        properties:
          $ref: "#/components/schemas/DataAttributeProperties"
          description: Properties of the Attributes
        constraints:
          type: array
          description: Optional constraints used for validating the Attribute content
          items:
            $ref: "#/components/schemas/BaseAttributeConstraint"
        attributeCallback:
          $ref: "#/components/schemas/AttributeCallback"
          description: Optional definition of callback for getting the content of
            the Attribute based on the action
      required:
      - contentType
      - name
      - properties
      - type
      - uuid
      - version
    DateAttributeContentV2:
      type: object
      description: Date attribute content in predefined format
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          type: string
          format: date
          description: Date attribute value in format yyyy-MM-dd
      required:
      - data
    DateAttributeContentV3:
      type: object
      description: Date attribute content in predefined format
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          type: string
          format: date
          description: Date attribute value in format yyyy-MM-dd
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    DateTimeAttributeConstraint:
      type: object
      description: DateTime attribute constraint to specify boundaries for date value
      properties:
        description:
          type: string
          description: Description of the constraint
        errorMessage:
          type: string
          description: Error message to be displayed for wrong data
        type:
          $ref: "#/components/schemas/AttributeConstraintType"
          description: Attribute Constraint Type
        data:
          $ref: "#/components/schemas/DateTimeAttributeConstraintData"
          description: DateTime Range Attribute Constraint Data
      required:
      - type
    DateTimeAttributeConstraintData:
      type: object
      properties:
        from:
          type: string
          format: date-time
          description: Start of the datetime for validation
        to:
          type: string
          format: date-time
          description: End of the datetime for validation
    DateTimeAttributeContentV2:
      type: object
      description: DateTime attribute content in predefined format with timezone
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          type: string
          format: date-time
          description: DateTime attribute value in format yyyy-MM-ddTHH:mm:ss.SSSXXX
      required:
      - data
    DateTimeAttributeContentV3:
      type: object
      description: DateTime attribute content in predefined format with timezone
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          type: string
          format: date-time
          description: DateTime attribute value in format yyyy-MM-ddTHH:mm:ss.SSSXXX
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    DelegatedSigningRequestDto:
      type: object
      description: Request to configure delegated signing with Connector and attributes
      properties:
        signingScheme:
          $ref: "#/components/schemas/SigningScheme"
          description: Signing scheme
          examples:
          - managed
        connectorUuid:
          type: string
          format: uuid
          description: UUID of the Connector to use for delegated signing
        attributes:
          type: array
          description: List of attributes for the Connector
          items:
            $ref: "#/components/schemas/RequestAttribute"
      required:
      - connectorUuid
      - signingScheme
    DigestAlgorithm:
      type: string
      enum:
      - MD5
      - SHA-1
      - SHA-224
      - SHA-256
      - SHA-384
      - SHA-512
      - SHA3-256
      - SHA3-384
      - SHA3-512
    FileAttributeContentData:
      type: object
      properties:
        content:
          type: string
          description: File content
        fileName:
          type: string
          description: Name of the file
        mimeType:
          type: string
          description: Type of the file uploaded
      required:
      - content
      - fileName
      - mimeType
    FileAttributeContentV2:
      type: object
      description: File attribute content for storing encoded file content with additional
        info
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          $ref: "#/components/schemas/FileAttributeContentData"
          description: File attribute content data
      required:
      - data
    FileAttributeContentV3:
      type: object
      description: File attribute content for storing encoded file content with additional
        info
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          $ref: "#/components/schemas/FileAttributeContentData"
          description: File attribute content data
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    FloatAttributeContentV2:
      type: object
      description: Float attribute content for decimal numbers
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          type: number
          format: float
          description: Float attribute value
      required:
      - data
    FloatAttributeContentV3:
      type: object
      description: Float attribute content for decimal numbers
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          type: number
          format: float
          description: Float attribute value
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    GenericSecretContent:
      type: object
      description: Secret representing generic content represented as string
      properties:
        type:
          $ref: "#/components/schemas/SecretType"
          description: Secret type
          examples:
          - apiKey
        content:
          type: string
          description: "Generic secret content represented as string. In case secret\
            \ content is binary data, it should be encoded as BASE64 string."
          minLength: 1
      required:
      - content
      - type
      title: GenericSecretContent
    IntegerAttributeContentV2:
      type: object
      description: Integer attribute content for integer numbers
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          type: integer
          format: int32
          description: Integer attribute value
      required:
      - data
    IntegerAttributeContentV3:
      type: object
      description: Integer attribute content for integer numbers
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          type: integer
          format: int32
          description: Integer attribute value
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    InternalTimestampSourceRequestDto:
      type: object
      description: "Timestamp source referencing a Timestamping Signing Profile on\
        \ this platform by UUID, as supplied on create and update"
      properties:
        signingProfileUuid:
          type: string
          format: uuid
          description: UUID of the Timestamping Signing Profile that issues the timestamps.
            ILM rejects a UUID that is not a Timestamping profile.
        type:
          $ref: "#/components/schemas/TimestampSourceType"
          description: "Kind of timestamp source, and the discriminator selecting\
            \ the fields that accompany it"
          examples:
          - internal
      required:
      - signingProfileUuid
      - type
    JsonSchemaAttributeConstraint:
      type: object
      description: JSON Schema attribute constraint restricting a string value to
        JSON conforming to an inline JSON Schema (draft 2020-12)
      properties:
        description:
          type: string
          description: Description of the constraint
        errorMessage:
          type: string
          description: Error message to be displayed for wrong data
        type:
          $ref: "#/components/schemas/AttributeConstraintType"
          description: Attribute Constraint Type
        data:
          type: string
          description: Inline JSON Schema document the value must conform to
          minLength: 1
      required:
      - data
      - type
    JwtTokenSecretContent:
      type: object
      description: Secret representing JWT Token
      properties:
        type:
          $ref: "#/components/schemas/SecretType"
          description: Secret type
          examples:
          - apiKey
        content:
          type: string
          description: "JWT Token content in compact (dot-separated) format specified\
            \ in [RFC 7519](https://datatracker.ietf.org/doc/html/rfc7519#section-3)"
          example: eyJ0eXAiOiJKV1QiLA0KICJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ.dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
          minLength: 1
      required:
      - content
      - type
      title: JwtTokenSecretContent
    KeyStoreSecretContent:
      type: object
      description: Secret representing Key Store
      properties:
        type:
          $ref: "#/components/schemas/SecretType"
          description: Secret type
          examples:
          - apiKey
        keyStoreType:
          $ref: "#/components/schemas/KeyStoreType"
          description: Key Store type
        content:
          type: string
          description: BASE64 encoded content of key store
          minLength: 1
        password:
          type: string
          description: Password for key store
      required:
      - content
      - keyStoreType
      - password
      - type
      title: KeyStoreSecretContent
    KeyStoreType:
      type: string
      enum:
      - JKS
      - PKCS12
    KeyValueSecretContent:
      type: object
      description: Secret representing key-value pairs
      properties:
        type:
          $ref: "#/components/schemas/SecretType"
          description: Secret type
          examples:
          - apiKey
        content:
          type: object
          additionalProperties: {}
          description: "Key-Value pairs stored as the secret content, represented\
            \ by JSON object"
      required:
      - content
      - type
      title: KeyValueSecretContent
    ManagedSigningRequestSchemeInterface:
      type: object
      description: Managed signing request configuration dependent on the managed
        signing type
      discriminator:
        propertyName: managedSigningType
        mapping:
          static_key: "#/components/schemas/StaticKeyManagedSigningRequestDto"
          one_time_key: "#/components/schemas/OneTimeKeyManagedSigningRequestDto"
      oneOf:
      - $ref: "#/components/schemas/StaticKeyManagedSigningRequestDto"
      - $ref: "#/components/schemas/OneTimeKeyManagedSigningRequestDto"
      required:
      - managedSigningType
    ManagedSigningType:
      type: string
      enum:
      - static_key
      - one_time_key
    ObjectAttributeContentV2:
      type: object
      description: Object attribute content for data with custom structure
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          description: Object attribute content data
      required:
      - data
    ObjectAttributeContentV3:
      type: object
      description: Object attribute content for data with custom structure
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          description: Object attribute content data
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    OneTimeKeyManagedSigningRequestDto:
      type: object
      description: Request to configure managed signing with a one-time certificate
        issuance
      properties:
        signingScheme:
          $ref: "#/components/schemas/SigningScheme"
          description: Signing scheme
          examples:
          - managed
        managedSigningType:
          $ref: "#/components/schemas/ManagedSigningType"
          description: Managed signing type
        raProfileUuid:
          type: string
          format: uuid
          description: UUID of the RA Profile used to issue the one-time signing certificate
        csrTemplateUuid:
          type: string
          format: uuid
          description: UUID of the CSR Template used for the certificate issuance
            request
        tokenProfileUuid:
          type: string
          format: uuid
          description: UUID of the Token Profile used to store and manage the issued
            certificate and key pair
        signingOperationAttributes:
          type: array
          description: "List of attributes required for signing operations (such as\
            \ digest algorithm), provided by the Cryptography Provider Connector"
          items:
            $ref: "#/components/schemas/RequestAttribute"
      required:
      - csrTemplateUuid
      - managedSigningType
      - raProfileUuid
      - signingOperationAttributes
      - signingScheme
      - tokenProfileUuid
    PrivateKeySecretContent:
      type: object
      description: Secret representing private key
      properties:
        type:
          $ref: "#/components/schemas/SecretType"
          description: Secret type
          examples:
          - apiKey
        content:
          type: string
          description: BASE64 encoded content of key in PEM format
          minLength: 1
      required:
      - content
      - type
      title: PrivateKeySecretContent
    ProgrammingLanguageEnum:
      type: string
      enum:
      - apacheconf
      - bash
      - basic
      - c
      - csharp
      - cpp
      - css
      - docker
      - fsharp
      - gherkin
      - git
      - go
      - graphql
      - html
      - http
      - ini
      - java
      - javascript
      - json
      - kotlin
      - latex
      - lisp
      - makefile
      - markdown
      - matlab
      - nginx
      - objectivec
      - perl
      - php
      - powershell
      - properties
      - python
      - ruby
      - rust
      - smalltalk
      - sql
      - typescript
      - vbnet
      - xquery
      - xml
      - yaml
    ProtectionLevel:
      type: string
      enum:
      - none
      - encrypted
    RangeAttributeConstraint:
      type: object
      description: Range attribute constraint to specify boundaries for integer value
      properties:
        description:
          type: string
          description: Description of the constraint
        errorMessage:
          type: string
          description: Error message to be displayed for wrong data
        type:
          $ref: "#/components/schemas/AttributeConstraintType"
          description: Attribute Constraint Type
        data:
          $ref: "#/components/schemas/RangeAttributeConstraintData"
          description: Integer Range Attribute Constraint Data
      required:
      - type
    RangeAttributeConstraintData:
      type: object
      properties:
        from:
          type: integer
          format: int32
          description: Start of the range for validation
        to:
          type: integer
          format: int32
          description: End of the range for validation
    RawSigningWorkflowRequestDto:
      type: object
      description: Raw signing workflow configuration request.
      properties:
        type:
          $ref: "#/components/schemas/SigningWorkflowType"
          description: Signing workflow type
          examples:
          - timestamping
      required:
      - type
    RegexpAttributeConstraint:
      type: object
      description: RegExp attribute constraint to restrict string value by regular
        expression
      properties:
        description:
          type: string
          description: Description of the constraint
        errorMessage:
          type: string
          description: Error message to be displayed for wrong data
        type:
          $ref: "#/components/schemas/AttributeConstraintType"
          description: Attribute Constraint Type
        data:
          type: string
          description: Regular Expression Attribute Constraint Data
      required:
      - type
    RequestAttribute:
      type: object
      description: Request attribute to send attribute content for object
      discriminator:
        propertyName: version
        mapping:
          v2: "#/components/schemas/RequestAttributeV2"
          v3: "#/components/schemas/RequestAttributeV3"
      oneOf:
      - $ref: "#/components/schemas/RequestAttributeV3"
      - $ref: "#/components/schemas/RequestAttributeV2"
      required:
      - contentType
      - name
      - uuid
      - version
    RequestAttributeV2:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
          description: UUID of the Attribute
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute
          examples:
          - Attribute
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the Attribute
          examples:
          - Attribute
        content:
          type: array
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV2"
        version:
          $ref: "#/components/schemas/AttributeVersion"
          description: Version of the Attribute
      required:
      - contentType
      - name
      - uuid
      - version
    RequestAttributeV3:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
          description: UUID of the Attribute
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute
          examples:
          - Attribute
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the Attribute
          examples:
          - Attribute
        content:
          type: array
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV3"
        version:
          $ref: "#/components/schemas/AttributeVersion"
          description: Version of the Attribute
      required:
      - contentType
      - name
      - uuid
      - version
    ResourceCertificateContentData:
      type: object
      description: Content data for resource object attribute containing certificate
        content
      properties:
        uuid:
          type: string
          description: Resource identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Resource name
          examples:
          - Main authority
        resource:
          $ref: "#/components/schemas/AttributeResource"
          description: Resource contained in data
          example: authorities
        certificateType:
          $ref: "#/components/schemas/CertificateType"
          description: Certificate type
        content:
          type: string
          description: Base64 encoded content of the certificate
      required:
      - name
      - resource
      - uuid
      title: ResourceCertificateContentData
    ResourceObjectContent:
      type: object
      description: Resource object attribute content carrying resource object data
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          $ref: "#/components/schemas/ResourceObjectContentData"
          description: Resource Object content data
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    ResourceObjectContentData:
      type: object
      discriminator:
        propertyName: resource
        mapping:
          authorities: "#/components/schemas/ResourceSimpleContentData"
          entities: "#/components/schemas/ResourceSimpleContentData"
          locations: "#/components/schemas/ResourceSimpleContentData"
          credentials: "#/components/schemas/ResourceSimpleContentData"
          certificates: "#/components/schemas/ResourceCertificateContentData"
          secrets: "#/components/schemas/ResourceSecretContentData"
      oneOf:
      - $ref: "#/components/schemas/ResourceSimpleContentData"
      - $ref: "#/components/schemas/ResourceCertificateContentData"
      - $ref: "#/components/schemas/ResourceSecretContentData"
      required:
      - name
      - resource
      - uuid
    ResourceSecretContentData:
      type: object
      description: Content data for resource object attribute containing secret content
      properties:
        uuid:
          type: string
          description: Resource identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Resource name
          examples:
          - Main authority
        resource:
          $ref: "#/components/schemas/AttributeResource"
          description: Resource contained in data
          example: authorities
        content:
          $ref: "#/components/schemas/SecretContent"
          description: Secret content of the resource object
      required:
      - name
      - resource
      - uuid
      title: ResourceSecretContentData
    ResourceSimpleContentData:
      type: object
      description: Content data for resource object defined by its attributes
      properties:
        resource:
          $ref: "#/components/schemas/AttributeResource"
          description: Resource contained in data
          example: authorities
        uuid:
          type: string
          description: Resource identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Resource name
          examples:
          - Main authority
        attributes:
          type: array
          description: Attributes of the resource object
          items:
            $ref: "#/components/schemas/ResponseAttribute"
      required:
      - name
      - resource
      - uuid
      title: ResourceSimpleContentData
    ResponseAttribute:
      type: object
      description: Response attribute to send attribute content for object
      discriminator:
        propertyName: version
        mapping:
          v2: "#/components/schemas/ResponseAttributeV2"
          v3: "#/components/schemas/ResponseAttributeV3"
      oneOf:
      - $ref: "#/components/schemas/ResponseAttributeV2"
      - $ref: "#/components/schemas/ResponseAttributeV3"
      required:
      - contentType
      - label
      - name
      - type
      - uuid
      - version
    ResponseAttributeV2:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV2"
        uuid:
          type: string
          format: uuid
          description: UUID of the Attribute
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute
          examples:
          - Attribute
        label:
          type: string
          description: Label of the the Attribute
          examples:
          - Attribute Name
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the Attribute
          examples:
          - Attribute
        version:
          $ref: "#/components/schemas/AttributeVersion"
          description: Version of the Attribute
      required:
      - contentType
      - label
      - name
      - type
      - uuid
      - version
    ResponseAttributeV3:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV3"
        uuid:
          type: string
          format: uuid
          description: UUID of the Attribute
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute
          examples:
          - Attribute
        label:
          type: string
          description: Label of the the Attribute
          examples:
          - Attribute Name
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the Attribute
          examples:
          - Attribute
        version:
          $ref: "#/components/schemas/AttributeVersion"
          description: Version of the Attribute
      required:
      - contentType
      - label
      - name
      - type
      - uuid
      - version
    SecretAttributeContentData:
      type: object
      properties:
        secret:
          type: string
          description: Secret attribute data
        protectionLevel:
          $ref: "#/components/schemas/ProtectionLevel"
          description: Level of protection of the data
    SecretAttributeContentV2:
      type: object
      description: Secret attribute content carrying secrets with defined protection
        level
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          $ref: "#/components/schemas/SecretAttributeContentData"
          description: Secret attribute content data
      required:
      - data
    SecretContent:
      type: object
      description: Secret content dependent on secret type
      discriminator:
        propertyName: type
        mapping:
          basicAuth: "#/components/schemas/BasicAuthSecretContent"
          apiKey: "#/components/schemas/ApiKeySecretContent"
          jwtToken: "#/components/schemas/JwtTokenSecretContent"
          privateKey: "#/components/schemas/PrivateKeySecretContent"
          secretKey: "#/components/schemas/SecretKeySecretContent"
          keyStore: "#/components/schemas/KeyStoreSecretContent"
          keyValue: "#/components/schemas/KeyValueSecretContent"
          generic: "#/components/schemas/GenericSecretContent"
      oneOf:
      - $ref: "#/components/schemas/BasicAuthSecretContent"
      - $ref: "#/components/schemas/ApiKeySecretContent"
      - $ref: "#/components/schemas/JwtTokenSecretContent"
      - $ref: "#/components/schemas/PrivateKeySecretContent"
      - $ref: "#/components/schemas/SecretKeySecretContent"
      - $ref: "#/components/schemas/KeyStoreSecretContent"
      - $ref: "#/components/schemas/KeyValueSecretContent"
      - $ref: "#/components/schemas/GenericSecretContent"
      required:
      - type
    SecretKeySecretContent:
      type: object
      description: Secret representing secret key
      properties:
        type:
          $ref: "#/components/schemas/SecretType"
          description: Secret type
          examples:
          - apiKey
        content:
          type: string
          description: BASE64 encoded binary (raw) content of key
          minLength: 1
      required:
      - content
      - type
      title: SecretKeySecretContent
    SecretType:
      type: string
      enum:
      - basicAuth
      - apiKey
      - jwtToken
      - privateKey
      - secretKey
      - keyStore
      - keyValue
      - generic
    SignatureFamily:
      type: string
      description: "Signature family, naming the standard and document format a signature\
        \ follows"
      enum:
      - pades
      - xades
      - cades
      - jades
    SignatureLevel:
      type: string
      description: "Level a signature has reached, ordered from SIGNED up to ARCHIVAL\
        \ with each level containing the one before it"
      enum:
      - signed
      - timestamped
      - long_term
      - archival
    SigningProfileRequestDto:
      type: object
      description: Request to create or update a Signing Profile
      properties:
        name:
          type: string
          description: Name of the Signing Profile
          example: SigningProfile-1
          minLength: 1
        description:
          type: string
          description: Description of the Signing Profile
          example: Profile for content signing
        signingScheme:
          $ref: "#/components/schemas/SigningSchemeRequestInterface"
          description: Signing scheme configuration (who holds the key and how the
            cryptographic operation is performed)
        workflow:
          $ref: "#/components/schemas/WorkflowRequestInterface"
          description: Workflow-type-specific configuration.
        customAttributes:
          type: array
          description: List of Custom Attributes
          items:
            $ref: "#/components/schemas/RequestAttribute"
        recordPolicy:
          $ref: "#/components/schemas/SigningRecordPolicyRequestDto"
          description: "Signing Record policy. When omitted, defaults are used (no\
            \ signing record)."
      required:
      - name
      - signingScheme
      - workflow
    SigningRecordPersistenceMode:
      type: string
      description: "Persistence mode for Signing Records, ordered by descending durability"
      enum:
      - immediate
      - deferred_durable
      - best_effort
    SigningRecordPolicyRequestDto:
      type: object
      description: Per-profile policy for what to record about each signing operation
      properties:
        recordingEnabled:
          type: boolean
          default: true
          description: "Master switch: when false, no Signing Record is created at\
            \ all for this profile, regardless of the content policy below. When true,\
            \ a record is always created (capturing the content selected below, or\
            \ metadata-only if none is selected)."
        recordRequestMetadata:
          type: boolean
          description: "Content policy: capture inbound request parameters (algorithm,\
            \ policy IDs, claimed signer)"
        recordSignature:
          type: boolean
          description: "Content policy: capture raw signature value"
        recordSignedDocument:
          type: boolean
          description: "Content policy: capture assembled signed document (only valid\
            \ for CONTENT_SIGNING and TIMESTAMPING workflows)"
        recordDtbs:
          type: boolean
          description: "Content policy: capture data-to-be-signed bytes"
        retentionDays:
          type: integer
          format: int32
          description: Retention in days. null = retain indefinitely. Minimum is 1
            day.
          minimum: 1
        deleteAfterRetrieval:
          type: boolean
          description: Delete the signed document after CSC API async retrieval succeeds
        persistenceMode:
          $ref: "#/components/schemas/SigningRecordPersistenceMode"
          default: deferred_durable
          description: Persistence-mode trade-off between latency and durability
    SigningScheme:
      type: string
      enum:
      - managed
      - delegated
    SigningSchemeRequestInterface:
      type: object
      description: Signing Scheme request configuration dependent on signing scheme
      discriminator:
        propertyName: signingScheme
        mapping:
          delegated: "#/components/schemas/DelegatedSigningRequestDto"
          managed: "#/components/schemas/ManagedSigningRequestSchemeInterface"
      oneOf:
      - $ref: "#/components/schemas/DelegatedSigningRequestDto"
      - $ref: "#/components/schemas/ManagedSigningRequestSchemeInterface"
      required:
      - signingScheme
    SigningWorkflowType:
      type: string
      enum:
      - content_signing
      - raw_signing
      - timestamping
    StaticKeyManagedSigningRequestDto:
      type: object
      description: Request to configure managed signing with a static certificate
        and associated key(s)
      properties:
        signingScheme:
          $ref: "#/components/schemas/SigningScheme"
          description: Signing scheme
          examples:
          - managed
        managedSigningType:
          $ref: "#/components/schemas/ManagedSigningType"
          description: Managed signing type
        certificateUuid:
          type: string
          format: uuid
          description: UUID of the Certificate and associated key(s) to use for signing
        signingOperationAttributes:
          type: array
          description: "List of attributes required for signing operations (such as\
            \ digest algorithm), provided by the Cryptography Provider Connector"
          items:
            $ref: "#/components/schemas/RequestAttribute"
      required:
      - certificateUuid
      - managedSigningType
      - signingOperationAttributes
      - signingScheme
    StringAttributeContentV2:
      type: object
      description: String attribute content
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          type: string
          description: String attribute value
      required:
      - data
    StringAttributeContentV3:
      type: object
      description: String attribute content
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          type: string
          description: String attribute value
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    TextAttributeContentV2:
      type: object
      description: Text attribute content used to store longer formatted strings
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          type: string
          description: Text attribute value
      required:
      - data
    TextAttributeContentV3:
      type: object
      description: Text attribute content used to store longer formatted strings
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          type: string
          description: Text attribute value
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    TimeAttributeContentV2:
      type: object
      description: Time attribute content in predefined format
      properties:
        reference:
          type: string
          description: ContentV2 Reference
        data:
          type: string
          description: Time attribute value in format HH:mm:ss
      required:
      - data
    TimeAttributeContentV3:
      type: object
      description: Time attribute content in predefined format
      properties:
        reference:
          type: string
          description: Content Reference
        data:
          type: string
          description: Time attribute value in format HH:mm:ss
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Content Type of the attribute
      required:
      - contentType
      - data
    TimestampSourceRequestDto:
      type: object
      description: "Source of the timestamps a content-signing profile embeds, as\
        \ supplied on create and update. The required type property is the discriminator\
        \ selecting the source."
      discriminator:
        propertyName: type
        mapping:
          internal: "#/components/schemas/InternalTimestampSourceRequestDto"
      oneOf:
      - $ref: "#/components/schemas/InternalTimestampSourceRequestDto"
      required:
      - type
    TimestampSourceType:
      type: string
      description: "Kind of timestamp source, and the discriminator selecting the\
        \ fields that accompany it"
      enum:
      - internal
    TimestampingWorkflowRequestDto:
      type: object
      description: Timestamping workflow configuration request
      properties:
        type:
          $ref: "#/components/schemas/SigningWorkflowType"
          description: Signing workflow type
          examples:
          - timestamping
        signatureFormattingConnectorUuid:
          type: string
          format: uuid
          description: UUID of the Signature Formatting Provider that constructs the
            data-to-be-signed (DTBS) for Timestamping. Required for ILM-managed signing;
            must be omitted for delegated signing.
        signatureFormattingConnectorAttributes:
          type: array
          description: "Attributes for the Signature Formatting Provider that control\
            \ DTBS construction (e.g. serial number generation strategy, whether to\
            \ include signing time attribute). Applicable only when ILM-managed signing\
            \ is used."
          items:
            $ref: "#/components/schemas/RequestAttribute"
        qualifiedTimestamp:
          type: boolean
          description: ETSI qualified electronic timestamp. Present only when ILM-managed
            signing is used; null for delegated signing.
        timeQualityConfigurationUuid:
          type: string
          format: uuid
          description: UUID of the Time Quality Configuration that validates clock
            accuracy at signing time. Required when qualifiedTimestamp is true (ETSI
            EN 319 421). Applicable only when ILM-managed signing is used.
        defaultPolicyId:
          type: string
          description: Default TSA Policy ID under which the timestamp token is issued
            (OID format). Used for validation of both managed and delegated Timestamping.
          example: 1.2.3.4.5
        allowedPolicyIds:
          type: array
          description: Set of TSA Policy IDs accepted as valid for incoming timestamp
            requests (OID format). Used for validation of both managed and delegated
            Timestamping.
          example:
          - 1.2.3.4.5
          - 1.2.3.4.6
          items:
            type: string
        allowedDigestAlgorithms:
          type: array
          description: List of digest algorithms that are accepted for timestamping.
            An empty list means that all digest algorithms are accepted.
          example:
          - SHA-256
          - SHA-384
          items:
            $ref: "#/components/schemas/DigestAlgorithm"
        validateTokenSignature:
          type: boolean
          description: Whether to validate the timestamp token after it was issued.
      required:
      - type
    WorkflowRequestInterface:
      type: object
      description: Workflow configuration request specific to the signing workflow
        type
      discriminator:
        propertyName: type
        mapping:
          timestamping: "#/components/schemas/TimestampingWorkflowRequestDto"
          content_signing: "#/components/schemas/ContentSigningWorkflowRequestDto"
          raw_signing: "#/components/schemas/RawSigningWorkflowRequestDto"
      oneOf:
      - $ref: "#/components/schemas/TimestampingWorkflowRequestDto"
      - $ref: "#/components/schemas/ContentSigningWorkflowRequestDto"
      - $ref: "#/components/schemas/RawSigningWorkflowRequestDto"
      required:
      - type
    ErrorMessageDto:
      type: object
      properties:
        message:
          type: string
          description: Error message detail
          examples:
          - Error message
      required:
      - message
    AuthenticationServiceExceptionDto:
      type: object
      properties:
        statusCode:
          type: integer
          format: int32
          description: Status code of the HTTP Request
        code:
          type: string
          description: Code of the result
        message:
          type: string
          description: Exception message
      required:
      - code
      - message
      - statusCode
    CertificateRelationType:
      type: string
      enum:
      - renewal
      - rekey
      - replacement
      - pending
    CertificateSimpleDto:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
          description: UUID of the certificate
        certificateType:
          $ref: "#/components/schemas/CertificateType"
          description: Type of the certificate
        state:
          $ref: "#/components/schemas/CertificateState"
          description: State of the certificate
        relationType:
          $ref: "#/components/schemas/CertificateRelationType"
          description: Relation type
        commonName:
          type: string
          description: Common name
        subjectDn:
          type: string
          description: Subject distinguished name
        issuerCommonName:
          type: string
          description: Issuer common name
        issuerDn:
          type: string
          description: Issuer distinguished name
        serialNumber:
          type: string
          description: Certificate serial number
        fingerprint:
          type: string
          description: Certificate fingerprint
        publicKeyAlgorithm:
          type: string
          description: Public key algorithm
        altPublicKeyAlgorithm:
          type: string
          description: Alternative public key algorithm
        signatureAlgorithm:
          type: string
          description: Signature algorithm
        altSignatureAlgorithm:
          type: string
          description: Alternative signature algorithm
        notBefore:
          type: string
          format: date-time
          description: Not before date
        notAfter:
          type: string
          format: date-time
          description: Not after date
      required:
      - certificateType
      - commonName
      - publicKeyAlgorithm
      - relationType
      - state
      - subjectDn
      - uuid
    CertificateState:
      type: string
      enum:
      - requested
      - rejected
      - pending_approval
      - pending_issue
      - pending_revoke
      - pending_registration
      - registered
      - failed
      - issued
      - revoked
    ContentSigningWorkflowDto:
      type: object
      description: Content signing workflow configuration. The validation material
        that LONG_TERM and ARCHIVAL embed is fetched by the Signature Formatting Provider
        and is not configured here.
      properties:
        type:
          $ref: "#/components/schemas/SigningWorkflowType"
          description: Signing workflow type
          examples:
          - timestamping
        signatureFormattingConnector:
          $ref: "#/components/schemas/NameAndUuidDto"
          description: Signature Formatting Provider that constructs the data-to-be-signed
            (DTBS) for Content signing. Present only when ILM-managed signing is used;
            null for delegated signing.
        signatureFormattingConnectorAttributes:
          type: array
          description: Attributes configured on the Signature Formatting Provider
            that control DTBS construction for the content signing workflow. Applicable
            only when ILM-managed signing is used.
          items:
            $ref: "#/components/schemas/ResponseAttribute"
        family:
          $ref: "#/components/schemas/SignatureFamily"
          description: Signature family this profile produces. Present only when ILM-managed
            signing is used; null for delegated signing.
        maxLevel:
          $ref: "#/components/schemas/SignatureLevel"
          description: Highest signature level a request may ask for. A request asking
            for more is rejected. Present only when ILM-managed signing is used; null
            for delegated signing.
        timestampSource:
          $ref: "#/components/schemas/TimestampSourceDto"
          description: Source of the timestamps embedded at level TIMESTAMPED and
            above. Set when maxLevel is TIMESTAMPED or higher.
        documentSizeCap:
          type: integer
          format: int64
          description: "Largest document accepted for signing, in bytes. Enforced\
            \ when an ILM-managed signing request arrives. Null when no profile-level\
            \ cap applies."
          example: 5242880
        requireNonRepudiation:
          type: boolean
          default: false
          description: "Demand the nonRepudiation key-usage bit specifically, for\
            \ commitment-grade profiles. Applies to ILM-managed signing only; delegated\
            \ profile gets always false."
        requiredExtendedKeyUsageOids:
          type: array
          description: "Extended key usage OIDs the signing certificate must all carry,\
            \ in dot notation (1.3.6.1.5.5.7.3.36 is RFC 9336 id-kp-documentSigning).\
            \ An empty set accepts any extended key usage. Applies to ILM-managed\
            \ signing only."
          items:
            type: string
          uniqueItems: true
      required:
      - type
    DelegatedSigningDto:
      type: object
      description: Delegated signing configuration with Connector and attributes
      properties:
        signingScheme:
          $ref: "#/components/schemas/SigningScheme"
          description: Signing scheme
          examples:
          - managed
        connector:
          $ref: "#/components/schemas/NameAndUuidDto"
          description: Reference to the Connector used for delegated signing
        attributes:
          type: array
          description: List of attributes provided by the Connector
          items:
            $ref: "#/components/schemas/ResponseAttribute"
      required:
      - connector
      - signingScheme
    InternalTimestampSourceDto:
      type: object
      description: Timestamp source referencing the Timestamping Signing Profile on
        this platform that issues the timestamps
      properties:
        signingProfile:
          $ref: "#/components/schemas/NameAndUuidDto"
          description: Timestamping Signing Profile that issues the timestamps
        type:
          $ref: "#/components/schemas/TimestampSourceType"
          description: "Kind of timestamp source, and the discriminator selecting\
            \ the fields that accompany it"
          examples:
          - internal
      required:
      - signingProfile
      - type
    ManagedSigningSchemeInterface:
      type: object
      description: Managed signing configuration dependent on the managed signing
        type
      discriminator:
        propertyName: managedSigningType
        mapping:
          static_key: "#/components/schemas/StaticKeyManagedSigningDto"
          one_time_key: "#/components/schemas/OneTimeKeyManagedSigningDto"
      oneOf:
      - $ref: "#/components/schemas/StaticKeyManagedSigningDto"
      - $ref: "#/components/schemas/OneTimeKeyManagedSigningDto"
      required:
      - managedSigningType
    NameAndUuidDto:
      type: object
      properties:
        uuid:
          type: string
          description: Object identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Object Name
          examples:
          - Name
      required:
      - name
      - uuid
    OneTimeKeyManagedSigningDto:
      type: object
      description: Managed signing using a freshly issued one-time certificate and
        key pair
      properties:
        signingScheme:
          $ref: "#/components/schemas/SigningScheme"
          description: Signing scheme
          examples:
          - managed
        managedSigningType:
          $ref: "#/components/schemas/ManagedSigningType"
          description: Managed signing type
        raProfile:
          $ref: "#/components/schemas/NameAndUuidDto"
          description: RA Profile used to issue the one-time signing certificate
        csrTemplate:
          $ref: "#/components/schemas/NameAndUuidDto"
          description: CSR Template used for the certificate issuance request
        tokenProfile:
          $ref: "#/components/schemas/NameAndUuidDto"
          description: Token Profile used to store and manage the issued certificate
            and key pair
        signingOperationAttributes:
          type: array
          description: "List of attributes required for signing operations (such as\
            \ digest algorithm), provided by the Cryptography Provider Connector"
          items:
            $ref: "#/components/schemas/ResponseAttribute"
      required:
      - csrTemplate
      - managedSigningType
      - raProfile
      - signingOperationAttributes
      - signingScheme
      - tokenProfile
    RawSigningWorkflowDto:
      type: object
      description: Raw signing workflow configuration.
      properties:
        type:
          $ref: "#/components/schemas/SigningWorkflowType"
          description: Signing workflow type
          examples:
          - timestamping
      required:
      - type
    SigningProfileDto:
      type: object
      description: Signing Profile detail
      properties:
        uuid:
          type: string
          description: Object identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Object Name
          examples:
          - Name
        description:
          type: string
          description: Description of the Signing Profile
        version:
          type: integer
          format: int32
          description: Version of the Signing Profile
          example: 1
        enabled:
          type: boolean
          description: Whether the Signing Profile is enabled
        enabledProtocols:
          type: array
          description: List of enabled protocols on this Signing Profile. Protocols
            are managed through dedicated enable/disable endpoints.
          items:
            $ref: "#/components/schemas/SigningProtocol"
        signingScheme:
          $ref: "#/components/schemas/SigningSchemeInterface"
          description: Signing Scheme configuration
        workflow:
          $ref: "#/components/schemas/WorkflowInterface"
          description: 'Workflow-type-specific configuration. '
        customAttributes:
          type: array
          description: List of Custom Attributes
          items:
            $ref: "#/components/schemas/ResponseAttribute"
        recordPolicy:
          $ref: "#/components/schemas/SigningRecordPolicyDto"
          description: Effective Signing Record policy
      required:
      - enabled
      - name
      - signingScheme
      - uuid
      - version
      - workflow
    SigningProtocol:
      type: string
      description: How a signing operation was initiated. Some values name a client
        protocol that a Signing Profile can enable; others record an invocation the
        platform makes on its own and can never be enabled.
      enum:
      - csc_api
      - tsp
      - internal_tsa
    SigningRecordPolicyDto:
      type: object
      description: Effective Signing Record policy on a Signing Profile
      properties:
        recordingEnabled:
          type: boolean
          description: "Master switch: when false, no Signing Record is created at\
            \ all for this profile, regardless of the content policy below"
        recordRequestMetadata:
          type: boolean
          description: "Content policy: capture inbound request parameters (algorithm,\
            \ policy IDs, claimed signer)"
        recordSignature:
          type: boolean
          description: "Content policy: capture raw signature value"
        recordSignedDocument:
          type: boolean
          description: "Content policy: capture assembled signed document (only valid\
            \ for CONTENT_SIGNING and TIMESTAMPING workflows)"
        recordDtbs:
          type: boolean
          description: "Content policy: capture data-to-be-signed bytes"
        retentionDays:
          type: integer
          format: int32
          description: Retention in days. null = retain indefinitely.
        deleteAfterRetrieval:
          type: boolean
          description: Delete the signed document after CSC API async retrieval succeeds
        persistenceMode:
          $ref: "#/components/schemas/SigningRecordPersistenceMode"
          description: Persistence-mode trade-off between latency and durability
    SigningSchemeInterface:
      type: object
      description: Signing Scheme configuration dependent on signing scheme
      discriminator:
        propertyName: signingScheme
        mapping:
          delegated: "#/components/schemas/DelegatedSigningDto"
          managed: "#/components/schemas/ManagedSigningSchemeInterface"
      oneOf:
      - $ref: "#/components/schemas/DelegatedSigningDto"
      - $ref: "#/components/schemas/ManagedSigningSchemeInterface"
      required:
      - signingScheme
    StaticKeyManagedSigningDto:
      type: object
      description: Managed signing using a pre-existing static certificate and associated
        key(s)
      properties:
        signingScheme:
          $ref: "#/components/schemas/SigningScheme"
          description: Signing scheme
          examples:
          - managed
        managedSigningType:
          $ref: "#/components/schemas/ManagedSigningType"
          description: Managed signing type
        certificate:
          $ref: "#/components/schemas/CertificateSimpleDto"
          description: Certificate and the associated key(s) used for signing
        signingOperationAttributes:
          type: array
          description: "List of attributes required for signing operations (such as\
            \ digest algorithm), provided by the Cryptography Provider Connector"
          items:
            $ref: "#/components/schemas/ResponseAttribute"
      required:
      - certificate
      - managedSigningType
      - signingOperationAttributes
      - signingScheme
    TimeQualityConfigurationDto:
      type: object
      description: Time quality configuration details
      properties:
        uuid:
          type: string
          description: Object identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Object Name
          examples:
          - Name
        accuracy:
          type: string
          default: PT1S
          description: "Declared accuracy of the profile, in ISO 8601 duration format"
          example: PT1S
        ntpServers:
          type: array
          description: List of NTP server addresses
          example:
          - pool.ntp.org
          - time.google.com
          items:
            type: string
        ntpCheckInterval:
          type: string
          default: PT0.5S
          description: "Interval between NTP checks, in ISO 8601 duration format"
          example: PT0.5S
        ntpSamplesPerServer:
          type: integer
          format: int32
          default: 3
          description: Number of NTP samples to take per server during each check
          example: 3
        ntpCheckTimeout:
          type: string
          default: PT0.1S
          description: "Timeout for the entire NTP check cycle, in ISO 8601 duration\
            \ format"
          example: PT0.1S
        ntpServersMinReachable:
          type: integer
          format: int32
          default: 1
          description: Minimum number of NTP servers that must be reachable
          example: 1
        maxClockDrift:
          type: string
          default: PT0.5S
          description: "Maximum allowed clock drift from NTP reference time, in ISO\
            \ 8601 duration format"
          example: PT0.5S
        leapSecondGuard:
          type: boolean
          default: true
          description: Whether to guard against leap second anomalies
          example: true
        customAttributes:
          type: array
          description: List of Custom Attributes
          items:
            $ref: "#/components/schemas/ResponseAttribute"
      required:
      - accuracy
      - name
      - ntpServers
      - uuid
    TimestampSourceDto:
      type: object
      description: "Source of the timestamps a content-signing profile embeds, as\
        \ currently configured on the profile. The required type property is the discriminator\
        \ selecting the source."
      discriminator:
        propertyName: type
        mapping:
          internal: "#/components/schemas/InternalTimestampSourceDto"
      oneOf:
      - $ref: "#/components/schemas/InternalTimestampSourceDto"
      required:
      - type
    TimestampingWorkflowDto:
      type: object
      description: Timestamping workflow configuration
      properties:
        type:
          $ref: "#/components/schemas/SigningWorkflowType"
          description: Signing workflow type
          examples:
          - timestamping
        signatureFormattingConnector:
          $ref: "#/components/schemas/NameAndUuidDto"
          description: Signature Formatting Provider that constructs the data-to-be-signed
            (DTBS) for Timestamping. Present only when ILM-managed signing is used;
            null for delegated signing.
        signatureFormattingConnectorAttributes:
          type: array
          description: "Attributes configured on the Signature Formatting Provider\
            \ that control DTBS construction (e.g. serial number generation strategy,\
            \ whether to include signing time attribute). Applicable only when ILM-managed\
            \ signing is used."
          items:
            $ref: "#/components/schemas/ResponseAttribute"
        qualifiedTimestamp:
          type: boolean
          description: ETSI qualified electronic timestamp. Present only when ILM-managed
            signing is used; null for delegated signing.
        timeQualityConfiguration:
          $ref: "#/components/schemas/TimeQualityConfigurationDto"
          description: Time Quality Configuration that validates clock accuracy at
            signing time. Required when qualifiedTimestamp is true (ETSI EN 319 421).
            Applicable only when ILM-managed signing is used.
        defaultPolicyId:
          type: string
          description: Default TSA Policy ID under which the timestamp token is issued
            (OID format). Used for validation of both managed and delegated Timestamping.
          example: 1.2.3.4.5
        allowedPolicyIds:
          type: array
          description: Set of TSA Policy IDs accepted as valid for incoming timestamping
            requests (OID format). Used for validation of both managed and delegated
            Timestamping.
          example:
          - 1.2.3.4.5
          - 1.2.3.4.6
          items:
            type: string
        allowedDigestAlgorithms:
          type: array
          description: List of digest algorithms that are accepted for timestamping.
            An empty list means that all digest algorithms are accepted.
          example:
          - SHA-256
          - SHA-384
          items:
            $ref: "#/components/schemas/DigestAlgorithm"
        validateTokenSignature:
          type: boolean
          description: Whether to validate the timestamp token after it was issued.
      required:
      - type
    WorkflowInterface:
      type: object
      description: "Workflow configuration specific to the signing workflow type,\
        \ embedded in a Signing Profile"
      discriminator:
        propertyName: type
        mapping:
          timestamping: "#/components/schemas/TimestampingWorkflowDto"
          content_signing: "#/components/schemas/ContentSigningWorkflowDto"
          raw_signing: "#/components/schemas/RawSigningWorkflowDto"
      oneOf:
      - $ref: "#/components/schemas/TimestampingWorkflowDto"
      - $ref: "#/components/schemas/ContentSigningWorkflowDto"
      - $ref: "#/components/schemas/RawSigningWorkflowDto"
      required:
      - type
    FilterConditionOperator:
      type: string
      enum:
      - EQUALS
      - NOT_EQUALS
      - GREATER
      - GREATER_OR_EQUAL
      - LESSER
      - LESSER_OR_EQUAL
      - CONTAINS
      - NOT_CONTAINS
      - STARTS_WITH
      - ENDS_WITH
      - EMPTY
      - NOT_EMPTY
      - IN_NEXT
      - IN_PAST
      - MATCHES
      - NOT_MATCHES
      - COUNT_EQUAL
      - COUNT_NOT_EQUAL
      - COUNT_GREATER_THAN
      - COUNT_LESS_THAN
    FilterFieldSource:
      type: string
      enum:
      - meta
      - custom
      - data
      - property
    SearchColumnRequestDto:
      type: object
      properties:
        fieldSource:
          $ref: "#/components/schemas/FilterFieldSource"
          description: Field source of the column
        fieldIdentifier:
          type: string
          description: "Field identifier of the column. Available fields with their\
            \ identifiers can be retrieved from the resource's searchable-fields operation,\
            \ for example `GET /v1/certificates/search` or `GET /v2/connectors/search`;\
            \ only fields marked as displayable may be requested as a column."
          minLength: 1
      required:
      - fieldIdentifier
      - fieldSource
    SearchFilterRequestDto:
      type: object
      properties:
        fieldSource:
          $ref: "#/components/schemas/FilterFieldSource"
          description: Field group of search filter
        fieldIdentifier:
          type: string
          description: "Field identifier of search filter. List of available fields\
            \ with their identifiers can be retrieved from the resource's searchable-fields\
            \ operation, e.g.: [**GET /v1/certificates/search**](../core-certificate/#tag/Certificate-Inventory/operation/getSearchableFieldInformation)"
          minLength: 1
        condition:
          $ref: "#/components/schemas/FilterConditionOperator"
          description: Condition for the search filter
        value:
          description: Value to match
      required:
      - condition
      - fieldIdentifier
      - fieldSource
    SearchRequestDto:
      type: object
      properties:
        filters:
          type: array
          description: Certificate filter input
          items:
            $ref: "#/components/schemas/SearchFilterRequestDto"
        itemsPerPage:
          type: integer
          format: int32
          default: 10
          description: Number of entries per page
          maximum: 1000
        pageNumber:
          type: integer
          format: int32
          default: 1
          description: Page number for the request
        sort:
          $ref: "#/components/schemas/SearchSortRequestDto"
          description: "Ordering of the whole result set. When omitted, the endpoint's\
            \ own default ordering applies, unchanged from before this field existed."
        columns:
          type: array
          description: "Fields to return as columns. When omitted, the response carries\
            \ the endpoint's full default shape, unchanged from before this field\
            \ existed. Requesting attribute-sourced fields adds their values to each\
            \ returned object."
          items:
            $ref: "#/components/schemas/SearchColumnRequestDto"
    SearchSortRequestDto:
      type: object
      properties:
        fieldSource:
          $ref: "#/components/schemas/FilterFieldSource"
          description: Field source of the field to sort by
        fieldIdentifier:
          type: string
          description: "Field identifier of the field to sort by. Available fields\
            \ with their identifiers can be retrieved from the resource's searchable-fields\
            \ operation, for example `GET /v1/certificates/search` or `GET /v2/connectors/search`;\
            \ only fields marked as sortable may be sorted by."
          minLength: 1
        direction:
          $ref: "#/components/schemas/SortDirection"
          description: Direction of the ordering
      required:
      - direction
      - fieldIdentifier
      - fieldSource
    SortDirection:
      type: string
      enum:
      - asc
      - desc
    PaginationResponseDtoSigningRecordListDto:
      type: object
      properties:
        items:
          type: array
          description: Items returned
          items:
            $ref: "#/components/schemas/SigningRecordListDto"
        itemsPerPage:
          type: integer
          format: int32
          description: Number of entries per page
        pageNumber:
          type: integer
          format: int32
          description: Page number for the request
        totalPages:
          type: integer
          format: int32
          description: Number of pages available
        totalItems:
          type: integer
          format: int64
          description: Number of items available
      required:
      - items
      - itemsPerPage
      - pageNumber
      - totalItems
      - totalPages
    SigningProfileListDto:
      type: object
      description: Signing Profile details for listing
      properties:
        uuid:
          type: string
          description: Object identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Object Name
          examples:
          - Name
        version:
          type: integer
          format: int32
          description: Version of the Signing Profile
          example: 1
        description:
          type: string
          description: Description of the Signing Profile
        signingScheme:
          $ref: "#/components/schemas/SigningScheme"
          description: Signing scheme (managed or delegated)
        signingWorkflowType:
          $ref: "#/components/schemas/SigningWorkflowType"
          description: Signing workflow type
        enabled:
          type: boolean
          description: Whether the Signing Profile is enabled
        enabledProtocols:
          type: array
          description: List of enabled protocols on this Signing Profile.
          items:
            $ref: "#/components/schemas/SigningProtocol"
      required:
      - enabled
      - enabledProtocols
      - name
      - signingScheme
      - signingWorkflowType
      - uuid
      - version
    SigningRecordListDto:
      type: object
      description: Signing Record details for listing
      properties:
        uuid:
          type: string
          description: Object identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Object Name
          examples:
          - Name
        signingProfile:
          $ref: "#/components/schemas/SigningProfileListDto"
          description: Signing Profile used to produce this Signing Record
        protocol:
          $ref: "#/components/schemas/SigningProtocol"
          description: Signing protocol used to produce this Signing Record
        signingTime:
          type: string
          format: date-time
          description: Claimed signing time embedded in the signature structure by
            the signing operation.
        createdAt:
          type: string
          format: date-time
          description: Server time at which the Signing Record was created in the
            system. This timestamp is set by the platform and is independent of the
            cryptographic signing time.
        timestampTokenSerialNumbers:
          type: array
          description: "Serial numbers of the timestamp tokens this operation traces\
            \ to: for a content signature the tokens embedded in the signature, for\
            \ a timestamp record its own serial number. The protocol field tells the\
            \ two apart. Unpadded lower-case hex, no 0x prefix and no leading zeros.\
            \ Empty when the operation embedded no timestamp token, as a content signature\
            \ at level SIGNED does."
          example:
          - 2a
          items:
            type: string
        attributeValues:
          type: object
          additionalProperties:
            type: object
            additionalProperties:
              type: array
              items:
                $ref: "#/components/schemas/BaseAttributeContentDtoV3"
          description: "Values of the attribute-sourced fields requested as columns,\
            \ keyed by field source and then by field identifier. Present only when\
            \ the listing request asked for attribute-sourced columns; a field the\
            \ object has no value for is absent rather than empty, and a multi-valued\
            \ attribute arrives in its stored item_order."
      required:
      - createdAt
      - name
      - protocol
      - signingProfile
      - signingTime
      - timestampTokenSerialNumbers
      - uuid
    PaginationResponseDtoSigningProfileListDto:
      type: object
      properties:
        items:
          type: array
          description: Items returned
          items:
            $ref: "#/components/schemas/SigningProfileListDto"
        itemsPerPage:
          type: integer
          format: int32
          description: Number of entries per page
        pageNumber:
          type: integer
          format: int32
          description: Page number for the request
        totalPages:
          type: integer
          format: int32
          description: Number of pages available
        totalItems:
          type: integer
          format: int64
          description: Number of items available
      required:
      - items
      - itemsPerPage
      - pageNumber
      - totalItems
      - totalPages
    TspActivationDetailDto:
      type: object
      description: TSP activation detail
      properties:
        uuid:
          type: string
          description: Object identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Object Name
          examples:
          - Name
        available:
          type: boolean
          description: TSP availability flag - true = activated; false = not activated
        signingUrl:
          type: string
          description: TSP URL for signing
          example: https://ilm.otilm.com/api/v1/protocols/tsp/signingProfiles/signing-profile-1
      required:
      - available
      - name
      - uuid
    BulkActionMessageDto:
      type: object
      properties:
        uuid:
          type: string
          description: Object identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Object Name
          examples:
          - Name
        message:
          type: string
          description: Message describing the associations of the objects that are
            preventing the bulk operation
          examples:
          - Object is associated with other items
      required:
      - message
      - name
      - uuid
    CertificateDto:
      type: object
      properties:
        uuid:
          type: string
          description: UUID of the Certificate
        commonName:
          type: string
          description: Certificate common name
        serialNumber:
          type: string
          description: Certificate serial number
        issuerCommonName:
          type: string
          description: Certificate issuer common name
        issuerDn:
          type: string
          description: Issuer DN of the Certificate
        subjectDn:
          type: string
          description: Subject DN of the Certificate
        notBefore:
          type: string
          format: date-time
          description: Certificate validity start date
        notAfter:
          type: string
          format: date-time
          description: Certificate expiration date
        publicKeyAlgorithm:
          type: string
          description: Public key algorithm
        altPublicKeyAlgorithm:
          type: string
          description: Alternative Public key algorithm
        signatureAlgorithm:
          type: string
          description: Certificate signature algorithm
        altSignatureAlgorithm:
          type: string
          description: Certificate alternative signature algorithm
        hybridCertificate:
          type: boolean
          description: Indicator whether the certificate is hybrid
        keySize:
          type: integer
          format: int32
          description: Certificate key size
        altKeySize:
          type: integer
          format: int32
          description: Certificate key size of the alternative key
        state:
          $ref: "#/components/schemas/CertificateState"
          description: State of the Certificate
        validationStatus:
          $ref: "#/components/schemas/CertificateValidationStatus"
          description: Current validation status of the certificate
        raProfile:
          $ref: "#/components/schemas/SimplifiedRaProfileDto"
          description: RA Profile associated to the Certificate
        fingerprint:
          type: string
          description: SHA256 fingerprint of the Certificate
        groups:
          type: array
          description: Groups associated to the Certificate
          items:
            $ref: "#/components/schemas/GroupDto"
        owner:
          type: string
          description: Certificate Owner
        ownerUuid:
          type: string
          description: Certificate Owner UUID
        certificateType:
          $ref: "#/components/schemas/CertificateType"
          description: Certificate type
        issuerSerialNumber:
          type: string
          description: Serial number of the issuer
        complianceStatus:
          $ref: "#/components/schemas/ComplianceStatus"
          description: Certificate compliance status
        issuerCertificateUuid:
          type: string
          description: UUID of the issuer certificate
        privateKeyAvailability:
          type: boolean
          description: Private Key Availability
        trustedCa:
          type: boolean
          description: "Indicator whether CA is marked as trusted, set to null if\
            \ certificate is not CA"
        archived:
          type: boolean
          default: false
          description: Certificate is archived
        attributeValues:
          type: object
          additionalProperties:
            type: object
            additionalProperties:
              type: array
              items:
                $ref: "#/components/schemas/BaseAttributeContentDtoV3"
          description: "Values of the attribute-sourced fields requested as columns,\
            \ keyed by field source and then by field identifier. Present only when\
            \ the listing request asked for attribute-sourced columns; a field the\
            \ object has no value for is absent rather than empty, and a multi-valued\
            \ attribute arrives in its stored item_order."
          example:
            custom:
              businessUnit|STRING:
              - contentType: string
                reference: Payments
                data: payments
              environment|STRING:
              - contentType: string
                reference: Production
                data: production
              - contentType: string
                reference: Disaster recovery
                data: disaster-recovery
      required:
      - certificateType
      - commonName
      - complianceStatus
      - hybridCertificate
      - keySize
      - privateKeyAvailability
      - publicKeyAlgorithm
      - state
      - subjectDn
      - uuid
      - validationStatus
    CertificateValidationStatus:
      type: string
      enum:
      - not_checked
      - failed
      - inactive
      - invalid
      - valid
      - revoked
      - expiring
      - expired
    ComplianceStatus:
      type: string
      enum:
      - not_checked
      - ok
      - nok
      - na
      - failed
    GroupDto:
      type: object
      properties:
        uuid:
          type: string
          description: Object identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Object Name
          examples:
          - Name
        description:
          type: string
          description: Description of the Group
        email:
          type: string
          description: Group contact email
        customAttributes:
          type: array
          description: List of Custom Attributes
          items:
            $ref: "#/components/schemas/ResponseAttribute"
      required:
      - name
      - uuid
    SimplifiedRaProfileDto:
      type: object
      properties:
        uuid:
          type: string
          description: Object identifier
          examples:
          - 7b55ge1c-844f-11dc-a8a3-0242ac120002
        name:
          type: string
          description: Object Name
          examples:
          - Name
        enabled:
          type: boolean
          description: Enabled flag - true = enabled; false = disabled
        authorityInstanceUuid:
          type: string
          description: Authority Instance UUID
      required:
      - enabled
      - name
      - uuid
    BaseAttributeDto:
      type: object
      description: Base Attribute definition
      oneOf:
      - $ref: "#/components/schemas/BaseAttributeDtoV2"
      - $ref: "#/components/schemas/BaseAttributeDtoV3"
      properties:
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
      required:
      - name
      - type
      - uuid
    BaseAttributeDtoV2:
      description: Base Attribute definition
      discriminator:
        propertyName: type
        mapping:
          data: "#/components/schemas/DataAttributeV2"
          info: "#/components/schemas/InfoAttributeV2"
          group: "#/components/schemas/GroupAttributeV2"
          meta: "#/components/schemas/MetadataAttributeV2"
          custom: "#/components/schemas/CustomAttributeV2"
      oneOf:
      - $ref: "#/components/schemas/DataAttributeV2"
      - $ref: "#/components/schemas/InfoAttributeV2"
      - $ref: "#/components/schemas/GroupAttributeV2"
      - $ref: "#/components/schemas/MetadataAttributeV2"
      - $ref: "#/components/schemas/CustomAttributeV2"
    BaseAttributeDtoV3:
      type: object
      description: Base Attribute definition
      discriminator:
        propertyName: type
        mapping:
          data: "#/components/schemas/DataAttributeV3"
          info: "#/components/schemas/InfoAttributeV3"
          group: "#/components/schemas/GroupAttributeV3"
          meta: "#/components/schemas/MetadataAttributeV3"
          custom: "#/components/schemas/CustomAttributeV3"
      oneOf:
      - $ref: "#/components/schemas/DataAttributeV3"
      - $ref: "#/components/schemas/InfoAttributeV3"
      - $ref: "#/components/schemas/GroupAttributeV3"
      - $ref: "#/components/schemas/MetadataAttributeV3"
      - $ref: "#/components/schemas/CustomAttributeV3"
      required:
      - schemaVersion
    CustomAttributeProperties:
      type: object
      properties:
        label:
          type: string
          description: Friendly name of the the Attribute
          examples:
          - Attribute Name
        visible:
          type: boolean
          default: true
          description: "Boolean determining if the Attribute is visible and can be\
            \ displayed, otherwise it should be hidden to the user."
        group:
          type: string
          description: "Group of the Attribute, used for the logical grouping of the\
            \ Attribute"
          examples:
          - requiredAttributes
        required:
          type: boolean
          default: false
          description: "Boolean determining if the Attribute is required. If true,\
            \ the Attribute must be provided."
        readOnly:
          type: boolean
          default: false
          description: "Boolean determining if the Attribute is read only. If true,\
            \ the Attribute content cannot be changed."
        list:
          type: boolean
          default: false
          description: Boolean determining if the Attribute contains list of values
            in the content
        multiSelect:
          type: boolean
          default: false
          description: Boolean determining if the Attribute can have multiple values
        extensibleList:
          type: boolean
          default: false
          description: Boolean determining if a list Attribute can have values other
            than predefined options
        protectionLevel:
          $ref: "#/components/schemas/ProtectionLevel"
          default: none
          description: Protection level of the attribute content
      required:
      - extensibleList
      - label
      - list
      - multiSelect
      - readOnly
      - required
      - visible
    CustomAttributeV2:
      type: object
      description: Custom attribute allows to store and transfer dynamic data. Its
        content can be edited and send in requests to store.
      properties:
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        version:
          type: integer
          format: int32
          description: Version of the attribute
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        content:
          type: array
          description: Content of the Attribute
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV2"
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Type of the Content
        properties:
          $ref: "#/components/schemas/CustomAttributeProperties"
          description: Properties of the Attributes
      required:
      - contentType
      - name
      - properties
      - type
      - uuid
      - version
    CustomAttributeV3:
      type: object
      description: Custom attribute allows to store and transfer dynamic data. Its
        content can be edited and send in requests to store.
      properties:
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        version:
          type: integer
          format: int32
          description: Version of the attribute
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        content:
          type: array
          description: Content of the Attribute
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV3"
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Type of the Content
        properties:
          $ref: "#/components/schemas/CustomAttributeProperties"
          description: Properties of the Attributes
        schemaVersion:
          $ref: "#/components/schemas/AttributeVersion"
          description: Schema version of the Attribute
      required:
      - contentType
      - name
      - properties
      - schemaVersion
      - type
      - uuid
      - version
    DataAttributeV3:
      type: object
      description: Data attribute allows to store and transfer dynamic data. Its content
        can be edited and send in requests to store.
      properties:
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        version:
          type: integer
          format: int32
          description: Version of the attribute
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        content:
          type: array
          description: Content of the Attribute
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV3"
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Type of the Content
        properties:
          $ref: "#/components/schemas/DataAttributeProperties"
          description: Properties of the Attributes
        constraints:
          type: array
          description: Optional constraints used for validating the Attribute content
          items:
            $ref: "#/components/schemas/BaseAttributeConstraint"
        attributeCallback:
          $ref: "#/components/schemas/AttributeCallback"
          description: Optional definition of callback for getting the content of
            the Attribute based on the action
        schemaVersion:
          $ref: "#/components/schemas/AttributeVersion"
          description: Schema version of the Attribute
        fieldMapping:
          $ref: "#/components/schemas/FieldMapping"
          description: Declares which certificate (or other object) fields this attribute's
            value projects into; presence marks this attribute as a certificate request
            attribute
        valueSource:
          $ref: "#/components/schemas/ValueSource"
          description: Declares how Core resolves the content of this attribute; orthogonal
            to fieldMapping
      required:
      - contentType
      - name
      - properties
      - schemaVersion
      - type
      - uuid
      - version
    ExtendedKeyUsageMappedField:
      allOf:
      - $ref: "#/components/schemas/MappedField"
      description: "Maps an attribute to the Extended Key Usage extension; the permitted\
        \ purposes are the attribute's content, resolved against the EXTENDED_KEY_USAGE\
        \ OID registry"
      required:
      - fieldType
    ExtensionMappedField:
      allOf:
      - $ref: "#/components/schemas/MappedField"
      - type: object
        properties:
          extensionOid:
            type: string
            description: OID of the X.509 extension (dotted-decimal)
            minLength: 1
          criticalOverridable:
            type: boolean
            description: Whether the requester may override the default criticality
              of the extension
      description: Maps an attribute value to an X.509 extension
      required:
      - extensionOid
      - fieldType
    ExtensionValueEncoding:
      type: string
      enum:
      - UTF8String
      - IA5String
      - PrintableString
      - OctetString
      - BitString
      - DER
    FieldMapping:
      type: object
      description: Declares which certificate (or other object) fields an attribute
        value projects into
      properties:
        objectType:
          $ref: "#/components/schemas/ObjectType"
          description: Object type this mapping applies to
        fields:
          type: array
          description: "One or more target fields (supports 1-to-many, e.g. CN + dNSName\
            \ from a single attribute)"
          items:
            oneOf:
            - $ref: "#/components/schemas/ExtendedKeyUsageMappedField"
            - $ref: "#/components/schemas/ExtensionMappedField"
            - $ref: "#/components/schemas/KeyUsageMappedField"
            - $ref: "#/components/schemas/RdnMappedField"
            - $ref: "#/components/schemas/SanMappedField"
          minItems: 1
      required:
      - fields
      - objectType
    FieldSource:
      type: string
      enum:
      - csr
      - platform
      - csrThenPlatform
    FieldType:
      type: string
      enum:
      - rdn
      - san
      - extension
      - keyUsage
      - extendedKeyUsage
    GeneralNameType:
      type: string
      enum:
      - dns
      - email
      - ip
      - uri
      - otherName
      - directoryName
      - registeredId
    GroupAttributeV2:
      type: object
      description: Group attribute and its content represents dynamic list of additional
        attributes retrieved by callback. Its content can not be edited and is not
        send in requests to store.
      properties:
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        version:
          type: integer
          format: int32
          description: Version of the attribute
        content:
          type: array
          description: List of all different types of attributes
          items:
            $ref: "#/components/schemas/BaseAttributeDtoV2"
            description: Base Attribute definition
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        attributeCallback:
          $ref: "#/components/schemas/AttributeCallback"
          description: Optional definition of callback for getting the content of
            the Attribute based on the action
      required:
      - name
      - type
      - uuid
      - version
    GroupAttributeV3:
      type: object
      description: Group attribute and its content represents dynamic list of additional
        attributes retrieved by callback. Its content can not be edited and is not
        send in requests to store.
      properties:
        schemaVersion:
          $ref: "#/components/schemas/AttributeVersion"
          description: Version of the Attribute
          example: 3
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        content:
          type: array
          description: List of all different types of attributes
          items:
            $ref: "#/components/schemas/BaseAttributeDto"
        version:
          type: integer
          format: int32
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        attributeCallback:
          $ref: "#/components/schemas/AttributeCallback"
          description: Optional definition of callback for getting the content of
            the Attribute based on the action
      required:
      - name
      - schemaVersion
      - type
      - uuid
    InfoAttributeProperties:
      type: object
      properties:
        label:
          type: string
          description: Friendly name of the the Attribute
          examples:
          - Attribute Name
        visible:
          type: boolean
          default: true
          description: "Boolean determining if the Attribute is visible and can be\
            \ displayed, otherwise it should be hidden to the user."
        group:
          type: string
          description: "Group of the Attribute, used for the logical grouping of the\
            \ Attribute"
          examples:
          - requiredAttributes
      required:
      - label
      - visible
    InfoAttributeV2:
      type: object
      description: Info attribute contains content that is for information purpose
        or represents additional information for object (metadata). Its content can
        not be edited and is not send in requests to store.
      properties:
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        version:
          type: integer
          format: int32
          description: Version of the attribute
        content:
          type: array
          description: Content of the Attribute
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV2"
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Type of the Content
        properties:
          $ref: "#/components/schemas/InfoAttributeProperties"
          description: Properties of the Attributes
      required:
      - content
      - contentType
      - name
      - properties
      - type
      - uuid
      - version
    InfoAttributeV3:
      type: object
      description: Info attribute contains content that is for information purpose
        or represents additional information for object (metadata). Its content can
        not be edited and is not send in requests to store.
      properties:
        schemaVersion:
          $ref: "#/components/schemas/AttributeVersion"
          description: Version of the Attribute
          example: 3
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        content:
          type: array
          description: Content of the Attribute
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV3"
        version:
          type: integer
          format: int32
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Type of the Content
        properties:
          $ref: "#/components/schemas/InfoAttributeProperties"
          description: Properties of the Attributes
      required:
      - content
      - contentType
      - name
      - properties
      - schemaVersion
      - type
      - uuid
    KeyUsageMappedField:
      allOf:
      - $ref: "#/components/schemas/MappedField"
      description: "Maps an attribute to the Key Usage extension; the permitted bits\
        \ are the attribute's content, taken from CertificateKeyUsage"
      required:
      - fieldType
    MappedField:
      type: object
      description: Describes a single target field within an object; concrete type
        is determined by fieldType
      discriminator:
        propertyName: fieldType
        mapping:
          rdn: "#/components/schemas/RdnMappedField"
          san: "#/components/schemas/SanMappedField"
          extension: "#/components/schemas/ExtensionMappedField"
          keyUsage: "#/components/schemas/KeyUsageMappedField"
          extendedKeyUsage: "#/components/schemas/ExtendedKeyUsageMappedField"
      properties:
        fieldType:
          $ref: "#/components/schemas/FieldType"
          description: "Field type, determines the concrete subtype"
        order:
          type: integer
          format: int32
          description: Ordering index for fields of the same type (e.g. RDN components);
            ascending
          minimum: 1
        source:
          $ref: "#/components/schemas/FieldSource"
          description: Provenance of the value when reconciling CSR vs platform-projected
            values
      required:
      - fieldType
    MetadataAttributeProperties:
      type: object
      properties:
        label:
          type: string
          description: Friendly name of the the Attribute
          examples:
          - Attribute Name
        visible:
          type: boolean
          default: true
          description: "Boolean determining if the Attribute is visible and can be\
            \ displayed, otherwise it should be hidden to the user."
        group:
          type: string
          description: "Group of the Attribute, used for the logical grouping of the\
            \ Attribute"
          examples:
          - requiredAttributes
        global:
          type: boolean
          default: false
          description: Boolean determining if the Metadata is a global metadata.
        overwrite:
          type: boolean
          default: false
          description: Boolean determining if the new metadata content should overwrite
            (replace) existing content instead of appending.
        protectionLevel:
          $ref: "#/components/schemas/ProtectionLevel"
          default: none
          description: Protection level of the attribute content
      required:
      - label
      - visible
    MetadataAttributeV2:
      type: object
      description: Info attribute contains content that is for metadata. Its content
        can not be edited and is not send in requests to store.
      properties:
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        version:
          type: integer
          format: int32
          description: Version of the attribute
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        content:
          type: array
          description: Content of the Attribute
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV2"
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Type of the Content
        properties:
          $ref: "#/components/schemas/MetadataAttributeProperties"
          description: Properties of the Attributes
      required:
      - contentType
      - name
      - properties
      - type
      - uuid
      - version
    MetadataAttributeV3:
      type: object
      description: Info attribute contains content that is for metadata. Its content
        can not be edited and is not send in requests to store.
      properties:
        uuid:
          type: string
          description: UUID of the Attribute for unique identification
          example: b11c9be1-b619-4ef5-be1b-a1cd9ef265b7
        name:
          type: string
          description: Name of the Attribute that is used for identification
          examples:
          - Attribute
        description:
          type: string
          description: "Optional description of the Attribute, should contain helper\
            \ text on what is expected"
        version:
          type: integer
          format: int32
          description: Version of the attribute
        type:
          $ref: "#/components/schemas/AttributeType"
          description: Type of the Attribute
        content:
          type: array
          description: Content of the Attribute
          items:
            $ref: "#/components/schemas/BaseAttributeContentDtoV3"
        contentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Type of the Content
        properties:
          $ref: "#/components/schemas/MetadataAttributeProperties"
          description: Properties of the Attributes
        schemaVersion:
          $ref: "#/components/schemas/AttributeVersion"
          description: Schema version of the Attribute
      required:
      - contentType
      - name
      - properties
      - schemaVersion
      - type
      - uuid
      - version
    ObjectType:
      type: string
      enum:
      - x509Certificate
      - sshCertificate
      - key
      - secret
    RdnMappedField:
      allOf:
      - $ref: "#/components/schemas/MappedField"
      - type: object
        properties:
          rdn:
            type: string
            description: RDN code (e.g. "CN") or dotted-decimal OID; resolved via
              the OID registry
            minLength: 1
      description: Maps an attribute value to an X.509 RDN component
      required:
      - fieldType
      - rdn
    SanMappedField:
      allOf:
      - $ref: "#/components/schemas/MappedField"
      - type: object
        properties:
          generalNameType:
            $ref: "#/components/schemas/GeneralNameType"
            description: SAN type
          otherNameOid:
            type: string
            description: OID of the otherName type; required when generalNameType
              is OTHER_NAME
          otherNameValueEncoding:
            $ref: "#/components/schemas/ExtensionValueEncoding"
            description: ASN.1 encoding for the otherName value; required when generalNameType
              is OTHER_NAME because different OtherName OIDs carry differently-typed
              values (e.g. UPN → UTF8String)
      description: Maps an attribute value to a Subject Alternative Name entry
      required:
      - fieldType
      - generalNameType
    SourceParam:
      type: object
      description: Dependency filter that scopes a value source by another attribute's
        value
      properties:
        attributeUuid:
          type: string
          description: UUID of the attribute whose value is used as a filter parameter
        attributeName:
          type: string
          description: Name of the attribute; used as fallback when attributeUuid
            is not matched
    ValueSource:
      type: object
      description: Declares how Core resolves the content of an attribute; orthogonal
        to fieldMapping
      properties:
        kind:
          $ref: "#/components/schemas/ValueSourceType"
          description: How the attribute value is resolved
        params:
          type: array
          description: Optional dependency filters that scope the source by other
            attributes' values
          items:
            $ref: "#/components/schemas/SourceParam"
      required:
      - kind
    ValueSourceType:
      type: string
      enum:
      - none
      - connectorCallback
      - staticList
    FilterFieldType:
      type: string
      enum:
      - string
      - number
      - list
      - date
      - datetime
      - boolean
    PlatformEnum:
      type: string
      enum:
      - Resource
      - ResourceAction
      - FilterConditionOperator
      - FilterFieldType
      - FilterFieldSource
      - SortDirection
      - SettingsSection
      - JwkSetLoadFailure
      - AuthType
      - HealthStatus
      - ConnectorStatus
      - FunctionGroupCode
      - ConnectorVersion
      - ConnectorInterface
      - FeatureFlag
      - CertificateType
      - CertificateState
      - CertificateValidationStatus
      - CertificateFormat
      - CertificateFormatEncoding
      - CertificateValidationCheck
      - CertificateRevocationReason
      - CertificateRequestFormat
      - DiscoveryStatus
      - DiscoveryMessageSeverity
      - CertificateProtocol
      - CertificateSubjectType
      - CertificateKeyUsage
      - CertificateRelationType
      - OidCategory
      - KeyAlgorithm
      - KeyFormat
      - KeyState
      - KeyType
      - KeyUsage
      - KeyRequestType
      - KeyCompromiseReason
      - TokenInstanceStatus
      - DigestAlgorithm
      - RsaSignatureScheme
      - RsaEncryptionScheme
      - ComplianceStatus
      - ComplianceRuleStatus
      - AccountStatus
      - ProtectionMethod
      - CmpProfileVariant
      - ProtocolChallengeSource
      - AcmeIdentifierMatchType
      - AcmeIdentifierAuthorizationMode
      - AttributeType
      - AttributeContentType
      - AttributeConstraintType
      - AttributeValueTarget
      - ProgrammingLanguageEnum
      - AttributeVersion
      - ProtectionLevel
      - SchedulerJobExecutionStatus
      - ScheduledJobScheduleState
      - RecipientType
      - NotificationDataCategory
      - TriggerType
      - ConditionType
      - ExecutionType
      - ResourceEvent
      - Module
      - ActorType
      - AuthMethod
      - Operation
      - OperationResult
      - ApprovalStatusEnum
      - SecretType
      - KeyStoreType
      - SecretState
      - ManagedSigningType
      - QcType
      - SignatureFamily
      - SignatureLevel
      - SigningProtocol
      - SigningScheme
      - SigningWorkflowType
      - TimestampSourceType
      - TspAuthenticationMethod
      - CbomAssetSyncState
      - CbomSyncSkipState
      - CryptographicAssetType
      - PqcVerdict
      - PqcExplanationStepOutcome
    SearchFieldDataByGroupDto:
      type: object
      properties:
        filterFieldSource:
          $ref: "#/components/schemas/FilterFieldSource"
          description: Search group
        searchFieldData:
          type: array
          description: List of search fields for specified search group
          items:
            $ref: "#/components/schemas/SearchFieldDataDto"
      required:
      - filterFieldSource
    SearchFieldDataDto:
      type: object
      properties:
        fieldIdentifier:
          type: string
          description: Identifier of field to search
        fieldLabel:
          type: string
          description: Label for the field
        type:
          $ref: "#/components/schemas/FilterFieldType"
          description: Type of the field
        conditions:
          type: array
          description: List of available conditions for the field
          items:
            $ref: "#/components/schemas/FilterConditionOperator"
        platformEnum:
          $ref: "#/components/schemas/PlatformEnum"
          description: Platform enum of the field values
        attributeContentType:
          $ref: "#/components/schemas/AttributeContentType"
          description: Attribute filter field content type
        value:
          description: Available values for the field
        multiValue:
          type: boolean
          description: "Multivalue flag. true = yes, false = no"
        displayable:
          type: boolean
          description: "Whether the field may be requested as a column of the listing.\
            \ true = yes, false = no"
        sortable:
          type: boolean
          description: "Whether the listing may be ordered by the field. true = yes,\
            \ false = no"
      required:
      - conditions
      - fieldIdentifier
      - fieldLabel
      - type
  securitySchemes:
    SessionAuth:
      type: apiKey
      description: Session-based authentication with session ID stored in 'session-id'
        cookie
      name: session-id
      in: cookie
    CertificateAuth:
      type: apiKey
      description: Base64 encoded X.509 certificate passed in header
      name: ssl-client-cert
      in: header
    BearerJWTAuth:
      type: http
      scheme: Bearer
      bearerFormat: JWT
