> ## Documentation Index
> Fetch the complete documentation index at: https://api-documentation.kare-app.fr/llms.txt
> Use this file to discover all available pages before exploring further.

# Get one anomaly



## OpenAPI

````yaml /api/rs/openapi.json get /rs/anomalies/v1/{id}
openapi: 3.0.3
info:
  title: KARE API
  description: Backend API for the KARE platform
  version: dev
servers:
  - url: http://localhost:3000
    description: Local dev
security: []
tags:
  - name: better-auth
    description: >-
      Better Auth's own endpoints (sign-in, session, MFA, password) - generated
      from the audience's live config via `generateOpenAPISchema()`, not
      hand-written.
paths:
  /rs/anomalies/v1/{id}:
    get:
      tags:
        - anomalies
      summary: Get one anomaly
      operationId: getAnomalyRSV1
      parameters:
        - schema:
            type: array
            items:
              type: string
              enum:
                - is-new
                - actions-info
                - updatable-fields
                - sightings
                - sightings-count
                - position
                - unit
                - technical-installation
                - equipment
                - report
                - origin
                - interventions
                - resolution
                - library-anomaly
                - assignee
              description: >-
                Extend options (JSON-encoded array, e.g.
                `?extend=["category"]`):

                - "is-new": Adds `isNew`: true when this anomaly is the earliest
                occurrence of its case, by report control date. False when a
                case already has an older occurrence - and false too when the
                anomaly carries no case at all (a ticket, an observation).

                - "actions-info": Adds `actions` { canBeUpdated, canBeArchived,
                canBeUnarchived, canBeDeleted, canBeResolved, canBeUnresolved }.

                - "updatable-fields": Adds `updatableFields` - per-type
                editable-field flags.

                - "sightings": Adds the observation `sightings` (signalements),
                newest first.

                - "sightings-count": Adds `sightingsCount` - how many times this
                anomaly has been reported (grouped ticketing).

                - "position": Plan position (PlanItem) when the anomaly is
                placed on a plan.

                - "unit": Hydrates the linked unit (id, ref, name).

                - "technical-installation": Hydrates the linked technical
                installation (id, ref, name, image with a presigned download
                URL).

                - "equipment": Hydrates the linked equipment (id, ref, name).

                - "report": Hydrates the linked report (id, ref, status) -
                non-conformity / prescription.

                - "origin": Adds `origin`: the reporter (observation, ticket),
                linked commission (prescription), linked intervention's assignee
                (non-conformity), and the source report reference (page/ref)
                when set.

                - "interventions": Adds `interventions`: the anomaly's linked
                curative interventions
                (comment/providerAction/clientDecision/attachments).

                - "resolution": Adds `resolution` { resolvedBy,
                resolvedByProvider } once the anomaly is resolved (resolver =
                the assignee at resolution time).

                - "library-anomaly": Hydrates the source library template (id,
                title, resolutionDelay, category, subCategory).

                - "assignee": Adds `assignee` { id, name } - the user the
                anomaly is assigned to.
          in: query
          name: extend
          required: false
        - schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          in: path
          name: id
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  ref:
                    type: string
                    maxLength: 40
                    pattern: ^[A-Z]+-[1-9]\d*(?:-[A-Z]+-[1-9]\d*)*$
                  type:
                    type: string
                    enum:
                      - non_conformity
                      - observation
                      - prescription
                      - audit
                      - ticket
                  status:
                    type: string
                    enum:
                      - extracted
                      - unreviewed
                      - pending
                      - resolved
                  risk:
                    type: string
                    enum:
                      - low
                      - medium
                      - high
                      - critic
                  title:
                    type: string
                    minLength: 1
                    maxLength: 300
                  description:
                    nullable: true
                    type: string
                    maxLength: 5000
                  externalReference:
                    nullable: true
                    type: string
                    minLength: 1
                    maxLength: 100
                  unitId:
                    nullable: true
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  technicalInstallationId:
                    nullable: true
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  equipmentId:
                    nullable: true
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  libraryAnomalyId:
                    nullable: true
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  reportId:
                    nullable: true
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  caseId:
                    nullable: true
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  sortOrder:
                    nullable: true
                    type: number
                  pageNumber:
                    nullable: true
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  assignedToUserId:
                    nullable: true
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  resolvedComment:
                    nullable: true
                    type: string
                    maxLength: 2000
                  location:
                    nullable: true
                    type: string
                    maxLength: 200
                  organizationId:
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  observedAt:
                    nullable: true
                    type: string
                    format: date-time
                  dueAt:
                    nullable: true
                    type: string
                    format: date-time
                  resolvedAt:
                    nullable: true
                    type: string
                    format: date-time
                  historizedAt:
                    nullable: true
                    type: string
                    format: date-time
                  archivedAt:
                    nullable: true
                    type: string
                    format: date-time
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  isNew:
                    type: boolean
                  actions:
                    type: object
                    properties:
                      canBeUpdated:
                        type: boolean
                      canBeArchived:
                        type: boolean
                      canBeUnarchived:
                        type: boolean
                      canBeDeleted:
                        type: boolean
                      canBeResolved:
                        type: boolean
                      canBeUnresolved:
                        type: boolean
                      canAddSighting:
                        type: boolean
                    required:
                      - canBeUpdated
                      - canBeArchived
                      - canBeUnarchived
                      - canBeDeleted
                      - canBeResolved
                      - canBeUnresolved
                      - canAddSighting
                    additionalProperties: false
                  updatableFields:
                    type: object
                    properties:
                      title:
                        type: boolean
                      description:
                        type: boolean
                      externalReference:
                        type: boolean
                      risk:
                        type: boolean
                      observedAt:
                        type: boolean
                      unitId:
                        type: boolean
                      technicalInstallationId:
                        type: boolean
                      equipmentId:
                        type: boolean
                      assignedToUserId:
                        type: boolean
                      dueAt:
                        type: boolean
                      pageNumber:
                        type: boolean
                      sortOrder:
                        type: boolean
                      location:
                        type: boolean
                      caseId:
                        type: boolean
                    required:
                      - title
                      - description
                      - externalReference
                      - risk
                      - observedAt
                      - unitId
                      - technicalInstallationId
                      - equipmentId
                      - assignedToUserId
                      - dueAt
                      - pageNumber
                      - sortOrder
                      - location
                      - caseId
                    additionalProperties: false
                  sightings:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          pattern: >-
                            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        reporter:
                          nullable: true
                          type: string
                          minLength: 1
                          maxLength: 150
                        reportedByUserId:
                          nullable: true
                          type: string
                          format: uuid
                          pattern: >-
                            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        reportedBy:
                          nullable: true
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                              pattern: >-
                                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                            name:
                              type: string
                          required:
                            - id
                            - name
                          additionalProperties: false
                        comment:
                          nullable: true
                          type: string
                          maxLength: 2000
                        createdAt:
                          type: string
                          format: date-time
                      required:
                        - id
                        - reporter
                        - reportedByUserId
                        - reportedBy
                        - comment
                        - createdAt
                      additionalProperties: false
                  sightingsCount:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  position:
                    nullable: true
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      planId:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      xPercent:
                        nullable: true
                        type: number
                      yPercent:
                        nullable: true
                        type: number
                    required:
                      - id
                      - planId
                      - xPercent
                      - yPercent
                    additionalProperties: false
                  unit:
                    nullable: true
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      ref:
                        type: string
                      name:
                        type: string
                    required:
                      - id
                      - ref
                      - name
                    additionalProperties: false
                  technicalInstallation:
                    nullable: true
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      ref:
                        type: string
                      name:
                        type: string
                      image:
                        nullable: true
                        type: object
                        properties:
                          name:
                            type: string
                            minLength: 1
                            maxLength: 255
                          mimeType:
                            type: string
                            minLength: 1
                            maxLength: 100
                          size:
                            type: integer
                            minimum: 0
                            exclusiveMinimum: true
                            maximum: 1073741824
                          downloadUrl:
                            type: string
                            format: uri
                        required:
                          - name
                          - mimeType
                          - size
                          - downloadUrl
                        additionalProperties: false
                    required:
                      - id
                      - ref
                      - name
                      - image
                    additionalProperties: false
                  equipment:
                    nullable: true
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      ref:
                        type: string
                      name:
                        type: string
                    required:
                      - id
                      - ref
                      - name
                    additionalProperties: false
                  report:
                    nullable: true
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      ref:
                        type: string
                      status:
                        type: string
                    required:
                      - id
                      - ref
                      - status
                    additionalProperties: false
                  origin:
                    type: object
                    properties:
                      reportedBy:
                        nullable: true
                        type: object
                        properties:
                          id:
                            nullable: true
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          name:
                            type: string
                        required:
                          - id
                          - name
                        additionalProperties: false
                      commission:
                        nullable: true
                        type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          visitType:
                            type: string
                          decision:
                            nullable: true
                            type: string
                          heldAt:
                            nullable: true
                            type: string
                            format: date-time
                          sites:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                  format: uuid
                                  pattern: >-
                                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                                name:
                                  type: string
                              required:
                                - id
                                - name
                              additionalProperties: false
                        required:
                          - id
                          - visitType
                          - decision
                          - heldAt
                          - sites
                        additionalProperties: false
                      intervention:
                        nullable: true
                        type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          assigneeName:
                            nullable: true
                            type: string
                          providerName:
                            nullable: true
                            type: string
                          signedBy:
                            nullable: true
                            type: string
                        required:
                          - id
                          - assigneeName
                          - providerName
                          - signedBy
                        additionalProperties: false
                      report:
                        nullable: true
                        type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          ref:
                            type: string
                          pageNumber:
                            nullable: true
                            type: number
                        required:
                          - id
                          - ref
                          - pageNumber
                        additionalProperties: false
                    required:
                      - reportedBy
                      - commission
                      - intervention
                      - report
                    additionalProperties: false
                  interventions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          pattern: >-
                            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        comment:
                          nullable: true
                          type: string
                        providerAction:
                          nullable: true
                          type: string
                        clientDecision:
                          nullable: true
                          type: string
                        clientDecisionComment:
                          nullable: true
                          type: string
                        createdAt:
                          type: string
                          format: date-time
                        attachments:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                                format: uuid
                                pattern: >-
                                  ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                              name:
                                type: string
                                minLength: 1
                                maxLength: 255
                              mimeType:
                                type: string
                                minLength: 1
                                maxLength: 100
                              size:
                                type: integer
                                minimum: 0
                                exclusiveMinimum: true
                                maximum: 1073741824
                              slot:
                                nullable: true
                                type: string
                                minLength: 1
                                maxLength: 50
                            required:
                              - id
                              - name
                              - mimeType
                              - size
                              - slot
                            additionalProperties: false
                        intervention:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                              pattern: >-
                                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                            ref:
                              type: string
                            type:
                              type: string
                            status:
                              type: string
                            scheduledStart:
                              nullable: true
                              type: string
                              format: date-time
                          required:
                            - id
                            - ref
                            - type
                            - status
                            - scheduledStart
                          additionalProperties: false
                      required:
                        - id
                        - comment
                        - providerAction
                        - clientDecision
                        - clientDecisionComment
                        - createdAt
                        - attachments
                        - intervention
                      additionalProperties: false
                  resolution:
                    type: object
                    properties:
                      resolvedBy:
                        nullable: true
                        type: object
                        properties:
                          name:
                            type: string
                        required:
                          - name
                        additionalProperties: false
                      resolvedByProvider:
                        nullable: true
                        type: object
                        properties:
                          name:
                            type: string
                        required:
                          - name
                        additionalProperties: false
                    required:
                      - resolvedBy
                      - resolvedByProvider
                    additionalProperties: false
                  libraryAnomaly:
                    nullable: true
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      title:
                        type: string
                      resolutionDelay:
                        nullable: true
                        type: string
                      category:
                        nullable: true
                        type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          name:
                            type: string
                        required:
                          - id
                          - name
                        additionalProperties: false
                      subCategory:
                        nullable: true
                        type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          name:
                            type: string
                        required:
                          - id
                          - name
                        additionalProperties: false
                    required:
                      - id
                      - title
                      - resolutionDelay
                      - category
                      - subCategory
                    additionalProperties: false
                  assignee:
                    nullable: true
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      name:
                        type: string
                    required:
                      - id
                      - name
                    additionalProperties: false
                required:
                  - id
                  - ref
                  - type
                  - status
                  - risk
                  - title
                  - description
                  - externalReference
                  - unitId
                  - technicalInstallationId
                  - equipmentId
                  - libraryAnomalyId
                  - reportId
                  - caseId
                  - sortOrder
                  - pageNumber
                  - assignedToUserId
                  - resolvedComment
                  - location
                  - organizationId
                  - observedAt
                  - dueAt
                  - resolvedAt
                  - historizedAt
                  - archivedAt
                  - createdAt
                  - updatedAt
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
                  details: {}
                required:
                  - error
                  - message
                  - requestId
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
                  details: {}
                required:
                  - error
                  - message
                  - requestId
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
                  details: {}
                required:
                  - error
                  - message
                  - requestId
                additionalProperties: false

````