openapi: 3.0.3
info:
  title: Sandbox
  description: "\n        A collection of API endpoints you will need to interact with the system.\n\n        About PUT / PATCH requests: PUT means you send the entire resource to be updated, while PATCH means you send only the fields that need to be updated. Also regarding RFC 5789, the body of a PATCH is not filled for some Content-Types, what will work is sending via application/json.\n\n        About Permissions: These can depend on user or organisation user roles and will be given by the system or admin actions internally.\n    "
  version: 1.0.0
servers:
  -
    url: 'https://staging-api.vm400.consulting1x1.info'
tags:
  -
    name: Admin
    description: ''
  -
    name: Auth
    description: ''
  -
    name: Azure/V1
    description: ''
  -
    name: 'CTZ Levels'
    description: ''
  -
    name: 'CTZ Standards'
    description: '<aside class="warning">Only available for ZDHC Admins.</aside>'
  -
    name: Chemical
    description: ''
  -
    name: 'Conformance Levels'
    description: ''
  -
    name: Development
    description: ''
  -
    name: Endpoints
    description: ''
  -
    name: 'Global Search'
    description: ''
  -
    name: InCheck
    description: ''
  -
    name: 'Industry Identifiers'
    description: ''
  -
    name: Internal/V1
    description: ''
  -
    name: Labels
    description: ''
  -
    name: Localisation
    description: ''
  -
    name: 'MRSL Standards'
    description: '<aside class="warning">Only available for ZDHC Admins.</aside>'
  -
    name: Organisations
    description: ''
  -
    name: System
    description: ''
  -
    name: 'Terms and Service'
    description: ''
  -
    name: Users
    description: ''
  -
    name: Wastewater
    description: ''
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: 'Retrieve a token by calling the `/auth/login` endpoint.'
security:
  -
    default: []
paths:
  '/api/admin/{organisation_id}/clearstream':
    get:
      summary: Index
      operationId: index
      description: 'List all clearstream requests'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 12
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 12
        -
          in: query
          name: sort
          description: 'sort by any accepted column: id,status,lab_status,created_at,organisation_name. prefix a "-" before the column name to sort in descending order'
          example: 'id,status,lab_status,created_at,organisation_name'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: id,status,lab_status,created_at,organisation_name. prefix a "-" before the column name to sort in descending order'
            example: 'id,status,lab_status,created_at,organisation_name'
        -
          in: query
          name: 'filter[id]'
          description: 'Filter column id by any accepted value. Matches part of the value.'
          example: eveniet
          required: false
          schema:
            type: string
            description: 'Filter column id by any accepted value. Matches part of the value.'
            example: eveniet
        -
          in: query
          name: 'filter[organisations.name]'
          description: 'Filter column organisations.name by any accepted value. Matches part of the value.'
          example: eius
          required: false
          schema:
            type: string
            description: 'Filter column organisations.name by any accepted value. Matches part of the value.'
            example: eius
        -
          in: query
          name: 'filter[wastewater_reports.status]'
          description: 'Filter column wastewater_reports.status by any accepted value. The status of the report'
          example: unde
          required: false
          schema:
            type: string
            description: 'Filter column wastewater_reports.status by any accepted value. The status of the report'
            example: unde
        -
          in: query
          name: 'filter[wastewater_lab_requests.status]'
          description: 'Filter column wastewater_lab_requests.status by any accepted value. The status of the associated lab request'
          example: minima
          required: false
          schema:
            type: string
            description: 'Filter column wastewater_lab_requests.status by any accepted value. The status of the associated lab request'
            example: minima
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. The date the report was created'
          example: minus
          required: false
          schema:
            type: string
            description: 'Filter column created_at by any accepted value. The date the report was created'
            example: minus
        -
          in: query
          name: search
          description: 'Search in all of these columns: organisations.name, wastewater_reports.reference_id, wastewater_lab_requests.status, wastewater_reports.status'
          example: illo
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: organisations.name, wastewater_reports.reference_id, wastewater_lab_requests.status, wastewater_reports.status'
            example: illo
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: organisations.name, wastewater_reports.status, wastewater_lab_requests.status, wastewater_reports.created_at.'
          example: organisations.name
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: organisations.name, wastewater_reports.status, wastewater_lab_requests.status, wastewater_reports.created_at.'
            example: organisations.name
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Admin
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/admin/{organisation_id}/clearstream/{report_id}':
    get:
      summary: Show
      operationId: show
      description: 'Get a single clearstream report'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 2
                    reference_id: 60-HSER7PY6S32L-W
                    uuid: a05aba8c-5c93-4e50-91e7-04327509c58d
                    organisation_id: 64
                    status: PASSED
                    created_at: '2025-11-14T10:16:12.000000Z'
                    updated_at: '2025-11-19T14:24:04.000000Z'
                    archived_at: '2025-11-19 14:24:04'
                    last_viewed_at: '2025-11-19 14:24:00'
                    payment_completed_at: '2025-11-17 13:36:39'
                    organisation:
                      id: 64
                      maxio_customer_id: 226048
                      reference_id: 01-CR6986RX4H7WL-N
                      pdc_id: null
                      gateway_aid: null
                      uuid: 9f77ac5b-67a0-445a-b72e-e86db5d454b1
                      type_id: 2
                      status: approved
                      name: 'test-Supplier a.rahman'
                      legal_name: 'Hyatt Inc'
                      address_1: '3614 Swaniawski Ports Suite 956'
                      address_2: 'Apt. 823'
                      city: Alfordview
                      state: Connecticut
                      location: SO
                      zip: 21152-3340
                      phone: '+16058376916'
                      email: nyasia32@reichert.com
                      contact_first_name: Priscilla
                      contact_last_name: Breitenberg
                      website: 'https://www.ferry.com/praesentium-provident-qui-nostrum-repellendus-animi-explicabo-ut'
                      avatar_url: null
                      applicant_comment: null
                      reviewer_comment: null
                      registration_mail_sent_at: '1970-02-12 06:44:40'
                      created_at: '2025-07-24T13:23:35.000000Z'
                      updated_at: '2026-02-07T00:00:18.000000Z'
                      reviewer_comment_category: null
                      profile_reviewed_at: '2026-01-19 09:42:53'
                      profile_reviewed_by_user_id: 8
                      location_name: Somalia
                    profile:
                      id: 2
                      report_id: 2
                      version_id: 1
                      requires_testing: 1
                      completed_at: '2025-11-14 10:16:53'
                      created_at: '2025-11-14T10:16:44.000000Z'
                      updated_at: '2025-11-14T10:16:53.000000Z'
                      attributes:
                        -
                          id: 1
                          external_id: 1
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Wastewater 2.2'
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 1
                        -
                          id: 36
                          external_id: 1
                          group_id: 2
                          parent_id: null
                          short: null
                          name: Textile
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 36
                        -
                          id: 52
                          external_id: 13
                          group_id: 3
                          parent_id: null
                          short: null
                          name: 'Vertically integrated Mill'
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 52
                        -
                          id: 53
                          external_id: 14
                          group_id: 3
                          parent_id: null
                          short: null
                          name: 'Down and Feathers processor'
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 53
                        -
                          id: 54
                          external_id: 15
                          group_id: 3
                          parent_id: null
                          short: null
                          name: 'Raw hide/skin to tanned'
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 54
                        -
                          id: 55
                          external_id: 16
                          group_id: 3
                          parent_id: null
                          short: null
                          name: 'Raw hide/skin to crust'
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 55
                        -
                          id: 74
                          external_id: 1
                          group_id: 4
                          parent_id: null
                          short: null
                          name: Direct
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 74
                        -
                          id: 80
                          external_id: 0
                          group_id: 5
                          parent_id: null
                          short: null
                          name: 'less than 15m³ per day'
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 80
                        -
                          id: 82
                          external_id: 0
                          group_id: 6
                          parent_id: null
                          short: null
                          name: 'No'
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 82
                        -
                          id: 91
                          external_id: 0
                          group_id: 7
                          parent_id: null
                          short: null
                          name: 'Not applicable/none'
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 91
                        -
                          id: 98
                          external_id: 0
                          group_id: 8
                          parent_id: null
                          short: null
                          name: 'Not applicable/none'
                          selectable: 1
                          order: null
                          pivot:
                            profile_id: 2
                            attribute_id: 98
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 2
                      reference_id:
                        type: string
                        example: 60-HSER7PY6S32L-W
                      uuid:
                        type: string
                        example: a05aba8c-5c93-4e50-91e7-04327509c58d
                      organisation_id:
                        type: integer
                        example: 64
                      status:
                        type: string
                        example: PASSED
                      created_at:
                        type: string
                        example: '2025-11-14T10:16:12.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-19T14:24:04.000000Z'
                      archived_at:
                        type: string
                        example: '2025-11-19 14:24:04'
                      last_viewed_at:
                        type: string
                        example: '2025-11-19 14:24:00'
                      payment_completed_at:
                        type: string
                        example: '2025-11-17 13:36:39'
                      organisation:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 64
                          maxio_customer_id:
                            type: integer
                            example: 226048
                          reference_id:
                            type: string
                            example: 01-CR6986RX4H7WL-N
                          pdc_id:
                            type: string
                            example: null
                            nullable: true
                          gateway_aid:
                            type: string
                            example: null
                            nullable: true
                          uuid:
                            type: string
                            example: 9f77ac5b-67a0-445a-b72e-e86db5d454b1
                          type_id:
                            type: integer
                            example: 2
                          status:
                            type: string
                            example: approved
                          name:
                            type: string
                            example: 'test-Supplier a.rahman'
                          legal_name:
                            type: string
                            example: 'Hyatt Inc'
                          address_1:
                            type: string
                            example: '3614 Swaniawski Ports Suite 956'
                          address_2:
                            type: string
                            example: 'Apt. 823'
                          city:
                            type: string
                            example: Alfordview
                          state:
                            type: string
                            example: Connecticut
                          location:
                            type: string
                            example: SO
                          zip:
                            type: string
                            example: 21152-3340
                          phone:
                            type: string
                            example: '+16058376916'
                          email:
                            type: string
                            example: nyasia32@reichert.com
                          contact_first_name:
                            type: string
                            example: Priscilla
                          contact_last_name:
                            type: string
                            example: Breitenberg
                          website:
                            type: string
                            example: 'https://www.ferry.com/praesentium-provident-qui-nostrum-repellendus-animi-explicabo-ut'
                          avatar_url:
                            type: string
                            example: null
                            nullable: true
                          applicant_comment:
                            type: string
                            example: null
                            nullable: true
                          reviewer_comment:
                            type: string
                            example: null
                            nullable: true
                          registration_mail_sent_at:
                            type: string
                            example: '1970-02-12 06:44:40'
                          created_at:
                            type: string
                            example: '2025-07-24T13:23:35.000000Z'
                          updated_at:
                            type: string
                            example: '2026-02-07T00:00:18.000000Z'
                          reviewer_comment_category:
                            type: string
                            example: null
                            nullable: true
                          profile_reviewed_at:
                            type: string
                            example: '2026-01-19 09:42:53'
                          profile_reviewed_by_user_id:
                            type: integer
                            example: 8
                          location_name:
                            type: string
                            example: Somalia
                      profile:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 2
                          report_id:
                            type: integer
                            example: 2
                          version_id:
                            type: integer
                            example: 1
                          requires_testing:
                            type: integer
                            example: 1
                          completed_at:
                            type: string
                            example: '2025-11-14 10:16:53'
                          created_at:
                            type: string
                            example: '2025-11-14T10:16:44.000000Z'
                          updated_at:
                            type: string
                            example: '2025-11-14T10:16:53.000000Z'
                          attributes:
                            type: array
                            example:
                              -
                                id: 1
                                external_id: 1
                                group_id: 1
                                parent_id: null
                                short: null
                                name: 'Wastewater 2.2'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 1
                              -
                                id: 36
                                external_id: 1
                                group_id: 2
                                parent_id: null
                                short: null
                                name: Textile
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 36
                              -
                                id: 52
                                external_id: 13
                                group_id: 3
                                parent_id: null
                                short: null
                                name: 'Vertically integrated Mill'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 52
                              -
                                id: 53
                                external_id: 14
                                group_id: 3
                                parent_id: null
                                short: null
                                name: 'Down and Feathers processor'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 53
                              -
                                id: 54
                                external_id: 15
                                group_id: 3
                                parent_id: null
                                short: null
                                name: 'Raw hide/skin to tanned'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 54
                              -
                                id: 55
                                external_id: 16
                                group_id: 3
                                parent_id: null
                                short: null
                                name: 'Raw hide/skin to crust'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 55
                              -
                                id: 74
                                external_id: 1
                                group_id: 4
                                parent_id: null
                                short: null
                                name: Direct
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 74
                              -
                                id: 80
                                external_id: 0
                                group_id: 5
                                parent_id: null
                                short: null
                                name: 'less than 15m³ per day'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 80
                              -
                                id: 82
                                external_id: 0
                                group_id: 6
                                parent_id: null
                                short: null
                                name: 'No'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 82
                              -
                                id: 91
                                external_id: 0
                                group_id: 7
                                parent_id: null
                                short: null
                                name: 'Not applicable/none'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 91
                              -
                                id: 98
                                external_id: 0
                                group_id: 8
                                parent_id: null
                                short: null
                                name: 'Not applicable/none'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 98
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 1
                                external_id:
                                  type: integer
                                  example: 1
                                group_id:
                                  type: integer
                                  example: 1
                                parent_id:
                                  type: string
                                  example: null
                                  nullable: true
                                short:
                                  type: string
                                  example: null
                                  nullable: true
                                name:
                                  type: string
                                  example: 'Wastewater 2.2'
                                selectable:
                                  type: integer
                                  example: 1
                                order:
                                  type: string
                                  example: null
                                  nullable: true
                                pivot:
                                  type: object
                                  properties:
                                    profile_id:
                                      type: integer
                                      example: 2
                                    attribute_id:
                                      type: integer
                                      example: 1
      tags:
        - Admin
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/admin/{organisation_id}/clearstream/{report_id}/terminate':
    post:
      summary: Terminate
      operationId: terminate
      description: 'Terminate any ongoing clearstream cycle'
      parameters: []
      responses: {  }
      tags:
        - Admin
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/admin/{organisation_id}/incheck/visibility':
    get:
      summary: Index
      operationId: index
      description: 'List InCheck visibility settings for an organisation of type Performance InCheck Provider'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 17
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 17
        -
          in: query
          name: 'filter[organisation_name]'
          description: 'Filter column organisation_name by any accepted value. name of the organisation'
          example: modi
          required: false
          schema:
            type: string
            description: 'Filter column organisation_name by any accepted value. name of the organisation'
            example: modi
        -
          in: query
          name: 'filter[level_name]'
          description: 'Filter column level_name by any accepted value. name of the InCheck level'
          example: non
          required: false
          schema:
            type: string
            description: 'Filter column level_name by any accepted value. name of the InCheck level'
            example: non
        -
          in: query
          name: 'filter[visibility_visible]'
          description: 'Filter column visibility_visible by any accepted value. visibility status'
          example: false
          required: false
          schema:
            type: boolean
            description: 'Filter column visibility_visible by any accepted value. visibility status'
            example: false
        -
          in: query
          name: 'filter[visibility_active]'
          description: 'Filter column visibility_active by any accepted value. active status'
          example: false
          required: false
          schema:
            type: boolean
            description: 'Filter column visibility_active by any accepted value. active status'
            example: false
        -
          in: query
          name: 'filter[visibility_marketing_text]'
          description: 'Filter column visibility_marketing_text by any accepted value. marketing text'
          example: aut
          required: false
          schema:
            type: string
            description: 'Filter column visibility_marketing_text by any accepted value. marketing text'
            example: aut
        -
          in: query
          name: sort
          description: 'sort by any accepted column: organisation_name,level_name,visibility_visible,visibility_active,visibility_marketing_text. prefix a "-" before the column name to sort in descending order'
          example: 'organisation_name,level_name,visibility_visible,visibility_active,visibility_marketing_text'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: organisation_name,level_name,visibility_visible,visibility_active,visibility_marketing_text. prefix a "-" before the column name to sort in descending order'
            example: 'organisation_name,level_name,visibility_visible,visibility_active,visibility_marketing_text'
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Admin
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/admin/{organisation_id}/incheck/visibility/{id}':
    put:
      summary: Update
      operationId: update
      description: 'Update an InCheck visibility setting'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'InCheck visibility updated successfully.'
                properties:
                  message:
                    type: string
                    example: 'InCheck visibility updated successfully.'
      tags:
        - Admin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: vnhftgtpzolx
                visible:
                  type: boolean
                  description: ''
                  example: true
                active:
                  type: boolean
                  description: ''
                  example: true
                marketing_text:
                  type: string
                  description: 'Must not be greater than 1024 characters.'
                  example: bgiuqcyztkipvkvgtfyom
              required:
                - name
                - visible
                - active
                - marketing_text
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the visibility.'
        example: 1
        required: true
        schema:
          type: integer
  /api/admin/organisation-api-keys:
    get:
      summary: Index
      operationId: index
      description: 'List Organisation API Keys (with trashed!)'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 11
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 11
        -
          in: query
          name: 'filter[id]'
          description: 'Filter column id by any accepted value. Matches exact value.'
          example: soluta
          required: false
          schema:
            type: string
            description: 'Filter column id by any accepted value. Matches exact value.'
            example: soluta
        -
          in: query
          name: 'filter[organisation_id]'
          description: 'Filter column organisation_id by any accepted value. Matches exact value.'
          example: quis
          required: false
          schema:
            type: string
            description: 'Filter column organisation_id by any accepted value. Matches exact value.'
            example: quis
        -
          in: query
          name: 'filter[last_used_at]'
          description: 'Filter column last_used_at by any accepted value. Has dynamic date filtering, e.g. <= < = > >='
          example: iusto
          required: false
          schema:
            type: string
            description: 'Filter column last_used_at by any accepted value. Has dynamic date filtering, e.g. <= < = > >='
            example: iusto
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. Has dynamic date filtering, e.g. <= < = > >='
          example: unde
          required: false
          schema:
            type: string
            description: 'Filter column created_at by any accepted value. Has dynamic date filtering, e.g. <= < = > >='
            example: unde
        -
          in: query
          name: sort
          description: 'sort by any accepted column: id,organisation_id,last_used_at,created_at. prefix a "-" before the column name to sort in descending order'
          example: 'id,organisation_id,last_used_at,created_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: id,organisation_id,last_used_at,created_at. prefix a "-" before the column name to sort in descending order'
            example: 'id,organisation_id,last_used_at,created_at'
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Admin
    post:
      summary: Store
      operationId: store
      description: 'Create a new Organisation API Key'
      parameters: []
      responses:
        201:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n \"message\": \"Organisation API key created successfully.\"\n \"api_key\": \"foreign_api_key|0de1eb785a5d603f8c56057e6408914a3bd854e4e22e878689b92c6b25b851e7\"\n}"
      tags:
        - Endpoints
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organisation_user_id:
                  type: string
                  description: 'The <code>id</code> of an existing record in the organisation_user table.'
                  example: incidunt
              required:
                - organisation_user_id
  '/api/admin/organisation-api-keys/{token_id}':
    delete:
      summary: Destroy
      operationId: destroy
      description: 'Delete an Organisation API Key'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Organisation API key revoked successfully.'
                properties:
                  message:
                    type: string
                    example: 'Organisation API key revoked successfully.'
      tags:
        - Admin
    parameters:
      -
        in: path
        name: token_id
        description: 'The ID of the token.'
        example: 98
        required: true
        schema:
          type: integer
  '/api/admin/{organisation_id}/organisations/invitations':
    get:
      summary: Index
      operationId: index
      description: 'Shows all organisation invitations.'
      parameters:
        -
          in: query
          name: 'filter[organisations.type_id]'
          description: 'Filter column organisations.type_id by any accepted value. Receiving organisation type id.'
          example: 7
          required: false
          schema:
            type: integer
            description: 'Filter column organisations.type_id by any accepted value. Receiving organisation type id.'
            example: 7
        -
          in: query
          name: 'filter[status]'
          description: 'Filter column status by any accepted value. Status of the invitation. (REGISTERED, INVITED, EXPIRED)'
          example: nostrum
          required: false
          schema:
            type: string
            description: 'Filter column status by any accepted value. Status of the invitation. (REGISTERED, INVITED, EXPIRED)'
            example: nostrum
        -
          in: query
          name: sort
          description: 'sort by any accepted column: receiving_user_mail,receiving_organisation_type,status,created_at. prefix a "-" before the column name to sort in descending order'
          example: 'receiving_user_mail,receiving_organisation_type,status,created_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: receiving_user_mail,receiving_organisation_type,status,created_at. prefix a "-" before the column name to sort in descending order'
            example: 'receiving_user_mail,receiving_organisation_type,status,created_at'
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 18
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 18
        -
          in: query
          name: search
          description: 'Search in all of these columns: receiving_user_mail, receiving_organisation_name'
          example: porro
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: receiving_user_mail, receiving_organisation_name'
            example: porro
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      reference_id: 06-MAKEKAGX8HE9-S
                      uuid: a05aa71d-1a73-4ad4-ab85-bfeea70d8d76
                      inviting_organisation_id: 13416
                      inviting_user_id: 1
                      receiving_organisation_id: 13416
                      receiving_user_id: 1
                      status: INVITED
                      valid_until: '2025-11-21T09:21:52.000000Z'
                      redeemed_at: null
                      created_at: '2025-11-14T09:21:52.000000Z'
                      updated_at: '2025-11-14T09:21:52.000000Z'
                    -
                      id: 1
                      reference_id: 06-MAKEKAGX8HE9-S
                      uuid: a05aa71d-1a73-4ad4-ab85-bfeea70d8d76
                      inviting_organisation_id: 13416
                      inviting_user_id: 1
                      receiving_organisation_id: 13416
                      receiving_user_id: 1
                      status: INVITED
                      valid_until: '2025-11-21T09:21:52.000000Z'
                      redeemed_at: null
                      created_at: '2025-11-14T09:21:52.000000Z'
                      updated_at: '2025-11-14T09:21:52.000000Z'
                  links:
                    first: '/?page=1'
                    last: null
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    path: /
                    per_page: '100'
                    to: 2
                  receiving_user_mail: user@example.com
                  receiving_organisation_type: '1'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        reference_id: 06-MAKEKAGX8HE9-S
                        uuid: a05aa71d-1a73-4ad4-ab85-bfeea70d8d76
                        inviting_organisation_id: 13416
                        inviting_user_id: 1
                        receiving_organisation_id: 13416
                        receiving_user_id: 1
                        status: INVITED
                        valid_until: '2025-11-21T09:21:52.000000Z'
                        redeemed_at: null
                        created_at: '2025-11-14T09:21:52.000000Z'
                        updated_at: '2025-11-14T09:21:52.000000Z'
                      -
                        id: 1
                        reference_id: 06-MAKEKAGX8HE9-S
                        uuid: a05aa71d-1a73-4ad4-ab85-bfeea70d8d76
                        inviting_organisation_id: 13416
                        inviting_user_id: 1
                        receiving_organisation_id: 13416
                        receiving_user_id: 1
                        status: INVITED
                        valid_until: '2025-11-21T09:21:52.000000Z'
                        redeemed_at: null
                        created_at: '2025-11-14T09:21:52.000000Z'
                        updated_at: '2025-11-14T09:21:52.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        reference_id:
                          type: string
                          example: 06-MAKEKAGX8HE9-S
                        uuid:
                          type: string
                          example: a05aa71d-1a73-4ad4-ab85-bfeea70d8d76
                        inviting_organisation_id:
                          type: integer
                          example: 13416
                        inviting_user_id:
                          type: integer
                          example: 1
                        receiving_organisation_id:
                          type: integer
                          example: 13416
                        receiving_user_id:
                          type: integer
                          example: 1
                        status:
                          type: string
                          example: INVITED
                        valid_until:
                          type: string
                          example: '2025-11-21T09:21:52.000000Z'
                        redeemed_at:
                          type: string
                          example: null
                          nullable: true
                        created_at:
                          type: string
                          example: '2025-11-14T09:21:52.000000Z'
                        updated_at:
                          type: string
                          example: '2025-11-14T09:21:52.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: null
                        nullable: true
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      path:
                        type: string
                        example: /
                      per_page:
                        type: string
                        example: '100'
                      to:
                        type: integer
                        example: 2
                  receiving_user_mail:
                    type: string
                    example: user@example.com
                  receiving_organisation_type:
                    type: string
                    example: '1'
      tags:
        - Admin
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  /api/admin/users:
    get:
      summary: Index
      operationId: index
      description: 'Get all users.'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 18
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 18
        -
          in: query
          name: sort
          description: 'sort by any accepted column: first_name,last_name,email,registration_date,last_active_at,invitation_status,profile_reviewed_at. prefix a "-" before the column name to sort in descending order'
          example: 'first_name,last_name,email,registration_date,last_active_at,invitation_status,profile_reviewed_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: first_name,last_name,email,registration_date,last_active_at,invitation_status,profile_reviewed_at. prefix a "-" before the column name to sort in descending order'
            example: 'first_name,last_name,email,registration_date,last_active_at,invitation_status,profile_reviewed_at'
        -
          in: query
          name: 'filter[invitation_status]'
          description: 'Filter column invitation_status by any accepted value. Matches part of the value.'
          example: repellendus
          required: false
          schema:
            type: string
            description: 'Filter column invitation_status by any accepted value. Matches part of the value.'
            example: repellendus
        -
          in: query
          name: 'filter[profile_reviewed_at]'
          description: 'Filter column profile_reviewed_at by any accepted value. users.profile_reviewed_at'
          example: nostrum
          required: false
          schema:
            type: custom
            description: 'Filter column profile_reviewed_at by any accepted value. users.profile_reviewed_at'
            example: nostrum
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: search
          description: 'Search in all of these columns: first_name, last_name, email'
          example: magni
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: first_name, last_name, email'
            example: magni
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      reference_id: 02-TXFQXFYRE4ACK-M
                      ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                      pdc_id: null
                      role_id: 2
                      first_name: System
                      last_name: User
                      email: admin@localhost
                      email_verified_at: null
                      phone: '+13523381248'
                      location: null
                      locale: es_BO
                      created_at: '2025-07-24T13:23:18.000000Z'
                      updated_at: '2025-12-08T15:12:52.000000Z'
                      deleted_at: null
                      last_active_at: '2025-12-02T13:51:01.000000Z'
                      profile_reviewed_at: null
                      status: active
                      profile_picture_url: null
                      location_name: null
                    -
                      id: 1
                      reference_id: 02-TXFQXFYRE4ACK-M
                      ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                      pdc_id: null
                      role_id: 2
                      first_name: System
                      last_name: User
                      email: admin@localhost
                      email_verified_at: null
                      phone: '+13523381248'
                      location: null
                      locale: es_BO
                      created_at: '2025-07-24T13:23:18.000000Z'
                      updated_at: '2025-12-08T15:12:52.000000Z'
                      deleted_at: null
                      last_active_at: '2025-12-02T13:51:01.000000Z'
                      profile_reviewed_at: null
                      status: active
                      profile_picture_url: null
                      location_name: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        reference_id: 02-TXFQXFYRE4ACK-M
                        ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                        pdc_id: null
                        role_id: 2
                        first_name: System
                        last_name: User
                        email: admin@localhost
                        email_verified_at: null
                        phone: '+13523381248'
                        location: null
                        locale: es_BO
                        created_at: '2025-07-24T13:23:18.000000Z'
                        updated_at: '2025-12-08T15:12:52.000000Z'
                        deleted_at: null
                        last_active_at: '2025-12-02T13:51:01.000000Z'
                        profile_reviewed_at: null
                        status: active
                        profile_picture_url: null
                        location_name: null
                      -
                        id: 1
                        reference_id: 02-TXFQXFYRE4ACK-M
                        ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                        pdc_id: null
                        role_id: 2
                        first_name: System
                        last_name: User
                        email: admin@localhost
                        email_verified_at: null
                        phone: '+13523381248'
                        location: null
                        locale: es_BO
                        created_at: '2025-07-24T13:23:18.000000Z'
                        updated_at: '2025-12-08T15:12:52.000000Z'
                        deleted_at: null
                        last_active_at: '2025-12-02T13:51:01.000000Z'
                        profile_reviewed_at: null
                        status: active
                        profile_picture_url: null
                        location_name: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        reference_id:
                          type: string
                          example: 02-TXFQXFYRE4ACK-M
                        ulid:
                          type: string
                          example: 01k0y9mg650dbx0cp4nhq1vm7m
                        pdc_id:
                          type: string
                          example: null
                          nullable: true
                        role_id:
                          type: integer
                          example: 2
                        first_name:
                          type: string
                          example: System
                        last_name:
                          type: string
                          example: User
                        email:
                          type: string
                          example: admin@localhost
                        email_verified_at:
                          type: string
                          example: null
                          nullable: true
                        phone:
                          type: string
                          example: '+13523381248'
                        location:
                          type: string
                          example: null
                          nullable: true
                        locale:
                          type: string
                          example: es_BO
                        created_at:
                          type: string
                          example: '2025-07-24T13:23:18.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-08T15:12:52.000000Z'
                        deleted_at:
                          type: string
                          example: null
                          nullable: true
                        last_active_at:
                          type: string
                          example: '2025-12-02T13:51:01.000000Z'
                        profile_reviewed_at:
                          type: string
                          example: null
                          nullable: true
                        status:
                          type: string
                          example: active
                        profile_picture_url:
                          type: string
                          example: null
                          nullable: true
                        location_name:
                          type: string
                          example: null
                          nullable: true
      tags:
        - Admin
  '/api/admin/users/{id}':
    put:
      summary: Update
      operationId: update
      description: "Update a user.\n\n<aside class=\"warning\">Requires a ZDHC_INTERNAL user</aside>"
      parameters: []
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'User updated successfully'
                properties:
                  message:
                    type: string
                    example: 'User updated successfully'
      tags:
        - Admin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  type: string
                  description: 'Must be at least 2 characters. Must not be greater than 50 characters.'
                  example: olsemlxfzxoeznvfhvycxnha
                last_name:
                  type: string
                  description: 'Must be at least 2 characters. Must not be greater than 50 characters.'
                  example: gtnjv
                email:
                  type: string
                  description: 'Must be a valid email address. Must not be greater than 254 characters.'
                  example: yfeest@example.com
                phone:
                  type: string
                  description: "The user's phone number. Must be at least 8 characters. Must not be greater than 20 characters."
                  example: '+1234567890'
                location:
                  type: string
                  description: "The user's location. Must not be greater than 255 characters."
                  example: US
                  nullable: true
                locale:
                  type: string
                  description: 'Must not be greater than 12 characters.'
                  example: se_FI
                  nullable: true
              required:
                - first_name
                - last_name
                - email
                - phone
    get:
      summary: Show
      operationId: show
      description: 'Display the specified resource.'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Admin
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/admin/users/{user_id}/reset-password':
    post:
      summary: 'Reset Password'
      operationId: resetPassword
      description: 'Shares functionality from auth.forgot-password route but not throttled for admins'
      parameters: []
      responses: {  }
      tags:
        - Admin
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/incheck/{organisation_id}/visibility':
    get:
      summary: Index
      operationId: index
      description: 'List InCheck visibility settings for an organisation of type Performance InCheck Provider'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 2
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 2
        -
          in: query
          name: 'filter[organisation_name]'
          description: 'Filter column organisation_name by any accepted value. name of the organisation'
          example: quis
          required: false
          schema:
            type: string
            description: 'Filter column organisation_name by any accepted value. name of the organisation'
            example: quis
        -
          in: query
          name: 'filter[level_name]'
          description: 'Filter column level_name by any accepted value. name of the InCheck level'
          example: molestiae
          required: false
          schema:
            type: string
            description: 'Filter column level_name by any accepted value. name of the InCheck level'
            example: molestiae
        -
          in: query
          name: 'filter[visibility_visible]'
          description: 'Filter column visibility_visible by any accepted value. visibility status'
          example: true
          required: false
          schema:
            type: boolean
            description: 'Filter column visibility_visible by any accepted value. visibility status'
            example: true
        -
          in: query
          name: 'filter[visibility_active]'
          description: 'Filter column visibility_active by any accepted value. active status'
          example: false
          required: false
          schema:
            type: boolean
            description: 'Filter column visibility_active by any accepted value. active status'
            example: false
        -
          in: query
          name: 'filter[visibility_marketing_text]'
          description: 'Filter column visibility_marketing_text by any accepted value. marketing text'
          example: delectus
          required: false
          schema:
            type: string
            description: 'Filter column visibility_marketing_text by any accepted value. marketing text'
            example: delectus
        -
          in: query
          name: sort
          description: 'sort by any accepted column: organisation_name,level_name,visibility_visible,visibility_active,visibility_marketing_text. prefix a "-" before the column name to sort in descending order'
          example: 'organisation_name,level_name,visibility_visible,visibility_active,visibility_marketing_text'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: organisation_name,level_name,visibility_visible,visibility_active,visibility_marketing_text. prefix a "-" before the column name to sort in descending order'
            example: 'organisation_name,level_name,visibility_visible,visibility_active,visibility_marketing_text'
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Admin
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  /api/auth/login:
    post:
      summary: Login
      operationId: login
      description: 'Handle an incoming authentication request.'
      parameters: []
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'You have been successfully logged in.'
                  token: _token_
                properties:
                  message:
                    type: string
                    example: 'You have been successfully logged in.'
                  token:
                    type: string
                    example: _token_
        401:
          description: ''
          content:
            application/json:
              schema:
                oneOf:
                  -
                    description: 'wrong credentials'
                    type: object
                    example:
                      message: 'These credentials do not match our records'
                    properties:
                      message:
                        type: string
                        example: 'These credentials do not match our records'
                  -
                    description: 'plattform is not registered'
                    type: object
                    example:
                      message: "Plattform for Host $host doesn't exist"
                    properties:
                      message:
                        type: string
                        example: "Plattform for Host $host doesn't exist"
        412:
          description: 'validation error'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'must be valid email'
                properties:
                  message:
                    type: string
                    example: 'must be valid email'
      tags:
        - Auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'The email of the user. Must be a valid email address. Must not be greater than 254 characters.'
                  example: admin@localhost
                password:
                  type: string
                  description: 'The password of the user. Must not be greater than 255 characters.'
                  example: password
                remember:
                  type: boolean
                  description: ''
                  example: true
                  nullable: true
              required:
                - email
                - password
      security: []
  /api/auth/logout:
    post:
      summary: Logout
      operationId: logout
      description: 'Log the user out of the application.'
      parameters: []
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'You have been successfully logged out.'
                properties:
                  message:
                    type: string
                    example: 'You have been successfully logged out.'
      tags:
        - Auth
  /api/auth/getUserByToken:
    get:
      summary: 'Get User By Token'
      operationId: getUserByToken
      description: 'Get the user Bearer Token'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    reference_id: 02-TXFQXFYRE4ACK-M
                    ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                    pdc_id: null
                    role_id: 2
                    first_name: System
                    last_name: User
                    email: admin@localhost
                    email_verified_at: null
                    phone: '+13523381248'
                    location: null
                    locale: es_BO
                    created_at: '2025-07-24T13:23:18.000000Z'
                    updated_at: '2025-12-08T15:12:52.000000Z'
                    deleted_at: null
                    last_active_at: '2025-12-02T13:51:01.000000Z'
                    profile_reviewed_at: null
                    status: active
                    profile_picture_url: null
                    location_name: null
                    role:
                      id: 2
                      parent_id: null
                      name: USER
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      reference_id:
                        type: string
                        example: 02-TXFQXFYRE4ACK-M
                      ulid:
                        type: string
                        example: 01k0y9mg650dbx0cp4nhq1vm7m
                      pdc_id:
                        type: string
                        example: null
                        nullable: true
                      role_id:
                        type: integer
                        example: 2
                      first_name:
                        type: string
                        example: System
                      last_name:
                        type: string
                        example: User
                      email:
                        type: string
                        example: admin@localhost
                      email_verified_at:
                        type: string
                        example: null
                        nullable: true
                      phone:
                        type: string
                        example: '+13523381248'
                      location:
                        type: string
                        example: null
                        nullable: true
                      locale:
                        type: string
                        example: es_BO
                      created_at:
                        type: string
                        example: '2025-07-24T13:23:18.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-08T15:12:52.000000Z'
                      deleted_at:
                        type: string
                        example: null
                        nullable: true
                      last_active_at:
                        type: string
                        example: '2025-12-02T13:51:01.000000Z'
                      profile_reviewed_at:
                        type: string
                        example: null
                        nullable: true
                      status:
                        type: string
                        example: active
                      profile_picture_url:
                        type: string
                        example: null
                        nullable: true
                      location_name:
                        type: string
                        example: null
                        nullable: true
                      role:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 2
                          parent_id:
                            type: string
                            example: null
                            nullable: true
                          name:
                            type: string
                            example: USER
      tags:
        - Auth
  /api/auth/forgot-password:
    post:
      summary: 'Forgot Password'
      operationId: forgotPassword
      description: 'Handle an incoming password reset link request.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                oneOf:
                  -
                    description: successful
                    type: object
                    example:
                      message: 'You will receive instructions to reset email if you have an account with us.'
                    properties:
                      message:
                        type: string
                        example: 'You will receive instructions to reset email if you have an account with us.'
                  -
                    description: 'wrong email'
                    type: object
                    example:
                      message: 'You will receive instructions to reset email if you have an account with us.'
                    properties:
                      message:
                        type: string
                        example: 'You will receive instructions to reset email if you have an account with us.'
        412:
          description: 'validation error'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'must be valid email'
                properties:
                  message:
                    type: string
                    example: 'must be valid email'
      tags:
        - Auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'Must be a valid email address. The <code>email</code> of an existing record in the users table.'
                  example: reina.pfannerstill@example.com
              required:
                - email
      security: []
  /api/auth/reset-password:
    post:
      summary: 'Reset Password'
      operationId: resetPassword
      description: 'Reset a password requested in a forgot password request'
      parameters:
        -
          in: query
          name: token
          description: 'The password reset token, gathered from the reset link in the email.'
          example: quos
          required: true
          schema:
            type: string
            description: 'The password reset token, gathered from the reset link in the email.'
            example: quos
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Your password has been reset.'
                properties:
                  message:
                    type: string
                    example: 'Your password has been reset.'
        412:
          description: 'validation error'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'must be valid email'
                properties:
                  message:
                    type: string
                    example: 'must be valid email'
      tags:
        - Auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'The email.'
                  example: willard20@example.net
                token:
                  type: string
                  description: 'this is not actually necessary in body, but documentation generates this falsely.'
                  example: non
                password:
                  type: string
                  description: 'The new password.'
                  example: password
                password_confirmation:
                  type: string
                  description: 'The password confirmation.'
                  example: password
              required:
                - email
                - password
                - password_confirmation
      security: []
  '/api/auth/users/{user_id}/verify-email':
    get:
      summary: 'Verify Email'
      operationId: verifyEmail
      description: "Verify an email change request.\n\n<aside class=\"warning\">Allowed for currently authenticated user or via <code>MODIFY_USERS</code> Permission</aside>\n<aside class=\"notice\">Signed Route</aside>"
      parameters:
        -
          in: query
          name: signature
          description: 'signature hash. generated by the action signing this link.'
          example: illum
          required: true
          schema:
            type: string
            description: 'signature hash. generated by the action signing this link.'
            example: illum
        -
          in: query
          name: expires
          description: 'expiring timestamp. generated by the action signing this link.'
          example: 16
          required: true
          schema:
            type: integer
            description: 'expiring timestamp. generated by the action signing this link.'
            example: 16
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Email verified successfully'
                properties:
                  message:
                    type: string
                    example: 'Email verified successfully'
      tags:
        - Auth
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/auth/users/{user_id}/confirm-password-change':
    get:
      summary: 'Confirm password'
      operationId: confirmPassword
      description: "Confirm the password change\n\n<aside class=\"warning\">Allowed for currently authenticated user or via <code>MODIFY_USERS</code> Permission</aside>\n<aside class=\"notice\">Signed Route</aside>"
      parameters:
        -
          in: query
          name: signature
          description: 'signature hash. generated by the action signing this link.'
          example: laboriosam
          required: true
          schema:
            type: string
            description: 'signature hash. generated by the action signing this link.'
            example: laboriosam
        -
          in: query
          name: expires
          description: 'expiring timestamp. generated by the action signing this link.'
          example: 11
          required: true
          schema:
            type: integer
            description: 'expiring timestamp. generated by the action signing this link.'
            example: 11
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Password change succeeded'
                properties:
                  message:
                    type: string
                    example: 'Password change succeeded'
      tags:
        - Auth
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/auth/complete-registration/{user_id}':
    post:
      summary: 'Complete Registration'
      operationId: completeRegistration
      description: "Complete the registration of a user, which was created by invitation.\n\n<aside class=\"warning\">Allowed for currently authenticated user or via <code>MODIFY_USERS</code> Permission</aside>\n<aside class=\"notice\">Signed Route</aside>"
      parameters:
        -
          in: query
          name: signature
          description: 'signature hash. generated by the action signing this link.'
          example: qui
          required: true
          schema:
            type: string
            description: 'signature hash. generated by the action signing this link.'
            example: qui
        -
          in: query
          name: expires
          description: 'expiring timestamp. generated by the action signing this link.'
          example: 5
          required: true
          schema:
            type: integer
            description: 'expiring timestamp. generated by the action signing this link.'
            example: 5
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Registration completed successfully'
                properties:
                  message:
                    type: string
                    example: 'Registration completed successfully'
      tags:
        - Auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  type: string
                  description: 'Must be at least 2 characters. Must not be greater than 50 characters.'
                  example: qi
                last_name:
                  type: string
                  description: 'Must be at least 2 characters. Must not be greater than 50 characters.'
                  example: pigyaauzkaidjvdpcawas
                password:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: '`PDqitxgbCClsGe#Qq'
                password_confirmation:
                  type: string
                  description: 'The value and <code>password</code> must match.'
                  example: totam
                phone:
                  type: string
                  description: 'The phone number of the user. Must be at least 8 characters. Must not be greater than 20 characters.'
                  example: '+49123456789'
                  nullable: true
                locale:
                  type: string
                  description: 'Must not be greater than 12 characters.'
                  example: es_CR
                  nullable: true
                location:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: ixoqouobdottgacy
                  nullable: true
              required:
                - first_name
                - last_name
                - password
                - password_confirmation
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/auth/setOrganisationUser/{organisationUser_id}':
    get:
      summary: 'Set Organisation User'
      operationId: setOrganisationUser
      description: "Set the organisation user for the current personal access token.\n\n<aside class=\"notice\">The organisation user must belong to the same user as the personal access token.</aside>"
      parameters: []
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Organisation user set successfully'
                properties:
                  message:
                    type: string
                    example: 'Organisation user set successfully'
        403:
          description: 'organisation user does not belong to user'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The organisation user must belong to the same user as the personal access token.'
                properties:
                  message:
                    type: string
                    example: 'The organisation user must belong to the same user as the personal access token.'
      tags:
        - Auth
    parameters:
      -
        in: path
        name: organisationUser_id
        description: 'The ID of the organisationUser.'
        example: 1
        required: true
        schema:
          type: integer
  /api/azure/v1/chemical-count-bracket:
    get:
      summary: 'Chemical Count Brackets Index'
      operationId: chemicalCountBracketsIndex
      description: "No model/data source in current system. Returns empty collection so route is callable.\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 10
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 10
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: null
                      CountBracketName: null
                      CreateDate: null
                      LastUpdateDate: null
                    -
                      Id: null
                      CountBracketName: null
                      CreateDate: null
                      LastUpdateDate: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: null
                        CountBracketName: null
                        CreateDate: null
                        LastUpdateDate: null
                      -
                        Id: null
                        CountBracketName: null
                        CreateDate: null
                        LastUpdateDate: null
                    items:
                      type: object
                      properties:
                        Id:
                          type: string
                          example: null
                          nullable: true
                        CountBracketName:
                          type: string
                          example: null
                          nullable: true
                        CreateDate:
                          type: string
                          example: null
                          nullable: true
                        LastUpdateDate:
                          type: string
                          example: null
                          nullable: true
      tags:
        - Azure/V1
  /api/azure/v1/chemical-weight-bracket:
    get:
      summary: 'Chemical Weight Brackets Index'
      operationId: chemicalWeightBracketsIndex
      description: "No model/data source in current system. Returns empty collection so route is callable.\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 17
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 17
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: null
                      ChemicalWeightBracketName: null
                      CreateDate: null
                      LastUpdateDate: null
                    -
                      Id: null
                      ChemicalWeightBracketName: null
                      CreateDate: null
                      LastUpdateDate: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: null
                        ChemicalWeightBracketName: null
                        CreateDate: null
                        LastUpdateDate: null
                      -
                        Id: null
                        ChemicalWeightBracketName: null
                        CreateDate: null
                        LastUpdateDate: null
                    items:
                      type: object
                      properties:
                        Id:
                          type: string
                          example: null
                          nullable: true
                        ChemicalWeightBracketName:
                          type: string
                          example: null
                          nullable: true
                        CreateDate:
                          type: string
                          example: null
                          nullable: true
                        LastUpdateDate:
                          type: string
                          example: null
                          nullable: true
      tags:
        - Azure/V1
  /api/azure/v1/connection-history:
    get:
      summary: 'Connection History Index'
      operationId: connectionHistoryIndex
      description: "List all organisation connection history.\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 6
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 6
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
          example: '= 2026-03-25 14:59:55'
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
            example: '= 2026-03-25 14:59:55'
        -
          in: query
          name: sort
          description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
          example: updated_at
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
            example: updated_at
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      ConnectedFromId: 1
                      ConnectedToId: 1
                      Status: active
                      Published: null
                      StartDate: '2025-07-24 13:23:42'
                      EndDate: null
                      LastUpdateDate: '2025-07-24 13:23:42'
                    -
                      id: 1
                      ConnectedFromId: 1
                      ConnectedToId: 1
                      Status: active
                      Published: null
                      StartDate: '2025-07-24 13:23:42'
                      EndDate: null
                      LastUpdateDate: '2025-07-24 13:23:42'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        ConnectedFromId: 1
                        ConnectedToId: 1
                        Status: active
                        Published: null
                        StartDate: '2025-07-24 13:23:42'
                        EndDate: null
                        LastUpdateDate: '2025-07-24 13:23:42'
                      -
                        id: 1
                        ConnectedFromId: 1
                        ConnectedToId: 1
                        Status: active
                        Published: null
                        StartDate: '2025-07-24 13:23:42'
                        EndDate: null
                        LastUpdateDate: '2025-07-24 13:23:42'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        ConnectedFromId:
                          type: integer
                          example: 1
                        ConnectedToId:
                          type: integer
                          example: 1
                        Status:
                          type: string
                          example: active
                        Published:
                          type: string
                          example: null
                          nullable: true
                        StartDate:
                          type: string
                          example: '2025-07-24 13:23:42'
                        EndDate:
                          type: string
                          example: null
                          nullable: true
                        LastUpdateDate:
                          type: string
                          example: '2025-07-24 13:23:42'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Azure/V1
  /api/azure/v1/material-category:
    get:
      summary: 'Material Categories Index'
      operationId: materialCategoriesIndex
      description: "List all material categories (supplier_attributes from group \"Materials\").\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 2
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 2
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: 1
                      MaterialCategoryName: 'Wastewater 2.2'
                      CreateDate: null
                      LastUpdateDate: null
                    -
                      Id: 1
                      MaterialCategoryName: 'Wastewater 2.2'
                      CreateDate: null
                      LastUpdateDate: null
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: 1
                        MaterialCategoryName: 'Wastewater 2.2'
                        CreateDate: null
                        LastUpdateDate: null
                      -
                        Id: 1
                        MaterialCategoryName: 'Wastewater 2.2'
                        CreateDate: null
                        LastUpdateDate: null
                    items:
                      type: object
                      properties:
                        Id:
                          type: integer
                          example: 1
                        MaterialCategoryName:
                          type: string
                          example: 'Wastewater 2.2'
                        CreateDate:
                          type: string
                          example: null
                          nullable: true
                        LastUpdateDate:
                          type: string
                          example: null
                          nullable: true
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Azure/V1
  /api/azure/v1/organisations:
    get:
      summary: 'Organisations Index'
      operationId: organisationsIndex
      description: "List all organisations.\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 17
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 17
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
          example: '<= 2026-04-16 14:59:55'
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
            example: '<= 2026-04-16 14:59:55'
        -
          in: query
          name: sort
          description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
          example: updated_at
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
            example: updated_at
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: 1
                      ZDHCAid: null
                      SalesforceId: null
                      SandboxID: 01-CR698383XMWJ2-P
                      PdcId: null
                      Name: 'test-Supplier System'
                      LegalName: 'Schroeder Ltd'
                      Address1: '149 Koss Dam Suite 796'
                      Address2: 'Suite 708'
                      CityName: Bergemouth
                      StateName: Michigan
                      LocationId: BW
                      ZipCode: '26306'
                      Latitude: null
                      Longitude: null
                      Phone: '+17728385594'
                      Email: yessenia18@bahringer.net
                      Website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      TaxId: null
                      IPE: null
                      RegistrationNumber: null
                      OrganisationDescription: null
                      ContactFirstName: Alfonzo
                      ContactLastName: Crooks
                      OrganisationTypeId: 2
                      OsHubId: null
                      HiggId: null
                      CurrentAccountStatusId: null
                      CreateDate: '2025-07-24 13:23:28'
                      DeleteDate: null
                      LastUpdateDate: '2026-03-24 08:26:00'
                    -
                      Id: 1
                      ZDHCAid: null
                      SalesforceId: null
                      SandboxID: 01-CR698383XMWJ2-P
                      PdcId: null
                      Name: 'test-Supplier System'
                      LegalName: 'Schroeder Ltd'
                      Address1: '149 Koss Dam Suite 796'
                      Address2: 'Suite 708'
                      CityName: Bergemouth
                      StateName: Michigan
                      LocationId: BW
                      ZipCode: '26306'
                      Latitude: null
                      Longitude: null
                      Phone: '+17728385594'
                      Email: yessenia18@bahringer.net
                      Website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      TaxId: null
                      IPE: null
                      RegistrationNumber: null
                      OrganisationDescription: null
                      ContactFirstName: Alfonzo
                      ContactLastName: Crooks
                      OrganisationTypeId: 2
                      OsHubId: null
                      HiggId: null
                      CurrentAccountStatusId: null
                      CreateDate: '2025-07-24 13:23:28'
                      DeleteDate: null
                      LastUpdateDate: '2026-03-24 08:26:00'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: 1
                        ZDHCAid: null
                        SalesforceId: null
                        SandboxID: 01-CR698383XMWJ2-P
                        PdcId: null
                        Name: 'test-Supplier System'
                        LegalName: 'Schroeder Ltd'
                        Address1: '149 Koss Dam Suite 796'
                        Address2: 'Suite 708'
                        CityName: Bergemouth
                        StateName: Michigan
                        LocationId: BW
                        ZipCode: '26306'
                        Latitude: null
                        Longitude: null
                        Phone: '+17728385594'
                        Email: yessenia18@bahringer.net
                        Website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        TaxId: null
                        IPE: null
                        RegistrationNumber: null
                        OrganisationDescription: null
                        ContactFirstName: Alfonzo
                        ContactLastName: Crooks
                        OrganisationTypeId: 2
                        OsHubId: null
                        HiggId: null
                        CurrentAccountStatusId: null
                        CreateDate: '2025-07-24 13:23:28'
                        DeleteDate: null
                        LastUpdateDate: '2026-03-24 08:26:00'
                      -
                        Id: 1
                        ZDHCAid: null
                        SalesforceId: null
                        SandboxID: 01-CR698383XMWJ2-P
                        PdcId: null
                        Name: 'test-Supplier System'
                        LegalName: 'Schroeder Ltd'
                        Address1: '149 Koss Dam Suite 796'
                        Address2: 'Suite 708'
                        CityName: Bergemouth
                        StateName: Michigan
                        LocationId: BW
                        ZipCode: '26306'
                        Latitude: null
                        Longitude: null
                        Phone: '+17728385594'
                        Email: yessenia18@bahringer.net
                        Website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        TaxId: null
                        IPE: null
                        RegistrationNumber: null
                        OrganisationDescription: null
                        ContactFirstName: Alfonzo
                        ContactLastName: Crooks
                        OrganisationTypeId: 2
                        OsHubId: null
                        HiggId: null
                        CurrentAccountStatusId: null
                        CreateDate: '2025-07-24 13:23:28'
                        DeleteDate: null
                        LastUpdateDate: '2026-03-24 08:26:00'
                    items:
                      type: object
                      properties:
                        Id:
                          type: integer
                          example: 1
                        ZDHCAid:
                          type: string
                          example: null
                          nullable: true
                        SalesforceId:
                          type: string
                          example: null
                          nullable: true
                        SandboxID:
                          type: string
                          example: 01-CR698383XMWJ2-P
                        PdcId:
                          type: string
                          example: null
                          nullable: true
                        Name:
                          type: string
                          example: 'test-Supplier System'
                        LegalName:
                          type: string
                          example: 'Schroeder Ltd'
                        Address1:
                          type: string
                          example: '149 Koss Dam Suite 796'
                        Address2:
                          type: string
                          example: 'Suite 708'
                        CityName:
                          type: string
                          example: Bergemouth
                        StateName:
                          type: string
                          example: Michigan
                        LocationId:
                          type: string
                          example: BW
                        ZipCode:
                          type: string
                          example: '26306'
                        Latitude:
                          type: string
                          example: null
                          nullable: true
                        Longitude:
                          type: string
                          example: null
                          nullable: true
                        Phone:
                          type: string
                          example: '+17728385594'
                        Email:
                          type: string
                          example: yessenia18@bahringer.net
                        Website:
                          type: string
                          example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        TaxId:
                          type: string
                          example: null
                          nullable: true
                        IPE:
                          type: string
                          example: null
                          nullable: true
                        RegistrationNumber:
                          type: string
                          example: null
                          nullable: true
                        OrganisationDescription:
                          type: string
                          example: null
                          nullable: true
                        ContactFirstName:
                          type: string
                          example: Alfonzo
                        ContactLastName:
                          type: string
                          example: Crooks
                        OrganisationTypeId:
                          type: integer
                          example: 2
                        OsHubId:
                          type: string
                          example: null
                          nullable: true
                        HiggId:
                          type: string
                          example: null
                          nullable: true
                        CurrentAccountStatusId:
                          type: string
                          example: null
                          nullable: true
                        CreateDate:
                          type: string
                          example: '2025-07-24 13:23:28'
                        DeleteDate:
                          type: string
                          example: null
                          nullable: true
                        LastUpdateDate:
                          type: string
                          example: '2026-03-24 08:26:00'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Azure/V1
  /api/azure/v1/organisation-users:
    get:
      summary: 'OrganisationUsers Index'
      operationId: organisationUsersIndex
      description: "List all organisation-users.\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 16
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 16
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
          example: '>= 2026-04-11 14:59:55'
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
            example: '>= 2026-04-11 14:59:55'
        -
          in: query
          name: sort
          description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
          example: updated_at
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
            example: updated_at
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: 1
                      UserId: 02-TXFQXFYRE4ACK-M
                      OrganisationId: 01-CR698383XMWJ2-P
                      RoleId: 4
                      StartDate: '2025-07-24 13:23:28'
                      EndDate: null
                      LastUpdateDate: '2025-12-02 13:51:01'
                    -
                      Id: 1
                      UserId: 02-TXFQXFYRE4ACK-M
                      OrganisationId: 01-CR698383XMWJ2-P
                      RoleId: 4
                      StartDate: '2025-07-24 13:23:28'
                      EndDate: null
                      LastUpdateDate: '2025-12-02 13:51:01'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: 1
                        UserId: 02-TXFQXFYRE4ACK-M
                        OrganisationId: 01-CR698383XMWJ2-P
                        RoleId: 4
                        StartDate: '2025-07-24 13:23:28'
                        EndDate: null
                        LastUpdateDate: '2025-12-02 13:51:01'
                      -
                        Id: 1
                        UserId: 02-TXFQXFYRE4ACK-M
                        OrganisationId: 01-CR698383XMWJ2-P
                        RoleId: 4
                        StartDate: '2025-07-24 13:23:28'
                        EndDate: null
                        LastUpdateDate: '2025-12-02 13:51:01'
                    items:
                      type: object
                      properties:
                        Id:
                          type: integer
                          example: 1
                        UserId:
                          type: string
                          example: 02-TXFQXFYRE4ACK-M
                        OrganisationId:
                          type: string
                          example: 01-CR698383XMWJ2-P
                        RoleId:
                          type: integer
                          example: 4
                        StartDate:
                          type: string
                          example: '2025-07-24 13:23:28'
                        EndDate:
                          type: string
                          example: null
                          nullable: true
                        LastUpdateDate:
                          type: string
                          example: '2025-12-02 13:51:01'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Azure/V1
  /api/azure/v1/processes:
    get:
      summary: 'Processes Index'
      operationId: processesIndex
      description: "List all processes (supplier_attributes from group \"Chemical Process\").\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 4
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 4
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: 1
                      ProcessName: 'Wastewater 2.2'
                      CreateDate: null
                      LastUpdateDate: null
                    -
                      Id: 1
                      ProcessName: 'Wastewater 2.2'
                      CreateDate: null
                      LastUpdateDate: null
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: 1
                        ProcessName: 'Wastewater 2.2'
                        CreateDate: null
                        LastUpdateDate: null
                      -
                        Id: 1
                        ProcessName: 'Wastewater 2.2'
                        CreateDate: null
                        LastUpdateDate: null
                    items:
                      type: object
                      properties:
                        Id:
                          type: integer
                          example: 1
                        ProcessName:
                          type: string
                          example: 'Wastewater 2.2'
                        CreateDate:
                          type: string
                          example: null
                          nullable: true
                        LastUpdateDate:
                          type: string
                          example: null
                          nullable: true
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Azure/V1
  /api/azure/v1/product-category:
    get:
      summary: 'Product Categories Index'
      operationId: productCategoriesIndex
      description: "List all product categories.\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 2
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 2
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
          example: '= 2026-04-05 14:59:55'
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
            example: '= 2026-04-05 14:59:55'
        -
          in: query
          name: sort
          description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
          example: updated_at
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
            example: updated_at
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: 10
                      ProductCategoryName: Colorant
                      CreateDate: '2025-12-16 10:02:53'
                      LastUpdateDate: '2025-12-16 10:02:53'
                    -
                      Id: 10
                      ProductCategoryName: Colorant
                      CreateDate: '2025-12-16 10:02:53'
                      LastUpdateDate: '2025-12-16 10:02:53'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: 10
                        ProductCategoryName: Colorant
                        CreateDate: '2025-12-16 10:02:53'
                        LastUpdateDate: '2025-12-16 10:02:53'
                      -
                        Id: 10
                        ProductCategoryName: Colorant
                        CreateDate: '2025-12-16 10:02:53'
                        LastUpdateDate: '2025-12-16 10:02:53'
                    items:
                      type: object
                      properties:
                        Id:
                          type: integer
                          example: 10
                        ProductCategoryName:
                          type: string
                          example: Colorant
                        CreateDate:
                          type: string
                          example: '2025-12-16 10:02:53'
                        LastUpdateDate:
                          type: string
                          example: '2025-12-16 10:02:53'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Azure/V1
  /api/azure/v1/profile-supplier-product-category:
    get:
      summary: 'Profile Supplier Product Categories Index'
      operationId: profileSupplierProductCategoriesIndex
      description: "No model/data source in current system. Returns empty collection so route is callable.\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 2
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 2
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: null
                      OrganisationId: null
                      ProductCategoryId: null
                      CreateDate: null
                      LastUpdateDate: null
                    -
                      Id: null
                      OrganisationId: null
                      ProductCategoryId: null
                      CreateDate: null
                      LastUpdateDate: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: null
                        OrganisationId: null
                        ProductCategoryId: null
                        CreateDate: null
                        LastUpdateDate: null
                      -
                        Id: null
                        OrganisationId: null
                        ProductCategoryId: null
                        CreateDate: null
                        LastUpdateDate: null
                    items:
                      type: object
                      properties:
                        Id:
                          type: string
                          example: null
                          nullable: true
                        OrganisationId:
                          type: string
                          example: null
                          nullable: true
                        ProductCategoryId:
                          type: string
                          example: null
                          nullable: true
                        CreateDate:
                          type: string
                          example: null
                          nullable: true
                        LastUpdateDate:
                          type: string
                          example: null
                          nullable: true
      tags:
        - Azure/V1
  /api/azure/v1/profile-supplier-type:
    get:
      summary: 'Profile Supplier Types Index'
      operationId: profileSupplierTypesIndex
      description: "List all supplier profiles (organisation_id, facility_type_id = SupplierTypeId).\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 7
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 7
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
          example: '= 2026-04-23 14:59:56'
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
            example: '= 2026-04-23 14:59:56'
        -
          in: query
          name: sort
          description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
          example: updated_at
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
            example: updated_at
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: 1
                      OrganisationId: 1
                      SupplierTypeId: 8
                      CreateDate: '2025-11-14 09:22:11'
                      LastUpdateDate: '2025-11-14 09:22:11'
                    -
                      Id: 1
                      OrganisationId: 1
                      SupplierTypeId: 8
                      CreateDate: '2025-11-14 09:22:11'
                      LastUpdateDate: '2025-11-14 09:22:11'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: 1
                        OrganisationId: 1
                        SupplierTypeId: 8
                        CreateDate: '2025-11-14 09:22:11'
                        LastUpdateDate: '2025-11-14 09:22:11'
                      -
                        Id: 1
                        OrganisationId: 1
                        SupplierTypeId: 8
                        CreateDate: '2025-11-14 09:22:11'
                        LastUpdateDate: '2025-11-14 09:22:11'
                    items:
                      type: object
                      properties:
                        Id:
                          type: integer
                          example: 1
                        OrganisationId:
                          type: integer
                          example: 1
                        SupplierTypeId:
                          type: integer
                          example: 8
                        CreateDate:
                          type: string
                          example: '2025-11-14 09:22:11'
                        LastUpdateDate:
                          type: string
                          example: '2025-11-14 09:22:11'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Azure/V1
  /api/azure/v1/supplier-type:
    get:
      summary: 'Supplier Types Index'
      operationId: supplierTypesIndex
      description: "List all supplier (facility) types.\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 10
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 10
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: 1
                      SupplierTypeName: 'Accessories and Trims'
                      CreateDate: null
                      LastUpdateDate: null
                    -
                      Id: 1
                      SupplierTypeName: 'Accessories and Trims'
                      CreateDate: null
                      LastUpdateDate: null
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: 1
                        SupplierTypeName: 'Accessories and Trims'
                        CreateDate: null
                        LastUpdateDate: null
                      -
                        Id: 1
                        SupplierTypeName: 'Accessories and Trims'
                        CreateDate: null
                        LastUpdateDate: null
                    items:
                      type: object
                      properties:
                        Id:
                          type: integer
                          example: 1
                        SupplierTypeName:
                          type: string
                          example: 'Accessories and Trims'
                        CreateDate:
                          type: string
                          example: null
                          nullable: true
                        LastUpdateDate:
                          type: string
                          example: null
                          nullable: true
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Azure/V1
  /api/azure/v1/users:
    get:
      summary: 'Users Index'
      operationId: usersIndex
      description: "List all users.\n\n<aside class=\"warning\">Requires <code>AZURE_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 14
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 14
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
          example: '< 2026-04-02 14:59:56'
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
            example: '< 2026-04-02 14:59:56'
        -
          in: query
          name: sort
          description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
          example: updated_at
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
            example: updated_at
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      Id: 1
                      UserId: 02-TXFQXFYRE4ACK-M
                      FirstName: System
                      LastName: User
                      FullName: 'System User'
                      IsActive: true
                      Email: admin@localhost
                      Phone: '+13523381248'
                      Address1: null
                      Address2: null
                      StateName: null
                      CityName: null
                      ZipCode: null
                      LocationId: null
                      CreateDate: '2025-07-24 13:23:18'
                      DeleteDate: null
                      LastUpdateDate: '2025-12-08 15:12:52'
                    -
                      Id: 1
                      UserId: 02-TXFQXFYRE4ACK-M
                      FirstName: System
                      LastName: User
                      FullName: 'System User'
                      IsActive: true
                      Email: admin@localhost
                      Phone: '+13523381248'
                      Address1: null
                      Address2: null
                      StateName: null
                      CityName: null
                      ZipCode: null
                      LocationId: null
                      CreateDate: '2025-07-24 13:23:18'
                      DeleteDate: null
                      LastUpdateDate: '2025-12-08 15:12:52'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        Id: 1
                        UserId: 02-TXFQXFYRE4ACK-M
                        FirstName: System
                        LastName: User
                        FullName: 'System User'
                        IsActive: true
                        Email: admin@localhost
                        Phone: '+13523381248'
                        Address1: null
                        Address2: null
                        StateName: null
                        CityName: null
                        ZipCode: null
                        LocationId: null
                        CreateDate: '2025-07-24 13:23:18'
                        DeleteDate: null
                        LastUpdateDate: '2025-12-08 15:12:52'
                      -
                        Id: 1
                        UserId: 02-TXFQXFYRE4ACK-M
                        FirstName: System
                        LastName: User
                        FullName: 'System User'
                        IsActive: true
                        Email: admin@localhost
                        Phone: '+13523381248'
                        Address1: null
                        Address2: null
                        StateName: null
                        CityName: null
                        ZipCode: null
                        LocationId: null
                        CreateDate: '2025-07-24 13:23:18'
                        DeleteDate: null
                        LastUpdateDate: '2025-12-08 15:12:52'
                    items:
                      type: object
                      properties:
                        Id:
                          type: integer
                          example: 1
                        UserId:
                          type: string
                          example: 02-TXFQXFYRE4ACK-M
                        FirstName:
                          type: string
                          example: System
                        LastName:
                          type: string
                          example: User
                        FullName:
                          type: string
                          example: 'System User'
                        IsActive:
                          type: boolean
                          example: true
                        Email:
                          type: string
                          example: admin@localhost
                        Phone:
                          type: string
                          example: '+13523381248'
                        Address1:
                          type: string
                          example: null
                          nullable: true
                        Address2:
                          type: string
                          example: null
                          nullable: true
                        StateName:
                          type: string
                          example: null
                          nullable: true
                        CityName:
                          type: string
                          example: null
                          nullable: true
                        ZipCode:
                          type: string
                          example: null
                          nullable: true
                        LocationId:
                          type: string
                          example: null
                          nullable: true
                        CreateDate:
                          type: string
                          example: '2025-07-24 13:23:18'
                        DeleteDate:
                          type: string
                          example: null
                          nullable: true
                        LastUpdateDate:
                          type: string
                          example: '2025-12-08 15:12:52'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Azure/V1
  /api/ctz-levels:
    get:
      summary: Index
      operationId: index
      description: 'Get all CTZ levels'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    name: Foundational
                    created_at: '2025-12-11T13:11:46.000000Z'
                    updated_at: '2025-12-15T15:35:08.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      name:
                        type: string
                        example: Foundational
                      created_at:
                        type: string
                        example: '2025-12-11T13:11:46.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-15T15:35:08.000000Z'
      tags:
        - 'CTZ Levels'
  '/api/organisation/{organisation_id}/chemical/certification/ctz-standard':
    get:
      summary: Index
      operationId: index
      description: 'Get CTZ Standards'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 9
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 9
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: 'filter[ctz_level_id]'
          description: 'Filter column ctz_level_id by any accepted value. Filter by CTZ level ID'
          example: 14
          required: false
          schema:
            type: integer
            description: 'Filter column ctz_level_id by any accepted value. Filter by CTZ level ID'
            example: 14
        -
          in: query
          name: 'filter[organisations.id]'
          description: 'Filter column organisations.id by any accepted value. Filter by assigned organisation ID'
          example: 14
          required: false
          schema:
            type: integer
            description: 'Filter column organisations.id by any accepted value. Filter by assigned organisation ID'
            example: 14
        -
          in: query
          name: 'filter[status]'
          description: 'Filter column status by any accepted value. Filter by status'
          example: vel
          required: false
          schema:
            type: string
            description: 'Filter column status by any accepted value. Filter by status'
            example: vel
        -
          in: query
          name: 'filter[start_date]'
          description: 'Filter column start_date by any accepted value. Filter by start date'
          example: facere
          required: false
          schema:
            type: date
            description: 'Filter column start_date by any accepted value. Filter by start date'
            example: facere
        -
          in: query
          name: 'filter[end_date]'
          description: 'Filter column end_date by any accepted value. Filter by end date'
          example: sunt
          required: false
          schema:
            type: date
            description: 'Filter column end_date by any accepted value. Filter by end date'
            example: sunt
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. Filter by created at'
          example: corporis
          required: false
          schema:
            type: datetime
            description: 'Filter column created_at by any accepted value. Filter by created at'
            example: corporis
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. Filter by updated at'
          example: dicta
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. Filter by updated at'
            example: dicta
        -
          in: query
          name: search
          description: 'Search in all of these columns: name, version'
          example: aut
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name, version'
            example: aut
        -
          in: query
          name: sort
          description: 'sort by any accepted column: name,version,status,start_date,end_date,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
          example: 'name,version,status,start_date,end_date,created_at,updated_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: name,version,status,start_date,end_date,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
            example: 'name,version,status,start_date,end_date,created_at,updated_at'
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: name, version, status, ctz_level_id.'
          example: name
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: name, version, status, ctz_level_id.'
            example: name
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 47
                      name: Foundational
                      version: '3.1'
                      ctz_level_id: 1
                      start_date: '2026-01-01T00:00:00.000000Z'
                      end_date: null
                      status: PASSED
                      expired_at: null
                      created_at: '2026-02-24T13:24:56.000000Z'
                      updated_at: '2026-02-24T13:25:36.000000Z'
                      ctz_level:
                        id: 1
                        name: Foundational
                        created_at: '2025-12-11T13:11:46.000000Z'
                        updated_at: '2025-12-15T15:35:08.000000Z'
                      organisations:
                        -
                          id: 87
                          maxio_customer_id: 226066
                          reference_id: 01-8J36F3RPYYK3T-X
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                          legal_name: 'Pfannerstill Inc'
                          address_1: '38558 Russel Street'
                          address_2: 'Suite 630'
                          city: 'North Pattieshire'
                          state: Wyoming
                          location: LK
                          zip: 92199-6406
                          phone: '+13213459957'
                          email: mohamed19@douglas.com
                          contact_first_name: Jamel
                          contact_last_name: Wilderman
                          website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '1990-01-10 10:28:39'
                          created_at: '2025-07-24T13:23:38.000000Z'
                          updated_at: '2026-02-07T00:00:22.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-01-26 13:32:55'
                          profile_reviewed_by_user_id: 10
                          location_name: 'Sri Lanka'
                          pivot:
                            ctz_standard_id: 47
                            organisation_id: 87
                            id: 291
                            valid_until: null
                            created_at: '2026-02-24T13:24:57.000000Z'
                            updated_at: '2026-02-24T13:24:57.000000Z'
                    -
                      id: 47
                      name: Foundational
                      version: '3.1'
                      ctz_level_id: 1
                      start_date: '2026-01-01T00:00:00.000000Z'
                      end_date: null
                      status: PASSED
                      expired_at: null
                      created_at: '2026-02-24T13:24:56.000000Z'
                      updated_at: '2026-02-24T13:25:36.000000Z'
                      ctz_level:
                        id: 1
                        name: Foundational
                        created_at: '2025-12-11T13:11:46.000000Z'
                        updated_at: '2025-12-15T15:35:08.000000Z'
                      organisations:
                        -
                          id: 87
                          maxio_customer_id: 226066
                          reference_id: 01-8J36F3RPYYK3T-X
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                          legal_name: 'Pfannerstill Inc'
                          address_1: '38558 Russel Street'
                          address_2: 'Suite 630'
                          city: 'North Pattieshire'
                          state: Wyoming
                          location: LK
                          zip: 92199-6406
                          phone: '+13213459957'
                          email: mohamed19@douglas.com
                          contact_first_name: Jamel
                          contact_last_name: Wilderman
                          website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '1990-01-10 10:28:39'
                          created_at: '2025-07-24T13:23:38.000000Z'
                          updated_at: '2026-02-07T00:00:22.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-01-26 13:32:55'
                          profile_reviewed_by_user_id: 10
                          location_name: 'Sri Lanka'
                          pivot:
                            ctz_standard_id: 47
                            organisation_id: 87
                            id: 291
                            valid_until: null
                            created_at: '2026-02-24T13:24:57.000000Z'
                            updated_at: '2026-02-24T13:24:57.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 47
                        name: Foundational
                        version: '3.1'
                        ctz_level_id: 1
                        start_date: '2026-01-01T00:00:00.000000Z'
                        end_date: null
                        status: PASSED
                        expired_at: null
                        created_at: '2026-02-24T13:24:56.000000Z'
                        updated_at: '2026-02-24T13:25:36.000000Z'
                        ctz_level:
                          id: 1
                          name: Foundational
                          created_at: '2025-12-11T13:11:46.000000Z'
                          updated_at: '2025-12-15T15:35:08.000000Z'
                        organisations:
                          -
                            id: 87
                            maxio_customer_id: 226066
                            reference_id: 01-8J36F3RPYYK3T-X
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                            legal_name: 'Pfannerstill Inc'
                            address_1: '38558 Russel Street'
                            address_2: 'Suite 630'
                            city: 'North Pattieshire'
                            state: Wyoming
                            location: LK
                            zip: 92199-6406
                            phone: '+13213459957'
                            email: mohamed19@douglas.com
                            contact_first_name: Jamel
                            contact_last_name: Wilderman
                            website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1990-01-10 10:28:39'
                            created_at: '2025-07-24T13:23:38.000000Z'
                            updated_at: '2026-02-07T00:00:22.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-26 13:32:55'
                            profile_reviewed_by_user_id: 10
                            location_name: 'Sri Lanka'
                            pivot:
                              ctz_standard_id: 47
                              organisation_id: 87
                              id: 291
                              valid_until: null
                              created_at: '2026-02-24T13:24:57.000000Z'
                              updated_at: '2026-02-24T13:24:57.000000Z'
                      -
                        id: 47
                        name: Foundational
                        version: '3.1'
                        ctz_level_id: 1
                        start_date: '2026-01-01T00:00:00.000000Z'
                        end_date: null
                        status: PASSED
                        expired_at: null
                        created_at: '2026-02-24T13:24:56.000000Z'
                        updated_at: '2026-02-24T13:25:36.000000Z'
                        ctz_level:
                          id: 1
                          name: Foundational
                          created_at: '2025-12-11T13:11:46.000000Z'
                          updated_at: '2025-12-15T15:35:08.000000Z'
                        organisations:
                          -
                            id: 87
                            maxio_customer_id: 226066
                            reference_id: 01-8J36F3RPYYK3T-X
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                            legal_name: 'Pfannerstill Inc'
                            address_1: '38558 Russel Street'
                            address_2: 'Suite 630'
                            city: 'North Pattieshire'
                            state: Wyoming
                            location: LK
                            zip: 92199-6406
                            phone: '+13213459957'
                            email: mohamed19@douglas.com
                            contact_first_name: Jamel
                            contact_last_name: Wilderman
                            website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1990-01-10 10:28:39'
                            created_at: '2025-07-24T13:23:38.000000Z'
                            updated_at: '2026-02-07T00:00:22.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-26 13:32:55'
                            profile_reviewed_by_user_id: 10
                            location_name: 'Sri Lanka'
                            pivot:
                              ctz_standard_id: 47
                              organisation_id: 87
                              id: 291
                              valid_until: null
                              created_at: '2026-02-24T13:24:57.000000Z'
                              updated_at: '2026-02-24T13:24:57.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 47
                        name:
                          type: string
                          example: Foundational
                        version:
                          type: string
                          example: '3.1'
                        ctz_level_id:
                          type: integer
                          example: 1
                        start_date:
                          type: string
                          example: '2026-01-01T00:00:00.000000Z'
                        end_date:
                          type: string
                          example: null
                          nullable: true
                        status:
                          type: string
                          example: PASSED
                        expired_at:
                          type: string
                          example: null
                          nullable: true
                        created_at:
                          type: string
                          example: '2026-02-24T13:24:56.000000Z'
                        updated_at:
                          type: string
                          example: '2026-02-24T13:25:36.000000Z'
                        ctz_level:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: Foundational
                            created_at:
                              type: string
                              example: '2025-12-11T13:11:46.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-15T15:35:08.000000Z'
                        organisations:
                          type: array
                          example:
                            -
                              id: 87
                              maxio_customer_id: 226066
                              reference_id: 01-8J36F3RPYYK3T-X
                              pdc_id: null
                              gateway_aid: null
                              uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                              type_id: 7
                              status: approved
                              name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                              legal_name: 'Pfannerstill Inc'
                              address_1: '38558 Russel Street'
                              address_2: 'Suite 630'
                              city: 'North Pattieshire'
                              state: Wyoming
                              location: LK
                              zip: 92199-6406
                              phone: '+13213459957'
                              email: mohamed19@douglas.com
                              contact_first_name: Jamel
                              contact_last_name: Wilderman
                              website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                              avatar_url: null
                              applicant_comment: null
                              reviewer_comment: null
                              registration_mail_sent_at: '1990-01-10 10:28:39'
                              created_at: '2025-07-24T13:23:38.000000Z'
                              updated_at: '2026-02-07T00:00:22.000000Z'
                              reviewer_comment_category: null
                              profile_reviewed_at: '2026-01-26 13:32:55'
                              profile_reviewed_by_user_id: 10
                              location_name: 'Sri Lanka'
                              pivot:
                                ctz_standard_id: 47
                                organisation_id: 87
                                id: 291
                                valid_until: null
                                created_at: '2026-02-24T13:24:57.000000Z'
                                updated_at: '2026-02-24T13:24:57.000000Z'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 87
                              maxio_customer_id:
                                type: integer
                                example: 226066
                              reference_id:
                                type: string
                                example: 01-8J36F3RPYYK3T-X
                              pdc_id:
                                type: string
                                example: null
                                nullable: true
                              gateway_aid:
                                type: string
                                example: null
                                nullable: true
                              uuid:
                                type: string
                                example: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                              type_id:
                                type: integer
                                example: 7
                              status:
                                type: string
                                example: approved
                              name:
                                type: string
                                example: 'test-ZDHC MRSL Certification Bodies vdhoek'
                              legal_name:
                                type: string
                                example: 'Pfannerstill Inc'
                              address_1:
                                type: string
                                example: '38558 Russel Street'
                              address_2:
                                type: string
                                example: 'Suite 630'
                              city:
                                type: string
                                example: 'North Pattieshire'
                              state:
                                type: string
                                example: Wyoming
                              location:
                                type: string
                                example: LK
                              zip:
                                type: string
                                example: 92199-6406
                              phone:
                                type: string
                                example: '+13213459957'
                              email:
                                type: string
                                example: mohamed19@douglas.com
                              contact_first_name:
                                type: string
                                example: Jamel
                              contact_last_name:
                                type: string
                                example: Wilderman
                              website:
                                type: string
                                example: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                              avatar_url:
                                type: string
                                example: null
                                nullable: true
                              applicant_comment:
                                type: string
                                example: null
                                nullable: true
                              reviewer_comment:
                                type: string
                                example: null
                                nullable: true
                              registration_mail_sent_at:
                                type: string
                                example: '1990-01-10 10:28:39'
                              created_at:
                                type: string
                                example: '2025-07-24T13:23:38.000000Z'
                              updated_at:
                                type: string
                                example: '2026-02-07T00:00:22.000000Z'
                              reviewer_comment_category:
                                type: string
                                example: null
                                nullable: true
                              profile_reviewed_at:
                                type: string
                                example: '2026-01-26 13:32:55'
                              profile_reviewed_by_user_id:
                                type: integer
                                example: 10
                              location_name:
                                type: string
                                example: 'Sri Lanka'
                              pivot:
                                type: object
                                properties:
                                  ctz_standard_id:
                                    type: integer
                                    example: 47
                                  organisation_id:
                                    type: integer
                                    example: 87
                                  id:
                                    type: integer
                                    example: 291
                                  valid_until:
                                    type: string
                                    example: null
                                    nullable: true
                                  created_at:
                                    type: string
                                    example: '2026-02-24T13:24:57.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2026-02-24T13:24:57.000000Z'
      tags:
        - 'CTZ Standards'
    post:
      summary: Store
      operationId: store
      description: 'Create a new CTZ Standard'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 47
                    name: Foundational
                    version: '3.1'
                    ctz_level_id: 1
                    start_date: '2026-01-01T00:00:00.000000Z'
                    end_date: null
                    status: PASSED
                    expired_at: null
                    created_at: '2026-02-24T13:24:56.000000Z'
                    updated_at: '2026-02-24T13:25:36.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 47
                      name:
                        type: string
                        example: Foundational
                      version:
                        type: string
                        example: '3.1'
                      ctz_level_id:
                        type: integer
                        example: 1
                      start_date:
                        type: string
                        example: '2026-01-01T00:00:00.000000Z'
                      end_date:
                        type: string
                        example: null
                        nullable: true
                      status:
                        type: string
                        example: PASSED
                      expired_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2026-02-24T13:24:56.000000Z'
                      updated_at:
                        type: string
                        example: '2026-02-24T13:25:36.000000Z'
      tags:
        - 'CTZ Standards'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: itxomzxgedsh
                version:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: vplsgyoh
                organisations:
                  type: array
                  description: 'The <code>id</code> of an existing record in the organisations table.'
                  example: null
                  items:
                    type: string
                    nullable: true
                ctz_level_id:
                  type: string
                  description: 'The <code>id</code> of an existing record in the ctz_levels table.'
                  example: null
                  nullable: true
                start_date:
                  type: string
                  description: 'Must be a valid date.'
                  example: '2026-03-24T14:59:56'
                end_date:
                  type: string
                  description: 'Must be a valid date.'
                  example: '2026-03-24T14:59:56'
                  nullable: true
                status:
                  type: string
                  description: ''
                  example: FAILED
                  enum:
                    - FAILED
                    - PASSED
              required:
                - name
                - version
                - start_date
                - status
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/certification/ctz-standard/{id}':
    get:
      summary: Show
      operationId: show
      description: 'Show a CTZ Standard'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 47
                    name: Foundational
                    version: '3.1'
                    ctz_level_id: 1
                    start_date: '2026-01-01T00:00:00.000000Z'
                    end_date: null
                    status: PASSED
                    expired_at: null
                    created_at: '2026-02-24T13:24:56.000000Z'
                    updated_at: '2026-02-24T13:25:36.000000Z'
                    ctz_level:
                      id: 1
                      name: Foundational
                      created_at: '2025-12-11T13:11:46.000000Z'
                      updated_at: '2025-12-15T15:35:08.000000Z'
                    organisations:
                      -
                        id: 87
                        maxio_customer_id: 226066
                        reference_id: 01-8J36F3RPYYK3T-X
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                        type_id: 7
                        status: approved
                        name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                        legal_name: 'Pfannerstill Inc'
                        address_1: '38558 Russel Street'
                        address_2: 'Suite 630'
                        city: 'North Pattieshire'
                        state: Wyoming
                        location: LK
                        zip: 92199-6406
                        phone: '+13213459957'
                        email: mohamed19@douglas.com
                        contact_first_name: Jamel
                        contact_last_name: Wilderman
                        website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: null
                        registration_mail_sent_at: '1990-01-10 10:28:39'
                        created_at: '2025-07-24T13:23:38.000000Z'
                        updated_at: '2026-02-07T00:00:22.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-01-26 13:32:55'
                        profile_reviewed_by_user_id: 10
                        location_name: 'Sri Lanka'
                        pivot:
                          ctz_standard_id: 47
                          organisation_id: 87
                          id: 291
                          valid_until: null
                          created_at: '2026-02-24T13:24:57.000000Z'
                          updated_at: '2026-02-24T13:24:57.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 47
                      name:
                        type: string
                        example: Foundational
                      version:
                        type: string
                        example: '3.1'
                      ctz_level_id:
                        type: integer
                        example: 1
                      start_date:
                        type: string
                        example: '2026-01-01T00:00:00.000000Z'
                      end_date:
                        type: string
                        example: null
                        nullable: true
                      status:
                        type: string
                        example: PASSED
                      expired_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2026-02-24T13:24:56.000000Z'
                      updated_at:
                        type: string
                        example: '2026-02-24T13:25:36.000000Z'
                      ctz_level:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: Foundational
                          created_at:
                            type: string
                            example: '2025-12-11T13:11:46.000000Z'
                          updated_at:
                            type: string
                            example: '2025-12-15T15:35:08.000000Z'
                      organisations:
                        type: array
                        example:
                          -
                            id: 87
                            maxio_customer_id: 226066
                            reference_id: 01-8J36F3RPYYK3T-X
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                            legal_name: 'Pfannerstill Inc'
                            address_1: '38558 Russel Street'
                            address_2: 'Suite 630'
                            city: 'North Pattieshire'
                            state: Wyoming
                            location: LK
                            zip: 92199-6406
                            phone: '+13213459957'
                            email: mohamed19@douglas.com
                            contact_first_name: Jamel
                            contact_last_name: Wilderman
                            website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1990-01-10 10:28:39'
                            created_at: '2025-07-24T13:23:38.000000Z'
                            updated_at: '2026-02-07T00:00:22.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-26 13:32:55'
                            profile_reviewed_by_user_id: 10
                            location_name: 'Sri Lanka'
                            pivot:
                              ctz_standard_id: 47
                              organisation_id: 87
                              id: 291
                              valid_until: null
                              created_at: '2026-02-24T13:24:57.000000Z'
                              updated_at: '2026-02-24T13:24:57.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 87
                            maxio_customer_id:
                              type: integer
                              example: 226066
                            reference_id:
                              type: string
                              example: 01-8J36F3RPYYK3T-X
                            pdc_id:
                              type: string
                              example: null
                              nullable: true
                            gateway_aid:
                              type: string
                              example: null
                              nullable: true
                            uuid:
                              type: string
                              example: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                            type_id:
                              type: integer
                              example: 7
                            status:
                              type: string
                              example: approved
                            name:
                              type: string
                              example: 'test-ZDHC MRSL Certification Bodies vdhoek'
                            legal_name:
                              type: string
                              example: 'Pfannerstill Inc'
                            address_1:
                              type: string
                              example: '38558 Russel Street'
                            address_2:
                              type: string
                              example: 'Suite 630'
                            city:
                              type: string
                              example: 'North Pattieshire'
                            state:
                              type: string
                              example: Wyoming
                            location:
                              type: string
                              example: LK
                            zip:
                              type: string
                              example: 92199-6406
                            phone:
                              type: string
                              example: '+13213459957'
                            email:
                              type: string
                              example: mohamed19@douglas.com
                            contact_first_name:
                              type: string
                              example: Jamel
                            contact_last_name:
                              type: string
                              example: Wilderman
                            website:
                              type: string
                              example: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                            avatar_url:
                              type: string
                              example: null
                              nullable: true
                            applicant_comment:
                              type: string
                              example: null
                              nullable: true
                            reviewer_comment:
                              type: string
                              example: null
                              nullable: true
                            registration_mail_sent_at:
                              type: string
                              example: '1990-01-10 10:28:39'
                            created_at:
                              type: string
                              example: '2025-07-24T13:23:38.000000Z'
                            updated_at:
                              type: string
                              example: '2026-02-07T00:00:22.000000Z'
                            reviewer_comment_category:
                              type: string
                              example: null
                              nullable: true
                            profile_reviewed_at:
                              type: string
                              example: '2026-01-26 13:32:55'
                            profile_reviewed_by_user_id:
                              type: integer
                              example: 10
                            location_name:
                              type: string
                              example: 'Sri Lanka'
                            pivot:
                              type: object
                              properties:
                                ctz_standard_id:
                                  type: integer
                                  example: 47
                                organisation_id:
                                  type: integer
                                  example: 87
                                id:
                                  type: integer
                                  example: 291
                                valid_until:
                                  type: string
                                  example: null
                                  nullable: true
                                created_at:
                                  type: string
                                  example: '2026-02-24T13:24:57.000000Z'
                                updated_at:
                                  type: string
                                  example: '2026-02-24T13:24:57.000000Z'
      tags:
        - 'CTZ Standards'
    put:
      summary: Update
      operationId: update
      description: 'Update a CTZ Standard'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 47
                    name: Foundational
                    version: '3.1'
                    ctz_level_id: 1
                    start_date: '2026-01-01T00:00:00.000000Z'
                    end_date: null
                    status: PASSED
                    expired_at: null
                    created_at: '2026-02-24T13:24:56.000000Z'
                    updated_at: '2026-02-24T13:25:36.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 47
                      name:
                        type: string
                        example: Foundational
                      version:
                        type: string
                        example: '3.1'
                      ctz_level_id:
                        type: integer
                        example: 1
                      start_date:
                        type: string
                        example: '2026-01-01T00:00:00.000000Z'
                      end_date:
                        type: string
                        example: null
                        nullable: true
                      status:
                        type: string
                        example: PASSED
                      expired_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2026-02-24T13:24:56.000000Z'
                      updated_at:
                        type: string
                        example: '2026-02-24T13:25:36.000000Z'
      tags:
        - 'CTZ Standards'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: fywnjrszigujnbvakfufv
                version:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: zr
                organisations:
                  type: array
                  description: 'The <code>id</code> of an existing record in the organisations table.'
                  example: null
                  items:
                    type: string
                    nullable: true
                ctz_level_id:
                  type: string
                  description: 'The <code>id</code> of an existing record in the ctz_levels table.'
                  example: null
                  nullable: true
                start_date:
                  type: string
                  description: 'Must be a valid date.'
                  example: '2026-03-24T14:59:56'
                end_date:
                  type: string
                  description: 'Must be a valid date.'
                  example: '2026-03-24T14:59:56'
                  nullable: true
                status:
                  type: string
                  description: ''
                  example: FAILED
                  enum:
                    - FAILED
                    - PASSED
              required:
                - name
                - version
                - start_date
                - status
    delete:
      summary: Destroy
      operationId: destroy
      description: 'Delete a CTZ Standard'
      parameters: []
      responses: {  }
      tags:
        - 'CTZ Standards'
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the ctz standard.'
        example: 47
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product/activity-logs':
    get:
      summary: Index
      operationId: index
      description: 'List available activity logs for chemical actions'
      parameters:
        -
          in: query
          name: sort
          description: 'sort by any accepted column: context->product_id,context->product_name,context->mrsl_standard_name,context->ctz_standard_name,context->action_type,context->user_name,context->organisation_id,message,created_at. prefix a "-" before the column name to sort in descending order'
          example: 'context->product_id,context->product_name,context->mrsl_standard_name,context->ctz_standard_name,context->action_type,context->user_name,context->organisation_id,message,created_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: context->product_id,context->product_name,context->mrsl_standard_name,context->ctz_standard_name,context->action_type,context->user_name,context->organisation_id,message,created_at. prefix a "-" before the column name to sort in descending order'
            example: 'context->product_id,context->product_name,context->mrsl_standard_name,context->ctz_standard_name,context->action_type,context->user_name,context->organisation_id,message,created_at'
        -
          in: query
          name: 'filter[product_id]'
          description: 'Filter column product_id by any accepted value. Filter by product ID'
          example: 11
          required: false
          schema:
            type: integer
            description: 'Filter column product_id by any accepted value. Filter by product ID'
            example: 11
        -
          in: query
          name: 'filter[product_reference_id]'
          description: 'Filter column product_reference_id by any accepted value. Filter by product reference ID'
          example: excepturi
          required: false
          schema:
            type: string
            description: 'Filter column product_reference_id by any accepted value. Filter by product reference ID'
            example: excepturi
        -
          in: query
          name: 'filter[mrsl_standard_name]'
          description: 'Filter column mrsl_standard_name by any accepted value. Filter by MRSL standard name'
          example: ut
          required: false
          schema:
            type: string
            description: 'Filter column mrsl_standard_name by any accepted value. Filter by MRSL standard name'
            example: ut
        -
          in: query
          name: 'filter[mrsl_standard_reference_id]'
          description: 'Filter column mrsl_standard_reference_id by any accepted value. Filter by MRSL standard reference ID'
          example: enim
          required: false
          schema:
            type: string
            description: 'Filter column mrsl_standard_reference_id by any accepted value. Filter by MRSL standard reference ID'
            example: enim
        -
          in: query
          name: 'filter[ctz_standard_name]'
          description: 'Filter column ctz_standard_name by any accepted value. Filter by CTZ standard name'
          example: sed
          required: false
          schema:
            type: string
            description: 'Filter column ctz_standard_name by any accepted value. Filter by CTZ standard name'
            example: sed
        -
          in: query
          name: 'filter[action_type]'
          description: 'Filter column action_type by any accepted value. Filter by action type'
          example: saepe
          required: false
          schema:
            type: string
            description: 'Filter column action_type by any accepted value. Filter by action type'
            example: saepe
        -
          in: query
          name: 'filter[user_name]'
          description: 'Filter column user_name by any accepted value. Filter by user name'
          example: perferendis
          required: false
          schema:
            type: string
            description: 'Filter column user_name by any accepted value. Filter by user name'
            example: perferendis
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. Filter by created date'
          example: sequi
          required: false
          schema:
            type: datetime
            description: 'Filter column created_at by any accepted value. Filter by created date'
            example: sequi
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: context->product_id, context->product_reference_id, context->product_name, context->mrsl_standard_name, context->mrsl_standard_reference_id, context->ctz_standard_name, context->action_type, context->user_name, context->organisation_id, message, created_at.'
          example: context->product_id
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: context->product_id, context->product_reference_id, context->product_name, context->mrsl_standard_name, context->mrsl_standard_reference_id, context->ctz_standard_name, context->action_type, context->user_name, context->organisation_id, message, created_at.'
            example: context->product_id
        -
          in: query
          name: search
          description: 'Search in all of these columns: message'
          example: saepe
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: message'
            example: saepe
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 15
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 15
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_reference_id}/chemical/inventory/bulk/store':
    post:
      summary: 'Bulk Store'
      operationId: bulkStore
      description: 'Store a new chemical inventory bulk'
      parameters: []
      responses: {  }
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                inventories:
                  type: array
                  description: ''
                  example:
                    - []
                  items:
                    type: object
                    properties:
                      year:
                        type: integer
                        description: 'Must be at least 2000. Must not be greater than 2100.'
                        example: 6
                      month:
                        type: integer
                        description: 'Must be at least 1. Must not be greater than 12.'
                        example: 1
                      submit:
                        type: boolean
                        description: ''
                        example: true
                        nullable: true
                      products:
                        type: array
                        description: ''
                        example:
                          - []
                        items:
                          type: object
                          properties:
                            chemical_product_id:
                              type: integer
                              description: 'This field is required when <code>name</code> is not present. The <code>id</code> of an existing record in the chemical_products table.'
                              example: 12
                            formulator_name:
                              type: string
                              description: 'Must not be greater than 255 characters.'
                              example: eflbbirxdwtyzqcvinuexihto
                            name:
                              type: string
                              description: 'This field is required when <code>chemical_product_id</code> is not present.'
                              example: atque
                            weight:
                              type: number
                              description: 'Must be at least 0.'
                              example: 34
                          required:
                            - formulator_name
                            - weight
                    required:
                      - year
                      - month
              required:
                - inventories
    parameters:
      -
        in: path
        name: organisation_reference_id
        description: 'The ID of the organisation reference.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_reference_id}/chemical/inventory':
    get:
      summary: Index
      operationId: index
      description: 'Show chemical inventories'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 4
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 4
        -
          in: query
          name: 'filter[id]'
          description: 'Filter column id by any accepted value. Matches part of the value.'
          example: 10
          required: false
          schema:
            type: integer
            description: 'Filter column id by any accepted value. Matches part of the value.'
            example: 10
        -
          in: query
          name: 'filter[supplier_id]'
          description: 'Filter column supplier_id by any accepted value. Matches part of the value.'
          example: 20
          required: false
          schema:
            type: integer
            description: 'Filter column supplier_id by any accepted value. Matches part of the value.'
            example: 20
        -
          in: query
          name: 'filter[year]'
          description: 'Filter column year by any accepted value. Matches part of the value.'
          example: 19
          required: false
          schema:
            type: integer
            description: 'Filter column year by any accepted value. Matches part of the value.'
            example: 19
        -
          in: query
          name: 'filter[month]'
          description: 'Filter column month by any accepted value. Matches part of the value.'
          example: 12
          required: false
          schema:
            type: integer
            description: 'Filter column month by any accepted value. Matches part of the value.'
            example: 12
        -
          in: query
          name: 'filter[status]'
          description: 'Filter column status by any accepted value. Matches part of the value.'
          example: consequatur
          required: false
          schema:
            type: string
            description: 'Filter column status by any accepted value. Matches part of the value.'
            example: consequatur
        -
          in: query
          name: 'filter[organisations.name]'
          description: 'Filter column organisations.name by any accepted value. Matches part of the value.'
          example: dolores
          required: false
          schema:
            type: string
            description: 'Filter column organisations.name by any accepted value. Matches part of the value.'
            example: dolores
        -
          in: query
          name: 'filter[incheck_levels.name]'
          description: 'Filter column incheck_levels.name by any accepted value. Matches part of the value.'
          example: accusamus
          required: false
          schema:
            type: string
            description: 'Filter column incheck_levels.name by any accepted value. Matches part of the value.'
            example: accusamus
        -
          in: query
          name: sort
          description: 'sort by any accepted column: year,month,status,submitting_organisation_name,incheck_level_name,products_count. prefix a "-" before the column name to sort in descending order'
          example: 'year,month,status,submitting_organisation_name,incheck_level_name,products_count'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: year,month,status,submitting_organisation_name,incheck_level_name,products_count. prefix a "-" before the column name to sort in descending order'
            example: 'year,month,status,submitting_organisation_name,incheck_level_name,products_count'
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Chemical
    post:
      summary: Store
      operationId: store
      description: 'Store a new chemical inventory'
      parameters: []
      responses: {  }
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                year:
                  type: integer
                  description: 'Must be at least 2000. Must not be greater than 2100.'
                  example: 8
                month:
                  type: integer
                  description: 'Must be at least 1. Must not be greater than 12.'
                  example: 9
                submit:
                  type: boolean
                  description: ''
                  example: false
                  nullable: true
              required:
                - year
                - month
    parameters:
      -
        in: path
        name: organisation_reference_id
        description: 'The ID of the organisation reference.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_reference_id}/chemical/inventory/{id}':
    put:
      summary: Update
      operationId: update
      description: 'Update an existing chemical inventory'
      parameters: []
      responses: {  }
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                year:
                  type: integer
                  description: 'Must be at least 2000. Must not be greater than 2100.'
                  example: 16
                month:
                  type: integer
                  description: 'Must be at least 1. Must not be greater than 12.'
                  example: 5
                submit:
                  type: boolean
                  description: ''
                  example: false
                  nullable: true
              required:
                - year
                - month
    parameters:
      -
        in: path
        name: organisation_reference_id
        description: 'The ID of the organisation reference.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the inventory.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_reference_id}/chemical/inventory/{inventory_id}/decline':
    post:
      summary: Decline
      operationId: decline
      description: 'Decline a chemical inventory'
      parameters: []
      responses: {  }
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                reason:
                  type: string
                  description: ''
                  example: 'Incomplete product information'
                  enum:
                    - 'Data inaccuracy detected'
                    - 'Incomplete product information'
                    - 'Non-compliance with MRSL requirements'
                    - 'Missing supporting documentation'
                    - 'Duplicate submission'
                    - 'Out of reporting period scope'
                    - 'Other (please specify below)'
                additional_info:
                  type: string
                  description: ''
                  example: voluptatum
                  nullable: true
              required:
                - reason
    parameters:
      -
        in: path
        name: organisation_reference_id
        description: 'The ID of the organisation reference.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: inventory_id
        description: 'The ID of the inventory.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_reference_id}/chemical/inventory/{inventory_id}/publish':
    post:
      summary: Publish
      operationId: publish
      description: "Publish a chemical inventory. Only one report can be published per month.\nHigher-level reports can upgrade (replace) lower-level published reports."
      parameters: []
      responses: {  }
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_reference_id
        description: 'The ID of the organisation reference.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: inventory_id
        description: 'The ID of the inventory.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_reference_id}/chemical/inventory/{supplier_inventory_id}/product':
    get:
      summary: Index
      operationId: index
      description: 'List all products of a given inventory'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 18
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 18
        -
          in: query
          name: search
          description: 'Search in all of these columns: name'
          example: ut
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name'
            example: ut
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Chemical
    post:
      summary: Store
      operationId: store
      description: 'Store a custom product'
      parameters: []
      responses: {  }
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                chemical_product_id:
                  type: integer
                  description: 'This field is required when <code>name</code> is not present. The <code>id</code> of an existing record in the chemical_products table.'
                  example: 15
                formulator_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: omatilgtjslsvz
                name:
                  type: string
                  description: 'This field is required when <code>chemical_product_id</code> is not present.'
                  example: adipisci
                weight:
                  type: number
                  description: 'Must be at least 0.'
                  example: 59
              required:
                - formulator_name
                - weight
    parameters:
      -
        in: path
        name: organisation_reference_id
        description: 'The ID of the organisation reference.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: supplier_inventory_id
        description: 'The ID of the supplier inventory.'
        example: soluta
        required: true
        schema:
          type: string
  '/api/organisation/{organisation_reference_id}/chemical/inventory/{supplier_inventory_id}/product/{id}':
    put:
      summary: Update
      operationId: update
      description: 'Update a custom product'
      parameters: []
      responses: {  }
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                chemical_product_id:
                  type: integer
                  description: 'This field is required when <code>name</code> is not present. The <code>id</code> of an existing record in the chemical_products table.'
                  example: 4
                formulator_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: cbwbksffsipzpnlnkv
                name:
                  type: string
                  description: 'This field is required when <code>chemical_product_id</code> is not present.'
                  example: molestiae
                weight:
                  type: number
                  description: 'Must be at least 0.'
                  example: 15
              required:
                - formulator_name
                - weight
    delete:
      summary: Destroy
      operationId: destroy
      description: 'Destroy a custom product'
      parameters: []
      responses: {  }
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_reference_id
        description: 'The ID of the organisation reference.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: supplier_inventory_id
        description: 'The ID of the supplier inventory.'
        example: quis
        required: true
        schema:
          type: string
      -
        in: path
        name: id
        description: 'The ID of the product.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product':
    get:
      summary: Index
      operationId: index
      description: 'Get Products'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 8
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 8
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: 'filter[chemical_products.name]'
          description: 'Filter column chemical_products.name by any accepted value. Filter by name'
          example: quaerat
          required: false
          schema:
            type: string
            description: 'Filter column chemical_products.name by any accepted value. Filter by name'
            example: quaerat
        -
          in: query
          name: 'filter[chemical_products.zdhc_pid]'
          description: 'Filter column chemical_products.zdhc_pid by any accepted value. Filter by ZDHC PID'
          example: 5
          required: false
          schema:
            type: integer
            description: 'Filter column chemical_products.zdhc_pid by any accepted value. Filter by ZDHC PID'
            example: 5
        -
          in: query
          name: 'filter[chemical_products.status]'
          description: 'Filter column chemical_products.status by any accepted value. Filter by status'
          example: qui
          required: false
          schema:
            type: string
            description: 'Filter column chemical_products.status by any accepted value. Filter by status'
            example: qui
        -
          in: query
          name: 'filter[conformance_level_id]'
          description: 'Filter column conformance_level_id by any accepted value. Filter by conformance level IDs'
          example: 6
          required: false
          schema:
            type: integer
            description: 'Filter column conformance_level_id by any accepted value. Filter by conformance level IDs'
            example: 6
        -
          in: query
          name: 'filter[ctz_level_id]'
          description: 'Filter column ctz_level_id by any accepted value. Filter by CTZ level IDs'
          example: 9
          required: false
          schema:
            type: integer
            description: 'Filter column ctz_level_id by any accepted value. Filter by CTZ level IDs'
            example: 9
        -
          in: query
          name: 'filter[chemical_products.created_at]'
          description: 'Filter column chemical_products.created_at by any accepted value. Filter by created date'
          example: consequatur
          required: false
          schema:
            type: datetime
            description: 'Filter column chemical_products.created_at by any accepted value. Filter by created date'
            example: consequatur
        -
          in: query
          name: 'filter[chemical_products.updated_at]'
          description: 'Filter column chemical_products.updated_at by any accepted value. Filter by updated date'
          example: et
          required: false
          schema:
            type: datetime
            description: 'Filter column chemical_products.updated_at by any accepted value. Filter by updated date'
            example: et
        -
          in: query
          name: 'filter[product_use_types.id]'
          description: 'Filter column product_use_types.id by any accepted value. Filter by use type ID (multiple selection allowed)'
          example: 5
          required: false
          schema:
            type: integer
            description: 'Filter column product_use_types.id by any accepted value. Filter by use type ID (multiple selection allowed)'
            example: 5
        -
          in: query
          name: 'filter[product_categories.id]'
          description: 'Filter column product_categories.id by any accepted value. Filter by use type category ID (multiple selection allowed)'
          example: 20
          required: false
          schema:
            type: integer
            description: 'Filter column product_categories.id by any accepted value. Filter by use type category ID (multiple selection allowed)'
            example: 20
        -
          in: query
          name: search
          description: 'Search in all of these columns: chemical_products.name, chemical_products.alternate_names, chemical_products.zdhc_pid'
          example: qui
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: chemical_products.name, chemical_products.alternate_names, chemical_products.zdhc_pid'
            example: qui
        -
          in: query
          name: sort
          description: 'sort by any accepted column: chemical_products.id,chemical_products.name,chemical_products.version,chemical_products.status,chemical_products.zdhc_pid,conformance_level_name,ctz_level_name,chemical_products.created_at,chemical_products.updated_at. prefix a "-" before the column name to sort in descending order'
          example: 'chemical_products.id,chemical_products.name,chemical_products.version,chemical_products.status,chemical_products.zdhc_pid,conformance_level_name,ctz_level_name,chemical_products.created_at,chemical_products.updated_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: chemical_products.id,chemical_products.name,chemical_products.version,chemical_products.status,chemical_products.zdhc_pid,conformance_level_name,ctz_level_name,chemical_products.created_at,chemical_products.updated_at. prefix a "-" before the column name to sort in descending order'
            example: 'chemical_products.id,chemical_products.name,chemical_products.version,chemical_products.status,chemical_products.zdhc_pid,conformance_level_name,ctz_level_name,chemical_products.created_at,chemical_products.updated_at'
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: chemical_products.id, chemical_products.name, chemical_products.version, chemical_products.status, ctz_level_name, conformance_level_name, chemical_products.created_at, chemical_products.updated_at.'
          example: chemical_products.id
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: chemical_products.id, chemical_products.name, chemical_products.version, chemical_products.status, ctz_level_name, conformance_level_name, chemical_products.created_at, chemical_products.updated_at.'
            example: chemical_products.id
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      reference_id: 20-NTNRYDE6A32E-I
                      organisation_id: 5
                      zdhc_pid: null
                      name: sed
                      version: 1
                      description: null
                      alternate_names: null
                      created_at: '2025-11-14T09:43:25.000000Z'
                      updated_at: '2026-03-05T14:31:28.000000Z'
                      conformance_level_id: null
                      ctz_level_id: null
                      status: DRAFT
                      technical_data_sheet_url: ''
                      conformance_level: null
                      ctz_level: null
                    -
                      id: 1
                      reference_id: 20-NTNRYDE6A32E-I
                      organisation_id: 5
                      zdhc_pid: null
                      name: sed
                      version: 1
                      description: null
                      alternate_names: null
                      created_at: '2025-11-14T09:43:25.000000Z'
                      updated_at: '2026-03-05T14:31:28.000000Z'
                      conformance_level_id: null
                      ctz_level_id: null
                      status: DRAFT
                      technical_data_sheet_url: ''
                      conformance_level: null
                      ctz_level: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        reference_id: 20-NTNRYDE6A32E-I
                        organisation_id: 5
                        zdhc_pid: null
                        name: sed
                        version: 1
                        description: null
                        alternate_names: null
                        created_at: '2025-11-14T09:43:25.000000Z'
                        updated_at: '2026-03-05T14:31:28.000000Z'
                        conformance_level_id: null
                        ctz_level_id: null
                        status: DRAFT
                        technical_data_sheet_url: ''
                        conformance_level: null
                        ctz_level: null
                      -
                        id: 1
                        reference_id: 20-NTNRYDE6A32E-I
                        organisation_id: 5
                        zdhc_pid: null
                        name: sed
                        version: 1
                        description: null
                        alternate_names: null
                        created_at: '2025-11-14T09:43:25.000000Z'
                        updated_at: '2026-03-05T14:31:28.000000Z'
                        conformance_level_id: null
                        ctz_level_id: null
                        status: DRAFT
                        technical_data_sheet_url: ''
                        conformance_level: null
                        ctz_level: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        reference_id:
                          type: string
                          example: 20-NTNRYDE6A32E-I
                        organisation_id:
                          type: integer
                          example: 5
                        zdhc_pid:
                          type: string
                          example: null
                          nullable: true
                        name:
                          type: string
                          example: sed
                        version:
                          type: integer
                          example: 1
                        description:
                          type: string
                          example: null
                          nullable: true
                        alternate_names:
                          type: string
                          example: null
                          nullable: true
                        created_at:
                          type: string
                          example: '2025-11-14T09:43:25.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-05T14:31:28.000000Z'
                        conformance_level_id:
                          type: string
                          example: null
                          nullable: true
                        ctz_level_id:
                          type: string
                          example: null
                          nullable: true
                        status:
                          type: string
                          example: DRAFT
                        technical_data_sheet_url:
                          type: string
                          example: ''
                        conformance_level:
                          type: string
                          example: null
                          nullable: true
                        ctz_level:
                          type: string
                          example: null
                          nullable: true
      tags:
        - Chemical
    post:
      summary: Store
      operationId: store
      description: 'Store a product'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    reference_id: 20-NTNRYDE6A32E-I
                    organisation_id: 5
                    zdhc_pid: null
                    name: sed
                    version: 1
                    description: null
                    alternate_names: null
                    created_at: '2025-11-14T09:43:25.000000Z'
                    updated_at: '2026-03-05T14:31:28.000000Z'
                    conformance_level_id: null
                    ctz_level_id: null
                    status: DRAFT
                    technical_data_sheet_url: ''
                    organisation:
                      id: 5
                      reference_id: 01-9YKA6G6TQSUTU-T
                      type_id: 6
                      name: 'test-Chemical formulator System'
                      address_1: '85608 Bridie Highway'
                      address_2: 'Apt. 403'
                      city: 'Port Eloisa'
                      state: Louisiana
                      location: SY
                      zip: '69515'
                      phone: '+13345405228'
                      email: goyette.diamond@schulist.com
                      website: 'http://www.torp.com/'
                      avatar_url: null
                      location_name: Syria
                    conformance_level: null
                    ctz_level: null
                    highest_mrsl_certification: null
                    highest_ctz_certification: null
                    certification_body_assignments: []
                    safety_data_sheets: []
                    certified_safety_data_sheets: []
                    use_types: []
                    activity_logs: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      reference_id:
                        type: string
                        example: 20-NTNRYDE6A32E-I
                      organisation_id:
                        type: integer
                        example: 5
                      zdhc_pid:
                        type: string
                        example: null
                        nullable: true
                      name:
                        type: string
                        example: sed
                      version:
                        type: integer
                        example: 1
                      description:
                        type: string
                        example: null
                        nullable: true
                      alternate_names:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2025-11-14T09:43:25.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-05T14:31:28.000000Z'
                      conformance_level_id:
                        type: string
                        example: null
                        nullable: true
                      ctz_level_id:
                        type: string
                        example: null
                        nullable: true
                      status:
                        type: string
                        example: DRAFT
                      technical_data_sheet_url:
                        type: string
                        example: ''
                      organisation:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 5
                          reference_id:
                            type: string
                            example: 01-9YKA6G6TQSUTU-T
                          type_id:
                            type: integer
                            example: 6
                          name:
                            type: string
                            example: 'test-Chemical formulator System'
                          address_1:
                            type: string
                            example: '85608 Bridie Highway'
                          address_2:
                            type: string
                            example: 'Apt. 403'
                          city:
                            type: string
                            example: 'Port Eloisa'
                          state:
                            type: string
                            example: Louisiana
                          location:
                            type: string
                            example: SY
                          zip:
                            type: string
                            example: '69515'
                          phone:
                            type: string
                            example: '+13345405228'
                          email:
                            type: string
                            example: goyette.diamond@schulist.com
                          website:
                            type: string
                            example: 'http://www.torp.com/'
                          avatar_url:
                            type: string
                            example: null
                            nullable: true
                          location_name:
                            type: string
                            example: Syria
                      conformance_level:
                        type: string
                        example: null
                        nullable: true
                      ctz_level:
                        type: string
                        example: null
                        nullable: true
                      highest_mrsl_certification:
                        type: string
                        example: null
                        nullable: true
                      highest_ctz_certification:
                        type: string
                        example: null
                        nullable: true
                      certification_body_assignments:
                        type: array
                        example: []
                      safety_data_sheets:
                        type: array
                        example: []
                      certified_safety_data_sheets:
                        type: array
                        example: []
                      use_types:
                        type: array
                        example: []
                      activity_logs:
                        type: array
                        example: []
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: vqk
                description:
                  type: string
                  description: 'Must not be greater than 512 characters.'
                  example: 'Ab tempora ut eius nihil porro itaque ut nam.'
                  nullable: true
                alternate_names:
                  type: array
                  description: 'Must not be greater than 255 characters.'
                  example:
                    - qcbc
                  items:
                    type: string
                    nullable: true
                use_types:
                  type: array
                  description: 'The <code>id</code> of an existing record in the product_use_types table.'
                  example:
                    - 19
                  items:
                    type: integer
                certification_bodies:
                  type: array
                  description: 'The <code>id</code> of an existing record in the organisations table.'
                  example:
                    - 17
                  items:
                    type: integer
                    nullable: true
                safety_data_sheet:
                  type: string
                  format: binary
                  description: 'Must be a file. Must not be greater than 10240 kilobytes.'
                technical_data_sheet:
                  type: string
                  format: binary
                  description: 'Must be a file. Must not be greater than 10240 kilobytes.'
                  nullable: true
              required:
                - name
                - use_types
                - safety_data_sheet
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product/{id}':
    get:
      summary: Show
      operationId: show
      description: 'Show a product'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    reference_id: 20-NTNRYDE6A32E-I
                    organisation_id: 5
                    zdhc_pid: null
                    name: sed
                    version: 1
                    description: null
                    alternate_names: null
                    created_at: '2025-11-14T09:43:25.000000Z'
                    updated_at: '2026-03-05T14:31:28.000000Z'
                    conformance_level_id: null
                    ctz_level_id: null
                    status: DRAFT
                    technical_data_sheet_url: ''
                    organisation:
                      id: 5
                      reference_id: 01-9YKA6G6TQSUTU-T
                      type_id: 6
                      name: 'test-Chemical formulator System'
                      address_1: '85608 Bridie Highway'
                      address_2: 'Apt. 403'
                      city: 'Port Eloisa'
                      state: Louisiana
                      location: SY
                      zip: '69515'
                      phone: '+13345405228'
                      email: goyette.diamond@schulist.com
                      website: 'http://www.torp.com/'
                      avatar_url: null
                      location_name: Syria
                    conformance_level: null
                    ctz_level: null
                    highest_mrsl_certification: null
                    highest_ctz_certification: null
                    certification_body_assignments: []
                    safety_data_sheets: []
                    certified_safety_data_sheets: []
                    use_types: []
                    activity_logs: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      reference_id:
                        type: string
                        example: 20-NTNRYDE6A32E-I
                      organisation_id:
                        type: integer
                        example: 5
                      zdhc_pid:
                        type: string
                        example: null
                        nullable: true
                      name:
                        type: string
                        example: sed
                      version:
                        type: integer
                        example: 1
                      description:
                        type: string
                        example: null
                        nullable: true
                      alternate_names:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2025-11-14T09:43:25.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-05T14:31:28.000000Z'
                      conformance_level_id:
                        type: string
                        example: null
                        nullable: true
                      ctz_level_id:
                        type: string
                        example: null
                        nullable: true
                      status:
                        type: string
                        example: DRAFT
                      technical_data_sheet_url:
                        type: string
                        example: ''
                      organisation:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 5
                          reference_id:
                            type: string
                            example: 01-9YKA6G6TQSUTU-T
                          type_id:
                            type: integer
                            example: 6
                          name:
                            type: string
                            example: 'test-Chemical formulator System'
                          address_1:
                            type: string
                            example: '85608 Bridie Highway'
                          address_2:
                            type: string
                            example: 'Apt. 403'
                          city:
                            type: string
                            example: 'Port Eloisa'
                          state:
                            type: string
                            example: Louisiana
                          location:
                            type: string
                            example: SY
                          zip:
                            type: string
                            example: '69515'
                          phone:
                            type: string
                            example: '+13345405228'
                          email:
                            type: string
                            example: goyette.diamond@schulist.com
                          website:
                            type: string
                            example: 'http://www.torp.com/'
                          avatar_url:
                            type: string
                            example: null
                            nullable: true
                          location_name:
                            type: string
                            example: Syria
                      conformance_level:
                        type: string
                        example: null
                        nullable: true
                      ctz_level:
                        type: string
                        example: null
                        nullable: true
                      highest_mrsl_certification:
                        type: string
                        example: null
                        nullable: true
                      highest_ctz_certification:
                        type: string
                        example: null
                        nullable: true
                      certification_body_assignments:
                        type: array
                        example: []
                      safety_data_sheets:
                        type: array
                        example: []
                      certified_safety_data_sheets:
                        type: array
                        example: []
                      use_types:
                        type: array
                        example: []
                      activity_logs:
                        type: array
                        example: []
      tags:
        - Chemical
    put:
      summary: Update
      operationId: update
      description: 'Update a product'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    reference_id: 20-NTNRYDE6A32E-I
                    organisation_id: 5
                    zdhc_pid: null
                    name: sed
                    version: 1
                    description: null
                    alternate_names: null
                    created_at: '2025-11-14T09:43:25.000000Z'
                    updated_at: '2026-03-05T14:31:28.000000Z'
                    conformance_level_id: null
                    ctz_level_id: null
                    status: DRAFT
                    technical_data_sheet_url: ''
                    organisation:
                      id: 5
                      reference_id: 01-9YKA6G6TQSUTU-T
                      type_id: 6
                      name: 'test-Chemical formulator System'
                      address_1: '85608 Bridie Highway'
                      address_2: 'Apt. 403'
                      city: 'Port Eloisa'
                      state: Louisiana
                      location: SY
                      zip: '69515'
                      phone: '+13345405228'
                      email: goyette.diamond@schulist.com
                      website: 'http://www.torp.com/'
                      avatar_url: null
                      location_name: Syria
                    conformance_level: null
                    ctz_level: null
                    highest_mrsl_certification: null
                    highest_ctz_certification: null
                    certification_body_assignments: []
                    safety_data_sheets: []
                    certified_safety_data_sheets: []
                    use_types: []
                    activity_logs: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      reference_id:
                        type: string
                        example: 20-NTNRYDE6A32E-I
                      organisation_id:
                        type: integer
                        example: 5
                      zdhc_pid:
                        type: string
                        example: null
                        nullable: true
                      name:
                        type: string
                        example: sed
                      version:
                        type: integer
                        example: 1
                      description:
                        type: string
                        example: null
                        nullable: true
                      alternate_names:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2025-11-14T09:43:25.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-05T14:31:28.000000Z'
                      conformance_level_id:
                        type: string
                        example: null
                        nullable: true
                      ctz_level_id:
                        type: string
                        example: null
                        nullable: true
                      status:
                        type: string
                        example: DRAFT
                      technical_data_sheet_url:
                        type: string
                        example: ''
                      organisation:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 5
                          reference_id:
                            type: string
                            example: 01-9YKA6G6TQSUTU-T
                          type_id:
                            type: integer
                            example: 6
                          name:
                            type: string
                            example: 'test-Chemical formulator System'
                          address_1:
                            type: string
                            example: '85608 Bridie Highway'
                          address_2:
                            type: string
                            example: 'Apt. 403'
                          city:
                            type: string
                            example: 'Port Eloisa'
                          state:
                            type: string
                            example: Louisiana
                          location:
                            type: string
                            example: SY
                          zip:
                            type: string
                            example: '69515'
                          phone:
                            type: string
                            example: '+13345405228'
                          email:
                            type: string
                            example: goyette.diamond@schulist.com
                          website:
                            type: string
                            example: 'http://www.torp.com/'
                          avatar_url:
                            type: string
                            example: null
                            nullable: true
                          location_name:
                            type: string
                            example: Syria
                      conformance_level:
                        type: string
                        example: null
                        nullable: true
                      ctz_level:
                        type: string
                        example: null
                        nullable: true
                      highest_mrsl_certification:
                        type: string
                        example: null
                        nullable: true
                      highest_ctz_certification:
                        type: string
                        example: null
                        nullable: true
                      certification_body_assignments:
                        type: array
                        example: []
                      safety_data_sheets:
                        type: array
                        example: []
                      certified_safety_data_sheets:
                        type: array
                        example: []
                      use_types:
                        type: array
                        example: []
                      activity_logs:
                        type: array
                        example: []
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: sfxdzbnlrivygr
                description:
                  type: string
                  description: 'Must not be greater than 512 characters.'
                  example: 'Aliquid eos et et neque porro.'
                  nullable: true
                alternate_names:
                  type: array
                  description: 'Must not be greater than 255 characters.'
                  example:
                    - xgapjgnepwqmf
                  items:
                    type: string
                    nullable: true
                use_types:
                  type: array
                  description: 'The <code>id</code> of an existing record in the product_use_types table.'
                  example:
                    - 5
                  items:
                    type: integer
                certification_bodies:
                  type: array
                  description: 'The <code>id</code> of an existing record in the organisations table.'
                  example:
                    - 13
                  items:
                    type: integer
                    nullable: true
                safety_data_sheet:
                  type: string
                  format: binary
                  description: 'Must be a file. Must not be greater than 10240 kilobytes.'
                technical_data_sheet:
                  type: string
                  format: binary
                  description: 'Must be a file. Must not be greater than 10240 kilobytes.'
                  nullable: true
              required:
                - name
                - use_types
                - safety_data_sheet
    delete:
      summary: Destroy
      operationId: destroy
      description: 'Destroy a product'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Product deleted successfully.'
                properties:
                  message:
                    type: string
                    example: 'Product deleted successfully.'
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the product.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product/{product_id}/toggle-publish':
    post:
      summary: 'Toggle Publish'
      operationId: togglePublish
      description: 'Toggle the publish status of a product'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    reference_id: 20-NTNRYDE6A32E-I
                    organisation_id: 5
                    zdhc_pid: null
                    name: sed
                    version: 1
                    description: null
                    alternate_names: null
                    created_at: '2025-11-14T09:43:25.000000Z'
                    updated_at: '2026-03-05T14:31:28.000000Z'
                    conformance_level_id: null
                    ctz_level_id: null
                    status: DRAFT
                    technical_data_sheet_url: ''
                    organisation:
                      id: 5
                      reference_id: 01-9YKA6G6TQSUTU-T
                      type_id: 6
                      name: 'test-Chemical formulator System'
                      address_1: '85608 Bridie Highway'
                      address_2: 'Apt. 403'
                      city: 'Port Eloisa'
                      state: Louisiana
                      location: SY
                      zip: '69515'
                      phone: '+13345405228'
                      email: goyette.diamond@schulist.com
                      website: 'http://www.torp.com/'
                      avatar_url: null
                      location_name: Syria
                    conformance_level: null
                    ctz_level: null
                    highest_mrsl_certification: null
                    highest_ctz_certification: null
                    certification_body_assignments: []
                    safety_data_sheets: []
                    certified_safety_data_sheets: []
                    use_types: []
                    activity_logs: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      reference_id:
                        type: string
                        example: 20-NTNRYDE6A32E-I
                      organisation_id:
                        type: integer
                        example: 5
                      zdhc_pid:
                        type: string
                        example: null
                        nullable: true
                      name:
                        type: string
                        example: sed
                      version:
                        type: integer
                        example: 1
                      description:
                        type: string
                        example: null
                        nullable: true
                      alternate_names:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2025-11-14T09:43:25.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-05T14:31:28.000000Z'
                      conformance_level_id:
                        type: string
                        example: null
                        nullable: true
                      ctz_level_id:
                        type: string
                        example: null
                        nullable: true
                      status:
                        type: string
                        example: DRAFT
                      technical_data_sheet_url:
                        type: string
                        example: ''
                      organisation:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 5
                          reference_id:
                            type: string
                            example: 01-9YKA6G6TQSUTU-T
                          type_id:
                            type: integer
                            example: 6
                          name:
                            type: string
                            example: 'test-Chemical formulator System'
                          address_1:
                            type: string
                            example: '85608 Bridie Highway'
                          address_2:
                            type: string
                            example: 'Apt. 403'
                          city:
                            type: string
                            example: 'Port Eloisa'
                          state:
                            type: string
                            example: Louisiana
                          location:
                            type: string
                            example: SY
                          zip:
                            type: string
                            example: '69515'
                          phone:
                            type: string
                            example: '+13345405228'
                          email:
                            type: string
                            example: goyette.diamond@schulist.com
                          website:
                            type: string
                            example: 'http://www.torp.com/'
                          avatar_url:
                            type: string
                            example: null
                            nullable: true
                          location_name:
                            type: string
                            example: Syria
                      conformance_level:
                        type: string
                        example: null
                        nullable: true
                      ctz_level:
                        type: string
                        example: null
                        nullable: true
                      highest_mrsl_certification:
                        type: string
                        example: null
                        nullable: true
                      highest_ctz_certification:
                        type: string
                        example: null
                        nullable: true
                      certification_body_assignments:
                        type: array
                        example: []
                      safety_data_sheets:
                        type: array
                        example: []
                      certified_safety_data_sheets:
                        type: array
                        example: []
                      use_types:
                        type: array
                        example: []
                      activity_logs:
                        type: array
                        example: []
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: product_id
        description: 'The ID of the product.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product/{product_id}/safety-data-sheet/public':
    get:
      summary: 'Download Public Safety Data Sheet'
      operationId: downloadPublicSafetyDataSheet
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: file
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: product_id
        description: 'The ID of the product.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product/{product_id}/safety-data-sheet/{safetyDataSheet_id}':
    get:
      summary: 'Download Safety Data Sheet (by id, product owner context)'
      operationId: downloadSafetyDataSheetbyIdProductOwnerContext
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: file
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: product_id
        description: 'The ID of the product.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: safetyDataSheet_id
        description: 'The ID of the safetyDataSheet.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product/{product_id}/technical-data-sheet':
    get:
      summary: 'Download Technical Data Sheet'
      operationId: downloadTechnicalDataSheet
      description: 'Download a technical data sheet'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: file
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: product_id
        description: 'The ID of the product.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product/{product_id}/public-profile':
    get:
      summary: 'Public product profile'
      operationId: publicProductProfile
      description: 'Get a public product profile'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    organisation:
                      id: 5
                      reference_id: 01-9YKA6G6TQSUTU-T
                      type_id: 6
                      name: 'test-Chemical formulator System'
                      address_1: '85608 Bridie Highway'
                      address_2: 'Apt. 403'
                      city: 'Port Eloisa'
                      state: Louisiana
                      location: SY
                      zip: '69515'
                      phone: '+13345405228'
                      email: goyette.diamond@schulist.com
                      website: 'http://www.torp.com/'
                      avatar_url: null
                      location_name: Syria
                    name: sed
                    description: null
                    alternate_names: null
                    version: 1
                    status: DRAFT
                    technical_data_sheet_url: null
                    conformance_level: null
                    ctz_level: null
                    use_types: []
                    sds_visibility: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      organisation:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 5
                          reference_id:
                            type: string
                            example: 01-9YKA6G6TQSUTU-T
                          type_id:
                            type: integer
                            example: 6
                          name:
                            type: string
                            example: 'test-Chemical formulator System'
                          address_1:
                            type: string
                            example: '85608 Bridie Highway'
                          address_2:
                            type: string
                            example: 'Apt. 403'
                          city:
                            type: string
                            example: 'Port Eloisa'
                          state:
                            type: string
                            example: Louisiana
                          location:
                            type: string
                            example: SY
                          zip:
                            type: string
                            example: '69515'
                          phone:
                            type: string
                            example: '+13345405228'
                          email:
                            type: string
                            example: goyette.diamond@schulist.com
                          website:
                            type: string
                            example: 'http://www.torp.com/'
                          avatar_url:
                            type: string
                            example: null
                            nullable: true
                          location_name:
                            type: string
                            example: Syria
                      name:
                        type: string
                        example: sed
                      description:
                        type: string
                        example: null
                        nullable: true
                      alternate_names:
                        type: string
                        example: null
                        nullable: true
                      version:
                        type: integer
                        example: 1
                      status:
                        type: string
                        example: DRAFT
                      technical_data_sheet_url:
                        type: string
                        example: null
                        nullable: true
                      conformance_level:
                        type: string
                        example: null
                        nullable: true
                      ctz_level:
                        type: string
                        example: null
                        nullable: true
                      use_types:
                        type: array
                        example: []
                      sds_visibility:
                        type: string
                        example: null
                        nullable: true
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: product_id
        description: 'The ID of the product.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product/{product_id}/technical-data-sheet/public':
    get:
      summary: 'Download Public Technical Data Sheet'
      operationId: downloadPublicTechnicalDataSheet
      description: 'Download a public technical data sheet'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: file
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: product_id
        description: 'The ID of the product.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product-assignment':
    get:
      summary: Index
      operationId: index
      description: 'Get Product Assignments'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 5
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 5
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: 'filter[name]'
          description: 'Filter column name by any accepted value. Filter by name'
          example: et
          required: false
          schema:
            type: string
            description: 'Filter column name by any accepted value. Filter by name'
            example: et
        -
          in: query
          name: 'filter[zdhc_pid]'
          description: 'Filter column zdhc_pid by any accepted value. Filter by ZDHC PID'
          example: 2
          required: false
          schema:
            type: integer
            description: 'Filter column zdhc_pid by any accepted value. Filter by ZDHC PID'
            example: 2
        -
          in: query
          name: 'filter[status]'
          description: 'Filter column status by any accepted value. Matches exact value. Possible values: DRAFT, UNDER_REVIEW, ACCEPTED, PUBLISHED, NOT_ACCEPTED, DELETED'
          example: vel
          required: false
          schema:
            type: string
            description: 'Filter column status by any accepted value. Matches exact value. Possible values: DRAFT, UNDER_REVIEW, ACCEPTED, PUBLISHED, NOT_ACCEPTED, DELETED'
            example: vel
        -
          in: query
          name: 'filter[assignment_status]'
          description: 'Filter column assignment_status by any accepted value. Matches exact value. Possible values: UNDER_REVIEW, ACCEPTED, EXPIRED, DECLINED'
          example: facilis
          required: false
          schema:
            type: string
            description: 'Filter column assignment_status by any accepted value. Matches exact value. Possible values: UNDER_REVIEW, ACCEPTED, EXPIRED, DECLINED'
            example: facilis
        -
          in: query
          name: 'filter[organisation_id]'
          description: 'Filter column organisation_id by any accepted value. Filter by product organisation ID'
          example: 5
          required: false
          schema:
            type: integer
            description: 'Filter column organisation_id by any accepted value. Filter by product organisation ID'
            example: 5
        -
          in: query
          name: 'filter[max_conformance_level_id]'
          description: 'Filter column max_conformance_level_id by any accepted value. Filter by max conformance level IDs from assignment'
          example: 14
          required: false
          schema:
            type: integer
            description: 'Filter column max_conformance_level_id by any accepted value. Filter by max conformance level IDs from assignment'
            example: 14
        -
          in: query
          name: 'filter[max_ctz_level_id]'
          description: 'Filter column max_ctz_level_id by any accepted value. Filter by max CTZ level IDs from assignment'
          example: 6
          required: false
          schema:
            type: integer
            description: 'Filter column max_ctz_level_id by any accepted value. Filter by max CTZ level IDs from assignment'
            example: 6
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. Filter by created date'
          example: qui
          required: false
          schema:
            type: datetime
            description: 'Filter column created_at by any accepted value. Filter by created date'
            example: qui
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. Filter by updated date'
          example: et
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. Filter by updated date'
            example: et
        -
          in: query
          name: 'filter[product_use_types.id]'
          description: 'Filter column product_use_types.id by any accepted value. Filter by use type ID (multiple selection allowed)'
          example: 14
          required: false
          schema:
            type: integer
            description: 'Filter column product_use_types.id by any accepted value. Filter by use type ID (multiple selection allowed)'
            example: 14
        -
          in: query
          name: 'filter[product_categories.id]'
          description: 'Filter column product_categories.id by any accepted value. Filter by use type category ID (multiple selection allowed)'
          example: 18
          required: false
          schema:
            type: integer
            description: 'Filter column product_categories.id by any accepted value. Filter by use type category ID (multiple selection allowed)'
            example: 18
        -
          in: query
          name: search
          description: 'Search in all of these columns: name, zdhc_pid'
          example: neque
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name, zdhc_pid'
            example: neque
        -
          in: query
          name: sort
          description: 'sort by any accepted column: id,name,version,status,assignment_status,zdhc_pid,conformance_level_name,ctz_level_name,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
          example: 'id,name,version,status,assignment_status,zdhc_pid,conformance_level_name,ctz_level_name,created_at,updated_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: id,name,version,status,assignment_status,zdhc_pid,conformance_level_name,ctz_level_name,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
            example: 'id,name,version,status,assignment_status,zdhc_pid,conformance_level_name,ctz_level_name,created_at,updated_at'
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: id, name, version, status, assignment_status, ctz_level_name, conformance_level_name, created_at, updated_at.'
          example: id
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: id, name, version, status, assignment_status, ctz_level_name, conformance_level_name, created_at, updated_at.'
            example: id
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      reference_id: 20-NTNRYDE6A32E-I
                      organisation_id: 5
                      zdhc_pid: null
                      name: sed
                      version: 1
                      description: null
                      alternate_names: null
                      created_at: '2025-11-14T09:43:25.000000Z'
                      updated_at: '2026-03-05T14:31:28.000000Z'
                      conformance_level_id: null
                      ctz_level_id: null
                      status: DRAFT
                      technical_data_sheet_url: ''
                      conformance_level: null
                      ctz_level: null
                    -
                      id: 1
                      reference_id: 20-NTNRYDE6A32E-I
                      organisation_id: 5
                      zdhc_pid: null
                      name: sed
                      version: 1
                      description: null
                      alternate_names: null
                      created_at: '2025-11-14T09:43:25.000000Z'
                      updated_at: '2026-03-05T14:31:28.000000Z'
                      conformance_level_id: null
                      ctz_level_id: null
                      status: DRAFT
                      technical_data_sheet_url: ''
                      conformance_level: null
                      ctz_level: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        reference_id: 20-NTNRYDE6A32E-I
                        organisation_id: 5
                        zdhc_pid: null
                        name: sed
                        version: 1
                        description: null
                        alternate_names: null
                        created_at: '2025-11-14T09:43:25.000000Z'
                        updated_at: '2026-03-05T14:31:28.000000Z'
                        conformance_level_id: null
                        ctz_level_id: null
                        status: DRAFT
                        technical_data_sheet_url: ''
                        conformance_level: null
                        ctz_level: null
                      -
                        id: 1
                        reference_id: 20-NTNRYDE6A32E-I
                        organisation_id: 5
                        zdhc_pid: null
                        name: sed
                        version: 1
                        description: null
                        alternate_names: null
                        created_at: '2025-11-14T09:43:25.000000Z'
                        updated_at: '2026-03-05T14:31:28.000000Z'
                        conformance_level_id: null
                        ctz_level_id: null
                        status: DRAFT
                        technical_data_sheet_url: ''
                        conformance_level: null
                        ctz_level: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        reference_id:
                          type: string
                          example: 20-NTNRYDE6A32E-I
                        organisation_id:
                          type: integer
                          example: 5
                        zdhc_pid:
                          type: string
                          example: null
                          nullable: true
                        name:
                          type: string
                          example: sed
                        version:
                          type: integer
                          example: 1
                        description:
                          type: string
                          example: null
                          nullable: true
                        alternate_names:
                          type: string
                          example: null
                          nullable: true
                        created_at:
                          type: string
                          example: '2025-11-14T09:43:25.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-05T14:31:28.000000Z'
                        conformance_level_id:
                          type: string
                          example: null
                          nullable: true
                        ctz_level_id:
                          type: string
                          example: null
                          nullable: true
                        status:
                          type: string
                          example: DRAFT
                        technical_data_sheet_url:
                          type: string
                          example: ''
                        conformance_level:
                          type: string
                          example: null
                          nullable: true
                        ctz_level:
                          type: string
                          example: null
                          nullable: true
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product-assignment/{id}':
    put:
      summary: Update
      operationId: update
      description: 'Update product assignments'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 14
                    status: UNDER_REVIEW
                    chemical_product_id: 31
                    organisation_id: 33
                    created_at: '2025-12-12T09:13:50.000000Z'
                    updated_at: '2025-12-12T16:04:31.000000Z'
                    max_conformance_level_id: null
                    max_ctz_level_id: null
                    conformance_level: null
                    ctz_level: null
                    mrsl_certifications: []
                    chemical_product:
                      id: 31
                      reference_id: 20-MAMVURD727AJ-P
                      organisation_id: 32
                      zdhc_pid: null
                      name: cupiditate
                      version: 1
                      description: null
                      alternate_names:
                        - 'alternative name'
                      created_at: '2025-11-14T09:43:25.000000Z'
                      updated_at: '2026-03-05T14:31:29.000000Z'
                      conformance_level_id: null
                      ctz_level_id: null
                      status: UNDER_REVIEW
                      technical_data_sheet_url: ''
                      organisation:
                        id: 32
                        reference_id: 01-R6MYJM3NE47K4-H
                        type_id: 6
                        name: 'test-Chemical formulator m.breuer'
                        address_1: '58013 Lonzo Manors'
                        address_2: 'Apt. 423'
                        city: 'New Isidro'
                        state: Utah
                        location: JE
                        zip: 86567-2898
                        phone: '+15013901283'
                        email: geoffrey.tremblay@robel.biz
                        website: 'http://www.paucek.info/ipsa-consequatur-illum-animi-soluta-laborum-aspernatur-ipsum-possimus'
                        avatar_url: null
                        location_name: Jersey
                      conformance_level: null
                      ctz_level: null
                      highest_mrsl_certification: null
                      highest_ctz_certification: null
                      certification_body_assignments:
                        -
                          id: 14
                          status: UNDER_REVIEW
                          chemical_product_id: 31
                          organisation_id: 33
                          created_at: '2025-12-12T09:13:50.000000Z'
                          updated_at: '2025-12-12T16:04:31.000000Z'
                          max_conformance_level_id: null
                          max_ctz_level_id: null
                          certification_body:
                            id: 33
                            maxio_customer_id: 226025
                            reference_id: 01-TXF8SFVYCQAUD-H
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                            legal_name: 'Marvin Inc'
                            address_1: '7505 Gleichner Points Apt. 547'
                            address_2: 'Apt. 605'
                            city: Joemouth
                            state: 'New Hampshire'
                            location: AL
                            zip: '10490'
                            phone: '+14845414899'
                            email: lance14@hill.biz
                            contact_first_name: Newton
                            contact_last_name: Rogahn
                            website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1992-11-30 18:20:01'
                            created_at: '2025-07-24T13:23:32.000000Z'
                            updated_at: '2026-02-07T00:00:14.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-28 09:04:37'
                            profile_reviewed_by_user_id: 4
                            location_name: Albania
                          mrsl_certifications: []
                      safety_data_sheets:
                        -
                          id: 3
                          file_name: test-pdf.pdf
                          mime_type: application/pdf
                          file_size: '4911'
                          locale: en
                          version: 1
                          chemical_product_id: 31
                          organisation_id: 32
                          created_at: '2025-12-12T09:13:32.000000Z'
                          updated_at: '2025-12-12T09:13:32.000000Z'
                          file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3'
                          chemical_product:
                            id: 31
                            reference_id: 20-MAMVURD727AJ-P
                            organisation_id: 32
                            zdhc_pid: null
                            name: cupiditate
                            version: 1
                            description: null
                            alternate_names:
                              - 'alternative name'
                            created_at: '2025-11-14T09:43:25.000000Z'
                            updated_at: '2026-03-05T14:31:29.000000Z'
                            conformance_level_id: null
                            ctz_level_id: null
                            status: UNDER_REVIEW
                            technical_data_sheet_url: ''
                        -
                          id: 17
                          file_name: test-pdf.pdf
                          mime_type: application/pdf
                          file_size: '4911'
                          locale: en
                          version: 1
                          chemical_product_id: 31
                          organisation_id: 33
                          created_at: '2026-02-02T14:18:50.000000Z'
                          updated_at: '2026-02-02T14:18:50.000000Z'
                          file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/17'
                          chemical_product:
                            id: 31
                            reference_id: 20-MAMVURD727AJ-P
                            organisation_id: 32
                            zdhc_pid: null
                            name: cupiditate
                            version: 1
                            description: null
                            alternate_names:
                              - 'alternative name'
                            created_at: '2025-11-14T09:43:25.000000Z'
                            updated_at: '2026-03-05T14:31:29.000000Z'
                            conformance_level_id: null
                            ctz_level_id: null
                            status: UNDER_REVIEW
                            technical_data_sheet_url: ''
                      certified_safety_data_sheets: []
                      use_types: []
                      activity_logs: []
                    highest_mrsl_certification: null
                    ctz_certifications: []
                    highest_ctz_certification: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 14
                      status:
                        type: string
                        example: UNDER_REVIEW
                      chemical_product_id:
                        type: integer
                        example: 31
                      organisation_id:
                        type: integer
                        example: 33
                      created_at:
                        type: string
                        example: '2025-12-12T09:13:50.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-12T16:04:31.000000Z'
                      max_conformance_level_id:
                        type: string
                        example: null
                        nullable: true
                      max_ctz_level_id:
                        type: string
                        example: null
                        nullable: true
                      conformance_level:
                        type: string
                        example: null
                        nullable: true
                      ctz_level:
                        type: string
                        example: null
                        nullable: true
                      mrsl_certifications:
                        type: array
                        example: []
                      chemical_product:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 31
                          reference_id:
                            type: string
                            example: 20-MAMVURD727AJ-P
                          organisation_id:
                            type: integer
                            example: 32
                          zdhc_pid:
                            type: string
                            example: null
                            nullable: true
                          name:
                            type: string
                            example: cupiditate
                          version:
                            type: integer
                            example: 1
                          description:
                            type: string
                            example: null
                            nullable: true
                          alternate_names:
                            type: array
                            example:
                              - 'alternative name'
                            items:
                              type: string
                          created_at:
                            type: string
                            example: '2025-11-14T09:43:25.000000Z'
                          updated_at:
                            type: string
                            example: '2026-03-05T14:31:29.000000Z'
                          conformance_level_id:
                            type: string
                            example: null
                            nullable: true
                          ctz_level_id:
                            type: string
                            example: null
                            nullable: true
                          status:
                            type: string
                            example: UNDER_REVIEW
                          technical_data_sheet_url:
                            type: string
                            example: ''
                          organisation:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 32
                              reference_id:
                                type: string
                                example: 01-R6MYJM3NE47K4-H
                              type_id:
                                type: integer
                                example: 6
                              name:
                                type: string
                                example: 'test-Chemical formulator m.breuer'
                              address_1:
                                type: string
                                example: '58013 Lonzo Manors'
                              address_2:
                                type: string
                                example: 'Apt. 423'
                              city:
                                type: string
                                example: 'New Isidro'
                              state:
                                type: string
                                example: Utah
                              location:
                                type: string
                                example: JE
                              zip:
                                type: string
                                example: 86567-2898
                              phone:
                                type: string
                                example: '+15013901283'
                              email:
                                type: string
                                example: geoffrey.tremblay@robel.biz
                              website:
                                type: string
                                example: 'http://www.paucek.info/ipsa-consequatur-illum-animi-soluta-laborum-aspernatur-ipsum-possimus'
                              avatar_url:
                                type: string
                                example: null
                                nullable: true
                              location_name:
                                type: string
                                example: Jersey
                          conformance_level:
                            type: string
                            example: null
                            nullable: true
                          ctz_level:
                            type: string
                            example: null
                            nullable: true
                          highest_mrsl_certification:
                            type: string
                            example: null
                            nullable: true
                          highest_ctz_certification:
                            type: string
                            example: null
                            nullable: true
                          certification_body_assignments:
                            type: array
                            example:
                              -
                                id: 14
                                status: UNDER_REVIEW
                                chemical_product_id: 31
                                organisation_id: 33
                                created_at: '2025-12-12T09:13:50.000000Z'
                                updated_at: '2025-12-12T16:04:31.000000Z'
                                max_conformance_level_id: null
                                max_ctz_level_id: null
                                certification_body:
                                  id: 33
                                  maxio_customer_id: 226025
                                  reference_id: 01-TXF8SFVYCQAUD-H
                                  pdc_id: null
                                  gateway_aid: null
                                  uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                                  type_id: 7
                                  status: approved
                                  name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                                  legal_name: 'Marvin Inc'
                                  address_1: '7505 Gleichner Points Apt. 547'
                                  address_2: 'Apt. 605'
                                  city: Joemouth
                                  state: 'New Hampshire'
                                  location: AL
                                  zip: '10490'
                                  phone: '+14845414899'
                                  email: lance14@hill.biz
                                  contact_first_name: Newton
                                  contact_last_name: Rogahn
                                  website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                                  avatar_url: null
                                  applicant_comment: null
                                  reviewer_comment: null
                                  registration_mail_sent_at: '1992-11-30 18:20:01'
                                  created_at: '2025-07-24T13:23:32.000000Z'
                                  updated_at: '2026-02-07T00:00:14.000000Z'
                                  reviewer_comment_category: null
                                  profile_reviewed_at: '2026-01-28 09:04:37'
                                  profile_reviewed_by_user_id: 4
                                  location_name: Albania
                                mrsl_certifications: []
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 14
                                status:
                                  type: string
                                  example: UNDER_REVIEW
                                chemical_product_id:
                                  type: integer
                                  example: 31
                                organisation_id:
                                  type: integer
                                  example: 33
                                created_at:
                                  type: string
                                  example: '2025-12-12T09:13:50.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-12-12T16:04:31.000000Z'
                                max_conformance_level_id:
                                  type: string
                                  example: null
                                  nullable: true
                                max_ctz_level_id:
                                  type: string
                                  example: null
                                  nullable: true
                                certification_body:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 33
                                    maxio_customer_id:
                                      type: integer
                                      example: 226025
                                    reference_id:
                                      type: string
                                      example: 01-TXF8SFVYCQAUD-H
                                    pdc_id:
                                      type: string
                                      example: null
                                      nullable: true
                                    gateway_aid:
                                      type: string
                                      example: null
                                      nullable: true
                                    uuid:
                                      type: string
                                      example: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                                    type_id:
                                      type: integer
                                      example: 7
                                    status:
                                      type: string
                                      example: approved
                                    name:
                                      type: string
                                      example: 'test-ZDHC MRSL Certification Bodies m.breuer'
                                    legal_name:
                                      type: string
                                      example: 'Marvin Inc'
                                    address_1:
                                      type: string
                                      example: '7505 Gleichner Points Apt. 547'
                                    address_2:
                                      type: string
                                      example: 'Apt. 605'
                                    city:
                                      type: string
                                      example: Joemouth
                                    state:
                                      type: string
                                      example: 'New Hampshire'
                                    location:
                                      type: string
                                      example: AL
                                    zip:
                                      type: string
                                      example: '10490'
                                    phone:
                                      type: string
                                      example: '+14845414899'
                                    email:
                                      type: string
                                      example: lance14@hill.biz
                                    contact_first_name:
                                      type: string
                                      example: Newton
                                    contact_last_name:
                                      type: string
                                      example: Rogahn
                                    website:
                                      type: string
                                      example: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                                    avatar_url:
                                      type: string
                                      example: null
                                      nullable: true
                                    applicant_comment:
                                      type: string
                                      example: null
                                      nullable: true
                                    reviewer_comment:
                                      type: string
                                      example: null
                                      nullable: true
                                    registration_mail_sent_at:
                                      type: string
                                      example: '1992-11-30 18:20:01'
                                    created_at:
                                      type: string
                                      example: '2025-07-24T13:23:32.000000Z'
                                    updated_at:
                                      type: string
                                      example: '2026-02-07T00:00:14.000000Z'
                                    reviewer_comment_category:
                                      type: string
                                      example: null
                                      nullable: true
                                    profile_reviewed_at:
                                      type: string
                                      example: '2026-01-28 09:04:37'
                                    profile_reviewed_by_user_id:
                                      type: integer
                                      example: 4
                                    location_name:
                                      type: string
                                      example: Albania
                                mrsl_certifications:
                                  type: array
                                  example: []
                          safety_data_sheets:
                            type: array
                            example:
                              -
                                id: 3
                                file_name: test-pdf.pdf
                                mime_type: application/pdf
                                file_size: '4911'
                                locale: en
                                version: 1
                                chemical_product_id: 31
                                organisation_id: 32
                                created_at: '2025-12-12T09:13:32.000000Z'
                                updated_at: '2025-12-12T09:13:32.000000Z'
                                file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3'
                                chemical_product:
                                  id: 31
                                  reference_id: 20-MAMVURD727AJ-P
                                  organisation_id: 32
                                  zdhc_pid: null
                                  name: cupiditate
                                  version: 1
                                  description: null
                                  alternate_names:
                                    - 'alternative name'
                                  created_at: '2025-11-14T09:43:25.000000Z'
                                  updated_at: '2026-03-05T14:31:29.000000Z'
                                  conformance_level_id: null
                                  ctz_level_id: null
                                  status: UNDER_REVIEW
                                  technical_data_sheet_url: ''
                              -
                                id: 17
                                file_name: test-pdf.pdf
                                mime_type: application/pdf
                                file_size: '4911'
                                locale: en
                                version: 1
                                chemical_product_id: 31
                                organisation_id: 33
                                created_at: '2026-02-02T14:18:50.000000Z'
                                updated_at: '2026-02-02T14:18:50.000000Z'
                                file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/17'
                                chemical_product:
                                  id: 31
                                  reference_id: 20-MAMVURD727AJ-P
                                  organisation_id: 32
                                  zdhc_pid: null
                                  name: cupiditate
                                  version: 1
                                  description: null
                                  alternate_names:
                                    - 'alternative name'
                                  created_at: '2025-11-14T09:43:25.000000Z'
                                  updated_at: '2026-03-05T14:31:29.000000Z'
                                  conformance_level_id: null
                                  ctz_level_id: null
                                  status: UNDER_REVIEW
                                  technical_data_sheet_url: ''
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 3
                                file_name:
                                  type: string
                                  example: test-pdf.pdf
                                mime_type:
                                  type: string
                                  example: application/pdf
                                file_size:
                                  type: string
                                  example: '4911'
                                locale:
                                  type: string
                                  example: en
                                version:
                                  type: integer
                                  example: 1
                                chemical_product_id:
                                  type: integer
                                  example: 31
                                organisation_id:
                                  type: integer
                                  example: 32
                                created_at:
                                  type: string
                                  example: '2025-12-12T09:13:32.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-12-12T09:13:32.000000Z'
                                file_url:
                                  type: string
                                  example: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3'
                                chemical_product:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 31
                                    reference_id:
                                      type: string
                                      example: 20-MAMVURD727AJ-P
                                    organisation_id:
                                      type: integer
                                      example: 32
                                    zdhc_pid:
                                      type: string
                                      example: null
                                      nullable: true
                                    name:
                                      type: string
                                      example: cupiditate
                                    version:
                                      type: integer
                                      example: 1
                                    description:
                                      type: string
                                      example: null
                                      nullable: true
                                    alternate_names:
                                      type: array
                                      example: ['alternative name']
                                      items: { type: string }
                                    created_at:
                                      type: string
                                      example: '2025-11-14T09:43:25.000000Z'
                                    updated_at:
                                      type: string
                                      example: '2026-03-05T14:31:29.000000Z'
                                    conformance_level_id:
                                      type: string
                                      example: null
                                      nullable: true
                                    ctz_level_id:
                                      type: string
                                      example: null
                                      nullable: true
                                    status:
                                      type: string
                                      example: UNDER_REVIEW
                                    technical_data_sheet_url:
                                      type: string
                                      example: ''
                          certified_safety_data_sheets:
                            type: array
                            example: []
                          use_types:
                            type: array
                            example: []
                          activity_logs:
                            type: array
                            example: []
                      highest_mrsl_certification:
                        type: string
                        example: null
                        nullable: true
                      ctz_certifications:
                        type: array
                        example: []
                      highest_ctz_certification:
                        type: string
                        example: null
                        nullable: true
      tags:
        - Chemical
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                certifications:
                  type: array
                  description: ''
                  example: null
                  items:
                    type: object
                    nullable: true
                    properties:
                      mrsl_standard_id:
                        type: integer
                        description: 'The <code>mrsl_standard_id</code> of an existing record in the mrsl_standard_organisation table.'
                        example: 13
                      ctz_standard_id:
                        type: integer
                        description: 'The <code>ctz_standard_id</code> of an existing record in the ctz_standard_organisation table.'
                        example: 1
                      safety_data_sheet_id:
                        type: integer
                        description: 'The <code>id</code> of an existing record in the safety_data_sheets table.'
                        example: 13
                    required:
                      - mrsl_standard_id
                      - safety_data_sheet_id
                safety_data_sheet:
                  type: string
                  format: binary
                  description: 'Must be a file. Must not be greater than 10240 kilobytes.'
                  nullable: true
    get:
      summary: Show
      operationId: show
      description: 'Show a product assignment'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 14
                    status: UNDER_REVIEW
                    chemical_product_id: 31
                    organisation_id: 33
                    created_at: '2025-12-12T09:13:50.000000Z'
                    updated_at: '2025-12-12T16:04:31.000000Z'
                    max_conformance_level_id: null
                    max_ctz_level_id: null
                    conformance_level: null
                    ctz_level: null
                    mrsl_certifications: []
                    chemical_product:
                      id: 31
                      reference_id: 20-MAMVURD727AJ-P
                      organisation_id: 32
                      zdhc_pid: null
                      name: cupiditate
                      version: 1
                      description: null
                      alternate_names:
                        - 'alternative name'
                      created_at: '2025-11-14T09:43:25.000000Z'
                      updated_at: '2026-03-05T14:31:29.000000Z'
                      conformance_level_id: null
                      ctz_level_id: null
                      status: UNDER_REVIEW
                      technical_data_sheet_url: ''
                      organisation:
                        id: 32
                        reference_id: 01-R6MYJM3NE47K4-H
                        type_id: 6
                        name: 'test-Chemical formulator m.breuer'
                        address_1: '58013 Lonzo Manors'
                        address_2: 'Apt. 423'
                        city: 'New Isidro'
                        state: Utah
                        location: JE
                        zip: 86567-2898
                        phone: '+15013901283'
                        email: geoffrey.tremblay@robel.biz
                        website: 'http://www.paucek.info/ipsa-consequatur-illum-animi-soluta-laborum-aspernatur-ipsum-possimus'
                        avatar_url: null
                        location_name: Jersey
                      conformance_level: null
                      ctz_level: null
                      highest_mrsl_certification: null
                      highest_ctz_certification: null
                      certification_body_assignments:
                        -
                          id: 14
                          status: UNDER_REVIEW
                          chemical_product_id: 31
                          organisation_id: 33
                          created_at: '2025-12-12T09:13:50.000000Z'
                          updated_at: '2025-12-12T16:04:31.000000Z'
                          max_conformance_level_id: null
                          max_ctz_level_id: null
                          certification_body:
                            id: 33
                            maxio_customer_id: 226025
                            reference_id: 01-TXF8SFVYCQAUD-H
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                            legal_name: 'Marvin Inc'
                            address_1: '7505 Gleichner Points Apt. 547'
                            address_2: 'Apt. 605'
                            city: Joemouth
                            state: 'New Hampshire'
                            location: AL
                            zip: '10490'
                            phone: '+14845414899'
                            email: lance14@hill.biz
                            contact_first_name: Newton
                            contact_last_name: Rogahn
                            website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1992-11-30 18:20:01'
                            created_at: '2025-07-24T13:23:32.000000Z'
                            updated_at: '2026-02-07T00:00:14.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-28 09:04:37'
                            profile_reviewed_by_user_id: 4
                            location_name: Albania
                          mrsl_certifications: []
                      safety_data_sheets:
                        -
                          id: 3
                          file_name: test-pdf.pdf
                          mime_type: application/pdf
                          file_size: '4911'
                          locale: en
                          version: 1
                          chemical_product_id: 31
                          organisation_id: 32
                          created_at: '2025-12-12T09:13:32.000000Z'
                          updated_at: '2025-12-12T09:13:32.000000Z'
                          file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3'
                          chemical_product:
                            id: 31
                            reference_id: 20-MAMVURD727AJ-P
                            organisation_id: 32
                            zdhc_pid: null
                            name: cupiditate
                            version: 1
                            description: null
                            alternate_names:
                              - 'alternative name'
                            created_at: '2025-11-14T09:43:25.000000Z'
                            updated_at: '2026-03-05T14:31:29.000000Z'
                            conformance_level_id: null
                            ctz_level_id: null
                            status: UNDER_REVIEW
                            technical_data_sheet_url: ''
                        -
                          id: 17
                          file_name: test-pdf.pdf
                          mime_type: application/pdf
                          file_size: '4911'
                          locale: en
                          version: 1
                          chemical_product_id: 31
                          organisation_id: 33
                          created_at: '2026-02-02T14:18:50.000000Z'
                          updated_at: '2026-02-02T14:18:50.000000Z'
                          file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/17'
                          chemical_product:
                            id: 31
                            reference_id: 20-MAMVURD727AJ-P
                            organisation_id: 32
                            zdhc_pid: null
                            name: cupiditate
                            version: 1
                            description: null
                            alternate_names:
                              - 'alternative name'
                            created_at: '2025-11-14T09:43:25.000000Z'
                            updated_at: '2026-03-05T14:31:29.000000Z'
                            conformance_level_id: null
                            ctz_level_id: null
                            status: UNDER_REVIEW
                            technical_data_sheet_url: ''
                      certified_safety_data_sheets: []
                      use_types: []
                      activity_logs: []
                    highest_mrsl_certification: null
                    ctz_certifications: []
                    highest_ctz_certification: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 14
                      status:
                        type: string
                        example: UNDER_REVIEW
                      chemical_product_id:
                        type: integer
                        example: 31
                      organisation_id:
                        type: integer
                        example: 33
                      created_at:
                        type: string
                        example: '2025-12-12T09:13:50.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-12T16:04:31.000000Z'
                      max_conformance_level_id:
                        type: string
                        example: null
                        nullable: true
                      max_ctz_level_id:
                        type: string
                        example: null
                        nullable: true
                      conformance_level:
                        type: string
                        example: null
                        nullable: true
                      ctz_level:
                        type: string
                        example: null
                        nullable: true
                      mrsl_certifications:
                        type: array
                        example: []
                      chemical_product:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 31
                          reference_id:
                            type: string
                            example: 20-MAMVURD727AJ-P
                          organisation_id:
                            type: integer
                            example: 32
                          zdhc_pid:
                            type: string
                            example: null
                            nullable: true
                          name:
                            type: string
                            example: cupiditate
                          version:
                            type: integer
                            example: 1
                          description:
                            type: string
                            example: null
                            nullable: true
                          alternate_names:
                            type: array
                            example:
                              - 'alternative name'
                            items:
                              type: string
                          created_at:
                            type: string
                            example: '2025-11-14T09:43:25.000000Z'
                          updated_at:
                            type: string
                            example: '2026-03-05T14:31:29.000000Z'
                          conformance_level_id:
                            type: string
                            example: null
                            nullable: true
                          ctz_level_id:
                            type: string
                            example: null
                            nullable: true
                          status:
                            type: string
                            example: UNDER_REVIEW
                          technical_data_sheet_url:
                            type: string
                            example: ''
                          organisation:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 32
                              reference_id:
                                type: string
                                example: 01-R6MYJM3NE47K4-H
                              type_id:
                                type: integer
                                example: 6
                              name:
                                type: string
                                example: 'test-Chemical formulator m.breuer'
                              address_1:
                                type: string
                                example: '58013 Lonzo Manors'
                              address_2:
                                type: string
                                example: 'Apt. 423'
                              city:
                                type: string
                                example: 'New Isidro'
                              state:
                                type: string
                                example: Utah
                              location:
                                type: string
                                example: JE
                              zip:
                                type: string
                                example: 86567-2898
                              phone:
                                type: string
                                example: '+15013901283'
                              email:
                                type: string
                                example: geoffrey.tremblay@robel.biz
                              website:
                                type: string
                                example: 'http://www.paucek.info/ipsa-consequatur-illum-animi-soluta-laborum-aspernatur-ipsum-possimus'
                              avatar_url:
                                type: string
                                example: null
                                nullable: true
                              location_name:
                                type: string
                                example: Jersey
                          conformance_level:
                            type: string
                            example: null
                            nullable: true
                          ctz_level:
                            type: string
                            example: null
                            nullable: true
                          highest_mrsl_certification:
                            type: string
                            example: null
                            nullable: true
                          highest_ctz_certification:
                            type: string
                            example: null
                            nullable: true
                          certification_body_assignments:
                            type: array
                            example:
                              -
                                id: 14
                                status: UNDER_REVIEW
                                chemical_product_id: 31
                                organisation_id: 33
                                created_at: '2025-12-12T09:13:50.000000Z'
                                updated_at: '2025-12-12T16:04:31.000000Z'
                                max_conformance_level_id: null
                                max_ctz_level_id: null
                                certification_body:
                                  id: 33
                                  maxio_customer_id: 226025
                                  reference_id: 01-TXF8SFVYCQAUD-H
                                  pdc_id: null
                                  gateway_aid: null
                                  uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                                  type_id: 7
                                  status: approved
                                  name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                                  legal_name: 'Marvin Inc'
                                  address_1: '7505 Gleichner Points Apt. 547'
                                  address_2: 'Apt. 605'
                                  city: Joemouth
                                  state: 'New Hampshire'
                                  location: AL
                                  zip: '10490'
                                  phone: '+14845414899'
                                  email: lance14@hill.biz
                                  contact_first_name: Newton
                                  contact_last_name: Rogahn
                                  website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                                  avatar_url: null
                                  applicant_comment: null
                                  reviewer_comment: null
                                  registration_mail_sent_at: '1992-11-30 18:20:01'
                                  created_at: '2025-07-24T13:23:32.000000Z'
                                  updated_at: '2026-02-07T00:00:14.000000Z'
                                  reviewer_comment_category: null
                                  profile_reviewed_at: '2026-01-28 09:04:37'
                                  profile_reviewed_by_user_id: 4
                                  location_name: Albania
                                mrsl_certifications: []
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 14
                                status:
                                  type: string
                                  example: UNDER_REVIEW
                                chemical_product_id:
                                  type: integer
                                  example: 31
                                organisation_id:
                                  type: integer
                                  example: 33
                                created_at:
                                  type: string
                                  example: '2025-12-12T09:13:50.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-12-12T16:04:31.000000Z'
                                max_conformance_level_id:
                                  type: string
                                  example: null
                                  nullable: true
                                max_ctz_level_id:
                                  type: string
                                  example: null
                                  nullable: true
                                certification_body:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 33
                                    maxio_customer_id:
                                      type: integer
                                      example: 226025
                                    reference_id:
                                      type: string
                                      example: 01-TXF8SFVYCQAUD-H
                                    pdc_id:
                                      type: string
                                      example: null
                                      nullable: true
                                    gateway_aid:
                                      type: string
                                      example: null
                                      nullable: true
                                    uuid:
                                      type: string
                                      example: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                                    type_id:
                                      type: integer
                                      example: 7
                                    status:
                                      type: string
                                      example: approved
                                    name:
                                      type: string
                                      example: 'test-ZDHC MRSL Certification Bodies m.breuer'
                                    legal_name:
                                      type: string
                                      example: 'Marvin Inc'
                                    address_1:
                                      type: string
                                      example: '7505 Gleichner Points Apt. 547'
                                    address_2:
                                      type: string
                                      example: 'Apt. 605'
                                    city:
                                      type: string
                                      example: Joemouth
                                    state:
                                      type: string
                                      example: 'New Hampshire'
                                    location:
                                      type: string
                                      example: AL
                                    zip:
                                      type: string
                                      example: '10490'
                                    phone:
                                      type: string
                                      example: '+14845414899'
                                    email:
                                      type: string
                                      example: lance14@hill.biz
                                    contact_first_name:
                                      type: string
                                      example: Newton
                                    contact_last_name:
                                      type: string
                                      example: Rogahn
                                    website:
                                      type: string
                                      example: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                                    avatar_url:
                                      type: string
                                      example: null
                                      nullable: true
                                    applicant_comment:
                                      type: string
                                      example: null
                                      nullable: true
                                    reviewer_comment:
                                      type: string
                                      example: null
                                      nullable: true
                                    registration_mail_sent_at:
                                      type: string
                                      example: '1992-11-30 18:20:01'
                                    created_at:
                                      type: string
                                      example: '2025-07-24T13:23:32.000000Z'
                                    updated_at:
                                      type: string
                                      example: '2026-02-07T00:00:14.000000Z'
                                    reviewer_comment_category:
                                      type: string
                                      example: null
                                      nullable: true
                                    profile_reviewed_at:
                                      type: string
                                      example: '2026-01-28 09:04:37'
                                    profile_reviewed_by_user_id:
                                      type: integer
                                      example: 4
                                    location_name:
                                      type: string
                                      example: Albania
                                mrsl_certifications:
                                  type: array
                                  example: []
                          safety_data_sheets:
                            type: array
                            example:
                              -
                                id: 3
                                file_name: test-pdf.pdf
                                mime_type: application/pdf
                                file_size: '4911'
                                locale: en
                                version: 1
                                chemical_product_id: 31
                                organisation_id: 32
                                created_at: '2025-12-12T09:13:32.000000Z'
                                updated_at: '2025-12-12T09:13:32.000000Z'
                                file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3'
                                chemical_product:
                                  id: 31
                                  reference_id: 20-MAMVURD727AJ-P
                                  organisation_id: 32
                                  zdhc_pid: null
                                  name: cupiditate
                                  version: 1
                                  description: null
                                  alternate_names:
                                    - 'alternative name'
                                  created_at: '2025-11-14T09:43:25.000000Z'
                                  updated_at: '2026-03-05T14:31:29.000000Z'
                                  conformance_level_id: null
                                  ctz_level_id: null
                                  status: UNDER_REVIEW
                                  technical_data_sheet_url: ''
                              -
                                id: 17
                                file_name: test-pdf.pdf
                                mime_type: application/pdf
                                file_size: '4911'
                                locale: en
                                version: 1
                                chemical_product_id: 31
                                organisation_id: 33
                                created_at: '2026-02-02T14:18:50.000000Z'
                                updated_at: '2026-02-02T14:18:50.000000Z'
                                file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/17'
                                chemical_product:
                                  id: 31
                                  reference_id: 20-MAMVURD727AJ-P
                                  organisation_id: 32
                                  zdhc_pid: null
                                  name: cupiditate
                                  version: 1
                                  description: null
                                  alternate_names:
                                    - 'alternative name'
                                  created_at: '2025-11-14T09:43:25.000000Z'
                                  updated_at: '2026-03-05T14:31:29.000000Z'
                                  conformance_level_id: null
                                  ctz_level_id: null
                                  status: UNDER_REVIEW
                                  technical_data_sheet_url: ''
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 3
                                file_name:
                                  type: string
                                  example: test-pdf.pdf
                                mime_type:
                                  type: string
                                  example: application/pdf
                                file_size:
                                  type: string
                                  example: '4911'
                                locale:
                                  type: string
                                  example: en
                                version:
                                  type: integer
                                  example: 1
                                chemical_product_id:
                                  type: integer
                                  example: 31
                                organisation_id:
                                  type: integer
                                  example: 32
                                created_at:
                                  type: string
                                  example: '2025-12-12T09:13:32.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-12-12T09:13:32.000000Z'
                                file_url:
                                  type: string
                                  example: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3'
                                chemical_product:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 31
                                    reference_id:
                                      type: string
                                      example: 20-MAMVURD727AJ-P
                                    organisation_id:
                                      type: integer
                                      example: 32
                                    zdhc_pid:
                                      type: string
                                      example: null
                                      nullable: true
                                    name:
                                      type: string
                                      example: cupiditate
                                    version:
                                      type: integer
                                      example: 1
                                    description:
                                      type: string
                                      example: null
                                      nullable: true
                                    alternate_names:
                                      type: array
                                      example: ['alternative name']
                                      items: { type: string }
                                    created_at:
                                      type: string
                                      example: '2025-11-14T09:43:25.000000Z'
                                    updated_at:
                                      type: string
                                      example: '2026-03-05T14:31:29.000000Z'
                                    conformance_level_id:
                                      type: string
                                      example: null
                                      nullable: true
                                    ctz_level_id:
                                      type: string
                                      example: null
                                      nullable: true
                                    status:
                                      type: string
                                      example: UNDER_REVIEW
                                    technical_data_sheet_url:
                                      type: string
                                      example: ''
                          certified_safety_data_sheets:
                            type: array
                            example: []
                          use_types:
                            type: array
                            example: []
                          activity_logs:
                            type: array
                            example: []
                      highest_mrsl_certification:
                        type: string
                        example: null
                        nullable: true
                      ctz_certifications:
                        type: array
                        example: []
                      highest_ctz_certification:
                        type: string
                        example: null
                        nullable: true
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the product assignment.'
        example: 14
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/product-assignment/{product_assignment_id}/toggle-decline':
    post:
      summary: 'Toggle Decline'
      operationId: toggleDecline
      description: 'Toggle the decline status of a product assignment'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 14
                    status: UNDER_REVIEW
                    chemical_product_id: 31
                    organisation_id: 33
                    created_at: '2025-12-12T09:13:50.000000Z'
                    updated_at: '2025-12-12T16:04:31.000000Z'
                    max_conformance_level_id: null
                    max_ctz_level_id: null
                    conformance_level: null
                    ctz_level: null
                    mrsl_certifications: []
                    chemical_product:
                      id: 31
                      reference_id: 20-MAMVURD727AJ-P
                      organisation_id: 32
                      zdhc_pid: null
                      name: cupiditate
                      version: 1
                      description: null
                      alternate_names:
                        - 'alternative name'
                      created_at: '2025-11-14T09:43:25.000000Z'
                      updated_at: '2026-03-05T14:31:29.000000Z'
                      conformance_level_id: null
                      ctz_level_id: null
                      status: UNDER_REVIEW
                      technical_data_sheet_url: ''
                      organisation:
                        id: 32
                        reference_id: 01-R6MYJM3NE47K4-H
                        type_id: 6
                        name: 'test-Chemical formulator m.breuer'
                        address_1: '58013 Lonzo Manors'
                        address_2: 'Apt. 423'
                        city: 'New Isidro'
                        state: Utah
                        location: JE
                        zip: 86567-2898
                        phone: '+15013901283'
                        email: geoffrey.tremblay@robel.biz
                        website: 'http://www.paucek.info/ipsa-consequatur-illum-animi-soluta-laborum-aspernatur-ipsum-possimus'
                        avatar_url: null
                        location_name: Jersey
                      conformance_level: null
                      ctz_level: null
                      highest_mrsl_certification: null
                      highest_ctz_certification: null
                      certification_body_assignments:
                        -
                          id: 14
                          status: UNDER_REVIEW
                          chemical_product_id: 31
                          organisation_id: 33
                          created_at: '2025-12-12T09:13:50.000000Z'
                          updated_at: '2025-12-12T16:04:31.000000Z'
                          max_conformance_level_id: null
                          max_ctz_level_id: null
                          certification_body:
                            id: 33
                            maxio_customer_id: 226025
                            reference_id: 01-TXF8SFVYCQAUD-H
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                            legal_name: 'Marvin Inc'
                            address_1: '7505 Gleichner Points Apt. 547'
                            address_2: 'Apt. 605'
                            city: Joemouth
                            state: 'New Hampshire'
                            location: AL
                            zip: '10490'
                            phone: '+14845414899'
                            email: lance14@hill.biz
                            contact_first_name: Newton
                            contact_last_name: Rogahn
                            website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1992-11-30 18:20:01'
                            created_at: '2025-07-24T13:23:32.000000Z'
                            updated_at: '2026-02-07T00:00:14.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-28 09:04:37'
                            profile_reviewed_by_user_id: 4
                            location_name: Albania
                          mrsl_certifications: []
                      safety_data_sheets:
                        -
                          id: 3
                          file_name: test-pdf.pdf
                          mime_type: application/pdf
                          file_size: '4911'
                          locale: en
                          version: 1
                          chemical_product_id: 31
                          organisation_id: 32
                          created_at: '2025-12-12T09:13:32.000000Z'
                          updated_at: '2025-12-12T09:13:32.000000Z'
                          file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3'
                          chemical_product:
                            id: 31
                            reference_id: 20-MAMVURD727AJ-P
                            organisation_id: 32
                            zdhc_pid: null
                            name: cupiditate
                            version: 1
                            description: null
                            alternate_names:
                              - 'alternative name'
                            created_at: '2025-11-14T09:43:25.000000Z'
                            updated_at: '2026-03-05T14:31:29.000000Z'
                            conformance_level_id: null
                            ctz_level_id: null
                            status: UNDER_REVIEW
                            technical_data_sheet_url: ''
                        -
                          id: 17
                          file_name: test-pdf.pdf
                          mime_type: application/pdf
                          file_size: '4911'
                          locale: en
                          version: 1
                          chemical_product_id: 31
                          organisation_id: 33
                          created_at: '2026-02-02T14:18:50.000000Z'
                          updated_at: '2026-02-02T14:18:50.000000Z'
                          file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/17'
                          chemical_product:
                            id: 31
                            reference_id: 20-MAMVURD727AJ-P
                            organisation_id: 32
                            zdhc_pid: null
                            name: cupiditate
                            version: 1
                            description: null
                            alternate_names:
                              - 'alternative name'
                            created_at: '2025-11-14T09:43:25.000000Z'
                            updated_at: '2026-03-05T14:31:29.000000Z'
                            conformance_level_id: null
                            ctz_level_id: null
                            status: UNDER_REVIEW
                            technical_data_sheet_url: ''
                      certified_safety_data_sheets: []
                      use_types: []
                      activity_logs: []
                    highest_mrsl_certification: null
                    ctz_certifications: []
                    highest_ctz_certification: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 14
                      status:
                        type: string
                        example: UNDER_REVIEW
                      chemical_product_id:
                        type: integer
                        example: 31
                      organisation_id:
                        type: integer
                        example: 33
                      created_at:
                        type: string
                        example: '2025-12-12T09:13:50.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-12T16:04:31.000000Z'
                      max_conformance_level_id:
                        type: string
                        example: null
                        nullable: true
                      max_ctz_level_id:
                        type: string
                        example: null
                        nullable: true
                      conformance_level:
                        type: string
                        example: null
                        nullable: true
                      ctz_level:
                        type: string
                        example: null
                        nullable: true
                      mrsl_certifications:
                        type: array
                        example: []
                      chemical_product:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 31
                          reference_id:
                            type: string
                            example: 20-MAMVURD727AJ-P
                          organisation_id:
                            type: integer
                            example: 32
                          zdhc_pid:
                            type: string
                            example: null
                            nullable: true
                          name:
                            type: string
                            example: cupiditate
                          version:
                            type: integer
                            example: 1
                          description:
                            type: string
                            example: null
                            nullable: true
                          alternate_names:
                            type: array
                            example:
                              - 'alternative name'
                            items:
                              type: string
                          created_at:
                            type: string
                            example: '2025-11-14T09:43:25.000000Z'
                          updated_at:
                            type: string
                            example: '2026-03-05T14:31:29.000000Z'
                          conformance_level_id:
                            type: string
                            example: null
                            nullable: true
                          ctz_level_id:
                            type: string
                            example: null
                            nullable: true
                          status:
                            type: string
                            example: UNDER_REVIEW
                          technical_data_sheet_url:
                            type: string
                            example: ''
                          organisation:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 32
                              reference_id:
                                type: string
                                example: 01-R6MYJM3NE47K4-H
                              type_id:
                                type: integer
                                example: 6
                              name:
                                type: string
                                example: 'test-Chemical formulator m.breuer'
                              address_1:
                                type: string
                                example: '58013 Lonzo Manors'
                              address_2:
                                type: string
                                example: 'Apt. 423'
                              city:
                                type: string
                                example: 'New Isidro'
                              state:
                                type: string
                                example: Utah
                              location:
                                type: string
                                example: JE
                              zip:
                                type: string
                                example: 86567-2898
                              phone:
                                type: string
                                example: '+15013901283'
                              email:
                                type: string
                                example: geoffrey.tremblay@robel.biz
                              website:
                                type: string
                                example: 'http://www.paucek.info/ipsa-consequatur-illum-animi-soluta-laborum-aspernatur-ipsum-possimus'
                              avatar_url:
                                type: string
                                example: null
                                nullable: true
                              location_name:
                                type: string
                                example: Jersey
                          conformance_level:
                            type: string
                            example: null
                            nullable: true
                          ctz_level:
                            type: string
                            example: null
                            nullable: true
                          highest_mrsl_certification:
                            type: string
                            example: null
                            nullable: true
                          highest_ctz_certification:
                            type: string
                            example: null
                            nullable: true
                          certification_body_assignments:
                            type: array
                            example:
                              -
                                id: 14
                                status: UNDER_REVIEW
                                chemical_product_id: 31
                                organisation_id: 33
                                created_at: '2025-12-12T09:13:50.000000Z'
                                updated_at: '2025-12-12T16:04:31.000000Z'
                                max_conformance_level_id: null
                                max_ctz_level_id: null
                                certification_body:
                                  id: 33
                                  maxio_customer_id: 226025
                                  reference_id: 01-TXF8SFVYCQAUD-H
                                  pdc_id: null
                                  gateway_aid: null
                                  uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                                  type_id: 7
                                  status: approved
                                  name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                                  legal_name: 'Marvin Inc'
                                  address_1: '7505 Gleichner Points Apt. 547'
                                  address_2: 'Apt. 605'
                                  city: Joemouth
                                  state: 'New Hampshire'
                                  location: AL
                                  zip: '10490'
                                  phone: '+14845414899'
                                  email: lance14@hill.biz
                                  contact_first_name: Newton
                                  contact_last_name: Rogahn
                                  website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                                  avatar_url: null
                                  applicant_comment: null
                                  reviewer_comment: null
                                  registration_mail_sent_at: '1992-11-30 18:20:01'
                                  created_at: '2025-07-24T13:23:32.000000Z'
                                  updated_at: '2026-02-07T00:00:14.000000Z'
                                  reviewer_comment_category: null
                                  profile_reviewed_at: '2026-01-28 09:04:37'
                                  profile_reviewed_by_user_id: 4
                                  location_name: Albania
                                mrsl_certifications: []
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 14
                                status:
                                  type: string
                                  example: UNDER_REVIEW
                                chemical_product_id:
                                  type: integer
                                  example: 31
                                organisation_id:
                                  type: integer
                                  example: 33
                                created_at:
                                  type: string
                                  example: '2025-12-12T09:13:50.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-12-12T16:04:31.000000Z'
                                max_conformance_level_id:
                                  type: string
                                  example: null
                                  nullable: true
                                max_ctz_level_id:
                                  type: string
                                  example: null
                                  nullable: true
                                certification_body:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 33
                                    maxio_customer_id:
                                      type: integer
                                      example: 226025
                                    reference_id:
                                      type: string
                                      example: 01-TXF8SFVYCQAUD-H
                                    pdc_id:
                                      type: string
                                      example: null
                                      nullable: true
                                    gateway_aid:
                                      type: string
                                      example: null
                                      nullable: true
                                    uuid:
                                      type: string
                                      example: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                                    type_id:
                                      type: integer
                                      example: 7
                                    status:
                                      type: string
                                      example: approved
                                    name:
                                      type: string
                                      example: 'test-ZDHC MRSL Certification Bodies m.breuer'
                                    legal_name:
                                      type: string
                                      example: 'Marvin Inc'
                                    address_1:
                                      type: string
                                      example: '7505 Gleichner Points Apt. 547'
                                    address_2:
                                      type: string
                                      example: 'Apt. 605'
                                    city:
                                      type: string
                                      example: Joemouth
                                    state:
                                      type: string
                                      example: 'New Hampshire'
                                    location:
                                      type: string
                                      example: AL
                                    zip:
                                      type: string
                                      example: '10490'
                                    phone:
                                      type: string
                                      example: '+14845414899'
                                    email:
                                      type: string
                                      example: lance14@hill.biz
                                    contact_first_name:
                                      type: string
                                      example: Newton
                                    contact_last_name:
                                      type: string
                                      example: Rogahn
                                    website:
                                      type: string
                                      example: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                                    avatar_url:
                                      type: string
                                      example: null
                                      nullable: true
                                    applicant_comment:
                                      type: string
                                      example: null
                                      nullable: true
                                    reviewer_comment:
                                      type: string
                                      example: null
                                      nullable: true
                                    registration_mail_sent_at:
                                      type: string
                                      example: '1992-11-30 18:20:01'
                                    created_at:
                                      type: string
                                      example: '2025-07-24T13:23:32.000000Z'
                                    updated_at:
                                      type: string
                                      example: '2026-02-07T00:00:14.000000Z'
                                    reviewer_comment_category:
                                      type: string
                                      example: null
                                      nullable: true
                                    profile_reviewed_at:
                                      type: string
                                      example: '2026-01-28 09:04:37'
                                    profile_reviewed_by_user_id:
                                      type: integer
                                      example: 4
                                    location_name:
                                      type: string
                                      example: Albania
                                mrsl_certifications:
                                  type: array
                                  example: []
                          safety_data_sheets:
                            type: array
                            example:
                              -
                                id: 3
                                file_name: test-pdf.pdf
                                mime_type: application/pdf
                                file_size: '4911'
                                locale: en
                                version: 1
                                chemical_product_id: 31
                                organisation_id: 32
                                created_at: '2025-12-12T09:13:32.000000Z'
                                updated_at: '2025-12-12T09:13:32.000000Z'
                                file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3'
                                chemical_product:
                                  id: 31
                                  reference_id: 20-MAMVURD727AJ-P
                                  organisation_id: 32
                                  zdhc_pid: null
                                  name: cupiditate
                                  version: 1
                                  description: null
                                  alternate_names:
                                    - 'alternative name'
                                  created_at: '2025-11-14T09:43:25.000000Z'
                                  updated_at: '2026-03-05T14:31:29.000000Z'
                                  conformance_level_id: null
                                  ctz_level_id: null
                                  status: UNDER_REVIEW
                                  technical_data_sheet_url: ''
                              -
                                id: 17
                                file_name: test-pdf.pdf
                                mime_type: application/pdf
                                file_size: '4911'
                                locale: en
                                version: 1
                                chemical_product_id: 31
                                organisation_id: 33
                                created_at: '2026-02-02T14:18:50.000000Z'
                                updated_at: '2026-02-02T14:18:50.000000Z'
                                file_url: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/17'
                                chemical_product:
                                  id: 31
                                  reference_id: 20-MAMVURD727AJ-P
                                  organisation_id: 32
                                  zdhc_pid: null
                                  name: cupiditate
                                  version: 1
                                  description: null
                                  alternate_names:
                                    - 'alternative name'
                                  created_at: '2025-11-14T09:43:25.000000Z'
                                  updated_at: '2026-03-05T14:31:29.000000Z'
                                  conformance_level_id: null
                                  ctz_level_id: null
                                  status: UNDER_REVIEW
                                  technical_data_sheet_url: ''
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 3
                                file_name:
                                  type: string
                                  example: test-pdf.pdf
                                mime_type:
                                  type: string
                                  example: application/pdf
                                file_size:
                                  type: string
                                  example: '4911'
                                locale:
                                  type: string
                                  example: en
                                version:
                                  type: integer
                                  example: 1
                                chemical_product_id:
                                  type: integer
                                  example: 31
                                organisation_id:
                                  type: integer
                                  example: 32
                                created_at:
                                  type: string
                                  example: '2025-12-12T09:13:32.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-12-12T09:13:32.000000Z'
                                file_url:
                                  type: string
                                  example: 'http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3'
                                chemical_product:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 31
                                    reference_id:
                                      type: string
                                      example: 20-MAMVURD727AJ-P
                                    organisation_id:
                                      type: integer
                                      example: 32
                                    zdhc_pid:
                                      type: string
                                      example: null
                                      nullable: true
                                    name:
                                      type: string
                                      example: cupiditate
                                    version:
                                      type: integer
                                      example: 1
                                    description:
                                      type: string
                                      example: null
                                      nullable: true
                                    alternate_names:
                                      type: array
                                      example: ['alternative name']
                                      items: { type: string }
                                    created_at:
                                      type: string
                                      example: '2025-11-14T09:43:25.000000Z'
                                    updated_at:
                                      type: string
                                      example: '2026-03-05T14:31:29.000000Z'
                                    conformance_level_id:
                                      type: string
                                      example: null
                                      nullable: true
                                    ctz_level_id:
                                      type: string
                                      example: null
                                      nullable: true
                                    status:
                                      type: string
                                      example: UNDER_REVIEW
                                    technical_data_sheet_url:
                                      type: string
                                      example: ''
                          certified_safety_data_sheets:
                            type: array
                            example: []
                          use_types:
                            type: array
                            example: []
                          activity_logs:
                            type: array
                            example: []
                      highest_mrsl_certification:
                        type: string
                        example: null
                        nullable: true
                      ctz_certifications:
                        type: array
                        example: []
                      highest_ctz_certification:
                        type: string
                        example: null
                        nullable: true
      tags:
        - Chemical
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                reason:
                  type: string
                  description: 'This field is required unless <code>status</code> is in <code>DECLINED</code>. Must not be greater than 255 characters.'
                  example: sxhrgnakk
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: product_assignment_id
        description: 'The ID of the product assignment.'
        example: qui
        required: true
        schema:
          type: string
  '/api/organisation/{organisation_id}/chemical/classification/product-category':
    get:
      summary: Index
      operationId: index
      description: 'List all product categories'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 17
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 17
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: 'filter[name]'
          description: 'Filter column name by any accepted value. Filter by name'
          example: quaerat
          required: false
          schema:
            type: string
            description: 'Filter column name by any accepted value. Filter by name'
            example: quaerat
        -
          in: query
          name: 'filter[is_inactive]'
          description: 'Filter column is_inactive by any accepted value. Filter by inactive status'
          example: true
          required: false
          schema:
            type: boolean
            description: 'Filter column is_inactive by any accepted value. Filter by inactive status'
            example: true
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. Filter by created date'
          example: eaque
          required: false
          schema:
            type: datetime
            description: 'Filter column created_at by any accepted value. Filter by created date'
            example: eaque
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. Filter by updated date'
          example: perferendis
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. Filter by updated date'
            example: perferendis
        -
          in: query
          name: 'filter[substrates.name]'
          description: 'Filter column substrates.name by any accepted value. Filter by substrates name'
          example: exercitationem
          required: false
          schema:
            type: string
            description: 'Filter column substrates.name by any accepted value. Filter by substrates name'
            example: exercitationem
        -
          in: query
          name: 'filter[substrates.id]'
          description: 'Filter column substrates.id by any accepted value. Filter by substrate ID'
          example: 19
          required: false
          schema:
            type: integer
            description: 'Filter column substrates.id by any accepted value. Filter by substrate ID'
            example: 19
        -
          in: query
          name: sort
          description: 'sort by any accepted column: name,is_inactive,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
          example: 'name,is_inactive,created_at,updated_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: name,is_inactive,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
            example: 'name,is_inactive,created_at,updated_at'
        -
          in: query
          name: search
          description: 'Search in all of these columns: name'
          example: reprehenderit
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name'
            example: reprehenderit
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: name, is_inactive, created_at, updated_at, substrates.name.'
          example: name
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: name, is_inactive, created_at, updated_at, substrates.name.'
            example: name
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 10
                      name: Colorant
                      is_inactive: 0
                      created_at: '2025-12-16T10:02:53.000000Z'
                      updated_at: '2025-12-16T10:02:53.000000Z'
                      substrates:
                        -
                          id: 13
                          name: Synthetic
                          is_inactive: 0
                          created_at: '2025-12-16T10:02:53.000000Z'
                          updated_at: '2026-03-23T08:41:11.000000Z'
                          pivot:
                            product_category_id: 10
                            product_substrate_id: 13
                    -
                      id: 10
                      name: Colorant
                      is_inactive: 0
                      created_at: '2025-12-16T10:02:53.000000Z'
                      updated_at: '2025-12-16T10:02:53.000000Z'
                      substrates:
                        -
                          id: 13
                          name: Synthetic
                          is_inactive: 0
                          created_at: '2025-12-16T10:02:53.000000Z'
                          updated_at: '2026-03-23T08:41:11.000000Z'
                          pivot:
                            product_category_id: 10
                            product_substrate_id: 13
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 100
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 10
                        name: Colorant
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:53.000000Z'
                        updated_at: '2025-12-16T10:02:53.000000Z'
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 10
                              product_substrate_id: 13
                      -
                        id: 10
                        name: Colorant
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:53.000000Z'
                        updated_at: '2025-12-16T10:02:53.000000Z'
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 10
                              product_substrate_id: 13
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 10
                        name:
                          type: string
                          example: Colorant
                        is_inactive:
                          type: integer
                          example: 0
                        created_at:
                          type: string
                          example: '2025-12-16T10:02:53.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-16T10:02:53.000000Z'
                        substrates:
                          type: array
                          example:
                            -
                              id: 13
                              name: Synthetic
                              is_inactive: 0
                              created_at: '2025-12-16T10:02:53.000000Z'
                              updated_at: '2026-03-23T08:41:11.000000Z'
                              pivot:
                                product_category_id: 10
                                product_substrate_id: 13
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 13
                              name:
                                type: string
                                example: Synthetic
                              is_inactive:
                                type: integer
                                example: 0
                              created_at:
                                type: string
                                example: '2025-12-16T10:02:53.000000Z'
                              updated_at:
                                type: string
                                example: '2026-03-23T08:41:11.000000Z'
                              pivot:
                                type: object
                                properties:
                                  product_category_id:
                                    type: integer
                                    example: 10
                                  product_substrate_id:
                                    type: integer
                                    example: 13
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 100
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Chemical
    post:
      summary: Store
      operationId: store
      description: 'Store a product category'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 10
                    name: Colorant
                    is_inactive: 0
                    created_at: '2025-12-16T10:02:53.000000Z'
                    updated_at: '2025-12-16T10:02:53.000000Z'
                    substrates:
                      -
                        id: 13
                        name: Synthetic
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:53.000000Z'
                        updated_at: '2026-03-23T08:41:11.000000Z'
                        pivot:
                          product_category_id: 10
                          product_substrate_id: 13
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 10
                      name:
                        type: string
                        example: Colorant
                      is_inactive:
                        type: integer
                        example: 0
                      created_at:
                        type: string
                        example: '2025-12-16T10:02:53.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-16T10:02:53.000000Z'
                      substrates:
                        type: array
                        example:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 10
                              product_substrate_id: 13
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 13
                            name:
                              type: string
                              example: Synthetic
                            is_inactive:
                              type: integer
                              example: 0
                            created_at:
                              type: string
                              example: '2025-12-16T10:02:53.000000Z'
                            updated_at:
                              type: string
                              example: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              type: object
                              properties:
                                product_category_id:
                                  type: integer
                                  example: 10
                                product_substrate_id:
                                  type: integer
                                  example: 13
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: bppuanpwyfpbwbxqjrqjqodwc
                is_inactive:
                  type: boolean
                  description: ''
                  example: false
                  nullable: true
                substrates:
                  type: array
                  description: 'The <code>id</code> of an existing record in the product_substrates table.'
                  example:
                    - 12
                  items:
                    type: integer
                    nullable: true
              required:
                - name
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/classification/product-category/{id}':
    get:
      summary: Show
      operationId: show
      description: 'Show a product category'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 10
                    name: Colorant
                    is_inactive: 0
                    created_at: '2025-12-16T10:02:53.000000Z'
                    updated_at: '2025-12-16T10:02:53.000000Z'
                    substrates:
                      -
                        id: 13
                        name: Synthetic
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:53.000000Z'
                        updated_at: '2026-03-23T08:41:11.000000Z'
                        pivot:
                          product_category_id: 10
                          product_substrate_id: 13
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 10
                      name:
                        type: string
                        example: Colorant
                      is_inactive:
                        type: integer
                        example: 0
                      created_at:
                        type: string
                        example: '2025-12-16T10:02:53.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-16T10:02:53.000000Z'
                      substrates:
                        type: array
                        example:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 10
                              product_substrate_id: 13
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 13
                            name:
                              type: string
                              example: Synthetic
                            is_inactive:
                              type: integer
                              example: 0
                            created_at:
                              type: string
                              example: '2025-12-16T10:02:53.000000Z'
                            updated_at:
                              type: string
                              example: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              type: object
                              properties:
                                product_category_id:
                                  type: integer
                                  example: 10
                                product_substrate_id:
                                  type: integer
                                  example: 13
      tags:
        - Chemical
    put:
      summary: Update
      operationId: update
      description: 'Update a product category'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 10
                    name: Colorant
                    is_inactive: 0
                    created_at: '2025-12-16T10:02:53.000000Z'
                    updated_at: '2025-12-16T10:02:53.000000Z'
                    substrates:
                      -
                        id: 13
                        name: Synthetic
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:53.000000Z'
                        updated_at: '2026-03-23T08:41:11.000000Z'
                        pivot:
                          product_category_id: 10
                          product_substrate_id: 13
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 10
                      name:
                        type: string
                        example: Colorant
                      is_inactive:
                        type: integer
                        example: 0
                      created_at:
                        type: string
                        example: '2025-12-16T10:02:53.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-16T10:02:53.000000Z'
                      substrates:
                        type: array
                        example:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 10
                              product_substrate_id: 13
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 13
                            name:
                              type: string
                              example: Synthetic
                            is_inactive:
                              type: integer
                              example: 0
                            created_at:
                              type: string
                              example: '2025-12-16T10:02:53.000000Z'
                            updated_at:
                              type: string
                              example: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              type: object
                              properties:
                                product_category_id:
                                  type: integer
                                  example: 10
                                product_substrate_id:
                                  type: integer
                                  example: 13
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: qy
                is_inactive:
                  type: boolean
                  description: ''
                  example: true
                  nullable: true
                substrates:
                  type: array
                  description: 'The <code>id</code> of an existing record in the product_substrates table.'
                  example:
                    - 5
                  items:
                    type: integer
                    nullable: true
              required:
                - name
    delete:
      summary: Destroy
      operationId: destroy
      description: 'Destroy a product category'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Product category deleted successfully.'
                properties:
                  message:
                    type: string
                    example: 'Product category deleted successfully.'
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the product category.'
        example: 10
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/classification/product-substrate':
    get:
      summary: Index
      operationId: index
      description: 'Get Product Substrates'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 8
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 8
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: 'filter[name]'
          description: 'Filter column name by any accepted value. Filter by name'
          example: aut
          required: false
          schema:
            type: string
            description: 'Filter column name by any accepted value. Filter by name'
            example: aut
        -
          in: query
          name: 'filter[is_inactive]'
          description: 'Filter column is_inactive by any accepted value. Filter by inactive status'
          example: false
          required: false
          schema:
            type: boolean
            description: 'Filter column is_inactive by any accepted value. Filter by inactive status'
            example: false
        -
          in: query
          name: 'filter[categories_count]'
          description: 'Filter column categories_count by any accepted value. Filter by categories count'
          example: 9
          required: false
          schema:
            type: integer
            description: 'Filter column categories_count by any accepted value. Filter by categories count'
            example: 9
        -
          in: query
          name: 'filter[use_types_count]'
          description: 'Filter column use_types_count by any accepted value. Filter by use types count'
          example: 4
          required: false
          schema:
            type: integer
            description: 'Filter column use_types_count by any accepted value. Filter by use types count'
            example: 4
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. Filter by updated date'
          example: expedita
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. Filter by updated date'
            example: expedita
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. Filter by created date'
          example: est
          required: false
          schema:
            type: datetime
            description: 'Filter column created_at by any accepted value. Filter by created date'
            example: est
        -
          in: query
          name: sort
          description: 'sort by any accepted column: name,categories_count,use_types_count,is_inactive,updated_at,created_at. prefix a "-" before the column name to sort in descending order'
          example: 'name,categories_count,use_types_count,is_inactive,updated_at,created_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: name,categories_count,use_types_count,is_inactive,updated_at,created_at. prefix a "-" before the column name to sort in descending order'
            example: 'name,categories_count,use_types_count,is_inactive,updated_at,created_at'
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: name, categories_count, use_types_count, is_inactive, updated_at, created_at.'
          example: name
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: name, categories_count, use_types_count, is_inactive, updated_at, created_at.'
            example: name
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 13
                      name: Synthetic
                      is_inactive: 0
                      created_at: '2025-12-16T10:02:53.000000Z'
                      updated_at: '2026-03-23T08:41:11.000000Z'
                      categories_count: null
                      use_types_count: null
                    -
                      id: 13
                      name: Synthetic
                      is_inactive: 0
                      created_at: '2025-12-16T10:02:53.000000Z'
                      updated_at: '2026-03-23T08:41:11.000000Z'
                      categories_count: null
                      use_types_count: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 13
                        name: Synthetic
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:53.000000Z'
                        updated_at: '2026-03-23T08:41:11.000000Z'
                        categories_count: null
                        use_types_count: null
                      -
                        id: 13
                        name: Synthetic
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:53.000000Z'
                        updated_at: '2026-03-23T08:41:11.000000Z'
                        categories_count: null
                        use_types_count: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 13
                        name:
                          type: string
                          example: Synthetic
                        is_inactive:
                          type: integer
                          example: 0
                        created_at:
                          type: string
                          example: '2025-12-16T10:02:53.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-23T08:41:11.000000Z'
                        categories_count:
                          type: string
                          example: null
                          nullable: true
                        use_types_count:
                          type: string
                          example: null
                          nullable: true
      tags:
        - Chemical
    post:
      summary: Store
      operationId: store
      description: 'Create a new product substrate'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 13
                    name: Synthetic
                    is_inactive: 0
                    created_at: '2025-12-16T10:02:53.000000Z'
                    updated_at: '2026-03-23T08:41:11.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 13
                      name:
                        type: string
                        example: Synthetic
                      is_inactive:
                        type: integer
                        example: 0
                      created_at:
                        type: string
                        example: '2025-12-16T10:02:53.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-23T08:41:11.000000Z'
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: tfuqdjbtubanntquwlxvqsmpm
                is_inactive:
                  type: boolean
                  description: ''
                  example: true
                  nullable: true
                categories:
                  type: array
                  description: 'The <code>id</code> of an existing record in the product_categories table.'
                  example:
                    - 15
                  items:
                    type: integer
                    nullable: true
              required:
                - name
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/classification/product-substrate/{id}':
    get:
      summary: Show
      operationId: show
      description: 'Show a product substrate'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 13
                    name: Synthetic
                    is_inactive: 0
                    created_at: '2025-12-16T10:02:53.000000Z'
                    updated_at: '2026-03-23T08:41:11.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 13
                      name:
                        type: string
                        example: Synthetic
                      is_inactive:
                        type: integer
                        example: 0
                      created_at:
                        type: string
                        example: '2025-12-16T10:02:53.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-23T08:41:11.000000Z'
      tags:
        - Chemical
    put:
      summary: Update
      operationId: update
      description: 'Update a product substrate'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 13
                    name: Synthetic
                    is_inactive: 0
                    created_at: '2025-12-16T10:02:53.000000Z'
                    updated_at: '2026-03-23T08:41:11.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 13
                      name:
                        type: string
                        example: Synthetic
                      is_inactive:
                        type: integer
                        example: 0
                      created_at:
                        type: string
                        example: '2025-12-16T10:02:53.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-23T08:41:11.000000Z'
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: kkhsoudij
                is_inactive:
                  type: boolean
                  description: ''
                  example: true
                  nullable: true
                categories:
                  type: array
                  description: 'The <code>id</code> of an existing record in the product_categories table.'
                  example:
                    - 10
                  items:
                    type: integer
                    nullable: true
              required:
                - name
    delete:
      summary: Destroy
      operationId: destroy
      description: 'Destroy a product substrate'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Product substrate deleted successfully.'
                properties:
                  message:
                    type: string
                    example: 'Product substrate deleted successfully.'
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the product substrate.'
        example: 13
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/classification/product-use-type':
    get:
      summary: Index
      operationId: index
      description: 'List all product use types'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 1
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 1
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: 'filter[name]'
          description: 'Filter column name by any accepted value. Filter by name'
          example: excepturi
          required: false
          schema:
            type: string
            description: 'Filter column name by any accepted value. Filter by name'
            example: excepturi
        -
          in: query
          name: 'filter[is_inactive]'
          description: 'Filter column is_inactive by any accepted value. Filter by inactive status'
          example: false
          required: false
          schema:
            type: boolean
            description: 'Filter column is_inactive by any accepted value. Filter by inactive status'
            example: false
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. Filter by created date'
          example: quod
          required: false
          schema:
            type: datetime
            description: 'Filter column created_at by any accepted value. Filter by created date'
            example: quod
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. Filter by updated date'
          example: et
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. Filter by updated date'
            example: et
        -
          in: query
          name: 'filter[categories.name]'
          description: 'Filter column categories.name by any accepted value. Filter by categories name'
          example: voluptatem
          required: false
          schema:
            type: string
            description: 'Filter column categories.name by any accepted value. Filter by categories name'
            example: voluptatem
        -
          in: query
          name: 'filter[categories.id]'
          description: 'Filter column categories.id by any accepted value. Filter by category ID'
          example: 15
          required: false
          schema:
            type: integer
            description: 'Filter column categories.id by any accepted value. Filter by category ID'
            example: 15
        -
          in: query
          name: sort
          description: 'sort by any accepted column: name,is_inactive,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
          example: 'name,is_inactive,created_at,updated_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: name,is_inactive,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
            example: 'name,is_inactive,created_at,updated_at'
        -
          in: query
          name: search
          description: 'Search in all of these columns: name'
          example: et
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name'
            example: et
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: name, is_inactive, created_at, updated_at, categories.name.'
          example: name
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: name, is_inactive, created_at, updated_at, categories.name.'
            example: name
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 10
                      name: Others
                      is_inactive: 0
                      created_at: '2025-12-16T10:02:54.000000Z'
                      updated_at: '2025-12-16T10:02:54.000000Z'
                    -
                      id: 10
                      name: Others
                      is_inactive: 0
                      created_at: '2025-12-16T10:02:54.000000Z'
                      updated_at: '2025-12-16T10:02:54.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 100
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 10
                        name: Others
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                      -
                        id: 10
                        name: Others
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 10
                        name:
                          type: string
                          example: Others
                        is_inactive:
                          type: integer
                          example: 0
                        created_at:
                          type: string
                          example: '2025-12-16T10:02:54.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-16T10:02:54.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 100
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Chemical
    post:
      summary: Store
      operationId: store
      description: 'Store a product use type'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 10
                    name: Others
                    is_inactive: 0
                    created_at: '2025-12-16T10:02:54.000000Z'
                    updated_at: '2025-12-16T10:02:54.000000Z'
                    categories:
                      -
                        id: 10
                        name: Colorant
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:53.000000Z'
                        updated_at: '2025-12-16T10:02:53.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 10
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 10
                              product_substrate_id: 13
                      -
                        id: 53
                        name: Others
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 53
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 53
                              product_substrate_id: 13
                      -
                        id: 54
                        name: 'Finishing agent'
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 54
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 54
                              product_substrate_id: 13
                      -
                        id: 55
                        name: Lubricant
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 55
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 55
                              product_substrate_id: 13
                      -
                        id: 56
                        name: Resin
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 56
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 56
                              product_substrate_id: 13
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 10
                      name:
                        type: string
                        example: Others
                      is_inactive:
                        type: integer
                        example: 0
                      created_at:
                        type: string
                        example: '2025-12-16T10:02:54.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-16T10:02:54.000000Z'
                      categories:
                        type: array
                        example:
                          -
                            id: 10
                            name: Colorant
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2025-12-16T10:02:53.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 10
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 10
                                  product_substrate_id: 13
                          -
                            id: 53
                            name: Others
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 53
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 53
                                  product_substrate_id: 13
                          -
                            id: 54
                            name: 'Finishing agent'
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 54
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 54
                                  product_substrate_id: 13
                          -
                            id: 55
                            name: Lubricant
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 55
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 55
                                  product_substrate_id: 13
                          -
                            id: 56
                            name: Resin
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 56
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 56
                                  product_substrate_id: 13
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 10
                            name:
                              type: string
                              example: Colorant
                            is_inactive:
                              type: integer
                              example: 0
                            created_at:
                              type: string
                              example: '2025-12-16T10:02:53.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-16T10:02:53.000000Z'
                            pivot:
                              type: object
                              properties:
                                product_use_type_id:
                                  type: integer
                                  example: 10
                                product_category_id:
                                  type: integer
                                  example: 10
                            substrates:
                              type: array
                              example:
                                -
                                  id: 13
                                  name: Synthetic
                                  is_inactive: 0
                                  created_at: '2025-12-16T10:02:53.000000Z'
                                  updated_at: '2026-03-23T08:41:11.000000Z'
                                  pivot:
                                    product_category_id: 10
                                    product_substrate_id: 13
                              items:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 13
                                  name:
                                    type: string
                                    example: Synthetic
                                  is_inactive:
                                    type: integer
                                    example: 0
                                  created_at:
                                    type: string
                                    example: '2025-12-16T10:02:53.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2026-03-23T08:41:11.000000Z'
                                  pivot:
                                    type: object
                                    properties:
                                      product_category_id: { type: integer, example: 10 }
                                      product_substrate_id: { type: integer, example: 13 }
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: jehxrwbjsbprudxal
                is_inactive:
                  type: boolean
                  description: ''
                  example: true
                  nullable: true
                categories:
                  type: array
                  description: 'The <code>id</code> of an existing record in the product_categories table. Must be at least 0.'
                  example:
                    - 83
                  items:
                    type: integer
                    nullable: true
              required:
                - name
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/classification/product-use-type/{id}':
    get:
      summary: Show
      operationId: show
      description: 'Show a product use type'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 10
                    name: Others
                    is_inactive: 0
                    created_at: '2025-12-16T10:02:54.000000Z'
                    updated_at: '2025-12-16T10:02:54.000000Z'
                    categories:
                      -
                        id: 10
                        name: Colorant
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:53.000000Z'
                        updated_at: '2025-12-16T10:02:53.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 10
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 10
                              product_substrate_id: 13
                      -
                        id: 53
                        name: Others
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 53
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 53
                              product_substrate_id: 13
                      -
                        id: 54
                        name: 'Finishing agent'
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 54
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 54
                              product_substrate_id: 13
                      -
                        id: 55
                        name: Lubricant
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 55
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 55
                              product_substrate_id: 13
                      -
                        id: 56
                        name: Resin
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 56
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 56
                              product_substrate_id: 13
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 10
                      name:
                        type: string
                        example: Others
                      is_inactive:
                        type: integer
                        example: 0
                      created_at:
                        type: string
                        example: '2025-12-16T10:02:54.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-16T10:02:54.000000Z'
                      categories:
                        type: array
                        example:
                          -
                            id: 10
                            name: Colorant
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2025-12-16T10:02:53.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 10
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 10
                                  product_substrate_id: 13
                          -
                            id: 53
                            name: Others
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 53
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 53
                                  product_substrate_id: 13
                          -
                            id: 54
                            name: 'Finishing agent'
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 54
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 54
                                  product_substrate_id: 13
                          -
                            id: 55
                            name: Lubricant
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 55
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 55
                                  product_substrate_id: 13
                          -
                            id: 56
                            name: Resin
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 56
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 56
                                  product_substrate_id: 13
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 10
                            name:
                              type: string
                              example: Colorant
                            is_inactive:
                              type: integer
                              example: 0
                            created_at:
                              type: string
                              example: '2025-12-16T10:02:53.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-16T10:02:53.000000Z'
                            pivot:
                              type: object
                              properties:
                                product_use_type_id:
                                  type: integer
                                  example: 10
                                product_category_id:
                                  type: integer
                                  example: 10
                            substrates:
                              type: array
                              example:
                                -
                                  id: 13
                                  name: Synthetic
                                  is_inactive: 0
                                  created_at: '2025-12-16T10:02:53.000000Z'
                                  updated_at: '2026-03-23T08:41:11.000000Z'
                                  pivot:
                                    product_category_id: 10
                                    product_substrate_id: 13
                              items:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 13
                                  name:
                                    type: string
                                    example: Synthetic
                                  is_inactive:
                                    type: integer
                                    example: 0
                                  created_at:
                                    type: string
                                    example: '2025-12-16T10:02:53.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2026-03-23T08:41:11.000000Z'
                                  pivot:
                                    type: object
                                    properties:
                                      product_category_id: { type: integer, example: 10 }
                                      product_substrate_id: { type: integer, example: 13 }
      tags:
        - Chemical
    put:
      summary: Update
      operationId: update
      description: 'Update a product use type'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 10
                    name: Others
                    is_inactive: 0
                    created_at: '2025-12-16T10:02:54.000000Z'
                    updated_at: '2025-12-16T10:02:54.000000Z'
                    categories:
                      -
                        id: 10
                        name: Colorant
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:53.000000Z'
                        updated_at: '2025-12-16T10:02:53.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 10
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 10
                              product_substrate_id: 13
                      -
                        id: 53
                        name: Others
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 53
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 53
                              product_substrate_id: 13
                      -
                        id: 54
                        name: 'Finishing agent'
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 54
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 54
                              product_substrate_id: 13
                      -
                        id: 55
                        name: Lubricant
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 55
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 55
                              product_substrate_id: 13
                      -
                        id: 56
                        name: Resin
                        is_inactive: 0
                        created_at: '2025-12-16T10:02:54.000000Z'
                        updated_at: '2025-12-16T10:02:54.000000Z'
                        pivot:
                          product_use_type_id: 10
                          product_category_id: 56
                        substrates:
                          -
                            id: 13
                            name: Synthetic
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2026-03-23T08:41:11.000000Z'
                            pivot:
                              product_category_id: 56
                              product_substrate_id: 13
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 10
                      name:
                        type: string
                        example: Others
                      is_inactive:
                        type: integer
                        example: 0
                      created_at:
                        type: string
                        example: '2025-12-16T10:02:54.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-16T10:02:54.000000Z'
                      categories:
                        type: array
                        example:
                          -
                            id: 10
                            name: Colorant
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:53.000000Z'
                            updated_at: '2025-12-16T10:02:53.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 10
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 10
                                  product_substrate_id: 13
                          -
                            id: 53
                            name: Others
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 53
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 53
                                  product_substrate_id: 13
                          -
                            id: 54
                            name: 'Finishing agent'
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 54
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 54
                                  product_substrate_id: 13
                          -
                            id: 55
                            name: Lubricant
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 55
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 55
                                  product_substrate_id: 13
                          -
                            id: 56
                            name: Resin
                            is_inactive: 0
                            created_at: '2025-12-16T10:02:54.000000Z'
                            updated_at: '2025-12-16T10:02:54.000000Z'
                            pivot:
                              product_use_type_id: 10
                              product_category_id: 56
                            substrates:
                              -
                                id: 13
                                name: Synthetic
                                is_inactive: 0
                                created_at: '2025-12-16T10:02:53.000000Z'
                                updated_at: '2026-03-23T08:41:11.000000Z'
                                pivot:
                                  product_category_id: 56
                                  product_substrate_id: 13
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 10
                            name:
                              type: string
                              example: Colorant
                            is_inactive:
                              type: integer
                              example: 0
                            created_at:
                              type: string
                              example: '2025-12-16T10:02:53.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-16T10:02:53.000000Z'
                            pivot:
                              type: object
                              properties:
                                product_use_type_id:
                                  type: integer
                                  example: 10
                                product_category_id:
                                  type: integer
                                  example: 10
                            substrates:
                              type: array
                              example:
                                -
                                  id: 13
                                  name: Synthetic
                                  is_inactive: 0
                                  created_at: '2025-12-16T10:02:53.000000Z'
                                  updated_at: '2026-03-23T08:41:11.000000Z'
                                  pivot:
                                    product_category_id: 10
                                    product_substrate_id: 13
                              items:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 13
                                  name:
                                    type: string
                                    example: Synthetic
                                  is_inactive:
                                    type: integer
                                    example: 0
                                  created_at:
                                    type: string
                                    example: '2025-12-16T10:02:53.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2026-03-23T08:41:11.000000Z'
                                  pivot:
                                    type: object
                                    properties:
                                      product_category_id: { type: integer, example: 10 }
                                      product_substrate_id: { type: integer, example: 13 }
      tags:
        - Chemical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: fhsjuldpsnuqybewmtnucep
                is_inactive:
                  type: boolean
                  description: ''
                  example: false
                  nullable: true
                categories:
                  type: array
                  description: 'The <code>id</code> of an existing record in the product_categories table. Must be at least 0.'
                  example:
                    - 68
                  items:
                    type: integer
                    nullable: true
              required:
                - name
    delete:
      summary: Destroy
      operationId: destroy
      description: 'Destroy a product use type'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Product use type deleted successfully.'
                properties:
                  message:
                    type: string
                    example: 'Product use type deleted successfully.'
      tags:
        - Chemical
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the product use type.'
        example: 10
        required: true
        schema:
          type: integer
  /api/conformance-levels:
    get:
      summary: Index
      operationId: index
      description: 'get all conformance levels'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    name: 'Level 1'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      name:
                        type: string
                        example: 'Level 1'
      tags:
        - 'Conformance Levels'
  /api/development/frontend/values:
    get:
      summary: 'Frontend values'
      operationId: frontendValues
      description: 'Get a list of almost all values'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "[\n     roles: {}\n     organisationTypes: {}\n     wastewaterActionTypes: {}\n     wastewaterTypes: {}\n     samplingPoints: {}\n     msrl_conformance_levels: {}\n     ctz_conformance_levels: {}\n     root_cause_reasons: {}\n     corrective_actions: {}\n]"
      tags:
        - Development
      security: []
  '/api/admin/{organisation_id}/wastewater/reporting/activity-logs':
    get:
      summary: ''
      operationId: getApiAdminOrganisation_idWastewaterReportingActivityLogs
      description: ''
      parameters:
        -
          in: query
          name: sort
          description: 'sort by any accepted column: created_at,clearstream_id,action_type,user_name,message. prefix a "-" before the column name to sort in descending order'
          example: 'created_at,clearstream_id,action_type,user_name,message'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: created_at,clearstream_id,action_type,user_name,message. prefix a "-" before the column name to sort in descending order'
            example: 'created_at,clearstream_id,action_type,user_name,message'
        -
          in: query
          name: 'filter[clearstream_id]'
          description: 'Filter column clearstream_id by any accepted value. id of the clearstream report'
          example: 13
          required: false
          schema:
            type: integer
            description: 'Filter column clearstream_id by any accepted value. id of the clearstream report'
            example: 13
        -
          in: query
          name: 'filter[action_type]'
          description: 'Filter column action_type by any accepted value. Action type'
          example: et
          required: false
          schema:
            type: string
            description: 'Filter column action_type by any accepted value. Action type'
            example: et
        -
          in: query
          name: 'filter[user_name]'
          description: 'Filter column user_name by any accepted value. name of the user initiating the action'
          example: eum
          required: false
          schema:
            type: string
            description: 'Filter column user_name by any accepted value. name of the user initiating the action'
            example: eum
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: context->created_at, context->clearstream_id, context->action_type, context->user_name, context->organisation_id, context->message.'
          example: context->created_at
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: context->created_at, context->clearstream_id, context->action_type, context->user_name, context->organisation_id, context->message.'
            example: context->created_at
        -
          in: query
          name: search
          description: 'Search in all of these columns: message'
          example: eos
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: message'
            example: eos
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 7
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 7
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/incheck/{organisation_id}/activity-logs':
    get:
      summary: ''
      operationId: getApiIncheckOrganisation_idActivityLogs
      description: ''
      parameters:
        -
          in: query
          name: sort
          description: 'sort by any accepted column: created_at,action_type,user_name,message. prefix a "-" before the column name to sort in descending order'
          example: 'created_at,action_type,user_name,message'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: created_at,action_type,user_name,message. prefix a "-" before the column name to sort in descending order'
            example: 'created_at,action_type,user_name,message'
        -
          in: query
          name: 'filter[action_type]'
          description: 'Filter column action_type by any accepted value. Action type'
          example: dolorem
          required: false
          schema:
            type: string
            description: 'Filter column action_type by any accepted value. Action type'
            example: dolorem
        -
          in: query
          name: 'filter[user_name]'
          description: 'Filter column user_name by any accepted value. name of the user initiating the action'
          example: similique
          required: false
          schema:
            type: string
            description: 'Filter column user_name by any accepted value. name of the user initiating the action'
            example: similique
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: context->created_at, context->action_type, context->user_name, context->organisation_id, context->message.'
          example: context->created_at
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: context->created_at, context->action_type, context->user_name, context->organisation_id, context->message.'
            example: context->created_at
        -
          in: query
          name: search
          description: 'Search in all of these columns: message'
          example: blanditiis
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: message'
            example: blanditiis
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 19
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 19
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/incheck/{organisation_id}/solution-provider/activity-logs':
    get:
      summary: ''
      operationId: getApiIncheckOrganisation_idSolutionProviderActivityLogs
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/system/organisation/{organisation_id}/push-notification-count':
    get:
      summary: ''
      operationId: getApiSystemOrganisationOrganisation_idPushNotificationCount
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/complete-sampling':
    post:
      summary: 'Summary of completeSampling'
      operationId: summaryOfCompleteSampling
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/start-testing':
    post:
      summary: ''
      operationId: postApiOrganisationOrganisation_idWastewaterReportingLaboratoryRequestsClearstreamRequest_idStartTesting
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/finish-testing':
    post:
      summary: 'Finish testing'
      operationId: finishTesting
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/activity-logs/{report}':
    get:
      summary: ''
      operationId: getApiOrganisationOrganisation_idWastewaterReportingActivityLogsReport
      description: ''
      parameters:
        -
          in: query
          name: sort
          description: 'sort by any accepted column: created_at,clearstream_id,action_type,user_name,message. prefix a "-" before the column name to sort in descending order'
          example: 'created_at,clearstream_id,action_type,user_name,message'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: created_at,clearstream_id,action_type,user_name,message. prefix a "-" before the column name to sort in descending order'
            example: 'created_at,clearstream_id,action_type,user_name,message'
        -
          in: query
          name: 'filter[clearstream_id]'
          description: 'Filter column clearstream_id by any accepted value. id of the clearstream report'
          example: 10
          required: false
          schema:
            type: integer
            description: 'Filter column clearstream_id by any accepted value. id of the clearstream report'
            example: 10
        -
          in: query
          name: 'filter[clearstream_reference_id]'
          description: 'Filter column clearstream_reference_id by any accepted value. reference id of the clearstream report'
          example: aspernatur
          required: false
          schema:
            type: string
            description: 'Filter column clearstream_reference_id by any accepted value. reference id of the clearstream report'
            example: aspernatur
        -
          in: query
          name: 'filter[action_type]'
          description: 'Filter column action_type by any accepted value. Action type'
          example: quasi
          required: false
          schema:
            type: string
            description: 'Filter column action_type by any accepted value. Action type'
            example: quasi
        -
          in: query
          name: 'filter[user_name]'
          description: 'Filter column user_name by any accepted value. name of the user initiating the action'
          example: sunt
          required: false
          schema:
            type: string
            description: 'Filter column user_name by any accepted value. name of the user initiating the action'
            example: sunt
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: context->created_at, context->clearstream_id, context->clearstream_reference_id, context->action_type, context->user_name, context->organisation_id, context->message.'
          example: context->created_at
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: context->created_at, context->clearstream_id, context->clearstream_reference_id, context->action_type, context->user_name, context->organisation_id, context->message.'
            example: context->created_at
        -
          in: query
          name: search
          description: 'Search in all of these columns: message'
          example: accusantium
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: message'
            example: accusantium
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 4
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 4
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report
        description: 'Optional parameter.'
        required: true
        schema:
          type: integer
        examples:
          omitted:
            summary: 'When the value is omitted'
            value: ''
          present:
            summary: 'When the value is present'
            value: 2
  '/api/organisation/{organisation_id}/wastewater/reporting/labs/test-results/{report_id}/parameters/{id}':
    get:
      summary: ''
      operationId: getApiOrganisationOrganisation_idWastewaterReportingLabsTestResultsReport_idParametersId
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the parameter.'
        example: 45
        required: true
        schema:
          type: integer
  '/api/webhook/maxio/{token}':
    post:
      summary: 'Receives Maxio webhook events and processes them asynchronously via Event/Listener.'
      operationId: receivesMaxioWebhookEventsAndProcessesThemAsynchronouslyViaEventListener
      description: 'A fast 2xx response is important so Maxio does not retry the webhook.'
      parameters: []
      responses: {  }
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: token
        description: ''
        example: voluptate
        required: true
        schema:
          type: string
  '/api/organisation/{organisation_id}/global-search/combined':
    get:
      summary: 'Combined Search'
      operationId: combinedSearch
      description: 'Get combined search results'
      parameters:
        -
          in: query
          name: 'filter[search]'
          description: 'Filter column search by any accepted value. Search by name or alternate names or reference ID, PDC ID, Gateway AID, or OS Hub Identifier'
          example: omnis
          required: false
          schema:
            type: string
            description: 'Filter column search by any accepted value. Search by name or alternate names or reference ID, PDC ID, Gateway AID, or OS Hub Identifier'
            example: omnis
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    - []
                    - []
                properties:
                  data:
                    type: array
                    example:
                      - []
                      - []
                    items:
                      type: array
      tags:
        - 'Global Search'
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/global-search/organisations':
    get:
      summary: Organisations
      operationId: organisations
      description: 'Get Products'
      parameters:
        -
          in: query
          name: 'filter[type_id]'
          description: 'Filter column type_id by any accepted value. Matches exact value.'
          example: eveniet
          required: false
          schema:
            type: string
            description: 'Filter column type_id by any accepted value. Matches exact value.'
            example: eveniet
        -
          in: query
          name: 'filter[location]'
          description: 'Filter column location by any accepted value. Matches exact value.'
          example: nostrum
          required: false
          schema:
            type: string
            description: 'Filter column location by any accepted value. Matches exact value.'
            example: nostrum
        -
          in: query
          name: 'filter[search]'
          description: 'Filter column search by any accepted value. Search by id, name, legal name, type name, reference ID, PDC ID, Gateway AID, or OS Hub Identifier'
          example: dolore
          required: false
          schema:
            type: string
            description: 'Filter column search by any accepted value. Search by id, name, legal name, type name, reference ID, PDC ID, Gateway AID, or OS Hub Identifier'
            example: dolore
        -
          in: query
          name: 'filter[only_active_connections]'
          description: 'Filter column only_active_connections by any accepted value. 1 = only organisations with an active connection to the current organisation, 0 = no filter'
          example: quod
          required: false
          schema:
            type: string
            description: 'Filter column only_active_connections by any accepted value. 1 = only organisations with an active connection to the current organisation, 0 = no filter'
            example: quod
        -
          in: query
          name: 'filter[mrsl_standard_id]'
          description: 'Filter column mrsl_standard_id by any accepted value. Filter by active MRSL standard IDs (comma-separated)'
          example: hic
          required: false
          schema:
            type: string
            description: 'Filter column mrsl_standard_id by any accepted value. Filter by active MRSL standard IDs (comma-separated)'
            example: hic
        -
          in: query
          name: 'filter[ctz_standard_id]'
          description: 'Filter column ctz_standard_id by any accepted value. Filter by active CTZ standard IDs (comma-separated)'
          example: unde
          required: false
          schema:
            type: string
            description: 'Filter column ctz_standard_id by any accepted value. Filter by active CTZ standard IDs (comma-separated)'
            example: unde
        -
          in: query
          name: 'filter[has_incheck_level_1]'
          description: 'Filter column has_incheck_level_1 by any accepted value. Filter by organisations that have an InCheck level 1'
          example: et
          required: false
          schema:
            type: string
            description: 'Filter column has_incheck_level_1 by any accepted value. Filter by organisations that have an InCheck level 1'
            example: et
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 3
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 3
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      reference_id: 01-CR698383XMWJ2-P
                      name: 'test-Supplier System'
                      legal_name: 'Schroeder Ltd'
                      location:
                        code: BW
                        name: Botswana
                    -
                      id: 1
                      reference_id: 01-CR698383XMWJ2-P
                      name: 'test-Supplier System'
                      legal_name: 'Schroeder Ltd'
                      location:
                        code: BW
                        name: Botswana
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 50
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        reference_id: 01-CR698383XMWJ2-P
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        location:
                          code: BW
                          name: Botswana
                      -
                        id: 1
                        reference_id: 01-CR698383XMWJ2-P
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        location:
                          code: BW
                          name: Botswana
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        reference_id:
                          type: string
                          example: 01-CR698383XMWJ2-P
                        name:
                          type: string
                          example: 'test-Supplier System'
                        legal_name:
                          type: string
                          example: 'Schroeder Ltd'
                        location:
                          type: object
                          properties:
                            code:
                              type: string
                              example: BW
                            name:
                              type: string
                              example: Botswana
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 50
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - 'Global Search'
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/global-search/chemical-products':
    get:
      summary: 'Chemical Products'
      operationId: chemicalProducts
      description: 'Get Chemical Products'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 14
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 14
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: 'filter[name]'
          description: 'Filter column name by any accepted value. Filter by name'
          example: sint
          required: false
          schema:
            type: string
            description: 'Filter column name by any accepted value. Filter by name'
            example: sint
        -
          in: query
          name: 'filter[status]'
          description: 'Filter column status by any accepted value. Filter by status (multiple selection allowed)'
          example: incidunt
          required: false
          schema:
            type: string
            description: 'Filter column status by any accepted value. Filter by status (multiple selection allowed)'
            example: incidunt
        -
          in: query
          name: 'filter[conformance_level_id]'
          description: 'Filter column conformance_level_id by any accepted value. Filter by conformance level IDs (multiple selection allowed)'
          example: 20
          required: false
          schema:
            type: integer
            description: 'Filter column conformance_level_id by any accepted value. Filter by conformance level IDs (multiple selection allowed)'
            example: 20
        -
          in: query
          name: 'filter[ctz_level_id]'
          description: 'Filter column ctz_level_id by any accepted value. Filter by CTZ level IDs (multiple selection allowed)'
          example: 19
          required: false
          schema:
            type: integer
            description: 'Filter column ctz_level_id by any accepted value. Filter by CTZ level IDs (multiple selection allowed)'
            example: 19
        -
          in: query
          name: 'filter[certificationBodies.id]'
          description: 'Filter column certificationBodies.id by any accepted value. Filter by certification body IDs (multiple selection allowed)'
          example: 11
          required: false
          schema:
            type: integer
            description: 'Filter column certificationBodies.id by any accepted value. Filter by certification body IDs (multiple selection allowed)'
            example: 11
        -
          in: query
          name: 'filter[organisation_id]'
          description: 'Filter column organisation_id by any accepted value. Filter by organisation IDs (multiple selection allowed)'
          example: 5
          required: false
          schema:
            type: integer
            description: 'Filter column organisation_id by any accepted value. Filter by organisation IDs (multiple selection allowed)'
            example: 5
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. Filter by created date'
          example: enim
          required: false
          schema:
            type: datetime
            description: 'Filter column created_at by any accepted value. Filter by created date'
            example: enim
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. Filter by updated date'
          example: at
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. Filter by updated date'
            example: at
        -
          in: query
          name: 'filter[useTypes.id]'
          description: 'Filter column useTypes.id by any accepted value. Filter by use type ID (multiple selection allowed)'
          example: 7
          required: false
          schema:
            type: integer
            description: 'Filter column useTypes.id by any accepted value. Filter by use type ID (multiple selection allowed)'
            example: 7
        -
          in: query
          name: 'filter[categories.id]'
          description: 'Filter column categories.id by any accepted value. Filter by use type category ID (multiple selection allowed)'
          example: 20
          required: false
          schema:
            type: integer
            description: 'Filter column categories.id by any accepted value. Filter by use type category ID (multiple selection allowed)'
            example: 20
        -
          in: query
          name: 'filter[search]'
          description: 'Filter column search by any accepted value. Search by name, alternate names, or ZDHC PID'
          example: rem
          required: false
          schema:
            type: string
            description: 'Filter column search by any accepted value. Search by name, alternate names, or ZDHC PID'
            example: rem
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      reference_id: 20-NTNRYDE6A32E-I
                      status: DRAFT
                      name: sed
                      alternate_names: null
                      chemical_formulator:
                        id: 5
                        reference_id: 01-9YKA6G6TQSUTU-T
                        type_id: 6
                        name: 'test-Chemical formulator System'
                        address_1: '85608 Bridie Highway'
                        address_2: 'Apt. 403'
                        city: 'Port Eloisa'
                        state: Louisiana
                        location: SY
                        zip: '69515'
                        phone: '+13345405228'
                        email: goyette.diamond@schulist.com
                        website: 'http://www.torp.com/'
                        avatar_url: null
                        location_name: Syria
                      can_access_product_profile: false
                      conformance_level: null
                      ctz_level: null
                    -
                      id: 1
                      reference_id: 20-NTNRYDE6A32E-I
                      status: DRAFT
                      name: sed
                      alternate_names: null
                      chemical_formulator:
                        id: 5
                        reference_id: 01-9YKA6G6TQSUTU-T
                        type_id: 6
                        name: 'test-Chemical formulator System'
                        address_1: '85608 Bridie Highway'
                        address_2: 'Apt. 403'
                        city: 'Port Eloisa'
                        state: Louisiana
                        location: SY
                        zip: '69515'
                        phone: '+13345405228'
                        email: goyette.diamond@schulist.com
                        website: 'http://www.torp.com/'
                        avatar_url: null
                        location_name: Syria
                      can_access_product_profile: false
                      conformance_level: null
                      ctz_level: null
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 50
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        reference_id: 20-NTNRYDE6A32E-I
                        status: DRAFT
                        name: sed
                        alternate_names: null
                        chemical_formulator:
                          id: 5
                          reference_id: 01-9YKA6G6TQSUTU-T
                          type_id: 6
                          name: 'test-Chemical formulator System'
                          address_1: '85608 Bridie Highway'
                          address_2: 'Apt. 403'
                          city: 'Port Eloisa'
                          state: Louisiana
                          location: SY
                          zip: '69515'
                          phone: '+13345405228'
                          email: goyette.diamond@schulist.com
                          website: 'http://www.torp.com/'
                          avatar_url: null
                          location_name: Syria
                        can_access_product_profile: false
                        conformance_level: null
                        ctz_level: null
                      -
                        id: 1
                        reference_id: 20-NTNRYDE6A32E-I
                        status: DRAFT
                        name: sed
                        alternate_names: null
                        chemical_formulator:
                          id: 5
                          reference_id: 01-9YKA6G6TQSUTU-T
                          type_id: 6
                          name: 'test-Chemical formulator System'
                          address_1: '85608 Bridie Highway'
                          address_2: 'Apt. 403'
                          city: 'Port Eloisa'
                          state: Louisiana
                          location: SY
                          zip: '69515'
                          phone: '+13345405228'
                          email: goyette.diamond@schulist.com
                          website: 'http://www.torp.com/'
                          avatar_url: null
                          location_name: Syria
                        can_access_product_profile: false
                        conformance_level: null
                        ctz_level: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        reference_id:
                          type: string
                          example: 20-NTNRYDE6A32E-I
                        status:
                          type: string
                          example: DRAFT
                        name:
                          type: string
                          example: sed
                        alternate_names:
                          type: string
                          example: null
                          nullable: true
                        chemical_formulator:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 5
                            reference_id:
                              type: string
                              example: 01-9YKA6G6TQSUTU-T
                            type_id:
                              type: integer
                              example: 6
                            name:
                              type: string
                              example: 'test-Chemical formulator System'
                            address_1:
                              type: string
                              example: '85608 Bridie Highway'
                            address_2:
                              type: string
                              example: 'Apt. 403'
                            city:
                              type: string
                              example: 'Port Eloisa'
                            state:
                              type: string
                              example: Louisiana
                            location:
                              type: string
                              example: SY
                            zip:
                              type: string
                              example: '69515'
                            phone:
                              type: string
                              example: '+13345405228'
                            email:
                              type: string
                              example: goyette.diamond@schulist.com
                            website:
                              type: string
                              example: 'http://www.torp.com/'
                            avatar_url:
                              type: string
                              example: null
                              nullable: true
                            location_name:
                              type: string
                              example: Syria
                        can_access_product_profile:
                          type: boolean
                          example: false
                        conformance_level:
                          type: string
                          example: null
                          nullable: true
                        ctz_level:
                          type: string
                          example: null
                          nullable: true
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 50
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - 'Global Search'
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  /api/inventory/eligable-suppliers:
    get:
      summary: 'Eligable Suppliers'
      operationId: eligableSuppliers
      description: 'Show all eligable suppliers for a given Solution Provider'
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 19
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 19
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    reference_id: 01-CR698383XMWJ2-P
                    name: 'test-Supplier System'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      reference_id:
                        type: string
                        example: 01-CR698383XMWJ2-P
                      name:
                        type: string
                        example: 'test-Supplier System'
      tags:
        - InCheck
  '/api/incheck/{organisation_id}/onboarding-progress':
    get:
      summary: 'Onboarding Progress'
      operationId: onboardingProgress
      description: 'See the requirements for the onboarding process to the incheck module'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - InCheck
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  /api/incheck/level:
    get:
      summary: Index
      operationId: index
      description: 'List InCheck levels'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - InCheck
  '/api/incheck/{organisation_id}/reports':
    get:
      summary: Index
      operationId: index
      description: 'Get all incheck reports for an organisation'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 15892
                      supplier_id: 1
                      status: started
                      verified_at: null
                      closed_at: null
                      created_at: '2026-03-24T14:59:57.000000Z'
                      updated_at: '2026-03-24T14:59:57.000000Z'
                    -
                      id: 15892
                      supplier_id: 1
                      status: started
                      verified_at: null
                      closed_at: null
                      created_at: '2026-03-24T14:59:57.000000Z'
                      updated_at: '2026-03-24T14:59:57.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 100
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 15892
                        supplier_id: 1
                        status: started
                        verified_at: null
                        closed_at: null
                        created_at: '2026-03-24T14:59:57.000000Z'
                        updated_at: '2026-03-24T14:59:57.000000Z'
                      -
                        id: 15892
                        supplier_id: 1
                        status: started
                        verified_at: null
                        closed_at: null
                        created_at: '2026-03-24T14:59:57.000000Z'
                        updated_at: '2026-03-24T14:59:57.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 15892
                        supplier_id:
                          type: integer
                          example: 1
                        status:
                          type: string
                          example: started
                        verified_at:
                          type: string
                          example: null
                          nullable: true
                        closed_at:
                          type: string
                          example: null
                          nullable: true
                        created_at:
                          type: string
                          example: '2026-03-24T14:59:57.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-24T14:59:57.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 100
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - InCheck
    post:
      summary: Store
      operationId: store
      description: 'Create a new incheck report'
      parameters: []
      responses:
        201:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 15894
                    supplier_id: 1
                    status: started
                    verified_at: null
                    closed_at: null
                    created_at: '2026-03-24T14:59:57.000000Z'
                    updated_at: '2026-03-24T14:59:57.000000Z'
                  message: 'InCheck report created successfully'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 15894
                      supplier_id:
                        type: integer
                        example: 1
                      status:
                        type: string
                        example: started
                      verified_at:
                        type: string
                        example: null
                        nullable: true
                      closed_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2026-03-24T14:59:57.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-24T14:59:57.000000Z'
                  message:
                    type: string
                    example: 'InCheck report created successfully'
      tags:
        - InCheck
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/incheck/{organisation_id}/reports/{id}':
    get:
      summary: Show
      operationId: show
      description: 'Show an incheck report'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 15893
                    supplier_id: 1
                    status: started
                    verified_at: null
                    closed_at: null
                    created_at: '2026-03-24T14:59:57.000000Z'
                    updated_at: '2026-03-24T14:59:57.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 15893
                      supplier_id:
                        type: integer
                        example: 1
                      status:
                        type: string
                        example: started
                      verified_at:
                        type: string
                        example: null
                        nullable: true
                      closed_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2026-03-24T14:59:57.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-24T14:59:57.000000Z'
      tags:
        - InCheck
    put:
      summary: Update
      operationId: update
      description: 'Update an incheck report'
      parameters: []
      responses: {  }
      tags:
        - InCheck
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the report.'
        example: 4
        required: true
        schema:
          type: integer
  '/api/incheck/{organisation_id}/reports/{report_id}/inventories':
    get:
      summary: Index
      operationId: index
      description: 'Get all eligabile inventories for an incheck report. Usually last 12 months.'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - InCheck
    post:
      summary: Bind
      operationId: bind
      description: 'Bind inventories to an incheck report.'
      parameters: []
      responses: {  }
      tags:
        - InCheck
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                inventory_ids:
                  type: array
                  description: ''
                  example:
                    - 20
                  items:
                    type: integer
              required:
                - inventory_ids
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 9
        required: true
        schema:
          type: integer
  '/api/incheck/{organisation_id}/providers':
    get:
      summary: index
      operationId: index
      description: 'List selected solution providers'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - InCheck
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/incheck/{organisation_id}/providers/levels':
    get:
      summary: Levels
      operationId: levels
      description: 'List all inCheck levels for a supplier'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      name: 'Level 0'
                      created_at: '2025-09-04T13:16:11.000000Z'
                      updated_at: '2025-09-04T13:16:11.000000Z'
                    -
                      id: 1
                      name: 'Level 0'
                      created_at: '2025-09-04T13:16:11.000000Z'
                      updated_at: '2025-09-04T13:16:11.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        name: 'Level 0'
                        created_at: '2025-09-04T13:16:11.000000Z'
                        updated_at: '2025-09-04T13:16:11.000000Z'
                      -
                        id: 1
                        name: 'Level 0'
                        created_at: '2025-09-04T13:16:11.000000Z'
                        updated_at: '2025-09-04T13:16:11.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        name:
                          type: string
                          example: 'Level 0'
                        created_at:
                          type: string
                          example: '2025-09-04T13:16:11.000000Z'
                        updated_at:
                          type: string
                          example: '2025-09-04T13:16:11.000000Z'
      tags:
        - InCheck
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/incheck/{organisation_id}/providers/sync':
    post:
      summary: Sync
      operationId: sync
      description: 'Sync relating Suppliers to Incheck Providers AND set the incheck level'
      parameters: []
      responses: {  }
      tags:
        - InCheck
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                level_ids:
                  type: array
                  description: 'The <code>id</code> of an existing record in the incheck_levels table.'
                  example:
                    - 14
                  items:
                    type: integer
                provider_visibility_ids:
                  type: array
                  description: 'The <code>id</code> of an existing record in the incheck_visibilities table.'
                  example:
                    - 1
                  items:
                    type: integer
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_reference_id}/incheck/reports/{report_reference_id}/verified-incheck-report-pdf':
    get:
      summary: Show
      operationId: show
      description: 'Show the verified incheck report as a pdf'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'content of the pdf'
      tags:
        - InCheck
    parameters:
      -
        in: path
        name: organisation_reference_id
        description: 'The ID of the organisation reference.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_reference_id
        description: 'The ID of the report reference.'
        example: id
        required: true
        schema:
          type: string
  /api/industry-identifiers:
    get:
      summary: Index
      operationId: index
      description: 'Get a paginated list of industry identifiers.'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 9
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 9
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 4
                      name: 'amfori ID'
                    -
                      id: 4
                      name: 'amfori ID'
                  links:
                    first: '/?page=1'
                    last: null
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    path: /
                    per_page: '50'
                    to: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 4
                        name: 'amfori ID'
                      -
                        id: 4
                        name: 'amfori ID'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 4
                        name:
                          type: string
                          example: 'amfori ID'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: null
                        nullable: true
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      path:
                        type: string
                        example: /
                      per_page:
                        type: string
                        example: '50'
                      to:
                        type: integer
                        example: 2
      tags:
        - 'Industry Identifiers'
      security: []
  /api/internal/v1/organisations:
    get:
      summary: 'Organisations Index'
      operationId: organisationsIndex
      description: "List all organisations.\n\n<aside class=\"warning\">Requires <code>INTERNAL_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 11
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 11
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
          example: '< 2026-03-25 14:59:57'
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
            example: '< 2026-03-25 14:59:57'
        -
          in: query
          name: sort
          description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
          example: updated_at
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
            example: updated_at
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      reference_id: 01-CR698383XMWJ2-P
                      uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      status: approved
                      type:
                        id: 2
                        name: Supplier
                      registration_summary:
                        current_status: approved
                        current_status_start_at: null
                      name: 'test-Supplier System'
                      legal_name: 'Schroeder Ltd'
                      address:
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        postal_code: '26306'
                        country: BW
                        location_name: Botswana
                      website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      primary_contact:
                        first_name: Alfonzo
                        last_name: Crooks
                        email: yessenia18@bahringer.net
                        phone: '+17728385594'
                      external_ids:
                        ZDHC_AID: null
                        OS_HUB: null
                        PDC_ID: null
                      stats:
                        connections_count: null
                        users_count: null
                      comments:
                        applicant_comment: null
                        review_comment: null
                      reviewer_comment_category: null
                      registration_mail_sent_at: '1994-04-10 08:31:47'
                      profile_reviewed_by_user_id: 73080
                      profile_reviewed_at: '2026-03-24 08:26:00'
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2026-03-24T08:26:00.000000Z'
                      deleted_at: null
                    -
                      id: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      reference_id: 01-CR698383XMWJ2-P
                      uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      status: approved
                      type:
                        id: 2
                        name: Supplier
                      registration_summary:
                        current_status: approved
                        current_status_start_at: null
                      name: 'test-Supplier System'
                      legal_name: 'Schroeder Ltd'
                      address:
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        postal_code: '26306'
                        country: BW
                        location_name: Botswana
                      website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      primary_contact:
                        first_name: Alfonzo
                        last_name: Crooks
                        email: yessenia18@bahringer.net
                        phone: '+17728385594'
                      external_ids:
                        ZDHC_AID: null
                        OS_HUB: null
                        PDC_ID: null
                      stats:
                        connections_count: null
                        users_count: null
                      comments:
                        applicant_comment: null
                        review_comment: null
                      reviewer_comment_category: null
                      registration_mail_sent_at: '1994-04-10 08:31:47'
                      profile_reviewed_by_user_id: 73080
                      profile_reviewed_at: '2026-03-24 08:26:00'
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2026-03-24T08:26:00.000000Z'
                      deleted_at: null
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        reference_id: 01-CR698383XMWJ2-P
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        status: approved
                        type:
                          id: 2
                          name: Supplier
                        registration_summary:
                          current_status: approved
                          current_status_start_at: null
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address:
                          address_1: '149 Koss Dam Suite 796'
                          address_2: 'Suite 708'
                          city: Bergemouth
                          state: Michigan
                          postal_code: '26306'
                          country: BW
                          location_name: Botswana
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        primary_contact:
                          first_name: Alfonzo
                          last_name: Crooks
                          email: yessenia18@bahringer.net
                          phone: '+17728385594'
                        external_ids:
                          ZDHC_AID: null
                          OS_HUB: null
                          PDC_ID: null
                        stats:
                          connections_count: null
                          users_count: null
                        comments:
                          applicant_comment: null
                          review_comment: null
                        reviewer_comment_category: null
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        profile_reviewed_by_user_id: 73080
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        deleted_at: null
                      -
                        id: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        reference_id: 01-CR698383XMWJ2-P
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        status: approved
                        type:
                          id: 2
                          name: Supplier
                        registration_summary:
                          current_status: approved
                          current_status_start_at: null
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address:
                          address_1: '149 Koss Dam Suite 796'
                          address_2: 'Suite 708'
                          city: Bergemouth
                          state: Michigan
                          postal_code: '26306'
                          country: BW
                          location_name: Botswana
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        primary_contact:
                          first_name: Alfonzo
                          last_name: Crooks
                          email: yessenia18@bahringer.net
                          phone: '+17728385594'
                        external_ids:
                          ZDHC_AID: null
                          OS_HUB: null
                          PDC_ID: null
                        stats:
                          connections_count: null
                          users_count: null
                        comments:
                          applicant_comment: null
                          review_comment: null
                        reviewer_comment_category: null
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        profile_reviewed_by_user_id: 73080
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        deleted_at: null
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        reference_id:
                          type: string
                          example: 01-CR698383XMWJ2-P
                        uuid:
                          type: string
                          example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        status:
                          type: string
                          example: approved
                        type:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 2
                            name:
                              type: string
                              example: Supplier
                        registration_summary:
                          type: object
                          properties:
                            current_status:
                              type: string
                              example: approved
                            current_status_start_at:
                              type: string
                              example: null
                              nullable: true
                        name:
                          type: string
                          example: 'test-Supplier System'
                        legal_name:
                          type: string
                          example: 'Schroeder Ltd'
                        address:
                          type: object
                          properties:
                            address_1:
                              type: string
                              example: '149 Koss Dam Suite 796'
                            address_2:
                              type: string
                              example: 'Suite 708'
                            city:
                              type: string
                              example: Bergemouth
                            state:
                              type: string
                              example: Michigan
                            postal_code:
                              type: string
                              example: '26306'
                            country:
                              type: string
                              example: BW
                            location_name:
                              type: string
                              example: Botswana
                        website:
                          type: string
                          example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        primary_contact:
                          type: object
                          properties:
                            first_name:
                              type: string
                              example: Alfonzo
                            last_name:
                              type: string
                              example: Crooks
                            email:
                              type: string
                              example: yessenia18@bahringer.net
                            phone:
                              type: string
                              example: '+17728385594'
                        external_ids:
                          type: object
                          properties:
                            ZDHC_AID:
                              type: string
                              example: null
                              nullable: true
                            OS_HUB:
                              type: string
                              example: null
                              nullable: true
                            PDC_ID:
                              type: string
                              example: null
                              nullable: true
                        stats:
                          type: object
                          properties:
                            connections_count:
                              type: string
                              example: null
                              nullable: true
                            users_count:
                              type: string
                              example: null
                              nullable: true
                        comments:
                          type: object
                          properties:
                            applicant_comment:
                              type: string
                              example: null
                              nullable: true
                            review_comment:
                              type: string
                              example: null
                              nullable: true
                        reviewer_comment_category:
                          type: string
                          example: null
                          nullable: true
                        registration_mail_sent_at:
                          type: string
                          example: '1994-04-10 08:31:47'
                        profile_reviewed_by_user_id:
                          type: integer
                          example: 73080
                        profile_reviewed_at:
                          type: string
                          example: '2026-03-24 08:26:00'
                        created_at:
                          type: string
                          example: '2025-07-24T13:23:28.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-24T08:26:00.000000Z'
                        deleted_at:
                          type: string
                          example: null
                          nullable: true
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Internal/V1
  /api/internal/v1/organisation-users:
    get:
      summary: 'OrganisationUsers Index'
      operationId: organisationUsersIndex
      description: "List all organisation-users.\n\n<aside class=\"warning\">Requires <code>INTERNAL_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 5
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 5
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
          example: '<= 2026-04-03 14:59:57'
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
            example: '<= 2026-04-03 14:59:57'
        -
          in: query
          name: sort
          description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
          example: updated_at
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
            example: updated_at
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      organisation:
                        id: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        reference_id: 01-CR698383XMWJ2-P
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        status: approved
                      user:
                        id: 1
                        reference_id: 02-TXFQXFYRE4ACK-M
                        ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                        status: active
                      role: ORGANISATION_ADMIN
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2025-12-02T13:51:01.000000Z'
                      deleted_at: null
                    -
                      organisation:
                        id: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        reference_id: 01-CR698383XMWJ2-P
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        status: approved
                      user:
                        id: 1
                        reference_id: 02-TXFQXFYRE4ACK-M
                        ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                        status: active
                      role: ORGANISATION_ADMIN
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2025-12-02T13:51:01.000000Z'
                      deleted_at: null
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        organisation:
                          id: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                          reference_id: 01-CR698383XMWJ2-P
                          uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                          status: approved
                        user:
                          id: 1
                          reference_id: 02-TXFQXFYRE4ACK-M
                          ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                          status: active
                        role: ORGANISATION_ADMIN
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2025-12-02T13:51:01.000000Z'
                        deleted_at: null
                      -
                        organisation:
                          id: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                          reference_id: 01-CR698383XMWJ2-P
                          uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                          status: approved
                        user:
                          id: 1
                          reference_id: 02-TXFQXFYRE4ACK-M
                          ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                          status: active
                        role: ORGANISATION_ADMIN
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2025-12-02T13:51:01.000000Z'
                        deleted_at: null
                    items:
                      type: object
                      properties:
                        organisation:
                          type: object
                          properties:
                            id:
                              type: string
                              example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                            reference_id:
                              type: string
                              example: 01-CR698383XMWJ2-P
                            uuid:
                              type: string
                              example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                            status:
                              type: string
                              example: approved
                        user:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            reference_id:
                              type: string
                              example: 02-TXFQXFYRE4ACK-M
                            ulid:
                              type: string
                              example: 01k0y9mg650dbx0cp4nhq1vm7m
                            status:
                              type: string
                              example: active
                        role:
                          type: string
                          example: ORGANISATION_ADMIN
                        created_at:
                          type: string
                          example: '2025-07-24T13:23:28.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-02T13:51:01.000000Z'
                        deleted_at:
                          type: string
                          example: null
                          nullable: true
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Internal/V1
  /api/internal/v1/users:
    get:
      summary: 'Users Index'
      operationId: usersIndex
      description: "List all users.\n\n<aside class=\"warning\">Requires <code>INTERNAL_IMPORTER</code> organisation type.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 10'
          example: 4
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 10'
            example: 4
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
          example: '= 2026-04-08 14:59:57'
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS)'
            example: '= 2026-04-08 14:59:57'
        -
          in: query
          name: sort
          description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
          example: updated_at
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order'
            example: updated_at
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      reference_id: 02-TXFQXFYRE4ACK-M
                      ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                      status: active
                      first_name: System
                      last_name: User
                      email: admin@localhost
                      phone: '+13523381248'
                      locale: es_BO
                      location: null
                      location_name: null
                      external_ids:
                        PDC_ID: null
                      last_active_at: '2025-12-02T13:51:01.000000Z'
                      email_verified_at: null
                      profile_reviewed_at: null
                      created_at: '2025-07-24T13:23:18.000000Z'
                      updated_at: '2025-12-08T15:12:52.000000Z'
                      deleted_at: null
                    -
                      id: 1
                      reference_id: 02-TXFQXFYRE4ACK-M
                      ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                      status: active
                      first_name: System
                      last_name: User
                      email: admin@localhost
                      phone: '+13523381248'
                      locale: es_BO
                      location: null
                      location_name: null
                      external_ids:
                        PDC_ID: null
                      last_active_at: '2025-12-02T13:51:01.000000Z'
                      email_verified_at: null
                      profile_reviewed_at: null
                      created_at: '2025-07-24T13:23:18.000000Z'
                      updated_at: '2025-12-08T15:12:52.000000Z'
                      deleted_at: null
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        reference_id: 02-TXFQXFYRE4ACK-M
                        ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                        status: active
                        first_name: System
                        last_name: User
                        email: admin@localhost
                        phone: '+13523381248'
                        locale: es_BO
                        location: null
                        location_name: null
                        external_ids:
                          PDC_ID: null
                        last_active_at: '2025-12-02T13:51:01.000000Z'
                        email_verified_at: null
                        profile_reviewed_at: null
                        created_at: '2025-07-24T13:23:18.000000Z'
                        updated_at: '2025-12-08T15:12:52.000000Z'
                        deleted_at: null
                      -
                        id: 1
                        reference_id: 02-TXFQXFYRE4ACK-M
                        ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                        status: active
                        first_name: System
                        last_name: User
                        email: admin@localhost
                        phone: '+13523381248'
                        locale: es_BO
                        location: null
                        location_name: null
                        external_ids:
                          PDC_ID: null
                        last_active_at: '2025-12-02T13:51:01.000000Z'
                        email_verified_at: null
                        profile_reviewed_at: null
                        created_at: '2025-07-24T13:23:18.000000Z'
                        updated_at: '2025-12-08T15:12:52.000000Z'
                        deleted_at: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        reference_id:
                          type: string
                          example: 02-TXFQXFYRE4ACK-M
                        ulid:
                          type: string
                          example: 01k0y9mg650dbx0cp4nhq1vm7m
                        status:
                          type: string
                          example: active
                        first_name:
                          type: string
                          example: System
                        last_name:
                          type: string
                          example: User
                        email:
                          type: string
                          example: admin@localhost
                        phone:
                          type: string
                          example: '+13523381248'
                        locale:
                          type: string
                          example: es_BO
                        location:
                          type: string
                          example: null
                          nullable: true
                        location_name:
                          type: string
                          example: null
                          nullable: true
                        external_ids:
                          type: object
                          properties:
                            PDC_ID:
                              type: string
                              example: null
                              nullable: true
                        last_active_at:
                          type: string
                          example: '2025-12-02T13:51:01.000000Z'
                        email_verified_at:
                          type: string
                          example: null
                          nullable: true
                        profile_reviewed_at:
                          type: string
                          example: null
                          nullable: true
                        created_at:
                          type: string
                          example: '2025-07-24T13:23:18.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-08T15:12:52.000000Z'
                        deleted_at:
                          type: string
                          example: null
                          nullable: true
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Internal/V1
  '/api/organisations/{organisation_id}/labels':
    get:
      summary: Index
      operationId: index
      description: 'Get a list of labels for an organisation'
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 12
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 12
        -
          in: query
          name: 'filter[labelable_type]'
          description: 'Filter column labelable_type by any accepted value. Filter by labelable type (e.g. organisation_connection). See LabelableTypeEnum for allowed values.'
          example: iusto
          required: false
          schema:
            type: string
            description: 'Filter column labelable_type by any accepted value. Filter by labelable type (e.g. organisation_connection). See LabelableTypeEnum for allowed values.'
            example: iusto
        -
          in: query
          name: sort
          description: 'sort by any accepted column: name,labelable_type,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
          example: 'name,labelable_type,created_at,updated_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: name,labelable_type,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
            example: 'name,labelable_type,created_at,updated_at'
        -
          in: query
          name: search
          description: 'Search in all of these columns: name'
          example: aliquam
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name'
            example: aliquam
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    - []
                    - []
                properties:
                  data:
                    type: array
                    example:
                      - []
                      - []
                    items:
                      type: array
      tags:
        - Labels
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/labels/{id}':
    delete:
      summary: Destroy
      operationId: destroy
      description: 'Delete a label.'
      parameters: []
      responses: {  }
      tags:
        - Labels
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the label.'
        example: 1
        required: true
        schema:
          type: integer
  /api/localisation/locales:
    get:
      summary: Locales
      operationId: locales
      description: 'Get a list of all accepted locales'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "[\n     {\n         \"en\": \"English\",\n         \"zh\": \"英语\",\n     }\n]"
      tags:
        - Localisation
      security: []
  /api/localisation/locations:
    get:
      summary: Locations
      operationId: locations
      description: 'Get a list of all accepted locations'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "[\n     {\n         \"AD\": \"Andorra\",\n         \"AE\": \"United Arab Emirates\",\n         \"AF\": \"Afghanistan\",\n         \"AG\": \"Antigua and Barbuda\",\n     }\n]"
      tags:
        - Localisation
      security: []
  '/api/organisation/{organisation_id}/chemical/certification/mrsl-standard':
    get:
      summary: Index
      operationId: index
      description: 'Get MRSL Standards'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 17
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 17
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: 'filter[conformance_level_id]'
          description: 'Filter column conformance_level_id by any accepted value. Filter by conformance level ID'
          example: 16
          required: false
          schema:
            type: integer
            description: 'Filter column conformance_level_id by any accepted value. Filter by conformance level ID'
            example: 16
        -
          in: query
          name: 'filter[organisations.id]'
          description: 'Filter column organisations.id by any accepted value. Filter by assigned organisation ID'
          example: 13
          required: false
          schema:
            type: integer
            description: 'Filter column organisations.id by any accepted value. Filter by assigned organisation ID'
            example: 13
        -
          in: query
          name: 'filter[status]'
          description: 'Filter column status by any accepted value. Filter by status'
          example: distinctio
          required: false
          schema:
            type: string
            description: 'Filter column status by any accepted value. Filter by status'
            example: distinctio
        -
          in: query
          name: 'filter[start_date]'
          description: 'Filter column start_date by any accepted value. Filter by start date'
          example: earum
          required: false
          schema:
            type: date
            description: 'Filter column start_date by any accepted value. Filter by start date'
            example: earum
        -
          in: query
          name: 'filter[end_date]'
          description: 'Filter column end_date by any accepted value. Filter by end date'
          example: deleniti
          required: false
          schema:
            type: date
            description: 'Filter column end_date by any accepted value. Filter by end date'
            example: deleniti
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. Filter by created at'
          example: vel
          required: false
          schema:
            type: datetime
            description: 'Filter column created_at by any accepted value. Filter by created at'
            example: vel
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. Filter by updated at'
          example: non
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. Filter by updated at'
            example: non
        -
          in: query
          name: search
          description: 'Search in all of these columns: name, version'
          example: doloremque
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name, version'
            example: doloremque
        -
          in: query
          name: sort
          description: 'sort by any accepted column: name,version,status,start_date,end_date,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
          example: 'name,version,status,start_date,end_date,created_at,updated_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: name,version,status,start_date,end_date,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
            example: 'name,version,status,start_date,end_date,created_at,updated_at'
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: name, version, status, conformance_level_id.'
          example: name
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: name, version, status, conformance_level_id.'
            example: name
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 9
                      reference_id: 30-7V7GKLDBKXQA-I
                      name: 'Level 1'
                      version: '3.1'
                      conformance_level_id: 1
                      start_date: '2025-12-01T00:00:00.000000Z'
                      end_date: '2027-12-31T00:00:00.000000Z'
                      status: PASSED
                      created_at: '2025-12-11T16:58:28.000000Z'
                      updated_at: '2026-03-05T15:48:11.000000Z'
                      expired_at: null
                      conformance_level:
                        id: 1
                        name: 'Level 1'
                      organisations:
                        -
                          id: 87
                          maxio_customer_id: 226066
                          reference_id: 01-8J36F3RPYYK3T-X
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                          legal_name: 'Pfannerstill Inc'
                          address_1: '38558 Russel Street'
                          address_2: 'Suite 630'
                          city: 'North Pattieshire'
                          state: Wyoming
                          location: LK
                          zip: 92199-6406
                          phone: '+13213459957'
                          email: mohamed19@douglas.com
                          contact_first_name: Jamel
                          contact_last_name: Wilderman
                          website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '1990-01-10 10:28:39'
                          created_at: '2025-07-24T13:23:38.000000Z'
                          updated_at: '2026-02-07T00:00:22.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-01-26 13:32:55'
                          profile_reviewed_by_user_id: 10
                          location_name: 'Sri Lanka'
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 87
                            id: 1
                            valid_until: null
                            created_at: '2025-12-11T16:58:28.000000Z'
                            updated_at: '2025-12-11T16:58:28.000000Z'
                        -
                          id: 6
                          maxio_customer_id: 225505
                          reference_id: 01-9YKA6G6PJ9H4P-N
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac51-4a14-419b-8a0f-321f3d2d2f6f
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies System'
                          legal_name: 'Stoltenberg, McDermott and Pacocha'
                          address_1: '3644 Erin Extensions Suite 032'
                          address_2: 'Apt. 811'
                          city: Parkerview
                          state: Alabama
                          location: SJ
                          zip: '47449'
                          phone: '+17706304373'
                          email: swelch@rutherford.com
                          contact_first_name: Rickie
                          contact_last_name: Leffler
                          website: 'https://www.leffler.com/et-alias-autem-rerum-mollitia-esse-earum-quam'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '2009-06-15 04:14:20'
                          created_at: '2025-07-24T13:23:29.000000Z'
                          updated_at: '2026-02-07T00:00:09.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: null
                          profile_reviewed_by_user_id: null
                          location_name: 'Svalbard & Jan Mayen'
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 6
                            id: 10
                            valid_until: null
                            created_at: '2026-01-28T14:51:26.000000Z'
                            updated_at: '2026-01-28T14:51:26.000000Z'
                        -
                          id: 15
                          maxio_customer_id: 225514
                          reference_id: 01-H7TPZSZGF3FQW-O
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac53-5112-4af0-a33d-3a4affc8d950
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies Regular'
                          legal_name: 'Emmerich Ltd'
                          address_1: '560 Thea Loaf'
                          address_2: 'Apt. 104'
                          city: 'Port Lauretta'
                          state: Kentucky
                          location: ME
                          zip: '93326'
                          phone: '+16105393809'
                          email: nannie88@fritsch.com
                          contact_first_name: Mandy
                          contact_last_name: Anderson
                          website: 'http://littel.com/'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '1996-10-18 23:24:44'
                          created_at: '2025-07-24T13:23:30.000000Z'
                          updated_at: '2026-02-07T00:00:11.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: null
                          profile_reviewed_by_user_id: null
                          location_name: Montenegro
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 15
                            id: 11
                            valid_until: null
                            created_at: '2026-01-28T14:51:26.000000Z'
                            updated_at: '2026-01-28T14:51:26.000000Z'
                        -
                          id: 24
                          maxio_customer_id: 226018
                          reference_id: 01-L8JRXULHPYL6N-Y
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac55-866a-4f90-8ca0-7edd448b2217
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies Member'
                          legal_name: Towne-Cartwright
                          address_1: '316 Luella Road'
                          address_2: 'Suite 119'
                          city: 'North Kyleeshire'
                          state: Washington
                          location: DE
                          zip: '32596'
                          phone: '+17477848328'
                          email: mertz.brandon@hilpert.info
                          contact_first_name: Isobel
                          contact_last_name: Howe
                          website: 'http://www.gusikowski.info/'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '2023-06-22 14:24:07'
                          created_at: '2025-07-24T13:23:32.000000Z'
                          updated_at: '2026-02-07T00:00:13.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: null
                          profile_reviewed_by_user_id: null
                          location_name: Germany
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 24
                            id: 12
                            valid_until: null
                            created_at: '2026-01-28T14:51:26.000000Z'
                            updated_at: '2026-01-28T14:51:26.000000Z'
                        -
                          id: 51
                          maxio_customer_id: 226039
                          reference_id: 01-SVQFEQVU43G8W-Y
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac59-78be-458a-a670-e840bae10551
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies p.mehren'
                          legal_name: 'Lehner PLC'
                          address_1: '222 Enrique Stream'
                          address_2: 'Suite 156'
                          city: 'North Damion'
                          state: 'New Mexico'
                          location: MC
                          zip: 62979-3585
                          phone: '+13057596358'
                          email: nelda76@baumbach.com
                          contact_first_name: Priscilla
                          contact_last_name: Bosco
                          website: 'http://www.larson.info/officiis-quo-rerum-numquam-ipsum-aut-tenetur-dolorem.html'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '1976-01-28 19:55:22'
                          created_at: '2025-07-24T13:23:34.000000Z'
                          updated_at: '2026-02-07T00:00:17.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-01-30 12:21:18'
                          profile_reviewed_by_user_id: 6
                          location_name: Monaco
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 51
                            id: 13
                            valid_until: null
                            created_at: '2026-01-30T12:24:50.000000Z'
                            updated_at: '2026-01-30T12:24:50.000000Z'
                        -
                          id: 114
                          maxio_customer_id: 226087
                          reference_id: 01-J32MU29QPC7PY-M
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac62-1a4a-4885-a886-46c178514b10
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies jully'
                          legal_name: 'Wintheiser Inc'
                          address_1: '8147 Gene Track Suite 777'
                          address_2: 'Apt. 798'
                          city: Rathmouth
                          state: Wyoming
                          location: VG
                          zip: '82304'
                          phone: '+18455198054'
                          email: darien27@towne.com
                          contact_first_name: Briana
                          contact_last_name: Wisoky
                          website: 'http://lakin.com/'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '2000-02-03 08:40:52'
                          created_at: '2025-07-24T13:23:40.000000Z'
                          updated_at: '2026-02-07T00:00:26.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: null
                          profile_reviewed_by_user_id: null
                          location_name: 'British Virgin Islands'
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 114
                            id: 14
                            valid_until: null
                            created_at: '2026-02-02T11:52:53.000000Z'
                            updated_at: '2026-02-02T11:52:53.000000Z'
                        -
                          id: 33
                          maxio_customer_id: 226025
                          reference_id: 01-TXF8SFVYCQAUD-H
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                          legal_name: 'Marvin Inc'
                          address_1: '7505 Gleichner Points Apt. 547'
                          address_2: 'Apt. 605'
                          city: Joemouth
                          state: 'New Hampshire'
                          location: AL
                          zip: '10490'
                          phone: '+14845414899'
                          email: lance14@hill.biz
                          contact_first_name: Newton
                          contact_last_name: Rogahn
                          website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '1992-11-30 18:20:01'
                          created_at: '2025-07-24T13:23:32.000000Z'
                          updated_at: '2026-02-07T00:00:14.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-01-28 09:04:37'
                          profile_reviewed_by_user_id: 4
                          location_name: Albania
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 33
                            id: 15
                            valid_until: null
                            created_at: '2026-02-02T14:23:51.000000Z'
                            updated_at: '2026-02-02T14:23:51.000000Z'
                    -
                      id: 9
                      reference_id: 30-7V7GKLDBKXQA-I
                      name: 'Level 1'
                      version: '3.1'
                      conformance_level_id: 1
                      start_date: '2025-12-01T00:00:00.000000Z'
                      end_date: '2027-12-31T00:00:00.000000Z'
                      status: PASSED
                      created_at: '2025-12-11T16:58:28.000000Z'
                      updated_at: '2026-03-05T15:48:11.000000Z'
                      expired_at: null
                      conformance_level:
                        id: 1
                        name: 'Level 1'
                      organisations:
                        -
                          id: 87
                          maxio_customer_id: 226066
                          reference_id: 01-8J36F3RPYYK3T-X
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                          legal_name: 'Pfannerstill Inc'
                          address_1: '38558 Russel Street'
                          address_2: 'Suite 630'
                          city: 'North Pattieshire'
                          state: Wyoming
                          location: LK
                          zip: 92199-6406
                          phone: '+13213459957'
                          email: mohamed19@douglas.com
                          contact_first_name: Jamel
                          contact_last_name: Wilderman
                          website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '1990-01-10 10:28:39'
                          created_at: '2025-07-24T13:23:38.000000Z'
                          updated_at: '2026-02-07T00:00:22.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-01-26 13:32:55'
                          profile_reviewed_by_user_id: 10
                          location_name: 'Sri Lanka'
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 87
                            id: 1
                            valid_until: null
                            created_at: '2025-12-11T16:58:28.000000Z'
                            updated_at: '2025-12-11T16:58:28.000000Z'
                        -
                          id: 6
                          maxio_customer_id: 225505
                          reference_id: 01-9YKA6G6PJ9H4P-N
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac51-4a14-419b-8a0f-321f3d2d2f6f
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies System'
                          legal_name: 'Stoltenberg, McDermott and Pacocha'
                          address_1: '3644 Erin Extensions Suite 032'
                          address_2: 'Apt. 811'
                          city: Parkerview
                          state: Alabama
                          location: SJ
                          zip: '47449'
                          phone: '+17706304373'
                          email: swelch@rutherford.com
                          contact_first_name: Rickie
                          contact_last_name: Leffler
                          website: 'https://www.leffler.com/et-alias-autem-rerum-mollitia-esse-earum-quam'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '2009-06-15 04:14:20'
                          created_at: '2025-07-24T13:23:29.000000Z'
                          updated_at: '2026-02-07T00:00:09.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: null
                          profile_reviewed_by_user_id: null
                          location_name: 'Svalbard & Jan Mayen'
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 6
                            id: 10
                            valid_until: null
                            created_at: '2026-01-28T14:51:26.000000Z'
                            updated_at: '2026-01-28T14:51:26.000000Z'
                        -
                          id: 15
                          maxio_customer_id: 225514
                          reference_id: 01-H7TPZSZGF3FQW-O
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac53-5112-4af0-a33d-3a4affc8d950
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies Regular'
                          legal_name: 'Emmerich Ltd'
                          address_1: '560 Thea Loaf'
                          address_2: 'Apt. 104'
                          city: 'Port Lauretta'
                          state: Kentucky
                          location: ME
                          zip: '93326'
                          phone: '+16105393809'
                          email: nannie88@fritsch.com
                          contact_first_name: Mandy
                          contact_last_name: Anderson
                          website: 'http://littel.com/'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '1996-10-18 23:24:44'
                          created_at: '2025-07-24T13:23:30.000000Z'
                          updated_at: '2026-02-07T00:00:11.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: null
                          profile_reviewed_by_user_id: null
                          location_name: Montenegro
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 15
                            id: 11
                            valid_until: null
                            created_at: '2026-01-28T14:51:26.000000Z'
                            updated_at: '2026-01-28T14:51:26.000000Z'
                        -
                          id: 24
                          maxio_customer_id: 226018
                          reference_id: 01-L8JRXULHPYL6N-Y
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac55-866a-4f90-8ca0-7edd448b2217
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies Member'
                          legal_name: Towne-Cartwright
                          address_1: '316 Luella Road'
                          address_2: 'Suite 119'
                          city: 'North Kyleeshire'
                          state: Washington
                          location: DE
                          zip: '32596'
                          phone: '+17477848328'
                          email: mertz.brandon@hilpert.info
                          contact_first_name: Isobel
                          contact_last_name: Howe
                          website: 'http://www.gusikowski.info/'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '2023-06-22 14:24:07'
                          created_at: '2025-07-24T13:23:32.000000Z'
                          updated_at: '2026-02-07T00:00:13.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: null
                          profile_reviewed_by_user_id: null
                          location_name: Germany
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 24
                            id: 12
                            valid_until: null
                            created_at: '2026-01-28T14:51:26.000000Z'
                            updated_at: '2026-01-28T14:51:26.000000Z'
                        -
                          id: 51
                          maxio_customer_id: 226039
                          reference_id: 01-SVQFEQVU43G8W-Y
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac59-78be-458a-a670-e840bae10551
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies p.mehren'
                          legal_name: 'Lehner PLC'
                          address_1: '222 Enrique Stream'
                          address_2: 'Suite 156'
                          city: 'North Damion'
                          state: 'New Mexico'
                          location: MC
                          zip: 62979-3585
                          phone: '+13057596358'
                          email: nelda76@baumbach.com
                          contact_first_name: Priscilla
                          contact_last_name: Bosco
                          website: 'http://www.larson.info/officiis-quo-rerum-numquam-ipsum-aut-tenetur-dolorem.html'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '1976-01-28 19:55:22'
                          created_at: '2025-07-24T13:23:34.000000Z'
                          updated_at: '2026-02-07T00:00:17.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-01-30 12:21:18'
                          profile_reviewed_by_user_id: 6
                          location_name: Monaco
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 51
                            id: 13
                            valid_until: null
                            created_at: '2026-01-30T12:24:50.000000Z'
                            updated_at: '2026-01-30T12:24:50.000000Z'
                        -
                          id: 114
                          maxio_customer_id: 226087
                          reference_id: 01-J32MU29QPC7PY-M
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac62-1a4a-4885-a886-46c178514b10
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies jully'
                          legal_name: 'Wintheiser Inc'
                          address_1: '8147 Gene Track Suite 777'
                          address_2: 'Apt. 798'
                          city: Rathmouth
                          state: Wyoming
                          location: VG
                          zip: '82304'
                          phone: '+18455198054'
                          email: darien27@towne.com
                          contact_first_name: Briana
                          contact_last_name: Wisoky
                          website: 'http://lakin.com/'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '2000-02-03 08:40:52'
                          created_at: '2025-07-24T13:23:40.000000Z'
                          updated_at: '2026-02-07T00:00:26.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: null
                          profile_reviewed_by_user_id: null
                          location_name: 'British Virgin Islands'
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 114
                            id: 14
                            valid_until: null
                            created_at: '2026-02-02T11:52:53.000000Z'
                            updated_at: '2026-02-02T11:52:53.000000Z'
                        -
                          id: 33
                          maxio_customer_id: 226025
                          reference_id: 01-TXF8SFVYCQAUD-H
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                          type_id: 7
                          status: approved
                          name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                          legal_name: 'Marvin Inc'
                          address_1: '7505 Gleichner Points Apt. 547'
                          address_2: 'Apt. 605'
                          city: Joemouth
                          state: 'New Hampshire'
                          location: AL
                          zip: '10490'
                          phone: '+14845414899'
                          email: lance14@hill.biz
                          contact_first_name: Newton
                          contact_last_name: Rogahn
                          website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: null
                          registration_mail_sent_at: '1992-11-30 18:20:01'
                          created_at: '2025-07-24T13:23:32.000000Z'
                          updated_at: '2026-02-07T00:00:14.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-01-28 09:04:37'
                          profile_reviewed_by_user_id: 4
                          location_name: Albania
                          pivot:
                            mrsl_standard_id: 9
                            organisation_id: 33
                            id: 15
                            valid_until: null
                            created_at: '2026-02-02T14:23:51.000000Z'
                            updated_at: '2026-02-02T14:23:51.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 9
                        reference_id: 30-7V7GKLDBKXQA-I
                        name: 'Level 1'
                        version: '3.1'
                        conformance_level_id: 1
                        start_date: '2025-12-01T00:00:00.000000Z'
                        end_date: '2027-12-31T00:00:00.000000Z'
                        status: PASSED
                        created_at: '2025-12-11T16:58:28.000000Z'
                        updated_at: '2026-03-05T15:48:11.000000Z'
                        expired_at: null
                        conformance_level:
                          id: 1
                          name: 'Level 1'
                        organisations:
                          -
                            id: 87
                            maxio_customer_id: 226066
                            reference_id: 01-8J36F3RPYYK3T-X
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                            legal_name: 'Pfannerstill Inc'
                            address_1: '38558 Russel Street'
                            address_2: 'Suite 630'
                            city: 'North Pattieshire'
                            state: Wyoming
                            location: LK
                            zip: 92199-6406
                            phone: '+13213459957'
                            email: mohamed19@douglas.com
                            contact_first_name: Jamel
                            contact_last_name: Wilderman
                            website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1990-01-10 10:28:39'
                            created_at: '2025-07-24T13:23:38.000000Z'
                            updated_at: '2026-02-07T00:00:22.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-26 13:32:55'
                            profile_reviewed_by_user_id: 10
                            location_name: 'Sri Lanka'
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 87
                              id: 1
                              valid_until: null
                              created_at: '2025-12-11T16:58:28.000000Z'
                              updated_at: '2025-12-11T16:58:28.000000Z'
                          -
                            id: 6
                            maxio_customer_id: 225505
                            reference_id: 01-9YKA6G6PJ9H4P-N
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac51-4a14-419b-8a0f-321f3d2d2f6f
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies System'
                            legal_name: 'Stoltenberg, McDermott and Pacocha'
                            address_1: '3644 Erin Extensions Suite 032'
                            address_2: 'Apt. 811'
                            city: Parkerview
                            state: Alabama
                            location: SJ
                            zip: '47449'
                            phone: '+17706304373'
                            email: swelch@rutherford.com
                            contact_first_name: Rickie
                            contact_last_name: Leffler
                            website: 'https://www.leffler.com/et-alias-autem-rerum-mollitia-esse-earum-quam'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '2009-06-15 04:14:20'
                            created_at: '2025-07-24T13:23:29.000000Z'
                            updated_at: '2026-02-07T00:00:09.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: 'Svalbard & Jan Mayen'
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 6
                              id: 10
                              valid_until: null
                              created_at: '2026-01-28T14:51:26.000000Z'
                              updated_at: '2026-01-28T14:51:26.000000Z'
                          -
                            id: 15
                            maxio_customer_id: 225514
                            reference_id: 01-H7TPZSZGF3FQW-O
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac53-5112-4af0-a33d-3a4affc8d950
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies Regular'
                            legal_name: 'Emmerich Ltd'
                            address_1: '560 Thea Loaf'
                            address_2: 'Apt. 104'
                            city: 'Port Lauretta'
                            state: Kentucky
                            location: ME
                            zip: '93326'
                            phone: '+16105393809'
                            email: nannie88@fritsch.com
                            contact_first_name: Mandy
                            contact_last_name: Anderson
                            website: 'http://littel.com/'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1996-10-18 23:24:44'
                            created_at: '2025-07-24T13:23:30.000000Z'
                            updated_at: '2026-02-07T00:00:11.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: Montenegro
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 15
                              id: 11
                              valid_until: null
                              created_at: '2026-01-28T14:51:26.000000Z'
                              updated_at: '2026-01-28T14:51:26.000000Z'
                          -
                            id: 24
                            maxio_customer_id: 226018
                            reference_id: 01-L8JRXULHPYL6N-Y
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac55-866a-4f90-8ca0-7edd448b2217
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies Member'
                            legal_name: Towne-Cartwright
                            address_1: '316 Luella Road'
                            address_2: 'Suite 119'
                            city: 'North Kyleeshire'
                            state: Washington
                            location: DE
                            zip: '32596'
                            phone: '+17477848328'
                            email: mertz.brandon@hilpert.info
                            contact_first_name: Isobel
                            contact_last_name: Howe
                            website: 'http://www.gusikowski.info/'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '2023-06-22 14:24:07'
                            created_at: '2025-07-24T13:23:32.000000Z'
                            updated_at: '2026-02-07T00:00:13.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: Germany
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 24
                              id: 12
                              valid_until: null
                              created_at: '2026-01-28T14:51:26.000000Z'
                              updated_at: '2026-01-28T14:51:26.000000Z'
                          -
                            id: 51
                            maxio_customer_id: 226039
                            reference_id: 01-SVQFEQVU43G8W-Y
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac59-78be-458a-a670-e840bae10551
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies p.mehren'
                            legal_name: 'Lehner PLC'
                            address_1: '222 Enrique Stream'
                            address_2: 'Suite 156'
                            city: 'North Damion'
                            state: 'New Mexico'
                            location: MC
                            zip: 62979-3585
                            phone: '+13057596358'
                            email: nelda76@baumbach.com
                            contact_first_name: Priscilla
                            contact_last_name: Bosco
                            website: 'http://www.larson.info/officiis-quo-rerum-numquam-ipsum-aut-tenetur-dolorem.html'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1976-01-28 19:55:22'
                            created_at: '2025-07-24T13:23:34.000000Z'
                            updated_at: '2026-02-07T00:00:17.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-30 12:21:18'
                            profile_reviewed_by_user_id: 6
                            location_name: Monaco
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 51
                              id: 13
                              valid_until: null
                              created_at: '2026-01-30T12:24:50.000000Z'
                              updated_at: '2026-01-30T12:24:50.000000Z'
                          -
                            id: 114
                            maxio_customer_id: 226087
                            reference_id: 01-J32MU29QPC7PY-M
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac62-1a4a-4885-a886-46c178514b10
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies jully'
                            legal_name: 'Wintheiser Inc'
                            address_1: '8147 Gene Track Suite 777'
                            address_2: 'Apt. 798'
                            city: Rathmouth
                            state: Wyoming
                            location: VG
                            zip: '82304'
                            phone: '+18455198054'
                            email: darien27@towne.com
                            contact_first_name: Briana
                            contact_last_name: Wisoky
                            website: 'http://lakin.com/'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '2000-02-03 08:40:52'
                            created_at: '2025-07-24T13:23:40.000000Z'
                            updated_at: '2026-02-07T00:00:26.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: 'British Virgin Islands'
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 114
                              id: 14
                              valid_until: null
                              created_at: '2026-02-02T11:52:53.000000Z'
                              updated_at: '2026-02-02T11:52:53.000000Z'
                          -
                            id: 33
                            maxio_customer_id: 226025
                            reference_id: 01-TXF8SFVYCQAUD-H
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                            legal_name: 'Marvin Inc'
                            address_1: '7505 Gleichner Points Apt. 547'
                            address_2: 'Apt. 605'
                            city: Joemouth
                            state: 'New Hampshire'
                            location: AL
                            zip: '10490'
                            phone: '+14845414899'
                            email: lance14@hill.biz
                            contact_first_name: Newton
                            contact_last_name: Rogahn
                            website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1992-11-30 18:20:01'
                            created_at: '2025-07-24T13:23:32.000000Z'
                            updated_at: '2026-02-07T00:00:14.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-28 09:04:37'
                            profile_reviewed_by_user_id: 4
                            location_name: Albania
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 33
                              id: 15
                              valid_until: null
                              created_at: '2026-02-02T14:23:51.000000Z'
                              updated_at: '2026-02-02T14:23:51.000000Z'
                      -
                        id: 9
                        reference_id: 30-7V7GKLDBKXQA-I
                        name: 'Level 1'
                        version: '3.1'
                        conformance_level_id: 1
                        start_date: '2025-12-01T00:00:00.000000Z'
                        end_date: '2027-12-31T00:00:00.000000Z'
                        status: PASSED
                        created_at: '2025-12-11T16:58:28.000000Z'
                        updated_at: '2026-03-05T15:48:11.000000Z'
                        expired_at: null
                        conformance_level:
                          id: 1
                          name: 'Level 1'
                        organisations:
                          -
                            id: 87
                            maxio_customer_id: 226066
                            reference_id: 01-8J36F3RPYYK3T-X
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                            legal_name: 'Pfannerstill Inc'
                            address_1: '38558 Russel Street'
                            address_2: 'Suite 630'
                            city: 'North Pattieshire'
                            state: Wyoming
                            location: LK
                            zip: 92199-6406
                            phone: '+13213459957'
                            email: mohamed19@douglas.com
                            contact_first_name: Jamel
                            contact_last_name: Wilderman
                            website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1990-01-10 10:28:39'
                            created_at: '2025-07-24T13:23:38.000000Z'
                            updated_at: '2026-02-07T00:00:22.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-26 13:32:55'
                            profile_reviewed_by_user_id: 10
                            location_name: 'Sri Lanka'
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 87
                              id: 1
                              valid_until: null
                              created_at: '2025-12-11T16:58:28.000000Z'
                              updated_at: '2025-12-11T16:58:28.000000Z'
                          -
                            id: 6
                            maxio_customer_id: 225505
                            reference_id: 01-9YKA6G6PJ9H4P-N
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac51-4a14-419b-8a0f-321f3d2d2f6f
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies System'
                            legal_name: 'Stoltenberg, McDermott and Pacocha'
                            address_1: '3644 Erin Extensions Suite 032'
                            address_2: 'Apt. 811'
                            city: Parkerview
                            state: Alabama
                            location: SJ
                            zip: '47449'
                            phone: '+17706304373'
                            email: swelch@rutherford.com
                            contact_first_name: Rickie
                            contact_last_name: Leffler
                            website: 'https://www.leffler.com/et-alias-autem-rerum-mollitia-esse-earum-quam'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '2009-06-15 04:14:20'
                            created_at: '2025-07-24T13:23:29.000000Z'
                            updated_at: '2026-02-07T00:00:09.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: 'Svalbard & Jan Mayen'
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 6
                              id: 10
                              valid_until: null
                              created_at: '2026-01-28T14:51:26.000000Z'
                              updated_at: '2026-01-28T14:51:26.000000Z'
                          -
                            id: 15
                            maxio_customer_id: 225514
                            reference_id: 01-H7TPZSZGF3FQW-O
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac53-5112-4af0-a33d-3a4affc8d950
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies Regular'
                            legal_name: 'Emmerich Ltd'
                            address_1: '560 Thea Loaf'
                            address_2: 'Apt. 104'
                            city: 'Port Lauretta'
                            state: Kentucky
                            location: ME
                            zip: '93326'
                            phone: '+16105393809'
                            email: nannie88@fritsch.com
                            contact_first_name: Mandy
                            contact_last_name: Anderson
                            website: 'http://littel.com/'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1996-10-18 23:24:44'
                            created_at: '2025-07-24T13:23:30.000000Z'
                            updated_at: '2026-02-07T00:00:11.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: Montenegro
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 15
                              id: 11
                              valid_until: null
                              created_at: '2026-01-28T14:51:26.000000Z'
                              updated_at: '2026-01-28T14:51:26.000000Z'
                          -
                            id: 24
                            maxio_customer_id: 226018
                            reference_id: 01-L8JRXULHPYL6N-Y
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac55-866a-4f90-8ca0-7edd448b2217
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies Member'
                            legal_name: Towne-Cartwright
                            address_1: '316 Luella Road'
                            address_2: 'Suite 119'
                            city: 'North Kyleeshire'
                            state: Washington
                            location: DE
                            zip: '32596'
                            phone: '+17477848328'
                            email: mertz.brandon@hilpert.info
                            contact_first_name: Isobel
                            contact_last_name: Howe
                            website: 'http://www.gusikowski.info/'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '2023-06-22 14:24:07'
                            created_at: '2025-07-24T13:23:32.000000Z'
                            updated_at: '2026-02-07T00:00:13.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: Germany
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 24
                              id: 12
                              valid_until: null
                              created_at: '2026-01-28T14:51:26.000000Z'
                              updated_at: '2026-01-28T14:51:26.000000Z'
                          -
                            id: 51
                            maxio_customer_id: 226039
                            reference_id: 01-SVQFEQVU43G8W-Y
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac59-78be-458a-a670-e840bae10551
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies p.mehren'
                            legal_name: 'Lehner PLC'
                            address_1: '222 Enrique Stream'
                            address_2: 'Suite 156'
                            city: 'North Damion'
                            state: 'New Mexico'
                            location: MC
                            zip: 62979-3585
                            phone: '+13057596358'
                            email: nelda76@baumbach.com
                            contact_first_name: Priscilla
                            contact_last_name: Bosco
                            website: 'http://www.larson.info/officiis-quo-rerum-numquam-ipsum-aut-tenetur-dolorem.html'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1976-01-28 19:55:22'
                            created_at: '2025-07-24T13:23:34.000000Z'
                            updated_at: '2026-02-07T00:00:17.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-30 12:21:18'
                            profile_reviewed_by_user_id: 6
                            location_name: Monaco
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 51
                              id: 13
                              valid_until: null
                              created_at: '2026-01-30T12:24:50.000000Z'
                              updated_at: '2026-01-30T12:24:50.000000Z'
                          -
                            id: 114
                            maxio_customer_id: 226087
                            reference_id: 01-J32MU29QPC7PY-M
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac62-1a4a-4885-a886-46c178514b10
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies jully'
                            legal_name: 'Wintheiser Inc'
                            address_1: '8147 Gene Track Suite 777'
                            address_2: 'Apt. 798'
                            city: Rathmouth
                            state: Wyoming
                            location: VG
                            zip: '82304'
                            phone: '+18455198054'
                            email: darien27@towne.com
                            contact_first_name: Briana
                            contact_last_name: Wisoky
                            website: 'http://lakin.com/'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '2000-02-03 08:40:52'
                            created_at: '2025-07-24T13:23:40.000000Z'
                            updated_at: '2026-02-07T00:00:26.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: 'British Virgin Islands'
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 114
                              id: 14
                              valid_until: null
                              created_at: '2026-02-02T11:52:53.000000Z'
                              updated_at: '2026-02-02T11:52:53.000000Z'
                          -
                            id: 33
                            maxio_customer_id: 226025
                            reference_id: 01-TXF8SFVYCQAUD-H
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                            legal_name: 'Marvin Inc'
                            address_1: '7505 Gleichner Points Apt. 547'
                            address_2: 'Apt. 605'
                            city: Joemouth
                            state: 'New Hampshire'
                            location: AL
                            zip: '10490'
                            phone: '+14845414899'
                            email: lance14@hill.biz
                            contact_first_name: Newton
                            contact_last_name: Rogahn
                            website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1992-11-30 18:20:01'
                            created_at: '2025-07-24T13:23:32.000000Z'
                            updated_at: '2026-02-07T00:00:14.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-28 09:04:37'
                            profile_reviewed_by_user_id: 4
                            location_name: Albania
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 33
                              id: 15
                              valid_until: null
                              created_at: '2026-02-02T14:23:51.000000Z'
                              updated_at: '2026-02-02T14:23:51.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 9
                        reference_id:
                          type: string
                          example: 30-7V7GKLDBKXQA-I
                        name:
                          type: string
                          example: 'Level 1'
                        version:
                          type: string
                          example: '3.1'
                        conformance_level_id:
                          type: integer
                          example: 1
                        start_date:
                          type: string
                          example: '2025-12-01T00:00:00.000000Z'
                        end_date:
                          type: string
                          example: '2027-12-31T00:00:00.000000Z'
                        status:
                          type: string
                          example: PASSED
                        created_at:
                          type: string
                          example: '2025-12-11T16:58:28.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-05T15:48:11.000000Z'
                        expired_at:
                          type: string
                          example: null
                          nullable: true
                        conformance_level:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: 'Level 1'
                        organisations:
                          type: array
                          example:
                            -
                              id: 87
                              maxio_customer_id: 226066
                              reference_id: 01-8J36F3RPYYK3T-X
                              pdc_id: null
                              gateway_aid: null
                              uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                              type_id: 7
                              status: approved
                              name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                              legal_name: 'Pfannerstill Inc'
                              address_1: '38558 Russel Street'
                              address_2: 'Suite 630'
                              city: 'North Pattieshire'
                              state: Wyoming
                              location: LK
                              zip: 92199-6406
                              phone: '+13213459957'
                              email: mohamed19@douglas.com
                              contact_first_name: Jamel
                              contact_last_name: Wilderman
                              website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                              avatar_url: null
                              applicant_comment: null
                              reviewer_comment: null
                              registration_mail_sent_at: '1990-01-10 10:28:39'
                              created_at: '2025-07-24T13:23:38.000000Z'
                              updated_at: '2026-02-07T00:00:22.000000Z'
                              reviewer_comment_category: null
                              profile_reviewed_at: '2026-01-26 13:32:55'
                              profile_reviewed_by_user_id: 10
                              location_name: 'Sri Lanka'
                              pivot:
                                mrsl_standard_id: 9
                                organisation_id: 87
                                id: 1
                                valid_until: null
                                created_at: '2025-12-11T16:58:28.000000Z'
                                updated_at: '2025-12-11T16:58:28.000000Z'
                            -
                              id: 6
                              maxio_customer_id: 225505
                              reference_id: 01-9YKA6G6PJ9H4P-N
                              pdc_id: null
                              gateway_aid: null
                              uuid: 9f77ac51-4a14-419b-8a0f-321f3d2d2f6f
                              type_id: 7
                              status: approved
                              name: 'test-ZDHC MRSL Certification Bodies System'
                              legal_name: 'Stoltenberg, McDermott and Pacocha'
                              address_1: '3644 Erin Extensions Suite 032'
                              address_2: 'Apt. 811'
                              city: Parkerview
                              state: Alabama
                              location: SJ
                              zip: '47449'
                              phone: '+17706304373'
                              email: swelch@rutherford.com
                              contact_first_name: Rickie
                              contact_last_name: Leffler
                              website: 'https://www.leffler.com/et-alias-autem-rerum-mollitia-esse-earum-quam'
                              avatar_url: null
                              applicant_comment: null
                              reviewer_comment: null
                              registration_mail_sent_at: '2009-06-15 04:14:20'
                              created_at: '2025-07-24T13:23:29.000000Z'
                              updated_at: '2026-02-07T00:00:09.000000Z'
                              reviewer_comment_category: null
                              profile_reviewed_at: null
                              profile_reviewed_by_user_id: null
                              location_name: 'Svalbard & Jan Mayen'
                              pivot:
                                mrsl_standard_id: 9
                                organisation_id: 6
                                id: 10
                                valid_until: null
                                created_at: '2026-01-28T14:51:26.000000Z'
                                updated_at: '2026-01-28T14:51:26.000000Z'
                            -
                              id: 15
                              maxio_customer_id: 225514
                              reference_id: 01-H7TPZSZGF3FQW-O
                              pdc_id: null
                              gateway_aid: null
                              uuid: 9f77ac53-5112-4af0-a33d-3a4affc8d950
                              type_id: 7
                              status: approved
                              name: 'test-ZDHC MRSL Certification Bodies Regular'
                              legal_name: 'Emmerich Ltd'
                              address_1: '560 Thea Loaf'
                              address_2: 'Apt. 104'
                              city: 'Port Lauretta'
                              state: Kentucky
                              location: ME
                              zip: '93326'
                              phone: '+16105393809'
                              email: nannie88@fritsch.com
                              contact_first_name: Mandy
                              contact_last_name: Anderson
                              website: 'http://littel.com/'
                              avatar_url: null
                              applicant_comment: null
                              reviewer_comment: null
                              registration_mail_sent_at: '1996-10-18 23:24:44'
                              created_at: '2025-07-24T13:23:30.000000Z'
                              updated_at: '2026-02-07T00:00:11.000000Z'
                              reviewer_comment_category: null
                              profile_reviewed_at: null
                              profile_reviewed_by_user_id: null
                              location_name: Montenegro
                              pivot:
                                mrsl_standard_id: 9
                                organisation_id: 15
                                id: 11
                                valid_until: null
                                created_at: '2026-01-28T14:51:26.000000Z'
                                updated_at: '2026-01-28T14:51:26.000000Z'
                            -
                              id: 24
                              maxio_customer_id: 226018
                              reference_id: 01-L8JRXULHPYL6N-Y
                              pdc_id: null
                              gateway_aid: null
                              uuid: 9f77ac55-866a-4f90-8ca0-7edd448b2217
                              type_id: 7
                              status: approved
                              name: 'test-ZDHC MRSL Certification Bodies Member'
                              legal_name: Towne-Cartwright
                              address_1: '316 Luella Road'
                              address_2: 'Suite 119'
                              city: 'North Kyleeshire'
                              state: Washington
                              location: DE
                              zip: '32596'
                              phone: '+17477848328'
                              email: mertz.brandon@hilpert.info
                              contact_first_name: Isobel
                              contact_last_name: Howe
                              website: 'http://www.gusikowski.info/'
                              avatar_url: null
                              applicant_comment: null
                              reviewer_comment: null
                              registration_mail_sent_at: '2023-06-22 14:24:07'
                              created_at: '2025-07-24T13:23:32.000000Z'
                              updated_at: '2026-02-07T00:00:13.000000Z'
                              reviewer_comment_category: null
                              profile_reviewed_at: null
                              profile_reviewed_by_user_id: null
                              location_name: Germany
                              pivot:
                                mrsl_standard_id: 9
                                organisation_id: 24
                                id: 12
                                valid_until: null
                                created_at: '2026-01-28T14:51:26.000000Z'
                                updated_at: '2026-01-28T14:51:26.000000Z'
                            -
                              id: 51
                              maxio_customer_id: 226039
                              reference_id: 01-SVQFEQVU43G8W-Y
                              pdc_id: null
                              gateway_aid: null
                              uuid: 9f77ac59-78be-458a-a670-e840bae10551
                              type_id: 7
                              status: approved
                              name: 'test-ZDHC MRSL Certification Bodies p.mehren'
                              legal_name: 'Lehner PLC'
                              address_1: '222 Enrique Stream'
                              address_2: 'Suite 156'
                              city: 'North Damion'
                              state: 'New Mexico'
                              location: MC
                              zip: 62979-3585
                              phone: '+13057596358'
                              email: nelda76@baumbach.com
                              contact_first_name: Priscilla
                              contact_last_name: Bosco
                              website: 'http://www.larson.info/officiis-quo-rerum-numquam-ipsum-aut-tenetur-dolorem.html'
                              avatar_url: null
                              applicant_comment: null
                              reviewer_comment: null
                              registration_mail_sent_at: '1976-01-28 19:55:22'
                              created_at: '2025-07-24T13:23:34.000000Z'
                              updated_at: '2026-02-07T00:00:17.000000Z'
                              reviewer_comment_category: null
                              profile_reviewed_at: '2026-01-30 12:21:18'
                              profile_reviewed_by_user_id: 6
                              location_name: Monaco
                              pivot:
                                mrsl_standard_id: 9
                                organisation_id: 51
                                id: 13
                                valid_until: null
                                created_at: '2026-01-30T12:24:50.000000Z'
                                updated_at: '2026-01-30T12:24:50.000000Z'
                            -
                              id: 114
                              maxio_customer_id: 226087
                              reference_id: 01-J32MU29QPC7PY-M
                              pdc_id: null
                              gateway_aid: null
                              uuid: 9f77ac62-1a4a-4885-a886-46c178514b10
                              type_id: 7
                              status: approved
                              name: 'test-ZDHC MRSL Certification Bodies jully'
                              legal_name: 'Wintheiser Inc'
                              address_1: '8147 Gene Track Suite 777'
                              address_2: 'Apt. 798'
                              city: Rathmouth
                              state: Wyoming
                              location: VG
                              zip: '82304'
                              phone: '+18455198054'
                              email: darien27@towne.com
                              contact_first_name: Briana
                              contact_last_name: Wisoky
                              website: 'http://lakin.com/'
                              avatar_url: null
                              applicant_comment: null
                              reviewer_comment: null
                              registration_mail_sent_at: '2000-02-03 08:40:52'
                              created_at: '2025-07-24T13:23:40.000000Z'
                              updated_at: '2026-02-07T00:00:26.000000Z'
                              reviewer_comment_category: null
                              profile_reviewed_at: null
                              profile_reviewed_by_user_id: null
                              location_name: 'British Virgin Islands'
                              pivot:
                                mrsl_standard_id: 9
                                organisation_id: 114
                                id: 14
                                valid_until: null
                                created_at: '2026-02-02T11:52:53.000000Z'
                                updated_at: '2026-02-02T11:52:53.000000Z'
                            -
                              id: 33
                              maxio_customer_id: 226025
                              reference_id: 01-TXF8SFVYCQAUD-H
                              pdc_id: null
                              gateway_aid: null
                              uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                              type_id: 7
                              status: approved
                              name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                              legal_name: 'Marvin Inc'
                              address_1: '7505 Gleichner Points Apt. 547'
                              address_2: 'Apt. 605'
                              city: Joemouth
                              state: 'New Hampshire'
                              location: AL
                              zip: '10490'
                              phone: '+14845414899'
                              email: lance14@hill.biz
                              contact_first_name: Newton
                              contact_last_name: Rogahn
                              website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                              avatar_url: null
                              applicant_comment: null
                              reviewer_comment: null
                              registration_mail_sent_at: '1992-11-30 18:20:01'
                              created_at: '2025-07-24T13:23:32.000000Z'
                              updated_at: '2026-02-07T00:00:14.000000Z'
                              reviewer_comment_category: null
                              profile_reviewed_at: '2026-01-28 09:04:37'
                              profile_reviewed_by_user_id: 4
                              location_name: Albania
                              pivot:
                                mrsl_standard_id: 9
                                organisation_id: 33
                                id: 15
                                valid_until: null
                                created_at: '2026-02-02T14:23:51.000000Z'
                                updated_at: '2026-02-02T14:23:51.000000Z'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 87
                              maxio_customer_id:
                                type: integer
                                example: 226066
                              reference_id:
                                type: string
                                example: 01-8J36F3RPYYK3T-X
                              pdc_id:
                                type: string
                                example: null
                                nullable: true
                              gateway_aid:
                                type: string
                                example: null
                                nullable: true
                              uuid:
                                type: string
                                example: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                              type_id:
                                type: integer
                                example: 7
                              status:
                                type: string
                                example: approved
                              name:
                                type: string
                                example: 'test-ZDHC MRSL Certification Bodies vdhoek'
                              legal_name:
                                type: string
                                example: 'Pfannerstill Inc'
                              address_1:
                                type: string
                                example: '38558 Russel Street'
                              address_2:
                                type: string
                                example: 'Suite 630'
                              city:
                                type: string
                                example: 'North Pattieshire'
                              state:
                                type: string
                                example: Wyoming
                              location:
                                type: string
                                example: LK
                              zip:
                                type: string
                                example: 92199-6406
                              phone:
                                type: string
                                example: '+13213459957'
                              email:
                                type: string
                                example: mohamed19@douglas.com
                              contact_first_name:
                                type: string
                                example: Jamel
                              contact_last_name:
                                type: string
                                example: Wilderman
                              website:
                                type: string
                                example: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                              avatar_url:
                                type: string
                                example: null
                                nullable: true
                              applicant_comment:
                                type: string
                                example: null
                                nullable: true
                              reviewer_comment:
                                type: string
                                example: null
                                nullable: true
                              registration_mail_sent_at:
                                type: string
                                example: '1990-01-10 10:28:39'
                              created_at:
                                type: string
                                example: '2025-07-24T13:23:38.000000Z'
                              updated_at:
                                type: string
                                example: '2026-02-07T00:00:22.000000Z'
                              reviewer_comment_category:
                                type: string
                                example: null
                                nullable: true
                              profile_reviewed_at:
                                type: string
                                example: '2026-01-26 13:32:55'
                              profile_reviewed_by_user_id:
                                type: integer
                                example: 10
                              location_name:
                                type: string
                                example: 'Sri Lanka'
                              pivot:
                                type: object
                                properties:
                                  mrsl_standard_id:
                                    type: integer
                                    example: 9
                                  organisation_id:
                                    type: integer
                                    example: 87
                                  id:
                                    type: integer
                                    example: 1
                                  valid_until:
                                    type: string
                                    example: null
                                    nullable: true
                                  created_at:
                                    type: string
                                    example: '2025-12-11T16:58:28.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2025-12-11T16:58:28.000000Z'
      tags:
        - 'MRSL Standards'
    post:
      summary: Store
      operationId: store
      description: 'Create a new MRSL Standard'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 9
                    reference_id: 30-7V7GKLDBKXQA-I
                    name: 'Level 1'
                    version: '3.1'
                    conformance_level_id: 1
                    start_date: '2025-12-01T00:00:00.000000Z'
                    end_date: '2027-12-31T00:00:00.000000Z'
                    status: PASSED
                    created_at: '2025-12-11T16:58:28.000000Z'
                    updated_at: '2026-03-05T15:48:11.000000Z'
                    expired_at: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 9
                      reference_id:
                        type: string
                        example: 30-7V7GKLDBKXQA-I
                      name:
                        type: string
                        example: 'Level 1'
                      version:
                        type: string
                        example: '3.1'
                      conformance_level_id:
                        type: integer
                        example: 1
                      start_date:
                        type: string
                        example: '2025-12-01T00:00:00.000000Z'
                      end_date:
                        type: string
                        example: '2027-12-31T00:00:00.000000Z'
                      status:
                        type: string
                        example: PASSED
                      created_at:
                        type: string
                        example: '2025-12-11T16:58:28.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-05T15:48:11.000000Z'
                      expired_at:
                        type: string
                        example: null
                        nullable: true
      tags:
        - 'MRSL Standards'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: pzks
                version:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: fwfeijhvtciycobcppzeooqdj
                organisations:
                  type: array
                  description: 'The <code>id</code> of an existing record in the organisations table.'
                  example: null
                  items:
                    type: string
                    nullable: true
                conformance_level_id:
                  type: string
                  description: 'The <code>id</code> of an existing record in the conformance_levels table.'
                  example: modi
                start_date:
                  type: string
                  description: 'Must be a valid date.'
                  example: '2026-03-24T14:59:56'
                end_date:
                  type: string
                  description: 'Must be a valid date.'
                  example: '2026-03-24T14:59:56'
                  nullable: true
                status:
                  type: string
                  description: ''
                  example: PASSED
                  enum:
                    - FAILED
                    - PASSED
              required:
                - name
                - version
                - conformance_level_id
                - start_date
                - status
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/chemical/certification/mrsl-standard/{id}':
    get:
      summary: Show
      operationId: show
      description: 'Show a MRSL Standard'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 9
                    reference_id: 30-7V7GKLDBKXQA-I
                    name: 'Level 1'
                    version: '3.1'
                    conformance_level_id: 1
                    start_date: '2025-12-01T00:00:00.000000Z'
                    end_date: '2027-12-31T00:00:00.000000Z'
                    status: PASSED
                    created_at: '2025-12-11T16:58:28.000000Z'
                    updated_at: '2026-03-05T15:48:11.000000Z'
                    expired_at: null
                    conformance_level:
                      id: 1
                      name: 'Level 1'
                    organisations:
                      -
                        id: 87
                        maxio_customer_id: 226066
                        reference_id: 01-8J36F3RPYYK3T-X
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                        type_id: 7
                        status: approved
                        name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                        legal_name: 'Pfannerstill Inc'
                        address_1: '38558 Russel Street'
                        address_2: 'Suite 630'
                        city: 'North Pattieshire'
                        state: Wyoming
                        location: LK
                        zip: 92199-6406
                        phone: '+13213459957'
                        email: mohamed19@douglas.com
                        contact_first_name: Jamel
                        contact_last_name: Wilderman
                        website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: null
                        registration_mail_sent_at: '1990-01-10 10:28:39'
                        created_at: '2025-07-24T13:23:38.000000Z'
                        updated_at: '2026-02-07T00:00:22.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-01-26 13:32:55'
                        profile_reviewed_by_user_id: 10
                        location_name: 'Sri Lanka'
                        pivot:
                          mrsl_standard_id: 9
                          organisation_id: 87
                          id: 1
                          valid_until: null
                          created_at: '2025-12-11T16:58:28.000000Z'
                          updated_at: '2025-12-11T16:58:28.000000Z'
                      -
                        id: 6
                        maxio_customer_id: 225505
                        reference_id: 01-9YKA6G6PJ9H4P-N
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac51-4a14-419b-8a0f-321f3d2d2f6f
                        type_id: 7
                        status: approved
                        name: 'test-ZDHC MRSL Certification Bodies System'
                        legal_name: 'Stoltenberg, McDermott and Pacocha'
                        address_1: '3644 Erin Extensions Suite 032'
                        address_2: 'Apt. 811'
                        city: Parkerview
                        state: Alabama
                        location: SJ
                        zip: '47449'
                        phone: '+17706304373'
                        email: swelch@rutherford.com
                        contact_first_name: Rickie
                        contact_last_name: Leffler
                        website: 'https://www.leffler.com/et-alias-autem-rerum-mollitia-esse-earum-quam'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: null
                        registration_mail_sent_at: '2009-06-15 04:14:20'
                        created_at: '2025-07-24T13:23:29.000000Z'
                        updated_at: '2026-02-07T00:00:09.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: null
                        profile_reviewed_by_user_id: null
                        location_name: 'Svalbard & Jan Mayen'
                        pivot:
                          mrsl_standard_id: 9
                          organisation_id: 6
                          id: 10
                          valid_until: null
                          created_at: '2026-01-28T14:51:26.000000Z'
                          updated_at: '2026-01-28T14:51:26.000000Z'
                      -
                        id: 15
                        maxio_customer_id: 225514
                        reference_id: 01-H7TPZSZGF3FQW-O
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac53-5112-4af0-a33d-3a4affc8d950
                        type_id: 7
                        status: approved
                        name: 'test-ZDHC MRSL Certification Bodies Regular'
                        legal_name: 'Emmerich Ltd'
                        address_1: '560 Thea Loaf'
                        address_2: 'Apt. 104'
                        city: 'Port Lauretta'
                        state: Kentucky
                        location: ME
                        zip: '93326'
                        phone: '+16105393809'
                        email: nannie88@fritsch.com
                        contact_first_name: Mandy
                        contact_last_name: Anderson
                        website: 'http://littel.com/'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: null
                        registration_mail_sent_at: '1996-10-18 23:24:44'
                        created_at: '2025-07-24T13:23:30.000000Z'
                        updated_at: '2026-02-07T00:00:11.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: null
                        profile_reviewed_by_user_id: null
                        location_name: Montenegro
                        pivot:
                          mrsl_standard_id: 9
                          organisation_id: 15
                          id: 11
                          valid_until: null
                          created_at: '2026-01-28T14:51:26.000000Z'
                          updated_at: '2026-01-28T14:51:26.000000Z'
                      -
                        id: 24
                        maxio_customer_id: 226018
                        reference_id: 01-L8JRXULHPYL6N-Y
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac55-866a-4f90-8ca0-7edd448b2217
                        type_id: 7
                        status: approved
                        name: 'test-ZDHC MRSL Certification Bodies Member'
                        legal_name: Towne-Cartwright
                        address_1: '316 Luella Road'
                        address_2: 'Suite 119'
                        city: 'North Kyleeshire'
                        state: Washington
                        location: DE
                        zip: '32596'
                        phone: '+17477848328'
                        email: mertz.brandon@hilpert.info
                        contact_first_name: Isobel
                        contact_last_name: Howe
                        website: 'http://www.gusikowski.info/'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: null
                        registration_mail_sent_at: '2023-06-22 14:24:07'
                        created_at: '2025-07-24T13:23:32.000000Z'
                        updated_at: '2026-02-07T00:00:13.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: null
                        profile_reviewed_by_user_id: null
                        location_name: Germany
                        pivot:
                          mrsl_standard_id: 9
                          organisation_id: 24
                          id: 12
                          valid_until: null
                          created_at: '2026-01-28T14:51:26.000000Z'
                          updated_at: '2026-01-28T14:51:26.000000Z'
                      -
                        id: 51
                        maxio_customer_id: 226039
                        reference_id: 01-SVQFEQVU43G8W-Y
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac59-78be-458a-a670-e840bae10551
                        type_id: 7
                        status: approved
                        name: 'test-ZDHC MRSL Certification Bodies p.mehren'
                        legal_name: 'Lehner PLC'
                        address_1: '222 Enrique Stream'
                        address_2: 'Suite 156'
                        city: 'North Damion'
                        state: 'New Mexico'
                        location: MC
                        zip: 62979-3585
                        phone: '+13057596358'
                        email: nelda76@baumbach.com
                        contact_first_name: Priscilla
                        contact_last_name: Bosco
                        website: 'http://www.larson.info/officiis-quo-rerum-numquam-ipsum-aut-tenetur-dolorem.html'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: null
                        registration_mail_sent_at: '1976-01-28 19:55:22'
                        created_at: '2025-07-24T13:23:34.000000Z'
                        updated_at: '2026-02-07T00:00:17.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-01-30 12:21:18'
                        profile_reviewed_by_user_id: 6
                        location_name: Monaco
                        pivot:
                          mrsl_standard_id: 9
                          organisation_id: 51
                          id: 13
                          valid_until: null
                          created_at: '2026-01-30T12:24:50.000000Z'
                          updated_at: '2026-01-30T12:24:50.000000Z'
                      -
                        id: 114
                        maxio_customer_id: 226087
                        reference_id: 01-J32MU29QPC7PY-M
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac62-1a4a-4885-a886-46c178514b10
                        type_id: 7
                        status: approved
                        name: 'test-ZDHC MRSL Certification Bodies jully'
                        legal_name: 'Wintheiser Inc'
                        address_1: '8147 Gene Track Suite 777'
                        address_2: 'Apt. 798'
                        city: Rathmouth
                        state: Wyoming
                        location: VG
                        zip: '82304'
                        phone: '+18455198054'
                        email: darien27@towne.com
                        contact_first_name: Briana
                        contact_last_name: Wisoky
                        website: 'http://lakin.com/'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: null
                        registration_mail_sent_at: '2000-02-03 08:40:52'
                        created_at: '2025-07-24T13:23:40.000000Z'
                        updated_at: '2026-02-07T00:00:26.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: null
                        profile_reviewed_by_user_id: null
                        location_name: 'British Virgin Islands'
                        pivot:
                          mrsl_standard_id: 9
                          organisation_id: 114
                          id: 14
                          valid_until: null
                          created_at: '2026-02-02T11:52:53.000000Z'
                          updated_at: '2026-02-02T11:52:53.000000Z'
                      -
                        id: 33
                        maxio_customer_id: 226025
                        reference_id: 01-TXF8SFVYCQAUD-H
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                        type_id: 7
                        status: approved
                        name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                        legal_name: 'Marvin Inc'
                        address_1: '7505 Gleichner Points Apt. 547'
                        address_2: 'Apt. 605'
                        city: Joemouth
                        state: 'New Hampshire'
                        location: AL
                        zip: '10490'
                        phone: '+14845414899'
                        email: lance14@hill.biz
                        contact_first_name: Newton
                        contact_last_name: Rogahn
                        website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: null
                        registration_mail_sent_at: '1992-11-30 18:20:01'
                        created_at: '2025-07-24T13:23:32.000000Z'
                        updated_at: '2026-02-07T00:00:14.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-01-28 09:04:37'
                        profile_reviewed_by_user_id: 4
                        location_name: Albania
                        pivot:
                          mrsl_standard_id: 9
                          organisation_id: 33
                          id: 15
                          valid_until: null
                          created_at: '2026-02-02T14:23:51.000000Z'
                          updated_at: '2026-02-02T14:23:51.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 9
                      reference_id:
                        type: string
                        example: 30-7V7GKLDBKXQA-I
                      name:
                        type: string
                        example: 'Level 1'
                      version:
                        type: string
                        example: '3.1'
                      conformance_level_id:
                        type: integer
                        example: 1
                      start_date:
                        type: string
                        example: '2025-12-01T00:00:00.000000Z'
                      end_date:
                        type: string
                        example: '2027-12-31T00:00:00.000000Z'
                      status:
                        type: string
                        example: PASSED
                      created_at:
                        type: string
                        example: '2025-12-11T16:58:28.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-05T15:48:11.000000Z'
                      expired_at:
                        type: string
                        example: null
                        nullable: true
                      conformance_level:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: 'Level 1'
                      organisations:
                        type: array
                        example:
                          -
                            id: 87
                            maxio_customer_id: 226066
                            reference_id: 01-8J36F3RPYYK3T-X
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies vdhoek'
                            legal_name: 'Pfannerstill Inc'
                            address_1: '38558 Russel Street'
                            address_2: 'Suite 630'
                            city: 'North Pattieshire'
                            state: Wyoming
                            location: LK
                            zip: 92199-6406
                            phone: '+13213459957'
                            email: mohamed19@douglas.com
                            contact_first_name: Jamel
                            contact_last_name: Wilderman
                            website: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1990-01-10 10:28:39'
                            created_at: '2025-07-24T13:23:38.000000Z'
                            updated_at: '2026-02-07T00:00:22.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-26 13:32:55'
                            profile_reviewed_by_user_id: 10
                            location_name: 'Sri Lanka'
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 87
                              id: 1
                              valid_until: null
                              created_at: '2025-12-11T16:58:28.000000Z'
                              updated_at: '2025-12-11T16:58:28.000000Z'
                          -
                            id: 6
                            maxio_customer_id: 225505
                            reference_id: 01-9YKA6G6PJ9H4P-N
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac51-4a14-419b-8a0f-321f3d2d2f6f
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies System'
                            legal_name: 'Stoltenberg, McDermott and Pacocha'
                            address_1: '3644 Erin Extensions Suite 032'
                            address_2: 'Apt. 811'
                            city: Parkerview
                            state: Alabama
                            location: SJ
                            zip: '47449'
                            phone: '+17706304373'
                            email: swelch@rutherford.com
                            contact_first_name: Rickie
                            contact_last_name: Leffler
                            website: 'https://www.leffler.com/et-alias-autem-rerum-mollitia-esse-earum-quam'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '2009-06-15 04:14:20'
                            created_at: '2025-07-24T13:23:29.000000Z'
                            updated_at: '2026-02-07T00:00:09.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: 'Svalbard & Jan Mayen'
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 6
                              id: 10
                              valid_until: null
                              created_at: '2026-01-28T14:51:26.000000Z'
                              updated_at: '2026-01-28T14:51:26.000000Z'
                          -
                            id: 15
                            maxio_customer_id: 225514
                            reference_id: 01-H7TPZSZGF3FQW-O
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac53-5112-4af0-a33d-3a4affc8d950
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies Regular'
                            legal_name: 'Emmerich Ltd'
                            address_1: '560 Thea Loaf'
                            address_2: 'Apt. 104'
                            city: 'Port Lauretta'
                            state: Kentucky
                            location: ME
                            zip: '93326'
                            phone: '+16105393809'
                            email: nannie88@fritsch.com
                            contact_first_name: Mandy
                            contact_last_name: Anderson
                            website: 'http://littel.com/'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1996-10-18 23:24:44'
                            created_at: '2025-07-24T13:23:30.000000Z'
                            updated_at: '2026-02-07T00:00:11.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: Montenegro
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 15
                              id: 11
                              valid_until: null
                              created_at: '2026-01-28T14:51:26.000000Z'
                              updated_at: '2026-01-28T14:51:26.000000Z'
                          -
                            id: 24
                            maxio_customer_id: 226018
                            reference_id: 01-L8JRXULHPYL6N-Y
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac55-866a-4f90-8ca0-7edd448b2217
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies Member'
                            legal_name: Towne-Cartwright
                            address_1: '316 Luella Road'
                            address_2: 'Suite 119'
                            city: 'North Kyleeshire'
                            state: Washington
                            location: DE
                            zip: '32596'
                            phone: '+17477848328'
                            email: mertz.brandon@hilpert.info
                            contact_first_name: Isobel
                            contact_last_name: Howe
                            website: 'http://www.gusikowski.info/'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '2023-06-22 14:24:07'
                            created_at: '2025-07-24T13:23:32.000000Z'
                            updated_at: '2026-02-07T00:00:13.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: Germany
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 24
                              id: 12
                              valid_until: null
                              created_at: '2026-01-28T14:51:26.000000Z'
                              updated_at: '2026-01-28T14:51:26.000000Z'
                          -
                            id: 51
                            maxio_customer_id: 226039
                            reference_id: 01-SVQFEQVU43G8W-Y
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac59-78be-458a-a670-e840bae10551
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies p.mehren'
                            legal_name: 'Lehner PLC'
                            address_1: '222 Enrique Stream'
                            address_2: 'Suite 156'
                            city: 'North Damion'
                            state: 'New Mexico'
                            location: MC
                            zip: 62979-3585
                            phone: '+13057596358'
                            email: nelda76@baumbach.com
                            contact_first_name: Priscilla
                            contact_last_name: Bosco
                            website: 'http://www.larson.info/officiis-quo-rerum-numquam-ipsum-aut-tenetur-dolorem.html'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1976-01-28 19:55:22'
                            created_at: '2025-07-24T13:23:34.000000Z'
                            updated_at: '2026-02-07T00:00:17.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-30 12:21:18'
                            profile_reviewed_by_user_id: 6
                            location_name: Monaco
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 51
                              id: 13
                              valid_until: null
                              created_at: '2026-01-30T12:24:50.000000Z'
                              updated_at: '2026-01-30T12:24:50.000000Z'
                          -
                            id: 114
                            maxio_customer_id: 226087
                            reference_id: 01-J32MU29QPC7PY-M
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac62-1a4a-4885-a886-46c178514b10
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies jully'
                            legal_name: 'Wintheiser Inc'
                            address_1: '8147 Gene Track Suite 777'
                            address_2: 'Apt. 798'
                            city: Rathmouth
                            state: Wyoming
                            location: VG
                            zip: '82304'
                            phone: '+18455198054'
                            email: darien27@towne.com
                            contact_first_name: Briana
                            contact_last_name: Wisoky
                            website: 'http://lakin.com/'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '2000-02-03 08:40:52'
                            created_at: '2025-07-24T13:23:40.000000Z'
                            updated_at: '2026-02-07T00:00:26.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: null
                            profile_reviewed_by_user_id: null
                            location_name: 'British Virgin Islands'
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 114
                              id: 14
                              valid_until: null
                              created_at: '2026-02-02T11:52:53.000000Z'
                              updated_at: '2026-02-02T11:52:53.000000Z'
                          -
                            id: 33
                            maxio_customer_id: 226025
                            reference_id: 01-TXF8SFVYCQAUD-H
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac56-e234-4eb3-ae4d-25ccc2e61971
                            type_id: 7
                            status: approved
                            name: 'test-ZDHC MRSL Certification Bodies m.breuer'
                            legal_name: 'Marvin Inc'
                            address_1: '7505 Gleichner Points Apt. 547'
                            address_2: 'Apt. 605'
                            city: Joemouth
                            state: 'New Hampshire'
                            location: AL
                            zip: '10490'
                            phone: '+14845414899'
                            email: lance14@hill.biz
                            contact_first_name: Newton
                            contact_last_name: Rogahn
                            website: 'http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1992-11-30 18:20:01'
                            created_at: '2025-07-24T13:23:32.000000Z'
                            updated_at: '2026-02-07T00:00:14.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-28 09:04:37'
                            profile_reviewed_by_user_id: 4
                            location_name: Albania
                            pivot:
                              mrsl_standard_id: 9
                              organisation_id: 33
                              id: 15
                              valid_until: null
                              created_at: '2026-02-02T14:23:51.000000Z'
                              updated_at: '2026-02-02T14:23:51.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 87
                            maxio_customer_id:
                              type: integer
                              example: 226066
                            reference_id:
                              type: string
                              example: 01-8J36F3RPYYK3T-X
                            pdc_id:
                              type: string
                              example: null
                              nullable: true
                            gateway_aid:
                              type: string
                              example: null
                              nullable: true
                            uuid:
                              type: string
                              example: 9f77ac5e-883a-40ed-9db4-c98abf3da6a2
                            type_id:
                              type: integer
                              example: 7
                            status:
                              type: string
                              example: approved
                            name:
                              type: string
                              example: 'test-ZDHC MRSL Certification Bodies vdhoek'
                            legal_name:
                              type: string
                              example: 'Pfannerstill Inc'
                            address_1:
                              type: string
                              example: '38558 Russel Street'
                            address_2:
                              type: string
                              example: 'Suite 630'
                            city:
                              type: string
                              example: 'North Pattieshire'
                            state:
                              type: string
                              example: Wyoming
                            location:
                              type: string
                              example: LK
                            zip:
                              type: string
                              example: 92199-6406
                            phone:
                              type: string
                              example: '+13213459957'
                            email:
                              type: string
                              example: mohamed19@douglas.com
                            contact_first_name:
                              type: string
                              example: Jamel
                            contact_last_name:
                              type: string
                              example: Wilderman
                            website:
                              type: string
                              example: 'http://www.morar.com/qui-repudiandae-suscipit-accusantium'
                            avatar_url:
                              type: string
                              example: null
                              nullable: true
                            applicant_comment:
                              type: string
                              example: null
                              nullable: true
                            reviewer_comment:
                              type: string
                              example: null
                              nullable: true
                            registration_mail_sent_at:
                              type: string
                              example: '1990-01-10 10:28:39'
                            created_at:
                              type: string
                              example: '2025-07-24T13:23:38.000000Z'
                            updated_at:
                              type: string
                              example: '2026-02-07T00:00:22.000000Z'
                            reviewer_comment_category:
                              type: string
                              example: null
                              nullable: true
                            profile_reviewed_at:
                              type: string
                              example: '2026-01-26 13:32:55'
                            profile_reviewed_by_user_id:
                              type: integer
                              example: 10
                            location_name:
                              type: string
                              example: 'Sri Lanka'
                            pivot:
                              type: object
                              properties:
                                mrsl_standard_id:
                                  type: integer
                                  example: 9
                                organisation_id:
                                  type: integer
                                  example: 87
                                id:
                                  type: integer
                                  example: 1
                                valid_until:
                                  type: string
                                  example: null
                                  nullable: true
                                created_at:
                                  type: string
                                  example: '2025-12-11T16:58:28.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-12-11T16:58:28.000000Z'
      tags:
        - 'MRSL Standards'
    put:
      summary: Update
      operationId: update
      description: 'Update a MRSL Standard'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 9
                    reference_id: 30-7V7GKLDBKXQA-I
                    name: 'Level 1'
                    version: '3.1'
                    conformance_level_id: 1
                    start_date: '2025-12-01T00:00:00.000000Z'
                    end_date: '2027-12-31T00:00:00.000000Z'
                    status: PASSED
                    created_at: '2025-12-11T16:58:28.000000Z'
                    updated_at: '2026-03-05T15:48:11.000000Z'
                    expired_at: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 9
                      reference_id:
                        type: string
                        example: 30-7V7GKLDBKXQA-I
                      name:
                        type: string
                        example: 'Level 1'
                      version:
                        type: string
                        example: '3.1'
                      conformance_level_id:
                        type: integer
                        example: 1
                      start_date:
                        type: string
                        example: '2025-12-01T00:00:00.000000Z'
                      end_date:
                        type: string
                        example: '2027-12-31T00:00:00.000000Z'
                      status:
                        type: string
                        example: PASSED
                      created_at:
                        type: string
                        example: '2025-12-11T16:58:28.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-05T15:48:11.000000Z'
                      expired_at:
                        type: string
                        example: null
                        nullable: true
      tags:
        - 'MRSL Standards'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: jifcyzjmelxysirulma
                version:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: otsmh
                organisations:
                  type: array
                  description: 'The <code>id</code> of an existing record in the organisations table.'
                  example: null
                  items:
                    type: string
                    nullable: true
                conformance_level_id:
                  type: string
                  description: 'The <code>id</code> of an existing record in the conformance_levels table.'
                  example: voluptatem
                start_date:
                  type: string
                  description: 'Must be a valid date.'
                  example: '2026-03-24T14:59:56'
                end_date:
                  type: string
                  description: 'Must be a valid date.'
                  example: '2026-03-24T14:59:56'
                  nullable: true
                status:
                  type: string
                  description: ''
                  example: FAILED
                  enum:
                    - FAILED
                    - PASSED
              required:
                - name
                - version
                - conformance_level_id
                - start_date
                - status
    delete:
      summary: Destroy
      operationId: destroy
      description: 'Delete a MRSL Standard'
      parameters: []
      responses: {  }
      tags:
        - 'MRSL Standards'
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the mrsl standard.'
        example: 9
        required: true
        schema:
          type: integer
  '/api/organisations/organisation/{organisation_id}/allowed-connections':
    get:
      summary: Index
      operationId: index
      description: "List all organisation connections\n\n<aside class=\"warning\">Requires <code>INTERACT_WITH_ADMIN_ACTIONS</code> permission.</aside>"
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 19
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 19
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      source_type_id: 1
                      target_type_id: 1
                      deactivated: 1
                      created_at: '2025-07-25T09:52:26.000000Z'
                      updated_at: '2026-01-16T11:12:26.000000Z'
                      source:
                        id: 1
                        name: 'ZDHC Internal'
                        display_name: 'ZDHC Internal'
                        description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                        selectable: 0
                        created_at: '2025-11-14T09:21:46.000000Z'
                        updated_at: '2026-03-24T14:59:35.000000Z'
                      target:
                        id: 1
                        name: 'ZDHC Internal'
                        display_name: 'ZDHC Internal'
                        description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                        selectable: 0
                        created_at: '2025-11-14T09:21:46.000000Z'
                        updated_at: '2026-03-24T14:59:35.000000Z'
                    -
                      id: 1
                      source_type_id: 1
                      target_type_id: 1
                      deactivated: 1
                      created_at: '2025-07-25T09:52:26.000000Z'
                      updated_at: '2026-01-16T11:12:26.000000Z'
                      source:
                        id: 1
                        name: 'ZDHC Internal'
                        display_name: 'ZDHC Internal'
                        description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                        selectable: 0
                        created_at: '2025-11-14T09:21:46.000000Z'
                        updated_at: '2026-03-24T14:59:35.000000Z'
                      target:
                        id: 1
                        name: 'ZDHC Internal'
                        display_name: 'ZDHC Internal'
                        description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                        selectable: 0
                        created_at: '2025-11-14T09:21:46.000000Z'
                        updated_at: '2026-03-24T14:59:35.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 100
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        source_type_id: 1
                        target_type_id: 1
                        deactivated: 1
                        created_at: '2025-07-25T09:52:26.000000Z'
                        updated_at: '2026-01-16T11:12:26.000000Z'
                        source:
                          id: 1
                          name: 'ZDHC Internal'
                          display_name: 'ZDHC Internal'
                          description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                          selectable: 0
                          created_at: '2025-11-14T09:21:46.000000Z'
                          updated_at: '2026-03-24T14:59:35.000000Z'
                        target:
                          id: 1
                          name: 'ZDHC Internal'
                          display_name: 'ZDHC Internal'
                          description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                          selectable: 0
                          created_at: '2025-11-14T09:21:46.000000Z'
                          updated_at: '2026-03-24T14:59:35.000000Z'
                      -
                        id: 1
                        source_type_id: 1
                        target_type_id: 1
                        deactivated: 1
                        created_at: '2025-07-25T09:52:26.000000Z'
                        updated_at: '2026-01-16T11:12:26.000000Z'
                        source:
                          id: 1
                          name: 'ZDHC Internal'
                          display_name: 'ZDHC Internal'
                          description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                          selectable: 0
                          created_at: '2025-11-14T09:21:46.000000Z'
                          updated_at: '2026-03-24T14:59:35.000000Z'
                        target:
                          id: 1
                          name: 'ZDHC Internal'
                          display_name: 'ZDHC Internal'
                          description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                          selectable: 0
                          created_at: '2025-11-14T09:21:46.000000Z'
                          updated_at: '2026-03-24T14:59:35.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        source_type_id:
                          type: integer
                          example: 1
                        target_type_id:
                          type: integer
                          example: 1
                        deactivated:
                          type: integer
                          example: 1
                        created_at:
                          type: string
                          example: '2025-07-25T09:52:26.000000Z'
                        updated_at:
                          type: string
                          example: '2026-01-16T11:12:26.000000Z'
                        source:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: 'ZDHC Internal'
                            display_name:
                              type: string
                              example: 'ZDHC Internal'
                            description:
                              type: string
                              example: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                            selectable:
                              type: integer
                              example: 0
                            created_at:
                              type: string
                              example: '2025-11-14T09:21:46.000000Z'
                            updated_at:
                              type: string
                              example: '2026-03-24T14:59:35.000000Z'
                        target:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: 'ZDHC Internal'
                            display_name:
                              type: string
                              example: 'ZDHC Internal'
                            description:
                              type: string
                              example: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                            selectable:
                              type: integer
                              example: 0
                            created_at:
                              type: string
                              example: '2025-11-14T09:21:46.000000Z'
                            updated_at:
                              type: string
                              example: '2026-03-24T14:59:35.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 100
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Organisations
    post:
      summary: Store
      operationId: store
      description: "Store an organisation connection\n\n<aside class=\"warning\">Requires <code>INTERACT_WITH_ADMIN_ACTIONS</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      source_type_id: 1
                      target_type_id: 1
                      deactivated: 1
                      created_at: '2025-07-25T09:52:26.000000Z'
                      updated_at: '2026-01-16T11:12:26.000000Z'
                    -
                      id: 1
                      source_type_id: 1
                      target_type_id: 1
                      deactivated: 1
                      created_at: '2025-07-25T09:52:26.000000Z'
                      updated_at: '2026-01-16T11:12:26.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        source_type_id: 1
                        target_type_id: 1
                        deactivated: 1
                        created_at: '2025-07-25T09:52:26.000000Z'
                        updated_at: '2026-01-16T11:12:26.000000Z'
                      -
                        id: 1
                        source_type_id: 1
                        target_type_id: 1
                        deactivated: 1
                        created_at: '2025-07-25T09:52:26.000000Z'
                        updated_at: '2026-01-16T11:12:26.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        source_type_id:
                          type: integer
                          example: 1
                        target_type_id:
                          type: integer
                          example: 1
                        deactivated:
                          type: integer
                          example: 1
                        created_at:
                          type: string
                          example: '2025-07-25T09:52:26.000000Z'
                        updated_at:
                          type: string
                          example: '2026-01-16T11:12:26.000000Z'
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                source_type_id:
                  type: integer
                  description: 'The <code>id</code> of an existing record in the organisation_types table.'
                  example: 1
                target_type_id:
                  type: integer
                  description: 'The <code>id</code> of an existing record in the organisation_types table.'
                  example: 4
                deactivated:
                  type: boolean
                  description: ''
                  example: false
              required:
                - source_type_id
                - target_type_id
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/organisation/{organisation_id}/allowed-connections/{connection_id}':
    delete:
      summary: Destroy
      operationId: destroy
      description: "Destroy an organisation connection\n\n<aside class=\"warning\">Requires <code>INTERACT_WITH_ADMIN_ACTIONS</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: connection_id
        description: 'The ID of the connection.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/connections/selectable-target-types':
    get:
      summary: 'Selectable target types'
      operationId: selectableTargetTypes
      description: "Get types that are selectable for a connection\n\n<aside class=\"warning\">Requires <code>MANAGE_ORGANISATION_CONNECTIONS</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    - 1
                    - 2
                    - 3
                properties:
                  data:
                    type: array
                    example:
                      - 1
                      - 2
                      - 3
                    items:
                      type: integer
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/connections':
    get:
      summary: Index
      operationId: index
      description: "List all organisation connections\n\n<aside class=\"warning\">Requires <code>VIEW_ORGANISATION_CONNECTIONS</code> permission.</aside>"
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 12
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 12
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: 'filter[status]'
          description: 'Filter column status by any accepted value. custom'
          example: quibusdam
          required: false
          schema:
            type: 'The status of the connection. Can be one of: active, pending, rejected, disconnected'
            description: 'Filter column status by any accepted value. custom'
            example: quibusdam
        -
          in: query
          name: 'filter[initiated_by]'
          description: 'Filter column initiated_by by any accepted value. custom'
          example: repudiandae
          required: false
          schema:
            type: 'The organisation that initiated the connection. Can be one of: us, them'
            description: 'Filter column initiated_by by any accepted value. custom'
            example: repudiandae
        -
          in: query
          name: 'filter[labels]'
          description: 'Filter column labels by any accepted value. custom'
          example: quidem
          required: false
          schema:
            type: 'Comma-separated label IDs. Returns connections that have at least one of these labels.'
            description: 'Filter column labels by any accepted value. custom'
            example: quidem
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      sending_organisation_id: 1
                      receiving_organisation_id: 1
                      accepted_at: '2025-07-24 13:23:42'
                      disconnected_at: null
                      rejected_at: null
                      created_at: '2025-07-24T13:23:42.000000Z'
                      updated_at: '2025-07-24T13:23:42.000000Z'
                      status: active
                      receiving_organisation:
                        id: 1
                        maxio_customer_id: 225589
                        reference_id: 01-CR698383XMWJ2-P
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id: 2
                        status: approved
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        location: BW
                        zip: '26306'
                        phone: '+17728385594'
                        email: yessenia18@bahringer.net
                        contact_first_name: Alfonzo
                        contact_last_name: Crooks
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: 'Update your business registration document'
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id: 73080
                        location_name: Botswana
                        type:
                          id: 2
                          name: Supplier
                          display_name: Supplier
                          description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                          selectable: 1
                          created_at: '2025-11-14T09:21:46.000000Z'
                          updated_at: '2026-03-24T14:59:35.000000Z'
                      sending_organisation:
                        id: 1
                        maxio_customer_id: 225589
                        reference_id: 01-CR698383XMWJ2-P
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id: 2
                        status: approved
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        location: BW
                        zip: '26306'
                        phone: '+17728385594'
                        email: yessenia18@bahringer.net
                        contact_first_name: Alfonzo
                        contact_last_name: Crooks
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: 'Update your business registration document'
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id: 73080
                        location_name: Botswana
                        type:
                          id: 2
                          name: Supplier
                          display_name: Supplier
                          description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                          selectable: 1
                          created_at: '2025-11-14T09:21:46.000000Z'
                          updated_at: '2026-03-24T14:59:35.000000Z'
                    -
                      id: 1
                      sending_organisation_id: 1
                      receiving_organisation_id: 1
                      accepted_at: '2025-07-24 13:23:42'
                      disconnected_at: null
                      rejected_at: null
                      created_at: '2025-07-24T13:23:42.000000Z'
                      updated_at: '2025-07-24T13:23:42.000000Z'
                      status: active
                      receiving_organisation:
                        id: 1
                        maxio_customer_id: 225589
                        reference_id: 01-CR698383XMWJ2-P
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id: 2
                        status: approved
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        location: BW
                        zip: '26306'
                        phone: '+17728385594'
                        email: yessenia18@bahringer.net
                        contact_first_name: Alfonzo
                        contact_last_name: Crooks
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: 'Update your business registration document'
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id: 73080
                        location_name: Botswana
                        type:
                          id: 2
                          name: Supplier
                          display_name: Supplier
                          description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                          selectable: 1
                          created_at: '2025-11-14T09:21:46.000000Z'
                          updated_at: '2026-03-24T14:59:35.000000Z'
                      sending_organisation:
                        id: 1
                        maxio_customer_id: 225589
                        reference_id: 01-CR698383XMWJ2-P
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id: 2
                        status: approved
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        location: BW
                        zip: '26306'
                        phone: '+17728385594'
                        email: yessenia18@bahringer.net
                        contact_first_name: Alfonzo
                        contact_last_name: Crooks
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: 'Update your business registration document'
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id: 73080
                        location_name: Botswana
                        type:
                          id: 2
                          name: Supplier
                          display_name: Supplier
                          description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                          selectable: 1
                          created_at: '2025-11-14T09:21:46.000000Z'
                          updated_at: '2026-03-24T14:59:35.000000Z'
                  links:
                    first: '/?page=1'
                    last: null
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    path: /
                    per_page: '100'
                    to: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        sending_organisation_id: 1
                        receiving_organisation_id: 1
                        accepted_at: '2025-07-24 13:23:42'
                        disconnected_at: null
                        rejected_at: null
                        created_at: '2025-07-24T13:23:42.000000Z'
                        updated_at: '2025-07-24T13:23:42.000000Z'
                        status: active
                        receiving_organisation:
                          id: 1
                          maxio_customer_id: 225589
                          reference_id: 01-CR698383XMWJ2-P
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                          type_id: 2
                          status: approved
                          name: 'test-Supplier System'
                          legal_name: 'Schroeder Ltd'
                          address_1: '149 Koss Dam Suite 796'
                          address_2: 'Suite 708'
                          city: Bergemouth
                          state: Michigan
                          location: BW
                          zip: '26306'
                          phone: '+17728385594'
                          email: yessenia18@bahringer.net
                          contact_first_name: Alfonzo
                          contact_last_name: Crooks
                          website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: 'Update your business registration document'
                          registration_mail_sent_at: '1994-04-10 08:31:47'
                          created_at: '2025-07-24T13:23:28.000000Z'
                          updated_at: '2026-03-24T08:26:00.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-03-24 08:26:00'
                          profile_reviewed_by_user_id: 73080
                          location_name: Botswana
                          type:
                            id: 2
                            name: Supplier
                            display_name: Supplier
                            description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                            selectable: 1
                            created_at: '2025-11-14T09:21:46.000000Z'
                            updated_at: '2026-03-24T14:59:35.000000Z'
                        sending_organisation:
                          id: 1
                          maxio_customer_id: 225589
                          reference_id: 01-CR698383XMWJ2-P
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                          type_id: 2
                          status: approved
                          name: 'test-Supplier System'
                          legal_name: 'Schroeder Ltd'
                          address_1: '149 Koss Dam Suite 796'
                          address_2: 'Suite 708'
                          city: Bergemouth
                          state: Michigan
                          location: BW
                          zip: '26306'
                          phone: '+17728385594'
                          email: yessenia18@bahringer.net
                          contact_first_name: Alfonzo
                          contact_last_name: Crooks
                          website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: 'Update your business registration document'
                          registration_mail_sent_at: '1994-04-10 08:31:47'
                          created_at: '2025-07-24T13:23:28.000000Z'
                          updated_at: '2026-03-24T08:26:00.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-03-24 08:26:00'
                          profile_reviewed_by_user_id: 73080
                          location_name: Botswana
                          type:
                            id: 2
                            name: Supplier
                            display_name: Supplier
                            description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                            selectable: 1
                            created_at: '2025-11-14T09:21:46.000000Z'
                            updated_at: '2026-03-24T14:59:35.000000Z'
                      -
                        id: 1
                        sending_organisation_id: 1
                        receiving_organisation_id: 1
                        accepted_at: '2025-07-24 13:23:42'
                        disconnected_at: null
                        rejected_at: null
                        created_at: '2025-07-24T13:23:42.000000Z'
                        updated_at: '2025-07-24T13:23:42.000000Z'
                        status: active
                        receiving_organisation:
                          id: 1
                          maxio_customer_id: 225589
                          reference_id: 01-CR698383XMWJ2-P
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                          type_id: 2
                          status: approved
                          name: 'test-Supplier System'
                          legal_name: 'Schroeder Ltd'
                          address_1: '149 Koss Dam Suite 796'
                          address_2: 'Suite 708'
                          city: Bergemouth
                          state: Michigan
                          location: BW
                          zip: '26306'
                          phone: '+17728385594'
                          email: yessenia18@bahringer.net
                          contact_first_name: Alfonzo
                          contact_last_name: Crooks
                          website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: 'Update your business registration document'
                          registration_mail_sent_at: '1994-04-10 08:31:47'
                          created_at: '2025-07-24T13:23:28.000000Z'
                          updated_at: '2026-03-24T08:26:00.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-03-24 08:26:00'
                          profile_reviewed_by_user_id: 73080
                          location_name: Botswana
                          type:
                            id: 2
                            name: Supplier
                            display_name: Supplier
                            description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                            selectable: 1
                            created_at: '2025-11-14T09:21:46.000000Z'
                            updated_at: '2026-03-24T14:59:35.000000Z'
                        sending_organisation:
                          id: 1
                          maxio_customer_id: 225589
                          reference_id: 01-CR698383XMWJ2-P
                          pdc_id: null
                          gateway_aid: null
                          uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                          type_id: 2
                          status: approved
                          name: 'test-Supplier System'
                          legal_name: 'Schroeder Ltd'
                          address_1: '149 Koss Dam Suite 796'
                          address_2: 'Suite 708'
                          city: Bergemouth
                          state: Michigan
                          location: BW
                          zip: '26306'
                          phone: '+17728385594'
                          email: yessenia18@bahringer.net
                          contact_first_name: Alfonzo
                          contact_last_name: Crooks
                          website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                          avatar_url: null
                          applicant_comment: null
                          reviewer_comment: 'Update your business registration document'
                          registration_mail_sent_at: '1994-04-10 08:31:47'
                          created_at: '2025-07-24T13:23:28.000000Z'
                          updated_at: '2026-03-24T08:26:00.000000Z'
                          reviewer_comment_category: null
                          profile_reviewed_at: '2026-03-24 08:26:00'
                          profile_reviewed_by_user_id: 73080
                          location_name: Botswana
                          type:
                            id: 2
                            name: Supplier
                            display_name: Supplier
                            description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                            selectable: 1
                            created_at: '2025-11-14T09:21:46.000000Z'
                            updated_at: '2026-03-24T14:59:35.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        sending_organisation_id:
                          type: integer
                          example: 1
                        receiving_organisation_id:
                          type: integer
                          example: 1
                        accepted_at:
                          type: string
                          example: '2025-07-24 13:23:42'
                        disconnected_at:
                          type: string
                          example: null
                          nullable: true
                        rejected_at:
                          type: string
                          example: null
                          nullable: true
                        created_at:
                          type: string
                          example: '2025-07-24T13:23:42.000000Z'
                        updated_at:
                          type: string
                          example: '2025-07-24T13:23:42.000000Z'
                        status:
                          type: string
                          example: active
                        receiving_organisation:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            maxio_customer_id:
                              type: integer
                              example: 225589
                            reference_id:
                              type: string
                              example: 01-CR698383XMWJ2-P
                            pdc_id:
                              type: string
                              example: null
                              nullable: true
                            gateway_aid:
                              type: string
                              example: null
                              nullable: true
                            uuid:
                              type: string
                              example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                            type_id:
                              type: integer
                              example: 2
                            status:
                              type: string
                              example: approved
                            name:
                              type: string
                              example: 'test-Supplier System'
                            legal_name:
                              type: string
                              example: 'Schroeder Ltd'
                            address_1:
                              type: string
                              example: '149 Koss Dam Suite 796'
                            address_2:
                              type: string
                              example: 'Suite 708'
                            city:
                              type: string
                              example: Bergemouth
                            state:
                              type: string
                              example: Michigan
                            location:
                              type: string
                              example: BW
                            zip:
                              type: string
                              example: '26306'
                            phone:
                              type: string
                              example: '+17728385594'
                            email:
                              type: string
                              example: yessenia18@bahringer.net
                            contact_first_name:
                              type: string
                              example: Alfonzo
                            contact_last_name:
                              type: string
                              example: Crooks
                            website:
                              type: string
                              example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                            avatar_url:
                              type: string
                              example: null
                              nullable: true
                            applicant_comment:
                              type: string
                              example: null
                              nullable: true
                            reviewer_comment:
                              type: string
                              example: 'Update your business registration document'
                            registration_mail_sent_at:
                              type: string
                              example: '1994-04-10 08:31:47'
                            created_at:
                              type: string
                              example: '2025-07-24T13:23:28.000000Z'
                            updated_at:
                              type: string
                              example: '2026-03-24T08:26:00.000000Z'
                            reviewer_comment_category:
                              type: string
                              example: null
                              nullable: true
                            profile_reviewed_at:
                              type: string
                              example: '2026-03-24 08:26:00'
                            profile_reviewed_by_user_id:
                              type: integer
                              example: 73080
                            location_name:
                              type: string
                              example: Botswana
                            type:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 2
                                name:
                                  type: string
                                  example: Supplier
                                display_name:
                                  type: string
                                  example: Supplier
                                description:
                                  type: string
                                  example: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                                selectable:
                                  type: integer
                                  example: 1
                                created_at:
                                  type: string
                                  example: '2025-11-14T09:21:46.000000Z'
                                updated_at:
                                  type: string
                                  example: '2026-03-24T14:59:35.000000Z'
                        sending_organisation:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            maxio_customer_id:
                              type: integer
                              example: 225589
                            reference_id:
                              type: string
                              example: 01-CR698383XMWJ2-P
                            pdc_id:
                              type: string
                              example: null
                              nullable: true
                            gateway_aid:
                              type: string
                              example: null
                              nullable: true
                            uuid:
                              type: string
                              example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                            type_id:
                              type: integer
                              example: 2
                            status:
                              type: string
                              example: approved
                            name:
                              type: string
                              example: 'test-Supplier System'
                            legal_name:
                              type: string
                              example: 'Schroeder Ltd'
                            address_1:
                              type: string
                              example: '149 Koss Dam Suite 796'
                            address_2:
                              type: string
                              example: 'Suite 708'
                            city:
                              type: string
                              example: Bergemouth
                            state:
                              type: string
                              example: Michigan
                            location:
                              type: string
                              example: BW
                            zip:
                              type: string
                              example: '26306'
                            phone:
                              type: string
                              example: '+17728385594'
                            email:
                              type: string
                              example: yessenia18@bahringer.net
                            contact_first_name:
                              type: string
                              example: Alfonzo
                            contact_last_name:
                              type: string
                              example: Crooks
                            website:
                              type: string
                              example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                            avatar_url:
                              type: string
                              example: null
                              nullable: true
                            applicant_comment:
                              type: string
                              example: null
                              nullable: true
                            reviewer_comment:
                              type: string
                              example: 'Update your business registration document'
                            registration_mail_sent_at:
                              type: string
                              example: '1994-04-10 08:31:47'
                            created_at:
                              type: string
                              example: '2025-07-24T13:23:28.000000Z'
                            updated_at:
                              type: string
                              example: '2026-03-24T08:26:00.000000Z'
                            reviewer_comment_category:
                              type: string
                              example: null
                              nullable: true
                            profile_reviewed_at:
                              type: string
                              example: '2026-03-24 08:26:00'
                            profile_reviewed_by_user_id:
                              type: integer
                              example: 73080
                            location_name:
                              type: string
                              example: Botswana
                            type:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 2
                                name:
                                  type: string
                                  example: Supplier
                                display_name:
                                  type: string
                                  example: Supplier
                                description:
                                  type: string
                                  example: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                                selectable:
                                  type: integer
                                  example: 1
                                created_at:
                                  type: string
                                  example: '2025-11-14T09:21:46.000000Z'
                                updated_at:
                                  type: string
                                  example: '2026-03-24T14:59:35.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: null
                        nullable: true
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      path:
                        type: string
                        example: /
                      per_page:
                        type: string
                        example: '100'
                      to:
                        type: integer
                        example: 2
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/connections/search-connectable-organisations':
    get:
      summary: 'Search connectable organisations'
      operationId: searchConnectableOrganisations
      description: "Search for connectable organisations\n\n<aside class=\"warning\">Requires <code>MANAGE_ORGANISATION_CONNECTIONS</code> permission.</aside>"
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 10
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 10
        -
          in: query
          name: search
          description: 'Search in all of these columns: name, legal_name, id'
          example: esse
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name, legal_name, id'
            example: esse
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      maxio_customer_id: 225589
                      reference_id: 01-CR698383XMWJ2-P
                      pdc_id: null
                      gateway_aid: null
                      uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      type_id: 2
                      status: approved
                      name: 'test-Supplier System'
                      legal_name: 'Schroeder Ltd'
                      address_1: '149 Koss Dam Suite 796'
                      address_2: 'Suite 708'
                      city: Bergemouth
                      state: Michigan
                      location: BW
                      zip: '26306'
                      phone: '+17728385594'
                      email: yessenia18@bahringer.net
                      contact_first_name: Alfonzo
                      contact_last_name: Crooks
                      website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url: null
                      applicant_comment: null
                      reviewer_comment: 'Update your business registration document'
                      registration_mail_sent_at: '1994-04-10 08:31:47'
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2026-03-24T08:26:00.000000Z'
                      reviewer_comment_category: null
                      profile_reviewed_at: '2026-03-24 08:26:00'
                      profile_reviewed_by_user_id: 73080
                      location_name: Botswana
                    -
                      id: 1
                      maxio_customer_id: 225589
                      reference_id: 01-CR698383XMWJ2-P
                      pdc_id: null
                      gateway_aid: null
                      uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      type_id: 2
                      status: approved
                      name: 'test-Supplier System'
                      legal_name: 'Schroeder Ltd'
                      address_1: '149 Koss Dam Suite 796'
                      address_2: 'Suite 708'
                      city: Bergemouth
                      state: Michigan
                      location: BW
                      zip: '26306'
                      phone: '+17728385594'
                      email: yessenia18@bahringer.net
                      contact_first_name: Alfonzo
                      contact_last_name: Crooks
                      website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url: null
                      applicant_comment: null
                      reviewer_comment: 'Update your business registration document'
                      registration_mail_sent_at: '1994-04-10 08:31:47'
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2026-03-24T08:26:00.000000Z'
                      reviewer_comment_category: null
                      profile_reviewed_at: '2026-03-24 08:26:00'
                      profile_reviewed_by_user_id: 73080
                      location_name: Botswana
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 100
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        maxio_customer_id: 225589
                        reference_id: 01-CR698383XMWJ2-P
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id: 2
                        status: approved
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        location: BW
                        zip: '26306'
                        phone: '+17728385594'
                        email: yessenia18@bahringer.net
                        contact_first_name: Alfonzo
                        contact_last_name: Crooks
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: 'Update your business registration document'
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id: 73080
                        location_name: Botswana
                      -
                        id: 1
                        maxio_customer_id: 225589
                        reference_id: 01-CR698383XMWJ2-P
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id: 2
                        status: approved
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        location: BW
                        zip: '26306'
                        phone: '+17728385594'
                        email: yessenia18@bahringer.net
                        contact_first_name: Alfonzo
                        contact_last_name: Crooks
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: 'Update your business registration document'
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id: 73080
                        location_name: Botswana
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        maxio_customer_id:
                          type: integer
                          example: 225589
                        reference_id:
                          type: string
                          example: 01-CR698383XMWJ2-P
                        pdc_id:
                          type: string
                          example: null
                          nullable: true
                        gateway_aid:
                          type: string
                          example: null
                          nullable: true
                        uuid:
                          type: string
                          example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id:
                          type: integer
                          example: 2
                        status:
                          type: string
                          example: approved
                        name:
                          type: string
                          example: 'test-Supplier System'
                        legal_name:
                          type: string
                          example: 'Schroeder Ltd'
                        address_1:
                          type: string
                          example: '149 Koss Dam Suite 796'
                        address_2:
                          type: string
                          example: 'Suite 708'
                        city:
                          type: string
                          example: Bergemouth
                        state:
                          type: string
                          example: Michigan
                        location:
                          type: string
                          example: BW
                        zip:
                          type: string
                          example: '26306'
                        phone:
                          type: string
                          example: '+17728385594'
                        email:
                          type: string
                          example: yessenia18@bahringer.net
                        contact_first_name:
                          type: string
                          example: Alfonzo
                        contact_last_name:
                          type: string
                          example: Crooks
                        website:
                          type: string
                          example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url:
                          type: string
                          example: null
                          nullable: true
                        applicant_comment:
                          type: string
                          example: null
                          nullable: true
                        reviewer_comment:
                          type: string
                          example: 'Update your business registration document'
                        registration_mail_sent_at:
                          type: string
                          example: '1994-04-10 08:31:47'
                        created_at:
                          type: string
                          example: '2025-07-24T13:23:28.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category:
                          type: string
                          example: null
                          nullable: true
                        profile_reviewed_at:
                          type: string
                          example: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id:
                          type: integer
                          example: 73080
                        location_name:
                          type: string
                          example: Botswana
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 100
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type_id:
                  type: integer
                  description: 'The <code>id</code> of an existing record in the organisation_types table.'
                  example: 4
                search:
                  type: string
                  description: ''
                  example: facere
                exclude_connected:
                  type: string
                  description: ''
                  example: 'true'
                  enum:
                    - 'true'
                    - 'false'
                    - '1'
                    - '0'
                exclude_pending:
                  type: string
                  description: ''
                  example: '1'
                  enum:
                    - 'true'
                    - 'false'
                    - '1'
                    - '0'
                include_all:
                  type: string
                  description: ''
                  example: '1'
                  enum:
                    - 'true'
                    - 'false'
                    - '1'
                    - '0'
              required:
                - type_id
                - search
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/connections/{id}':
    get:
      summary: Show
      operationId: show
      description: "Show an organisation connection\n\n<aside class=\"warning\">Requires <code>VIEW_ORGANISATION_CONNECTIONS</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    sending_organisation_id: 1
                    receiving_organisation_id: 1
                    accepted_at: '2025-07-24 13:23:42'
                    disconnected_at: null
                    rejected_at: null
                    created_at: '2025-07-24T13:23:42.000000Z'
                    updated_at: '2025-07-24T13:23:42.000000Z'
                    status: active
                    sending_organisation:
                      id: 1
                      reference_id: 01-CR698383XMWJ2-P
                      type_id: 2
                      name: 'test-Supplier System'
                      address_1: '149 Koss Dam Suite 796'
                      address_2: 'Suite 708'
                      city: Bergemouth
                      state: Michigan
                      location: BW
                      zip: '26306'
                      phone: '+17728385594'
                      email: yessenia18@bahringer.net
                      website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url: null
                      location_name: Botswana
                    receiving_organisation:
                      id: 1
                      reference_id: 01-CR698383XMWJ2-P
                      type_id: 2
                      name: 'test-Supplier System'
                      address_1: '149 Koss Dam Suite 796'
                      address_2: 'Suite 708'
                      city: Bergemouth
                      state: Michigan
                      location: BW
                      zip: '26306'
                      phone: '+17728385594'
                      email: yessenia18@bahringer.net
                      website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url: null
                      location_name: Botswana
                    labels: []
                    sharing_settings: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      sending_organisation_id:
                        type: integer
                        example: 1
                      receiving_organisation_id:
                        type: integer
                        example: 1
                      accepted_at:
                        type: string
                        example: '2025-07-24 13:23:42'
                      disconnected_at:
                        type: string
                        example: null
                        nullable: true
                      rejected_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2025-07-24T13:23:42.000000Z'
                      updated_at:
                        type: string
                        example: '2025-07-24T13:23:42.000000Z'
                      status:
                        type: string
                        example: active
                      sending_organisation:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          reference_id:
                            type: string
                            example: 01-CR698383XMWJ2-P
                          type_id:
                            type: integer
                            example: 2
                          name:
                            type: string
                            example: 'test-Supplier System'
                          address_1:
                            type: string
                            example: '149 Koss Dam Suite 796'
                          address_2:
                            type: string
                            example: 'Suite 708'
                          city:
                            type: string
                            example: Bergemouth
                          state:
                            type: string
                            example: Michigan
                          location:
                            type: string
                            example: BW
                          zip:
                            type: string
                            example: '26306'
                          phone:
                            type: string
                            example: '+17728385594'
                          email:
                            type: string
                            example: yessenia18@bahringer.net
                          website:
                            type: string
                            example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                          avatar_url:
                            type: string
                            example: null
                            nullable: true
                          location_name:
                            type: string
                            example: Botswana
                      receiving_organisation:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          reference_id:
                            type: string
                            example: 01-CR698383XMWJ2-P
                          type_id:
                            type: integer
                            example: 2
                          name:
                            type: string
                            example: 'test-Supplier System'
                          address_1:
                            type: string
                            example: '149 Koss Dam Suite 796'
                          address_2:
                            type: string
                            example: 'Suite 708'
                          city:
                            type: string
                            example: Bergemouth
                          state:
                            type: string
                            example: Michigan
                          location:
                            type: string
                            example: BW
                          zip:
                            type: string
                            example: '26306'
                          phone:
                            type: string
                            example: '+17728385594'
                          email:
                            type: string
                            example: yessenia18@bahringer.net
                          website:
                            type: string
                            example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                          avatar_url:
                            type: string
                            example: null
                            nullable: true
                          location_name:
                            type: string
                            example: Botswana
                      labels:
                        type: array
                        example: []
                      sharing_settings:
                        type: array
                        example: []
      tags:
        - Organisations
    put:
      summary: Update
      operationId: update
      description: 'Update an organisation connection'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    sending_organisation_id: 1
                    receiving_organisation_id: 1
                    accepted_at: '2025-07-24 13:23:42'
                    disconnected_at: null
                    rejected_at: null
                    created_at: '2025-07-24T13:23:42.000000Z'
                    updated_at: '2025-07-24T13:23:42.000000Z'
                    status: active
                    sharing_settings: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      sending_organisation_id:
                        type: integer
                        example: 1
                      receiving_organisation_id:
                        type: integer
                        example: 1
                      accepted_at:
                        type: string
                        example: '2025-07-24 13:23:42'
                      disconnected_at:
                        type: string
                        example: null
                        nullable: true
                      rejected_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2025-07-24T13:23:42.000000Z'
                      updated_at:
                        type: string
                        example: '2025-07-24T13:23:42.000000Z'
                      status:
                        type: string
                        example: active
                      sharing_settings:
                        type: array
                        example: []
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                labels:
                  type: array
                  description: 'Must not be greater than 255 characters.'
                  example:
                    - eitzhaxzckaxoudbqgkogsjxq
                  items:
                    type: string
                    nullable: true
                sharing_settings:
                  type: array
                  description: ''
                  example:
                    - []
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                        description: "List of sharing types to enable for this connection. Allowed values depend on the organisation type:\n\n- **Supplier**:\n  - `share_chemical_inventory`\n  - `share_wastewater_reporting`\n  - `share_laboratory_data`\n\n- **Brand**:\n  - `share_connection_on_detox`."
                        example: ullam
                      active:
                        type: boolean
                        description: 'Whether this sharing type is enabled (true) or disabled (false) for the connection.'
                        example: true
                    required:
                      - type
                      - active
              required:
                - sharing_settings
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the connection.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/connections/invite':
    post:
      summary: Invite
      operationId: invite
      description: "Invite an organisation to connect\n\n<aside class=\"warning\">Requires <code>MANAGE_ORGANISATION_CONNECTIONS</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Organisation connection initiated'
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organisation_id:
                  type: integer
                  description: 'The <code>id</code> of an existing record in the organisations table.'
                  example: 20
              required:
                - organisation_id
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/connections/{connection_id}/accept':
    post:
      summary: Accept
      operationId: accept
      description: "Accept an organisation connection\n\n<aside class=\"warning\">Requires <code>MANAGE_ORGANISATION_CONNECTIONS</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Organisation connection accepted'
                properties:
                  message:
                    type: string
                    example: 'Organisation connection accepted'
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: connection_id
        description: 'The ID of the connection.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/connections/{connection_id}/reject':
    post:
      summary: Reject
      operationId: reject
      description: "Reject an organisation connection\n\n<aside class=\"warning\">Requires <code>MANAGE_ORGANISATION_CONNECTIONS</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Organisation connection rejected'
                properties:
                  message:
                    type: string
                    example: 'Organisation connection rejected'
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: connection_id
        description: 'The ID of the connection.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/connections/{connection_id}/disconnect':
    post:
      summary: Disconnect
      operationId: disconnect
      description: 'Disconnect an organisation connection'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Organisation disconnected'
                properties:
                  message:
                    type: string
                    example: 'Organisation disconnected'
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: connection_id
        description: 'The ID of the connection.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/connections/{connection_id}/cancel':
    post:
      summary: Cancel
      operationId: cancel
      description: "Cancel a pending organisation connection request\n\n<aside class=\"warning\">Requires <code>MANAGE_ORGANISATION_CONNECTIONS</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Connection request cancelled'
                properties:
                  message:
                    type: string
                    example: 'Connection request cancelled'
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: connection_id
        description: 'The ID of the connection.'
        example: 1
        required: true
        schema:
          type: integer
  /api/organisations:
    get:
      summary: Index
      operationId: index
      description: "List all organisations.\n<aside class=\"warning\">Requires <code>VIEW_ORGANISATIONS</code> permission.</aside>"
      parameters:
        -
          in: query
          name: 'filter[status]'
          description: 'Filter column status by any accepted value. Matches exact value.'
          example: voluptatem
          required: false
          schema:
            type: string
            description: 'Filter column status by any accepted value. Matches exact value.'
            example: voluptatem
        -
          in: query
          name: 'filter[type_id]'
          description: 'Filter column type_id by any accepted value. Matches exact value.'
          example: rerum
          required: false
          schema:
            type: string
            description: 'Filter column type_id by any accepted value. Matches exact value.'
            example: rerum
        -
          in: query
          name: sort
          description: 'sort by any accepted column: name,type_name,status,created_at,contact_first_name,contact_last_name. prefix a "-" before the column name to sort in descending order'
          example: 'name,type_name,status,created_at,contact_first_name,contact_last_name'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: name,type_name,status,created_at,contact_first_name,contact_last_name. prefix a "-" before the column name to sort in descending order'
            example: 'name,type_name,status,created_at,contact_first_name,contact_last_name'
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 20
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 20
        -
          in: query
          name: search
          description: 'Search in all of these columns: name, status, contact_first_name, contact_last_name'
          example: eum
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name, status, contact_first_name, contact_last_name'
            example: eum
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      maxio_customer_id: 225589
                      reference_id: 01-CR698383XMWJ2-P
                      pdc_id: null
                      gateway_aid: null
                      uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      type_id: 3
                      status: approved
                      name: 'test-Supplier System'
                      legal_name: 'Schroeder Ltd'
                      address_1: '149 Koss Dam Suite 796'
                      address_2: 'Suite 708'
                      city: Bergemouth
                      state: Michigan
                      location: BW
                      zip: '26306'
                      phone: '+17728385594'
                      email: yessenia18@bahringer.net
                      contact_first_name: Alfonzo
                      contact_last_name: Crooks
                      website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url: null
                      applicant_comment: null
                      reviewer_comment: 'Update your business registration document'
                      registration_mail_sent_at: '1994-04-10 08:31:47'
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2026-03-24T08:26:00.000000Z'
                      reviewer_comment_category: null
                      profile_reviewed_at: '2026-03-24 08:26:00'
                      profile_reviewed_by_user_id: 73080
                      location_name: Botswana
                      type_name: 'ZDHC Approved Laboratory'
                    -
                      id: 1
                      maxio_customer_id: 225589
                      reference_id: 01-CR698383XMWJ2-P
                      pdc_id: null
                      gateway_aid: null
                      uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      type_id: 4
                      status: approved
                      name: 'test-Supplier System'
                      legal_name: 'Schroeder Ltd'
                      address_1: '149 Koss Dam Suite 796'
                      address_2: 'Suite 708'
                      city: Bergemouth
                      state: Michigan
                      location: BW
                      zip: '26306'
                      phone: '+17728385594'
                      email: yessenia18@bahringer.net
                      contact_first_name: Alfonzo
                      contact_last_name: Crooks
                      website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url: null
                      applicant_comment: null
                      reviewer_comment: 'Update your business registration document'
                      registration_mail_sent_at: '1994-04-10 08:31:47'
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2026-03-24T08:26:00.000000Z'
                      reviewer_comment_category: null
                      profile_reviewed_at: '2026-03-24 08:26:00'
                      profile_reviewed_by_user_id: 73080
                      location_name: Botswana
                      type_name: 'ZDHC Internal'
                  links:
                    first: '/?page=1'
                    last: null
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    path: /
                    per_page: '50'
                    to: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        maxio_customer_id: 225589
                        reference_id: 01-CR698383XMWJ2-P
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id: 3
                        status: approved
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        location: BW
                        zip: '26306'
                        phone: '+17728385594'
                        email: yessenia18@bahringer.net
                        contact_first_name: Alfonzo
                        contact_last_name: Crooks
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: 'Update your business registration document'
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id: 73080
                        location_name: Botswana
                        type_name: 'ZDHC Approved Laboratory'
                      -
                        id: 1
                        maxio_customer_id: 225589
                        reference_id: 01-CR698383XMWJ2-P
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id: 4
                        status: approved
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        location: BW
                        zip: '26306'
                        phone: '+17728385594'
                        email: yessenia18@bahringer.net
                        contact_first_name: Alfonzo
                        contact_last_name: Crooks
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: 'Update your business registration document'
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id: 73080
                        location_name: Botswana
                        type_name: 'ZDHC Internal'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        maxio_customer_id:
                          type: integer
                          example: 225589
                        reference_id:
                          type: string
                          example: 01-CR698383XMWJ2-P
                        pdc_id:
                          type: string
                          example: null
                          nullable: true
                        gateway_aid:
                          type: string
                          example: null
                          nullable: true
                        uuid:
                          type: string
                          example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id:
                          type: integer
                          example: 3
                        status:
                          type: string
                          example: approved
                        name:
                          type: string
                          example: 'test-Supplier System'
                        legal_name:
                          type: string
                          example: 'Schroeder Ltd'
                        address_1:
                          type: string
                          example: '149 Koss Dam Suite 796'
                        address_2:
                          type: string
                          example: 'Suite 708'
                        city:
                          type: string
                          example: Bergemouth
                        state:
                          type: string
                          example: Michigan
                        location:
                          type: string
                          example: BW
                        zip:
                          type: string
                          example: '26306'
                        phone:
                          type: string
                          example: '+17728385594'
                        email:
                          type: string
                          example: yessenia18@bahringer.net
                        contact_first_name:
                          type: string
                          example: Alfonzo
                        contact_last_name:
                          type: string
                          example: Crooks
                        website:
                          type: string
                          example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url:
                          type: string
                          example: null
                          nullable: true
                        applicant_comment:
                          type: string
                          example: null
                          nullable: true
                        reviewer_comment:
                          type: string
                          example: 'Update your business registration document'
                        registration_mail_sent_at:
                          type: string
                          example: '1994-04-10 08:31:47'
                        created_at:
                          type: string
                          example: '2025-07-24T13:23:28.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category:
                          type: string
                          example: null
                          nullable: true
                        profile_reviewed_at:
                          type: string
                          example: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id:
                          type: integer
                          example: 73080
                        location_name:
                          type: string
                          example: Botswana
                        type_name:
                          type: string
                          example: 'ZDHC Approved Laboratory'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: null
                        nullable: true
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      path:
                        type: string
                        example: /
                      per_page:
                        type: string
                        example: '50'
                      to:
                        type: integer
                        example: 2
      tags:
        - Organisations
  '/api/organisations/{subject_id}':
    get:
      summary: Show
      operationId: show
      description: "Show an organisation's data.\n<aside class=\"warning\"><code>VIEW_ORGANISATIONS</code> permission required!</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    maxio_customer_id: 225589
                    reference_id: 01-CR698383XMWJ2-P
                    pdc_id: null
                    gateway_aid: null
                    uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                    type_id: 2
                    status: approved
                    name: 'test-Supplier System'
                    legal_name: 'Schroeder Ltd'
                    address_1: '149 Koss Dam Suite 796'
                    address_2: 'Suite 708'
                    city: Bergemouth
                    state: Michigan
                    location: BW
                    zip: '26306'
                    phone: '+17728385594'
                    email: yessenia18@bahringer.net
                    contact_first_name: Alfonzo
                    contact_last_name: Crooks
                    website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                    avatar_url: null
                    applicant_comment: null
                    reviewer_comment: 'Update your business registration document'
                    registration_mail_sent_at: '1994-04-10 08:31:47'
                    created_at: '2025-07-24T13:23:28.000000Z'
                    updated_at: '2026-03-24T08:26:00.000000Z'
                    reviewer_comment_category: null
                    profile_reviewed_at: '2026-03-24 08:26:00'
                    profile_reviewed_by_user_id: 73080
                    location_name: Botswana
                    type:
                      id: 2
                      name: Supplier
                      display_name: Supplier
                      description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                      selectable: 1
                      created_at: '2025-11-14T09:21:46.000000Z'
                      updated_at: '2026-03-24T14:59:35.000000Z'
                    industry_identifiers: []
                    conformance_level_products: []
                    field_comments: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      maxio_customer_id:
                        type: integer
                        example: 225589
                      reference_id:
                        type: string
                        example: 01-CR698383XMWJ2-P
                      pdc_id:
                        type: string
                        example: null
                        nullable: true
                      gateway_aid:
                        type: string
                        example: null
                        nullable: true
                      uuid:
                        type: string
                        example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      type_id:
                        type: integer
                        example: 2
                      status:
                        type: string
                        example: approved
                      name:
                        type: string
                        example: 'test-Supplier System'
                      legal_name:
                        type: string
                        example: 'Schroeder Ltd'
                      address_1:
                        type: string
                        example: '149 Koss Dam Suite 796'
                      address_2:
                        type: string
                        example: 'Suite 708'
                      city:
                        type: string
                        example: Bergemouth
                      state:
                        type: string
                        example: Michigan
                      location:
                        type: string
                        example: BW
                      zip:
                        type: string
                        example: '26306'
                      phone:
                        type: string
                        example: '+17728385594'
                      email:
                        type: string
                        example: yessenia18@bahringer.net
                      contact_first_name:
                        type: string
                        example: Alfonzo
                      contact_last_name:
                        type: string
                        example: Crooks
                      website:
                        type: string
                        example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url:
                        type: string
                        example: null
                        nullable: true
                      applicant_comment:
                        type: string
                        example: null
                        nullable: true
                      reviewer_comment:
                        type: string
                        example: 'Update your business registration document'
                      registration_mail_sent_at:
                        type: string
                        example: '1994-04-10 08:31:47'
                      created_at:
                        type: string
                        example: '2025-07-24T13:23:28.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-24T08:26:00.000000Z'
                      reviewer_comment_category:
                        type: string
                        example: null
                        nullable: true
                      profile_reviewed_at:
                        type: string
                        example: '2026-03-24 08:26:00'
                      profile_reviewed_by_user_id:
                        type: integer
                        example: 73080
                      location_name:
                        type: string
                        example: Botswana
                      type:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 2
                          name:
                            type: string
                            example: Supplier
                          display_name:
                            type: string
                            example: Supplier
                          description:
                            type: string
                            example: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                          selectable:
                            type: integer
                            example: 1
                          created_at:
                            type: string
                            example: '2025-11-14T09:21:46.000000Z'
                          updated_at:
                            type: string
                            example: '2026-03-24T14:59:35.000000Z'
                      industry_identifiers:
                        type: array
                        example: []
                      conformance_level_products:
                        type: array
                        example: []
                      field_comments:
                        type: string
                        example: null
                        nullable: true
      tags:
        - Organisations
      security: []
    put:
      summary: Update
      operationId: update
      description: "Update an organisation's data. Use a PATCH request for partial updates to get better performance.\n<aside class=\"warning\">Requires <code>Admin organisation type</code> permission for more capabilities like changing the status</aside>"
      parameters: []
      responses:
        200:
          description: Success
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'updated successfully'
                properties:
                  message:
                    type: string
                    example: 'updated successfully'
        422:
          description: 'Validation Error'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: '[error message from the first field failing validation]'
                  errors:
                    '[field_name]':
                      - '[any validator message failing]'
                properties:
                  message:
                    type: string
                    example: '[error message from the first field failing validation]'
                  errors:
                    type: object
                    properties:
                      '[field_name]':
                        type: array
                        example:
                          - '[any validator message failing]'
                        items:
                          type: string
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: oa
                legal_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: opiitopmezodgt
                address_1:
                  type: string
                  description: ''
                  example: est
                address_2:
                  type: string
                  description: ''
                  example: null
                  nullable: true
                city:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: zdcabwqykg
                state:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: rsp
                location:
                  type: string
                  description: ''
                  example: DE
                  enum:
                    - AF
                    - AX
                    - AL
                    - DZ
                    - AS
                    - AD
                    - AO
                    - AI
                    - AQ
                    - AG
                    - AR
                    - AM
                    - AW
                    - AU
                    - AT
                    - AZ
                    - BS
                    - BH
                    - BD
                    - BB
                    - BY
                    - BE
                    - BZ
                    - BJ
                    - BM
                    - BT
                    - BO
                    - BA
                    - BW
                    - BV
                    - BR
                    - IO
                    - VG
                    - BN
                    - BG
                    - BF
                    - BI
                    - KH
                    - CM
                    - CA
                    - CV
                    - BQ
                    - KY
                    - CF
                    - TD
                    - CL
                    - CN
                    - CX
                    - CC
                    - CO
                    - KM
                    - CG
                    - CD
                    - CK
                    - CR
                    - CI
                    - HR
                    - CU
                    - CW
                    - CY
                    - CZ
                    - DK
                    - DJ
                    - DM
                    - DO
                    - EC
                    - EG
                    - SV
                    - GQ
                    - ER
                    - EE
                    - SZ
                    - ET
                    - FK
                    - FO
                    - FJ
                    - FI
                    - FR
                    - GF
                    - PF
                    - TF
                    - GA
                    - GM
                    - GE
                    - DE
                    - GH
                    - GI
                    - GR
                    - GL
                    - GD
                    - GP
                    - GU
                    - GT
                    - GG
                    - GN
                    - GW
                    - GY
                    - HT
                    - HM
                    - HN
                    - HK
                    - HU
                    - IS
                    - IN
                    - ID
                    - IR
                    - IQ
                    - IE
                    - IM
                    - IL
                    - IT
                    - JM
                    - JP
                    - JE
                    - JO
                    - KZ
                    - KE
                    - KI
                    - KW
                    - KG
                    - LA
                    - LV
                    - LB
                    - LS
                    - LR
                    - LY
                    - LI
                    - LT
                    - LU
                    - MO
                    - MG
                    - MW
                    - MY
                    - MV
                    - ML
                    - MT
                    - MH
                    - MQ
                    - MR
                    - MU
                    - YT
                    - MX
                    - FM
                    - MD
                    - MC
                    - MN
                    - ME
                    - MS
                    - MA
                    - MZ
                    - MM
                    - NA
                    - NR
                    - NP
                    - NL
                    - NC
                    - NZ
                    - NI
                    - NE
                    - NG
                    - NU
                    - NF
                    - KP
                    - MK
                    - MP
                    - 'NO'
                    - OM
                    - PK
                    - PW
                    - PS
                    - PA
                    - PG
                    - PY
                    - PE
                    - PH
                    - PN
                    - PL
                    - PT
                    - PR
                    - QA
                    - RE
                    - RO
                    - RU
                    - RW
                    - WS
                    - SM
                    - ST
                    - SA
                    - SN
                    - RS
                    - SC
                    - SL
                    - SG
                    - SX
                    - SK
                    - SI
                    - SB
                    - SO
                    - ZA
                    - GS
                    - KR
                    - SS
                    - ES
                    - LK
                    - BL
                    - SH
                    - KN
                    - LC
                    - MF
                    - PM
                    - VC
                    - SD
                    - SR
                    - SJ
                    - SE
                    - CH
                    - SY
                    - TW
                    - TJ
                    - TZ
                    - TH
                    - TL
                    - TG
                    - TK
                    - TO
                    - TT
                    - TN
                    - TR
                    - TM
                    - TC
                    - TV
                    - UM
                    - VI
                    - UG
                    - UA
                    - AE
                    - GB
                    - US
                    - UY
                    - UZ
                    - VU
                    - VA
                    - VE
                    - VN
                    - WF
                    - EH
                    - YE
                    - ZM
                    - ZW
                zip:
                  type: string
                  description: 'Must not be greater than 64 characters.'
                  example: fnh
                phone:
                  type: string
                  description: 'Must be at least 8 characters. Must not be greater than 20 characters.'
                  example: '+1234567890'
                email:
                  type: string
                  description: 'Must be a valid email address. Must not be greater than 255 characters.'
                  example: jmacejkovic@example.net
                contact_first_name:
                  type: string
                  description: ''
                  example: odio
                contact_last_name:
                  type: string
                  description: ''
                  example: vitae
                website:
                  type: string
                  description: '[MANDATORY ONLY FOR: Vendors & Chemical Formulators] The website of the organisation. Must not be greater than 255 characters.'
                  example: 'https://example.com'
                industry_ids:
                  type: array
                  description: '[ONLY: Suppliers & Vendors] The industry identifiers associated with the organisation.'
                  example: null
                  items:
                    type: object
                    nullable: true
                    properties:
                      id:
                        type: integer
                        description: 'This field is required when <code>industry_ids.*.value</code> is present. The <code>id</code> of an existing record in the industry_identifiers table.'
                        example: 11
                      value:
                        type: string
                        description: 'This field is required when <code>industry_ids.*.id</code> is present. Must not be greater than 255 characters.'
                        example: jfvpzotjkhk
                safety_data_sheet:
                  type: string
                  format: binary
                  description: '[ONLY: Chemical Formulators] Safety data sheet provided as a file upload. Must be a file.'
                conformance_level_products:
                  type: array
                  description: ''
                  example:
                    - []
                  items:
                    type: object
                    properties:
                      id:
                        type: integer
                        description: 'This field is required when <code>conformance_level_products.*.count</code> is present. The <code>id</code> of an existing record in the conformance_levels table.'
                        example: 17
                      count:
                        type: integer
                        description: 'This field is required when <code>conformance_level_products.*.id</code> is present. Must be at least 0.'
                        example: 19
                status:
                  type: string
                  description: ''
                  example: submitted
                  enum:
                    - approved
                    - submitted
                    - needs_correction
                    - rejected
                reviewer_comment:
                  type: string
                  description: ''
                  example: dolor
                  nullable: true
                reviewer_comment_category:
                  type: string
                  description: ''
                  example: Other
                  enum:
                    - 'Incomplete information'
                    - 'Invalid documentation'
                    - 'Unqualified organisation type'
                    - 'Non-compliance with Requirements'
                    - Other
              required:
                - name
                - legal_name
                - address_1
                - city
                - state
                - location
                - zip
                - email
                - contact_first_name
                - contact_last_name
                - website
                - safety_data_sheet
                - conformance_level_products
      security: []
    parameters:
      -
        in: path
        name: subject_id
        description: 'The ID of the subject.'
        example: 1
        required: true
        schema:
          type: integer
  /api/organisations-distinct-status:
    get:
      summary: 'Distinct Status'
      operationId: distinctStatus
      description: 'Get a list of distinct organisation statuses.'
      parameters: []
      responses:
        200:
          description: Success
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    - submitted
                    - needs_correction
                    - approved
                    - rejected
                properties:
                  data:
                    type: array
                    example:
                      - submitted
                      - needs_correction
                      - approved
                      - rejected
                    items:
                      type: string
      tags:
        - Organisations
  /api/organisations-distinct-types:
    get:
      summary: 'Distinct Types'
      operationId: distinctTypes
      description: 'Get a list of distinct organisation types.'
      parameters: []
      responses:
        200:
          description: Success
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    '1': Supplier
                    '2': Vendor
                properties:
                  data:
                    type: object
                    properties:
                      1:
                        type: string
                        example: Supplier
                      2:
                        type: string
                        example: Vendor
      tags:
        - Organisations
  '/api/organisations/{organisation_id}/organisation-profile/{subject_id}':
    get:
      summary: 'Public profile'
      operationId: publicProfile
      description: 'Get a public profile of an organisation.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    reference_id: 01-CR698383XMWJ2-P
                    type_id: 2
                    name: 'test-Supplier System'
                    address_1: '149 Koss Dam Suite 796'
                    address_2: 'Suite 708'
                    city: Bergemouth
                    state: Michigan
                    location: BW
                    zip: '26306'
                    phone: '+17728385594'
                    email: yessenia18@bahringer.net
                    website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                    avatar_url: null
                    location_name: Botswana
                    os_hub_identifier: null
                    type:
                      id: 2
                      name: Supplier
                    further_details: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      reference_id:
                        type: string
                        example: 01-CR698383XMWJ2-P
                      type_id:
                        type: integer
                        example: 2
                      name:
                        type: string
                        example: 'test-Supplier System'
                      address_1:
                        type: string
                        example: '149 Koss Dam Suite 796'
                      address_2:
                        type: string
                        example: 'Suite 708'
                      city:
                        type: string
                        example: Bergemouth
                      state:
                        type: string
                        example: Michigan
                      location:
                        type: string
                        example: BW
                      zip:
                        type: string
                        example: '26306'
                      phone:
                        type: string
                        example: '+17728385594'
                      email:
                        type: string
                        example: yessenia18@bahringer.net
                      website:
                        type: string
                        example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url:
                        type: string
                        example: null
                        nullable: true
                      location_name:
                        type: string
                        example: Botswana
                      os_hub_identifier:
                        type: string
                        example: null
                        nullable: true
                      type:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 2
                          name:
                            type: string
                            example: Supplier
                      further_details:
                        type: string
                        example: null
                        nullable: true
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: subject_id
        description: 'The ID of the subject.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/visibility-settings':
    get:
      summary: 'Show Visibility settings'
      operationId: showVisibilitySettings
      description: 'Get all visibility settings of an organisation, grouped by visibility type.'
      parameters: []
      responses:
        200:
          description: Success
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Visibility settings fetched successfully'
                properties:
                  message:
                    type: string
                    example: 'Visibility settings fetched successfully'
      tags:
        - Organisations
    put:
      summary: 'Update Visibility settings'
      operationId: updateVisibilitySettings
      description: 'Update the visibility settings of an organisation.'
      parameters: []
      responses:
        200:
          description: Success
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Visibility settings updated successfully'
                properties:
                  message:
                    type: string
                    example: 'Visibility settings updated successfully'
        422:
          description: 'Validation Error'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: '[error message from the first field failing validation]'
                  errors:
                    '[field_name]':
                      - '[any validator message failing]'
                properties:
                  message:
                    type: string
                    example: '[error message from the first field failing validation]'
                  errors:
                    type: object
                    properties:
                      '[field_name]':
                        type: array
                        example:
                          - '[any validator message failing]'
                        items:
                          type: string
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                visibility_type:
                  type: string
                  description: 'Visibility type: `organisation_profile_details` or `sds_files`. **sds_files is ONLY available for Chemical Formulators**.<br>Other organisation types (e.g. Supplier) will receive a validation error if they use sds_files.'
                  example: sds_files
                  enum:
                    - organisation_profile_details
                    - sds_files
                visibility_settings:
                  type: array
                  description: 'Must have at least 1 items.'
                  example:
                    - []
                  items:
                    type: object
                    properties:
                      organisation_type_id:
                        type: integer
                        description: 'The <code>id</code> of an existing record in the organisation_types table.'
                        example: 9
                        enum:
                          - 2
                          - 3
                          - 4
                          - 5
                          - 6
                          - 7
                          - 8
                          - 9
                      visible:
                        type: boolean
                        description: ''
                        example: false
                    required:
                      - organisation_type_id
                      - visible
              required:
                - visibility_type
                - visibility_settings
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/history':
    get:
      summary: Index
      operationId: index
      description: 'List all history entries for an organisation.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    - []
                    - []
                  links:
                    first: '/?page=1'
                    last: null
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    path: /
                    per_page: '10'
                    to: 2
                properties:
                  data:
                    type: array
                    example:
                      - []
                      - []
                    items:
                      type: array
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: null
                        nullable: true
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      path:
                        type: string
                        example: /
                      per_page:
                        type: string
                        example: '10'
                      to:
                        type: integer
                        example: 2
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/invitation':
    get:
      summary: Index
      operationId: index
      description: 'List all invitations for the organisation.'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 20
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 20
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      reference_id: 06-MAKEKAGX8HE9-S
                      uuid: a05aa71d-1a73-4ad4-ab85-bfeea70d8d76
                      inviting_organisation_id: 13416
                      inviting_user_id: 1
                      receiving_organisation_id: 13416
                      receiving_user_id: 1
                      status: INVITED
                      valid_until: '2025-11-21T09:21:52.000000Z'
                      redeemed_at: null
                      created_at: '2025-11-14T09:21:52.000000Z'
                      updated_at: '2025-11-14T09:21:52.000000Z'
                      receiving_organisation:
                        id: 13416
                        reference_id: 01-W9YDRR7VE2LEM-S
                        type_id: 1
                        name: 'ZDHC Internal Admin'
                        address_1: '57125 Satterfield Extensions Suite 579'
                        address_2: 'Apt. 505'
                        city: Amsterdam
                        state: Amsterdam
                        location: NL
                        zip: 18615-8510
                        phone: '+1234567890'
                        email: info@zdhc.org
                        website: null
                        avatar_url: null
                        location_name: Netherlands
                      receiving_user:
                        id: 1
                        email: admin@localhost
                        profile_picture_url: null
                      inviting_user:
                        id: 1
                        email: admin@localhost
                        profile_picture_url: null
                    -
                      id: 1
                      reference_id: 06-MAKEKAGX8HE9-S
                      uuid: a05aa71d-1a73-4ad4-ab85-bfeea70d8d76
                      inviting_organisation_id: 13416
                      inviting_user_id: 1
                      receiving_organisation_id: 13416
                      receiving_user_id: 1
                      status: INVITED
                      valid_until: '2025-11-21T09:21:52.000000Z'
                      redeemed_at: null
                      created_at: '2025-11-14T09:21:52.000000Z'
                      updated_at: '2025-11-14T09:21:52.000000Z'
                      receiving_organisation:
                        id: 13416
                        reference_id: 01-W9YDRR7VE2LEM-S
                        type_id: 1
                        name: 'ZDHC Internal Admin'
                        address_1: '57125 Satterfield Extensions Suite 579'
                        address_2: 'Apt. 505'
                        city: Amsterdam
                        state: Amsterdam
                        location: NL
                        zip: 18615-8510
                        phone: '+1234567890'
                        email: info@zdhc.org
                        website: null
                        avatar_url: null
                        location_name: Netherlands
                      receiving_user:
                        id: 1
                        email: admin@localhost
                        profile_picture_url: null
                      inviting_user:
                        id: 1
                        email: admin@localhost
                        profile_picture_url: null
                  links:
                    first: '/?page=1'
                    last: null
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    path: /
                    per_page: '100'
                    to: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        reference_id: 06-MAKEKAGX8HE9-S
                        uuid: a05aa71d-1a73-4ad4-ab85-bfeea70d8d76
                        inviting_organisation_id: 13416
                        inviting_user_id: 1
                        receiving_organisation_id: 13416
                        receiving_user_id: 1
                        status: INVITED
                        valid_until: '2025-11-21T09:21:52.000000Z'
                        redeemed_at: null
                        created_at: '2025-11-14T09:21:52.000000Z'
                        updated_at: '2025-11-14T09:21:52.000000Z'
                        receiving_organisation:
                          id: 13416
                          reference_id: 01-W9YDRR7VE2LEM-S
                          type_id: 1
                          name: 'ZDHC Internal Admin'
                          address_1: '57125 Satterfield Extensions Suite 579'
                          address_2: 'Apt. 505'
                          city: Amsterdam
                          state: Amsterdam
                          location: NL
                          zip: 18615-8510
                          phone: '+1234567890'
                          email: info@zdhc.org
                          website: null
                          avatar_url: null
                          location_name: Netherlands
                        receiving_user:
                          id: 1
                          email: admin@localhost
                          profile_picture_url: null
                        inviting_user:
                          id: 1
                          email: admin@localhost
                          profile_picture_url: null
                      -
                        id: 1
                        reference_id: 06-MAKEKAGX8HE9-S
                        uuid: a05aa71d-1a73-4ad4-ab85-bfeea70d8d76
                        inviting_organisation_id: 13416
                        inviting_user_id: 1
                        receiving_organisation_id: 13416
                        receiving_user_id: 1
                        status: INVITED
                        valid_until: '2025-11-21T09:21:52.000000Z'
                        redeemed_at: null
                        created_at: '2025-11-14T09:21:52.000000Z'
                        updated_at: '2025-11-14T09:21:52.000000Z'
                        receiving_organisation:
                          id: 13416
                          reference_id: 01-W9YDRR7VE2LEM-S
                          type_id: 1
                          name: 'ZDHC Internal Admin'
                          address_1: '57125 Satterfield Extensions Suite 579'
                          address_2: 'Apt. 505'
                          city: Amsterdam
                          state: Amsterdam
                          location: NL
                          zip: 18615-8510
                          phone: '+1234567890'
                          email: info@zdhc.org
                          website: null
                          avatar_url: null
                          location_name: Netherlands
                        receiving_user:
                          id: 1
                          email: admin@localhost
                          profile_picture_url: null
                        inviting_user:
                          id: 1
                          email: admin@localhost
                          profile_picture_url: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        reference_id:
                          type: string
                          example: 06-MAKEKAGX8HE9-S
                        uuid:
                          type: string
                          example: a05aa71d-1a73-4ad4-ab85-bfeea70d8d76
                        inviting_organisation_id:
                          type: integer
                          example: 13416
                        inviting_user_id:
                          type: integer
                          example: 1
                        receiving_organisation_id:
                          type: integer
                          example: 13416
                        receiving_user_id:
                          type: integer
                          example: 1
                        status:
                          type: string
                          example: INVITED
                        valid_until:
                          type: string
                          example: '2025-11-21T09:21:52.000000Z'
                        redeemed_at:
                          type: string
                          example: null
                          nullable: true
                        created_at:
                          type: string
                          example: '2025-11-14T09:21:52.000000Z'
                        updated_at:
                          type: string
                          example: '2025-11-14T09:21:52.000000Z'
                        receiving_organisation:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 13416
                            reference_id:
                              type: string
                              example: 01-W9YDRR7VE2LEM-S
                            type_id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: 'ZDHC Internal Admin'
                            address_1:
                              type: string
                              example: '57125 Satterfield Extensions Suite 579'
                            address_2:
                              type: string
                              example: 'Apt. 505'
                            city:
                              type: string
                              example: Amsterdam
                            state:
                              type: string
                              example: Amsterdam
                            location:
                              type: string
                              example: NL
                            zip:
                              type: string
                              example: 18615-8510
                            phone:
                              type: string
                              example: '+1234567890'
                            email:
                              type: string
                              example: info@zdhc.org
                            website:
                              type: string
                              example: null
                              nullable: true
                            avatar_url:
                              type: string
                              example: null
                              nullable: true
                            location_name:
                              type: string
                              example: Netherlands
                        receiving_user:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            email:
                              type: string
                              example: admin@localhost
                            profile_picture_url:
                              type: string
                              example: null
                              nullable: true
                        inviting_user:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            email:
                              type: string
                              example: admin@localhost
                            profile_picture_url:
                              type: string
                              example: null
                              nullable: true
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: null
                        nullable: true
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      path:
                        type: string
                        example: /
                      per_page:
                        type: string
                        example: '100'
                      to:
                        type: integer
                        example: 2
      tags:
        - Organisations
    post:
      summary: Store
      operationId: store
      description: 'Create a new invitation for the organisation'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organisation_type_id:
                  type: integer
                  description: 'The <code>id</code> of an existing record in the organisation_types table.'
                  example: 6
                email:
                  type: string
                  description: 'Must be a valid email address. Must not be greater than 254 characters.'
                  example: hauck.ivory@example.org
              required:
                - organisation_type_id
                - email
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/registration/register/{invitation_id}':
    post:
      summary: Register
      operationId: register
      description: 'Register a new organisation.'
      parameters:
        -
          in: query
          name: email
          description: required
          example: talia59@example.org
          required: true
          schema:
            type: string
            description: required
            example: talia59@example.org
        -
          in: query
          name: user_id
          description: required
          example: 31.0
          required: true
          schema:
            type: number
            description: required
            example: 31.0
        -
          in: query
          name: user_is_registered
          description: required
          example: false
          required: true
          schema:
            type: boolean
            description: required
            example: false
      responses:
        200:
          description: Success
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'registered successfully'
                  organisationID: '[id]'
                  registrationID: '[uuid]'
                properties:
                  message:
                    type: string
                    example: 'registered successfully'
                  organisationID:
                    type: string
                    example: '[id]'
                  registrationID:
                    type: string
                    example: '[uuid]'
        422:
          description: 'Validation Error'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: '[error message from the first field failing validation]'
                  errors:
                    '[field_name]':
                      - '[any validator message failing]'
                properties:
                  message:
                    type: string
                    example: '[error message from the first field failing validation]'
                  errors:
                    type: object
                    properties:
                      '[field_name]':
                        type: array
                        example:
                          - '[any validator message failing]'
                        items:
                          type: string
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                user_first_name:
                  type: string
                  description: '(Only required for unregistered users). Must be at least 2 characters. Must not be greater than 50 characters.'
                  example: xuqoorcyhwvxujgwtuisxc
                user_last_name:
                  type: string
                  description: '(Only required for unregistered users). Must be at least 2 characters. Must not be greater than 50 characters.'
                  example: cwzcaxgzeukjxbcfl
                user_password:
                  type: string
                  description: '(Only required for unregistered users). Must not be greater than 255 characters.'
                  example: tihiccqsb
                user_password_confirmation:
                  type: string
                  description: '(Only required for unregistered users). The value and <code>user_password</code> must match.'
                  example: optio
                user_phone:
                  type: string
                  description: '(Only required for unregistered users). Must be at least 8 characters. Must not be greater than 20 characters.'
                  example: pgqdmr
                  nullable: true
                user_locale:
                  type: string
                  description: '(Only required for unregistered users). Must not be greater than 12 characters.'
                  example: fr_BE
                  nullable: true
                user_location:
                  type: string
                  description: '(Only required for unregistered users). Must not be greater than 255 characters.'
                  example: dgvbzwciqzimlujhxq
                  nullable: true
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: ufxaepliyqr
                legal_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: njmyovvqpalbacemoqfg
                address_1:
                  type: string
                  description: ''
                  example: minus
                address_2:
                  type: string
                  description: ''
                  example: null
                  nullable: true
                city:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: waujcphbhgnztyqrksbi
                state:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: idlbsjsfxxolnkwc
                location:
                  type: string
                  description: ''
                  example: GA
                  enum:
                    - AF
                    - AX
                    - AL
                    - DZ
                    - AS
                    - AD
                    - AO
                    - AI
                    - AQ
                    - AG
                    - AR
                    - AM
                    - AW
                    - AU
                    - AT
                    - AZ
                    - BS
                    - BH
                    - BD
                    - BB
                    - BY
                    - BE
                    - BZ
                    - BJ
                    - BM
                    - BT
                    - BO
                    - BA
                    - BW
                    - BV
                    - BR
                    - IO
                    - VG
                    - BN
                    - BG
                    - BF
                    - BI
                    - KH
                    - CM
                    - CA
                    - CV
                    - BQ
                    - KY
                    - CF
                    - TD
                    - CL
                    - CN
                    - CX
                    - CC
                    - CO
                    - KM
                    - CG
                    - CD
                    - CK
                    - CR
                    - CI
                    - HR
                    - CU
                    - CW
                    - CY
                    - CZ
                    - DK
                    - DJ
                    - DM
                    - DO
                    - EC
                    - EG
                    - SV
                    - GQ
                    - ER
                    - EE
                    - SZ
                    - ET
                    - FK
                    - FO
                    - FJ
                    - FI
                    - FR
                    - GF
                    - PF
                    - TF
                    - GA
                    - GM
                    - GE
                    - DE
                    - GH
                    - GI
                    - GR
                    - GL
                    - GD
                    - GP
                    - GU
                    - GT
                    - GG
                    - GN
                    - GW
                    - GY
                    - HT
                    - HM
                    - HN
                    - HK
                    - HU
                    - IS
                    - IN
                    - ID
                    - IR
                    - IQ
                    - IE
                    - IM
                    - IL
                    - IT
                    - JM
                    - JP
                    - JE
                    - JO
                    - KZ
                    - KE
                    - KI
                    - KW
                    - KG
                    - LA
                    - LV
                    - LB
                    - LS
                    - LR
                    - LY
                    - LI
                    - LT
                    - LU
                    - MO
                    - MG
                    - MW
                    - MY
                    - MV
                    - ML
                    - MT
                    - MH
                    - MQ
                    - MR
                    - MU
                    - YT
                    - MX
                    - FM
                    - MD
                    - MC
                    - MN
                    - ME
                    - MS
                    - MA
                    - MZ
                    - MM
                    - NA
                    - NR
                    - NP
                    - NL
                    - NC
                    - NZ
                    - NI
                    - NE
                    - NG
                    - NU
                    - NF
                    - KP
                    - MK
                    - MP
                    - 'NO'
                    - OM
                    - PK
                    - PW
                    - PS
                    - PA
                    - PG
                    - PY
                    - PE
                    - PH
                    - PN
                    - PL
                    - PT
                    - PR
                    - QA
                    - RE
                    - RO
                    - RU
                    - RW
                    - WS
                    - SM
                    - ST
                    - SA
                    - SN
                    - RS
                    - SC
                    - SL
                    - SG
                    - SX
                    - SK
                    - SI
                    - SB
                    - SO
                    - ZA
                    - GS
                    - KR
                    - SS
                    - ES
                    - LK
                    - BL
                    - SH
                    - KN
                    - LC
                    - MF
                    - PM
                    - VC
                    - SD
                    - SR
                    - SJ
                    - SE
                    - CH
                    - SY
                    - TW
                    - TJ
                    - TZ
                    - TH
                    - TL
                    - TG
                    - TK
                    - TO
                    - TT
                    - TN
                    - TR
                    - TM
                    - TC
                    - TV
                    - UM
                    - VI
                    - UG
                    - UA
                    - AE
                    - GB
                    - US
                    - UY
                    - UZ
                    - VU
                    - VA
                    - VE
                    - VN
                    - WF
                    - EH
                    - YE
                    - ZM
                    - ZW
                zip:
                  type: string
                  description: 'Must not be greater than 64 characters.'
                  example: engzpdgofmtalfgowhfdh
                phone:
                  type: string
                  description: 'Must be at least 8 characters. Must not be greater than 20 characters.'
                  example: xdbk
                email:
                  type: string
                  description: 'Must be a valid email address. Must not be greater than 255 characters.'
                  example: petra43@example.net
                contact_first_name:
                  type: string
                  description: ''
                  example: natus
                contact_last_name:
                  type: string
                  description: ''
                  example: sed
                website:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: djfytildthujwoiz
                industry_ids:
                  type: array
                  description: ''
                  example: null
                  items:
                    type: object
                    nullable: true
                    properties:
                      id:
                        type: integer
                        description: 'This field is required when <code>industry_ids.*.value</code> is present. The <code>id</code> of an existing record in the industry_identifiers table.'
                        example: 18
                      value:
                        type: string
                        description: 'This field is required when <code>industry_ids.*.id</code> is present. Must not be greater than 255 characters.'
                        example: wzwylqwccrpkoetyx
                safety_data_sheet:
                  type: string
                  format: binary
                  description: 'Must be a file.'
                conformance_level_products:
                  type: array
                  description: ''
                  example:
                    - []
                  items:
                    type: object
                    properties:
                      id:
                        type: integer
                        description: 'This field is required when <code>conformance_level_products.*.count</code> is present. The <code>id</code> of an existing record in the conformance_levels table.'
                        example: 11
                      count:
                        type: integer
                        description: 'This field is required when <code>conformance_level_products.*.id</code> is present. Must be at least 0.'
                        example: 47
                tas_document_id:
                  type: string
                  description: 'The <code>id</code> of an existing record in the App\Models\TermsAndServiceDocument table.'
                  example: id
                tas_accepted:
                  type: boolean
                  description: 'Must be accepted.'
                  example: true
              required:
                - user_first_name
                - user_last_name
                - user_password
                - user_password_confirmation
                - name
                - legal_name
                - address_1
                - city
                - state
                - location
                - zip
                - email
                - contact_first_name
                - contact_last_name
                - website
                - safety_data_sheet
                - conformance_level_products
                - tas_document_id
                - tas_accepted
    parameters:
      -
        in: path
        name: invitation_id
        description: 'The ID of the invitation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/registration/{organisation_uuid}/status':
    get:
      summary: Status
      operationId: status
      description: "See a non-active organisation's registration status.\n<aside class=\"warning\"> Can only be viewed for non-active organisations</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    maxio_customer_id: 225589
                    reference_id: 01-CR698383XMWJ2-P
                    pdc_id: null
                    gateway_aid: null
                    uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                    type_id: 2
                    status: approved
                    name: 'test-Supplier System'
                    legal_name: 'Schroeder Ltd'
                    address_1: '149 Koss Dam Suite 796'
                    address_2: 'Suite 708'
                    city: Bergemouth
                    state: Michigan
                    location: BW
                    zip: '26306'
                    phone: '+17728385594'
                    email: yessenia18@bahringer.net
                    contact_first_name: Alfonzo
                    contact_last_name: Crooks
                    website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                    avatar_url: null
                    applicant_comment: null
                    reviewer_comment: 'Update your business registration document'
                    registration_mail_sent_at: '1994-04-10 08:31:47'
                    created_at: '2025-07-24T13:23:28.000000Z'
                    updated_at: '2026-03-24T08:26:00.000000Z'
                    reviewer_comment_category: null
                    profile_reviewed_at: '2026-03-24 08:26:00'
                    profile_reviewed_by_user_id: 73080
                    location_name: Botswana
                    type:
                      id: 2
                      name: Supplier
                      display_name: Supplier
                      description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                      selectable: 1
                      created_at: '2025-11-14T09:21:46.000000Z'
                      updated_at: '2026-03-24T14:59:35.000000Z'
                    industry_identifiers: []
                    conformance_level_products: []
                    field_comments: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      maxio_customer_id:
                        type: integer
                        example: 225589
                      reference_id:
                        type: string
                        example: 01-CR698383XMWJ2-P
                      pdc_id:
                        type: string
                        example: null
                        nullable: true
                      gateway_aid:
                        type: string
                        example: null
                        nullable: true
                      uuid:
                        type: string
                        example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      type_id:
                        type: integer
                        example: 2
                      status:
                        type: string
                        example: approved
                      name:
                        type: string
                        example: 'test-Supplier System'
                      legal_name:
                        type: string
                        example: 'Schroeder Ltd'
                      address_1:
                        type: string
                        example: '149 Koss Dam Suite 796'
                      address_2:
                        type: string
                        example: 'Suite 708'
                      city:
                        type: string
                        example: Bergemouth
                      state:
                        type: string
                        example: Michigan
                      location:
                        type: string
                        example: BW
                      zip:
                        type: string
                        example: '26306'
                      phone:
                        type: string
                        example: '+17728385594'
                      email:
                        type: string
                        example: yessenia18@bahringer.net
                      contact_first_name:
                        type: string
                        example: Alfonzo
                      contact_last_name:
                        type: string
                        example: Crooks
                      website:
                        type: string
                        example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url:
                        type: string
                        example: null
                        nullable: true
                      applicant_comment:
                        type: string
                        example: null
                        nullable: true
                      reviewer_comment:
                        type: string
                        example: 'Update your business registration document'
                      registration_mail_sent_at:
                        type: string
                        example: '1994-04-10 08:31:47'
                      created_at:
                        type: string
                        example: '2025-07-24T13:23:28.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-24T08:26:00.000000Z'
                      reviewer_comment_category:
                        type: string
                        example: null
                        nullable: true
                      profile_reviewed_at:
                        type: string
                        example: '2026-03-24 08:26:00'
                      profile_reviewed_by_user_id:
                        type: integer
                        example: 73080
                      location_name:
                        type: string
                        example: Botswana
                      type:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 2
                          name:
                            type: string
                            example: Supplier
                          display_name:
                            type: string
                            example: Supplier
                          description:
                            type: string
                            example: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                          selectable:
                            type: integer
                            example: 1
                          created_at:
                            type: string
                            example: '2025-11-14T09:21:46.000000Z'
                          updated_at:
                            type: string
                            example: '2026-03-24T14:59:35.000000Z'
                      industry_identifiers:
                        type: array
                        example: []
                      conformance_level_products:
                        type: array
                        example: []
                      field_comments:
                        type: string
                        example: null
                        nullable: true
      tags:
        - Organisations
      security: []
    parameters:
      -
        in: path
        name: organisation_uuid
        description: ''
        example: bda3dbd8-84c2-30ba-99a5-69a32b3134ed
        required: true
        schema:
          type: string
  '/api/organisations/registration/{organisation_uuid}/update':
    put:
      summary: Update
      operationId: update
      description: "Update the organisations data from the user side.\n<aside class=\"warning\"> Can only be viewed for non-active organisations</aside>"
      parameters: []
      responses:
        200:
          description: Success
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'updated successfully'
                properties:
                  message:
                    type: string
                    example: 'updated successfully'
        422:
          description: 'Validation Error'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: '[error message from the first field failing validation]'
                  errors:
                    '[field_name]':
                      - '[any validator message failing]'
                properties:
                  message:
                    type: string
                    example: '[error message from the first field failing validation]'
                  errors:
                    type: object
                    properties:
                      '[field_name]':
                        type: array
                        example:
                          - '[any validator message failing]'
                        items:
                          type: string
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: oqxuvwfccqpxunuum
                legal_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: opd
                address_1:
                  type: string
                  description: ''
                  example: accusamus
                address_2:
                  type: string
                  description: ''
                  example: null
                  nullable: true
                city:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: wvblvsul
                state:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: vsiibz
                location:
                  type: string
                  description: ''
                  example: CC
                  enum:
                    - AF
                    - AX
                    - AL
                    - DZ
                    - AS
                    - AD
                    - AO
                    - AI
                    - AQ
                    - AG
                    - AR
                    - AM
                    - AW
                    - AU
                    - AT
                    - AZ
                    - BS
                    - BH
                    - BD
                    - BB
                    - BY
                    - BE
                    - BZ
                    - BJ
                    - BM
                    - BT
                    - BO
                    - BA
                    - BW
                    - BV
                    - BR
                    - IO
                    - VG
                    - BN
                    - BG
                    - BF
                    - BI
                    - KH
                    - CM
                    - CA
                    - CV
                    - BQ
                    - KY
                    - CF
                    - TD
                    - CL
                    - CN
                    - CX
                    - CC
                    - CO
                    - KM
                    - CG
                    - CD
                    - CK
                    - CR
                    - CI
                    - HR
                    - CU
                    - CW
                    - CY
                    - CZ
                    - DK
                    - DJ
                    - DM
                    - DO
                    - EC
                    - EG
                    - SV
                    - GQ
                    - ER
                    - EE
                    - SZ
                    - ET
                    - FK
                    - FO
                    - FJ
                    - FI
                    - FR
                    - GF
                    - PF
                    - TF
                    - GA
                    - GM
                    - GE
                    - DE
                    - GH
                    - GI
                    - GR
                    - GL
                    - GD
                    - GP
                    - GU
                    - GT
                    - GG
                    - GN
                    - GW
                    - GY
                    - HT
                    - HM
                    - HN
                    - HK
                    - HU
                    - IS
                    - IN
                    - ID
                    - IR
                    - IQ
                    - IE
                    - IM
                    - IL
                    - IT
                    - JM
                    - JP
                    - JE
                    - JO
                    - KZ
                    - KE
                    - KI
                    - KW
                    - KG
                    - LA
                    - LV
                    - LB
                    - LS
                    - LR
                    - LY
                    - LI
                    - LT
                    - LU
                    - MO
                    - MG
                    - MW
                    - MY
                    - MV
                    - ML
                    - MT
                    - MH
                    - MQ
                    - MR
                    - MU
                    - YT
                    - MX
                    - FM
                    - MD
                    - MC
                    - MN
                    - ME
                    - MS
                    - MA
                    - MZ
                    - MM
                    - NA
                    - NR
                    - NP
                    - NL
                    - NC
                    - NZ
                    - NI
                    - NE
                    - NG
                    - NU
                    - NF
                    - KP
                    - MK
                    - MP
                    - 'NO'
                    - OM
                    - PK
                    - PW
                    - PS
                    - PA
                    - PG
                    - PY
                    - PE
                    - PH
                    - PN
                    - PL
                    - PT
                    - PR
                    - QA
                    - RE
                    - RO
                    - RU
                    - RW
                    - WS
                    - SM
                    - ST
                    - SA
                    - SN
                    - RS
                    - SC
                    - SL
                    - SG
                    - SX
                    - SK
                    - SI
                    - SB
                    - SO
                    - ZA
                    - GS
                    - KR
                    - SS
                    - ES
                    - LK
                    - BL
                    - SH
                    - KN
                    - LC
                    - MF
                    - PM
                    - VC
                    - SD
                    - SR
                    - SJ
                    - SE
                    - CH
                    - SY
                    - TW
                    - TJ
                    - TZ
                    - TH
                    - TL
                    - TG
                    - TK
                    - TO
                    - TT
                    - TN
                    - TR
                    - TM
                    - TC
                    - TV
                    - UM
                    - VI
                    - UG
                    - UA
                    - AE
                    - GB
                    - US
                    - UY
                    - UZ
                    - VU
                    - VA
                    - VE
                    - VN
                    - WF
                    - EH
                    - YE
                    - ZM
                    - ZW
                zip:
                  type: string
                  description: 'Must not be greater than 64 characters.'
                  example: mnfzjuplbwwcdajuisbsh
                phone:
                  type: string
                  description: 'Must be at least 8 characters. Must not be greater than 20 characters.'
                  example: '+1234567890'
                email:
                  type: string
                  description: 'Must be a valid email address. Must not be greater than 255 characters.'
                  example: pouros.cornell@example.net
                contact_first_name:
                  type: string
                  description: ''
                  example: dolor
                contact_last_name:
                  type: string
                  description: ''
                  example: molestiae
                website:
                  type: string
                  description: '[MANDATORY ONLY FOR: Vendors & Chemical Formulators] The website of the organisation. Must not be greater than 255 characters.'
                  example: 'https://example.com'
                industry_ids:
                  type: array
                  description: '[ONLY: Suppliers & Vendors] The industry identifiers associated with the organisation.'
                  example: null
                  items:
                    type: object
                    nullable: true
                    properties:
                      id:
                        type: integer
                        description: 'This field is required when <code>industry_ids.*.value</code> is present. The <code>id</code> of an existing record in the industry_identifiers table.'
                        example: 7
                      value:
                        type: string
                        description: 'This field is required when <code>industry_ids.*.id</code> is present. Must not be greater than 255 characters.'
                        example: bduzeuhw
                safety_data_sheet:
                  type: string
                  format: binary
                  description: '[ONLY: Chemical Formulators] Safety data sheet provided as a file upload. Must be a file.'
                conformance_level_products:
                  type: array
                  description: ''
                  example:
                    - []
                  items:
                    type: object
                    properties:
                      id:
                        type: integer
                        description: 'This field is required when <code>conformance_level_products.*.count</code> is present. The <code>id</code> of an existing record in the conformance_levels table.'
                        example: 11
                      count:
                        type: integer
                        description: 'This field is required when <code>conformance_level_products.*.id</code> is present. Must be at least 0.'
                        example: 62
                applicant_comment:
                  type: string
                  description: ''
                  example: culpa
                  nullable: true
              required:
                - name
                - legal_name
                - address_1
                - city
                - state
                - location
                - zip
                - email
                - contact_first_name
                - contact_last_name
                - website
                - safety_data_sheet
                - conformance_level_products
      security: []
    parameters:
      -
        in: path
        name: organisation_uuid
        description: ''
        example: 053afd29-1d7e-3064-99d2-1a178ec5d824
        required: true
        schema:
          type: string
  '/api/organisations/{organisation_id}/subscriptions':
    get:
      summary: Index
      operationId: index
      description: 'Get Subscriptions'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 14
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 14
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: 'filter[subscribable_product_id]'
          description: 'Filter column subscribable_product_id by any accepted value. Filter by product ID (multiple selection allowed)'
          example: 9
          required: false
          schema:
            type: integer
            description: 'Filter column subscribable_product_id by any accepted value. Filter by product ID (multiple selection allowed)'
            example: 9
        -
          in: query
          name: 'filter[subscribable_products.handle]'
          description: 'Filter column subscribable_products.handle by any accepted value. Filter by product handle (multiple selection allowed)'
          example: corrupti
          required: false
          schema:
            type: string
            description: 'Filter column subscribable_products.handle by any accepted value. Filter by product handle (multiple selection allowed)'
            example: corrupti
        -
          in: query
          name: 'filter[status]'
          description: 'Filter column status by any accepted value. Filter by status (multiple selection allowed)'
          example: pariatur
          required: false
          schema:
            type: string
            description: 'Filter column status by any accepted value. Filter by status (multiple selection allowed)'
            example: pariatur
        -
          in: query
          name: 'filter[invoice_created_at]'
          description: 'Filter column invoice_created_at by any accepted value. Filter by invoice created date'
          example: labore
          required: false
          schema:
            type: datetime
            description: 'Filter column invoice_created_at by any accepted value. Filter by invoice created date'
            example: labore
        -
          in: query
          name: 'filter[start_at]'
          description: 'Filter column start_at by any accepted value. Filter by start date'
          example: ea
          required: false
          schema:
            type: datetime
            description: 'Filter column start_at by any accepted value. Filter by start date'
            example: ea
        -
          in: query
          name: 'filter[valid_until]'
          description: 'Filter column valid_until by any accepted value. Filter by valid until date'
          example: et
          required: false
          schema:
            type: datetime
            description: 'Filter column valid_until by any accepted value. Filter by valid until date'
            example: et
        -
          in: query
          name: 'filter[created_at]'
          description: 'Filter column created_at by any accepted value. Filter by created date'
          example: debitis
          required: false
          schema:
            type: datetime
            description: 'Filter column created_at by any accepted value. Filter by created date'
            example: debitis
        -
          in: query
          name: 'filter[updated_at]'
          description: 'Filter column updated_at by any accepted value. Filter by updated date'
          example: et
          required: false
          schema:
            type: datetime
            description: 'Filter column updated_at by any accepted value. Filter by updated date'
            example: et
        -
          in: query
          name: search
          description: 'Search in all of these columns: subscribable_product.name'
          example: ut
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: subscribable_product.name'
            example: ut
        -
          in: query
          name: sort
          description: 'sort by any accepted column: id,subscribable_product.name,status,invoice_created_at,start_at,valid_until,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
          example: 'id,subscribable_product.name,status,invoice_created_at,start_at,valid_until,created_at,updated_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: id,subscribable_product.name,status,invoice_created_at,start_at,valid_until,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
            example: 'id,subscribable_product.name,status,invoice_created_at,start_at,valid_until,created_at,updated_at'
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: id, subscribable_product.name, status, invoice_created_at, start_at, valid_until, created_at, updated_at.'
          example: id
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: id, subscribable_product.name, status, invoice_created_at, start_at, valid_until, created_at, updated_at.'
            example: id
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      organisation_id: 1
                      subscribable_product_id: 1
                      status: canceled
                      selected_stairstep: null
                      maxio_subscription_id: 346998
                      maxio_payment_id: 5857700
                      maxio_invoice_uid: inv_c39knm3xrb9rv
                      payment_status: null
                      start_at: '2026-02-05T07:30:03.000000Z'
                      valid_until: '2027-02-05T07:30:03.000000Z'
                      invoice_created_at: '2026-02-05 07:30:03'
                      expired_at: null
                      created_at: '2026-02-07T00:36:10.000000Z'
                      updated_at: '2026-03-20T09:28:59.000000Z'
                      deleted_at: null
                      subscribable_product:
                        id: 1
                        subcribable_product_family_handle: billing-plans
                        subcribable_product_family_id: 2465
                        name: 'Chemical Formulator Yearly'
                        handle: chemical-formulator-yearly
                        maxio_product_id: 4807
                        created_at: '2026-02-07T00:00:06.000000Z'
                        updated_at: '2026-02-07T00:00:06.000000Z'
                        deleted_at: null
                    -
                      id: 1
                      organisation_id: 1
                      subscribable_product_id: 1
                      status: canceled
                      selected_stairstep: null
                      maxio_subscription_id: 346998
                      maxio_payment_id: 5857700
                      maxio_invoice_uid: inv_c39knm3xrb9rv
                      payment_status: null
                      start_at: '2026-02-05T07:30:03.000000Z'
                      valid_until: '2027-02-05T07:30:03.000000Z'
                      invoice_created_at: '2026-02-05 07:30:03'
                      expired_at: null
                      created_at: '2026-02-07T00:36:10.000000Z'
                      updated_at: '2026-03-20T09:28:59.000000Z'
                      deleted_at: null
                      subscribable_product:
                        id: 1
                        subcribable_product_family_handle: billing-plans
                        subcribable_product_family_id: 2465
                        name: 'Chemical Formulator Yearly'
                        handle: chemical-formulator-yearly
                        maxio_product_id: 4807
                        created_at: '2026-02-07T00:00:06.000000Z'
                        updated_at: '2026-02-07T00:00:06.000000Z'
                        deleted_at: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        organisation_id: 1
                        subscribable_product_id: 1
                        status: canceled
                        selected_stairstep: null
                        maxio_subscription_id: 346998
                        maxio_payment_id: 5857700
                        maxio_invoice_uid: inv_c39knm3xrb9rv
                        payment_status: null
                        start_at: '2026-02-05T07:30:03.000000Z'
                        valid_until: '2027-02-05T07:30:03.000000Z'
                        invoice_created_at: '2026-02-05 07:30:03'
                        expired_at: null
                        created_at: '2026-02-07T00:36:10.000000Z'
                        updated_at: '2026-03-20T09:28:59.000000Z'
                        deleted_at: null
                        subscribable_product:
                          id: 1
                          subcribable_product_family_handle: billing-plans
                          subcribable_product_family_id: 2465
                          name: 'Chemical Formulator Yearly'
                          handle: chemical-formulator-yearly
                          maxio_product_id: 4807
                          created_at: '2026-02-07T00:00:06.000000Z'
                          updated_at: '2026-02-07T00:00:06.000000Z'
                          deleted_at: null
                      -
                        id: 1
                        organisation_id: 1
                        subscribable_product_id: 1
                        status: canceled
                        selected_stairstep: null
                        maxio_subscription_id: 346998
                        maxio_payment_id: 5857700
                        maxio_invoice_uid: inv_c39knm3xrb9rv
                        payment_status: null
                        start_at: '2026-02-05T07:30:03.000000Z'
                        valid_until: '2027-02-05T07:30:03.000000Z'
                        invoice_created_at: '2026-02-05 07:30:03'
                        expired_at: null
                        created_at: '2026-02-07T00:36:10.000000Z'
                        updated_at: '2026-03-20T09:28:59.000000Z'
                        deleted_at: null
                        subscribable_product:
                          id: 1
                          subcribable_product_family_handle: billing-plans
                          subcribable_product_family_id: 2465
                          name: 'Chemical Formulator Yearly'
                          handle: chemical-formulator-yearly
                          maxio_product_id: 4807
                          created_at: '2026-02-07T00:00:06.000000Z'
                          updated_at: '2026-02-07T00:00:06.000000Z'
                          deleted_at: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        organisation_id:
                          type: integer
                          example: 1
                        subscribable_product_id:
                          type: integer
                          example: 1
                        status:
                          type: string
                          example: canceled
                        selected_stairstep:
                          type: string
                          example: null
                          nullable: true
                        maxio_subscription_id:
                          type: integer
                          example: 346998
                        maxio_payment_id:
                          type: integer
                          example: 5857700
                        maxio_invoice_uid:
                          type: string
                          example: inv_c39knm3xrb9rv
                        payment_status:
                          type: string
                          example: null
                          nullable: true
                        start_at:
                          type: string
                          example: '2026-02-05T07:30:03.000000Z'
                        valid_until:
                          type: string
                          example: '2027-02-05T07:30:03.000000Z'
                        invoice_created_at:
                          type: string
                          example: '2026-02-05 07:30:03'
                        expired_at:
                          type: string
                          example: null
                          nullable: true
                        created_at:
                          type: string
                          example: '2026-02-07T00:36:10.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-20T09:28:59.000000Z'
                        deleted_at:
                          type: string
                          example: null
                          nullable: true
                        subscribable_product:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            subcribable_product_family_handle:
                              type: string
                              example: billing-plans
                            subcribable_product_family_id:
                              type: integer
                              example: 2465
                            name:
                              type: string
                              example: 'Chemical Formulator Yearly'
                            handle:
                              type: string
                              example: chemical-formulator-yearly
                            maxio_product_id:
                              type: integer
                              example: 4807
                            created_at:
                              type: string
                              example: '2026-02-07T00:00:06.000000Z'
                            updated_at:
                              type: string
                              example: '2026-02-07T00:00:06.000000Z'
                            deleted_at:
                              type: string
                              example: null
                              nullable: true
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/subscriptions/chargify-security-token':
    get:
      summary: 'Chargify.js security token'
      operationId: chargifyjsSecurityToken
      description: "Returns a signed JWT for use as securityToken in Chargify.js client config.\nCall this when loading the Chargify.js form; pass the token to chargify.load({ securityToken: ... }).\nUses organisation id as subject (sub) for per-account rate limiting in Maxio."
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    security_token: eyJ0eXAiOiJKV1QiLCJhbGc...
                properties:
                  data:
                    type: object
                    properties:
                      security_token:
                        type: string
                        example: eyJ0eXAiOiJKV1QiLCJhbGc...
        429:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Too many requests (rate limit: 10/minute, 60/hour per organisation)'
        500:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Chargify.js keys not configured'
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/subscriptions/{id}':
    get:
      summary: Show
      operationId: show
      description: 'Show a Subscription'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    organisation_id: 1
                    subscribable_product_id: 1
                    status: canceled
                    selected_stairstep: null
                    maxio_subscription_id: 346998
                    maxio_payment_id: 5857700
                    maxio_invoice_uid: inv_c39knm3xrb9rv
                    payment_status: null
                    start_at: '2026-02-05T07:30:03.000000Z'
                    valid_until: '2027-02-05T07:30:03.000000Z'
                    invoice_created_at: '2026-02-05 07:30:03'
                    expired_at: null
                    created_at: '2026-02-07T00:36:10.000000Z'
                    updated_at: '2026-03-20T09:28:59.000000Z'
                    deleted_at: null
                    invoices: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      organisation_id:
                        type: integer
                        example: 1
                      subscribable_product_id:
                        type: integer
                        example: 1
                      status:
                        type: string
                        example: canceled
                      selected_stairstep:
                        type: string
                        example: null
                        nullable: true
                      maxio_subscription_id:
                        type: integer
                        example: 346998
                      maxio_payment_id:
                        type: integer
                        example: 5857700
                      maxio_invoice_uid:
                        type: string
                        example: inv_c39knm3xrb9rv
                      payment_status:
                        type: string
                        example: null
                        nullable: true
                      start_at:
                        type: string
                        example: '2026-02-05T07:30:03.000000Z'
                      valid_until:
                        type: string
                        example: '2027-02-05T07:30:03.000000Z'
                      invoice_created_at:
                        type: string
                        example: '2026-02-05 07:30:03'
                      expired_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2026-02-07T00:36:10.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-20T09:28:59.000000Z'
                      deleted_at:
                        type: string
                        example: null
                        nullable: true
                      invoices:
                        type: array
                        example: []
        500:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Failed to load subscription invoices from Maxio'
      tags:
        - Organisations
    put:
      summary: 'Update a subscription (stairstep upgrade only)'
      operationId: updateASubscriptionstairstepUpgradeOnly
      description: "Preview or apply a prorated stairstep component upgrade. Only upgrades are allowed; downgrades are rejected.\nThe upgrade charge is prorated for the remaining period and does not extend the subscription end date.\n\nSend is_testing=true to get a preview (allocation_preview with total_in_cents etc.). Send is_testing=false to apply."
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    organisation_id: 1
                    subscribable_product_id: 1
                    status: canceled
                    selected_stairstep: null
                    maxio_subscription_id: 346998
                    maxio_payment_id: 5857700
                    maxio_invoice_uid: inv_c39knm3xrb9rv
                    payment_status: null
                    start_at: '2026-02-05T07:30:03.000000Z'
                    valid_until: '2027-02-05T07:30:03.000000Z'
                    invoice_created_at: '2026-02-05 07:30:03'
                    expired_at: null
                    created_at: '2026-02-07T00:36:10.000000Z'
                    updated_at: '2026-03-20T09:28:59.000000Z'
                    deleted_at: null
                    invoices: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      organisation_id:
                        type: integer
                        example: 1
                      subscribable_product_id:
                        type: integer
                        example: 1
                      status:
                        type: string
                        example: canceled
                      selected_stairstep:
                        type: string
                        example: null
                        nullable: true
                      maxio_subscription_id:
                        type: integer
                        example: 346998
                      maxio_payment_id:
                        type: integer
                        example: 5857700
                      maxio_invoice_uid:
                        type: string
                        example: inv_c39knm3xrb9rv
                      payment_status:
                        type: string
                        example: null
                        nullable: true
                      start_at:
                        type: string
                        example: '2026-02-05T07:30:03.000000Z'
                      valid_until:
                        type: string
                        example: '2027-02-05T07:30:03.000000Z'
                      invoice_created_at:
                        type: string
                        example: '2026-02-05 07:30:03'
                      expired_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2026-02-07T00:36:10.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-20T09:28:59.000000Z'
                      deleted_at:
                        type: string
                        example: null
                        nullable: true
                      invoices:
                        type: array
                        example: []
        400:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Organisation has no Maxio customer ID'
        422:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "Component is not a stairstep of this subscription's product; or only upgrades allowed (no downgrade)"
        500:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Maxio preview or allocation failed'
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                is_testing:
                  type: boolean
                  description: 'When true, returns a prorated upgrade preview without applying the change. When false, applies the stairstep upgrade (payment/customer data required).'
                  example: true
                chargify_token:
                  type: string
                  description: 'Chargify.js token for the payment method. Required when applying with collection_method=automatic and no payment_profile_id is sent. Must not be greater than 255 characters.'
                  example: pcekdntwmgdoimyffjrnjozu
                  nullable: true
                collection_method:
                  type: string
                  description: 'Collection method. Use "automatic" for immediate charge with payment details, "remittance" for invoice. Same as create.'
                  example: automatic
                  enum:
                    - automatic
                    - remittance
                payment_profile_id:
                  type: integer
                  description: 'Existing payment profile ID to use for the upgrade charge. Alternative to chargify_token when applying. Must be at least 1.'
                  example: 26
                  nullable: true
                payment_type:
                  type: string
                  description: 'Payment type: credit_card or bank_transfer. Same as create.'
                  example: credit_card
                  enum:
                    - credit_card
                    - bank_transfer
                first_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: kqaevmnqlrqqmfsncmvxnz
                last_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: wiw
                billing_first_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: bfinupteflcdzqkw
                billing_last_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: mldwnjgxa
                email:
                  type: string
                  description: 'Must be a valid email address. Must not be greater than 255 characters.'
                  example: edison57@example.com
                locale:
                  type: string
                  description: 'Locale (e.g. en, de). Optional, defaults to en. Must not be greater than 10 characters.'
                  example: gu_IN
                  nullable: true
                organization:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: bsjbcrcsndaazkzuhoiwzg
                phone:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: mgrgajlfm
                address:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: cvozjqwedytodqmflqlp
                address_2:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: qhjeljrfxfqjig
                  nullable: true
                city:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: ghwxvipgzdfrojeexsrdapnyc
                state:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: qazslqv
                country:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: hbhwibanzbrbfky
                zip:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: ymxooqzh
                billing_address:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: spwexwpopfqbnagemjplklzo
                billing_address_2:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: zyxjzsabwdvukkkdfgzgcrvig
                  nullable: true
                billing_city:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: pvwbowr
                billing_state:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: eljijqxvuh
                billing_country:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: vt
                billing_zip:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: vbzqxgsveigqsznyrpdmslmo
                components:
                  type: object
                  description: 'Exactly one component (stairstep) to upgrade. Only upgrades are allowed; downgrades are rejected. Must contain 1 items.'
                  example: []
                  properties:
                    -
                      type: object
                      description: ''
                      example: []
                      properties:
                        component_id:
                          type: integer
                          description: 'Must be at least 1.'
                          example: 32
                        allocated_quantity:
                          type: integer
                          description: 'Must be at least 1.'
                          example: 39
                      required:
                        - component_id
                        - allocated_quantity
              required:
                - is_testing
                - collection_method
                - payment_type
                - first_name
                - last_name
                - billing_first_name
                - billing_last_name
                - email
                - organization
                - phone
                - address
                - city
                - state
                - country
                - zip
                - billing_address
                - billing_city
                - billing_state
                - billing_country
                - billing_zip
                - components
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the subscription.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/subscriptions/product-details/{product_handle}':
    get:
      summary: 'Product details'
      operationId: productDetails
      description: "Get product details including available components and prices for the given product handle.\nUsed by the frontend to decide which components to show when creating a subscription."
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    product:
                      name: null
                      handle: null
                      description: null
                      accounting_code: null
                      price_in_cents: null
                      interval: null
                      interval_unit: null
                      trial_price_in_cents: null
                      trial_interval: null
                      trial_interval_unit: null
                      expiration_interval: null
                      expiration_interval_unit: null
                properties:
                  data:
                    type: object
                    properties:
                      product:
                        type: object
                        properties:
                          name:
                            type: string
                            example: null
                            nullable: true
                          handle:
                            type: string
                            example: null
                            nullable: true
                          description:
                            type: string
                            example: null
                            nullable: true
                          accounting_code:
                            type: string
                            example: null
                            nullable: true
                          price_in_cents:
                            type: string
                            example: null
                            nullable: true
                          interval:
                            type: string
                            example: null
                            nullable: true
                          interval_unit:
                            type: string
                            example: null
                            nullable: true
                          trial_price_in_cents:
                            type: string
                            example: null
                            nullable: true
                          trial_interval:
                            type: string
                            example: null
                            nullable: true
                          trial_interval_unit:
                            type: string
                            example: null
                            nullable: true
                          expiration_interval:
                            type: string
                            example: null
                            nullable: true
                          expiration_interval_unit:
                            type: string
                            example: null
                            nullable: true
        404:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Product not found'
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: product_handle
        description: ''
        example: maxime
        required: true
        schema:
          type: string
  '/api/organisations/{organisation_id}/subscriptions/validate-coupons/{product_handle}':
    post:
      summary: 'Coupon Validation'
      operationId: couponValidation
      description: 'Validate coupons for a product'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    code: null
                    description: null
                    amount: null
                    amount_in_cents: null
                    percentage: null
                    compounding_strategy: null
                    start_date: null
                    end_date: null
                    recurring: null
                    duration_period_count: null
                    duration_interval: null
                    duration_interval_unit: null
                    stackable: null
                properties:
                  data:
                    type: object
                    properties:
                      code:
                        type: string
                        example: null
                        nullable: true
                      description:
                        type: string
                        example: null
                        nullable: true
                      amount:
                        type: string
                        example: null
                        nullable: true
                      amount_in_cents:
                        type: string
                        example: null
                        nullable: true
                      percentage:
                        type: string
                        example: null
                        nullable: true
                      compounding_strategy:
                        type: string
                        example: null
                        nullable: true
                      start_date:
                        type: string
                        example: null
                        nullable: true
                      end_date:
                        type: string
                        example: null
                        nullable: true
                      recurring:
                        type: string
                        example: null
                        nullable: true
                      duration_period_count:
                        type: string
                        example: null
                        nullable: true
                      duration_interval:
                        type: string
                        example: null
                        nullable: true
                      duration_interval_unit:
                        type: string
                        example: null
                        nullable: true
                      stackable:
                        type: string
                        example: null
                        nullable: true
        400:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Coupon invalid, expired or not found'
        404:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Product not found'
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                coupon:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: eqjsgyuptulebqowrwcseht
              required:
                - coupon
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: product_handle
        description: ''
        example: vel
        required: true
        schema:
          type: string
  '/api/organisations/{organisation_id}/subscriptions/{product_handle}':
    post:
      summary: 'Create a new subscription'
      operationId: createANewSubscription
      description: "Create a new subscription for the organisation (existing Maxio customer).\nRuns a subscription preview first, if testing is enabled, returns the preview response.\nIf testing is disabled, creates the subscription.\nCustomer must send all required customer/payment/billing data. Tier/component amounts supported via components."
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    organisation_id: 1
                    subscribable_product_id: 1
                    status: canceled
                    selected_stairstep: null
                    maxio_subscription_id: 346998
                    maxio_payment_id: 5857700
                    maxio_invoice_uid: inv_c39knm3xrb9rv
                    payment_status: null
                    start_at: '2026-02-05T07:30:03.000000Z'
                    valid_until: '2027-02-05T07:30:03.000000Z'
                    invoice_created_at: '2026-02-05 07:30:03'
                    expired_at: null
                    created_at: '2026-02-07T00:36:10.000000Z'
                    updated_at: '2026-03-20T09:28:59.000000Z'
                    deleted_at: null
                    invoices: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      organisation_id:
                        type: integer
                        example: 1
                      subscribable_product_id:
                        type: integer
                        example: 1
                      status:
                        type: string
                        example: canceled
                      selected_stairstep:
                        type: string
                        example: null
                        nullable: true
                      maxio_subscription_id:
                        type: integer
                        example: 346998
                      maxio_payment_id:
                        type: integer
                        example: 5857700
                      maxio_invoice_uid:
                        type: string
                        example: inv_c39knm3xrb9rv
                      payment_status:
                        type: string
                        example: null
                        nullable: true
                      start_at:
                        type: string
                        example: '2026-02-05T07:30:03.000000Z'
                      valid_until:
                        type: string
                        example: '2027-02-05T07:30:03.000000Z'
                      invoice_created_at:
                        type: string
                        example: '2026-02-05 07:30:03'
                      expired_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2026-02-07T00:36:10.000000Z'
                      updated_at:
                        type: string
                        example: '2026-03-20T09:28:59.000000Z'
                      deleted_at:
                        type: string
                        example: null
                        nullable: true
                      invoices:
                        type: array
                        example: []
        400:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Organisation has no Maxio customer ID'
        500:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Maxio preview or create failed'
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                is_testing:
                  type: boolean
                  description: 'Should be used to validate the subscription payload and for price precalculation.'
                  example: false
                chargify_token:
                  type: string
                  description: 'The chargify token for the subscription generated with chargify.js. Must not be greater than 255 characters.'
                  example: xyyckcr
                  nullable: true
                collection_method:
                  type: string
                  description: 'The collection method for the subscription. Can be "automatic" or "remittance" => invoice based. If remittance is used, the subscription has to be paied within 60 days and no further payment details needed.'
                  example: automatic
                  enum:
                    - automatic
                    - remittance
                payment_profile_id:
                  type: integer
                  description: 'Must be at least 1.'
                  example: 59
                  nullable: true
                payment_type:
                  type: string
                  description: ''
                  example: bank_transfer
                  enum:
                    - credit_card
                    - bank_transfer
                first_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: spnbnvxtgymrl
                last_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: grgc
                billing_first_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: xocsxtpfqknvsdoulyfegmwa
                billing_last_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: bxtljlq
                email:
                  type: string
                  description: 'Must be a valid email address. Must not be greater than 255 characters.'
                  example: peter.ryan@example.net
                locale:
                  type: string
                  description: 'Must not be greater than 10 characters.'
                  example: fur_IT
                  nullable: true
                organization:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: wn
                phone:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: hemlqliluazwfuroip
                address:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: ybohr
                address_2:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: dxqrixaphxdjpolqhaeckydhc
                  nullable: true
                city:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: jruvpprkvtcyiqkwv
                state:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: cqhl
                country:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: gqforqwwkduvijnrenifc
                zip:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: zeulpxccukjauug
                billing_address:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: czem
                billing_address_2:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: itxfdtjsibjhzibhetlti
                  nullable: true
                billing_city:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: bdohrtlgikvsbfxo
                billing_state:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: zbjfeusyopgsssuhwdt
                billing_country:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: smeksfg
                billing_zip:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: raj
                components:
                  type: array
                  description: ''
                  example: null
                  items:
                    type: object
                    nullable: true
                    properties:
                      component_id:
                        type: integer
                        description: ''
                        example: 3
                      allocated_quantity:
                        type: number
                        description: 'Must be at least 0.'
                        example: 31
                      quantity:
                        type: integer
                        description: 'Must be at least 0.'
                        example: 46
                        nullable: true
                      price_point_id:
                        type: integer
                        description: 'Must be at least 1.'
                        example: 51
                    required:
                      - component_id
                      - allocated_quantity
                      - price_point_id
                coupon_codes:
                  type: array
                  description: 'Must not be greater than 255 characters.'
                  example:
                    - wkonzfxajsxtvrdrrlf
                  items:
                    type: string
              required:
                - is_testing
                - collection_method
                - payment_type
                - first_name
                - last_name
                - billing_first_name
                - billing_last_name
                - email
                - organization
                - phone
                - address
                - city
                - state
                - country
                - zip
                - billing_address
                - billing_city
                - billing_state
                - billing_country
                - billing_zip
                - coupon_codes
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: product_handle
        description: ''
        example: blanditiis
        required: true
        schema:
          type: string
  /api/organisation-types:
    get:
      summary: Index
      operationId: index
      description: "Get a paginated list of organisation types. Calling this unauthenticated will only return selectable types.\n<aside class=\"warning\">Requires <code>MODIFY_ORGANISATION_TYPES</code> Permission, if authenticated</aside>"
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 11
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 11
        -
          in: query
          name: sort
          description: 'sort by any accepted column: name,display_name,selectable,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
          example: 'name,display_name,selectable,created_at,updated_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: name,display_name,selectable,created_at,updated_at. prefix a "-" before the column name to sort in descending order'
            example: 'name,display_name,selectable,created_at,updated_at'
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: search
          description: 'Search in all of these columns: name'
          example: fugiat
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name'
            example: fugiat
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      name: 'ZDHC Internal'
                      display_name: 'ZDHC Internal'
                      description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                      selectable: 0
                      created_at: '2025-11-14T09:21:46.000000Z'
                      updated_at: '2026-03-24T14:59:35.000000Z'
                    -
                      id: 1
                      name: 'ZDHC Internal'
                      display_name: 'ZDHC Internal'
                      description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                      selectable: 0
                      created_at: '2025-11-14T09:21:46.000000Z'
                      updated_at: '2026-03-24T14:59:35.000000Z'
                  links:
                    first: '/?page=1'
                    last: null
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    path: /
                    per_page: '50'
                    to: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        name: 'ZDHC Internal'
                        display_name: 'ZDHC Internal'
                        description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                        selectable: 0
                        created_at: '2025-11-14T09:21:46.000000Z'
                        updated_at: '2026-03-24T14:59:35.000000Z'
                      -
                        id: 1
                        name: 'ZDHC Internal'
                        display_name: 'ZDHC Internal'
                        description: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                        selectable: 0
                        created_at: '2025-11-14T09:21:46.000000Z'
                        updated_at: '2026-03-24T14:59:35.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        name:
                          type: string
                          example: 'ZDHC Internal'
                        display_name:
                          type: string
                          example: 'ZDHC Internal'
                        description:
                          type: string
                          example: 'Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.'
                        selectable:
                          type: integer
                          example: 0
                        created_at:
                          type: string
                          example: '2025-11-14T09:21:46.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-24T14:59:35.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: null
                        nullable: true
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      path:
                        type: string
                        example: /
                      per_page:
                        type: string
                        example: '50'
                      to:
                        type: integer
                        example: 2
      tags:
        - Organisations
      security: []
  '/api/organisations/{organisation_id}/organisation-types':
    post:
      summary: Store
      operationId: store
      description: "Create a new organisation type.\n<aside class=\"warning\">Requires <code>MODIFY_ORGANISATION_TYPES</code> Permission</aside>"
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Organisation type created successfully.'
                properties:
                  message:
                    type: string
                    example: 'Organisation type created successfully.'
        422:
          description: 'Validation Error'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: '[error message from the first field failing validation]'
                  errors:
                    '[field_name]':
                      - '[any validator message failing]'
                properties:
                  message:
                    type: string
                    example: '[error message from the first field failing validation]'
                  errors:
                    type: object
                    properties:
                      '[field_name]':
                        type: array
                        example:
                          - '[any validator message failing]'
                        items:
                          type: string
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: md
                display_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: geqjndrqakkvmbaevundd
                description:
                  type: string
                  description: 'Must not be greater than 65535 characters.'
                  example: 'Assumenda inventore quibusdam reiciendis recusandae.'
                  nullable: true
                selectable:
                  type: boolean
                  description: ''
                  example: true
              required:
                - name
                - display_name
                - selectable
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/organisation-types/{id}':
    put:
      summary: Update
      operationId: update
      description: "Update an organisation type.\n<aside class=\"warning\">Requires <code>MODIFY_ORGANISATION_TYPES</code> Permission</aside>"
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Organisation type updated successfully.'
                properties:
                  message:
                    type: string
                    example: 'Organisation type updated successfully.'
        422:
          description: 'Validation Error'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: '[error message from the first field failing validation]'
                  errors:
                    '[field_name]':
                      - '[any validator message failing]'
                properties:
                  message:
                    type: string
                    example: '[error message from the first field failing validation]'
                  errors:
                    type: object
                    properties:
                      '[field_name]':
                        type: array
                        example:
                          - '[any validator message failing]'
                        items:
                          type: string
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: tvxmaregrbxcatkiebnrx
                display_name:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: ounjgwj
                description:
                  type: string
                  description: 'Must not be greater than 65535 characters.'
                  example: 'Temporibus eligendi tempore est doloremque vero quia.'
                  nullable: true
                selectable:
                  type: boolean
                  description: ''
                  example: false
              required:
                - name
                - display_name
                - selectable
    delete:
      summary: Destroy
      operationId: destroy
      description: "Delete an organisation type.\n<aside class=\"warning\">Requires <code>MODIFY_ORGANISATION_TYPES</code> Permission</aside>"
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Organisation type deleted successfully.'
                properties:
                  message:
                    type: string
                    example: 'Organisation type deleted successfully.'
        422:
          description: 'Type in Use'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Cannot delete organisation type as it is in use.'
                properties:
                  message:
                    type: string
                    example: 'Cannot delete organisation type as it is in use.'
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the organisation type.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/users':
    get:
      summary: Index
      operationId: index
      description: "Get users for an organisation.\n<aside class=\"warning\">Requires <code>VIEW_RELATED_ORGANISATION_MEMBERS</code></aside>\n<aside class=\"warning\">Auth Admin organisations can get users for all organisations. Regular users can only get their own organisation's users.</aside>"
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 14
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 14
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      organisation_id: 1
                      user_id: 1
                      invited_by: null
                      role_id: 4
                      last_authorization: '2025-12-02T13:51:01.000000Z'
                      invitation_sent_at: '2025-11-14T09:21:52.000000Z'
                      invitation_accepted_at: '2025-11-14T09:21:52.000000Z'
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2025-12-02T13:51:01.000000Z'
                      deleted_at: null
                      user:
                        id: 1
                        first_name: System
                        last_name: User
                        email: admin@localhost
                        email_verified_at: null
                        phone: '+13523381248'
                        location: null
                        created_at: '2025-07-24T13:23:18.000000Z'
                        updated_at: '2025-12-08T15:12:52.000000Z'
                        deleted_at: null
                        profile_picture_url: null
                      role:
                        id: 4
                        parent_id: 3
                        name: ORGANISATION_ADMIN
                    -
                      id: 1
                      organisation_id: 1
                      user_id: 1
                      invited_by: null
                      role_id: 4
                      last_authorization: '2025-12-02T13:51:01.000000Z'
                      invitation_sent_at: '2025-11-14T09:21:52.000000Z'
                      invitation_accepted_at: '2025-11-14T09:21:52.000000Z'
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2025-12-02T13:51:01.000000Z'
                      deleted_at: null
                      user:
                        id: 1
                        first_name: System
                        last_name: User
                        email: admin@localhost
                        email_verified_at: null
                        phone: '+13523381248'
                        location: null
                        created_at: '2025-07-24T13:23:18.000000Z'
                        updated_at: '2025-12-08T15:12:52.000000Z'
                        deleted_at: null
                        profile_picture_url: null
                      role:
                        id: 4
                        parent_id: 3
                        name: ORGANISATION_ADMIN
                  links:
                    first: '/?page=1'
                    last: null
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    path: /
                    per_page: '100'
                    to: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        organisation_id: 1
                        user_id: 1
                        invited_by: null
                        role_id: 4
                        last_authorization: '2025-12-02T13:51:01.000000Z'
                        invitation_sent_at: '2025-11-14T09:21:52.000000Z'
                        invitation_accepted_at: '2025-11-14T09:21:52.000000Z'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2025-12-02T13:51:01.000000Z'
                        deleted_at: null
                        user:
                          id: 1
                          first_name: System
                          last_name: User
                          email: admin@localhost
                          email_verified_at: null
                          phone: '+13523381248'
                          location: null
                          created_at: '2025-07-24T13:23:18.000000Z'
                          updated_at: '2025-12-08T15:12:52.000000Z'
                          deleted_at: null
                          profile_picture_url: null
                        role:
                          id: 4
                          parent_id: 3
                          name: ORGANISATION_ADMIN
                      -
                        id: 1
                        organisation_id: 1
                        user_id: 1
                        invited_by: null
                        role_id: 4
                        last_authorization: '2025-12-02T13:51:01.000000Z'
                        invitation_sent_at: '2025-11-14T09:21:52.000000Z'
                        invitation_accepted_at: '2025-11-14T09:21:52.000000Z'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2025-12-02T13:51:01.000000Z'
                        deleted_at: null
                        user:
                          id: 1
                          first_name: System
                          last_name: User
                          email: admin@localhost
                          email_verified_at: null
                          phone: '+13523381248'
                          location: null
                          created_at: '2025-07-24T13:23:18.000000Z'
                          updated_at: '2025-12-08T15:12:52.000000Z'
                          deleted_at: null
                          profile_picture_url: null
                        role:
                          id: 4
                          parent_id: 3
                          name: ORGANISATION_ADMIN
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        organisation_id:
                          type: integer
                          example: 1
                        user_id:
                          type: integer
                          example: 1
                        invited_by:
                          type: string
                          example: null
                          nullable: true
                        role_id:
                          type: integer
                          example: 4
                        last_authorization:
                          type: string
                          example: '2025-12-02T13:51:01.000000Z'
                        invitation_sent_at:
                          type: string
                          example: '2025-11-14T09:21:52.000000Z'
                        invitation_accepted_at:
                          type: string
                          example: '2025-11-14T09:21:52.000000Z'
                        created_at:
                          type: string
                          example: '2025-07-24T13:23:28.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-02T13:51:01.000000Z'
                        deleted_at:
                          type: string
                          example: null
                          nullable: true
                        user:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            first_name:
                              type: string
                              example: System
                            last_name:
                              type: string
                              example: User
                            email:
                              type: string
                              example: admin@localhost
                            email_verified_at:
                              type: string
                              example: null
                              nullable: true
                            phone:
                              type: string
                              example: '+13523381248'
                            location:
                              type: string
                              example: null
                              nullable: true
                            created_at:
                              type: string
                              example: '2025-07-24T13:23:18.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-08T15:12:52.000000Z'
                            deleted_at:
                              type: string
                              example: null
                              nullable: true
                            profile_picture_url:
                              type: string
                              example: null
                              nullable: true
                        role:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 4
                            parent_id:
                              type: integer
                              example: 3
                            name:
                              type: string
                              example: ORGANISATION_ADMIN
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: null
                        nullable: true
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      path:
                        type: string
                        example: /
                      per_page:
                        type: string
                        example: '100'
                      to:
                        type: integer
                        example: 2
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/users/{user_id}/getOrganisationUser':
    get:
      summary: Show
      operationId: show
      description: 'Show an organisation user'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    organisation_id: 1
                    user_id: 1
                    invited_by: null
                    role_id: 4
                    last_authorization: '2025-12-02T13:51:01.000000Z'
                    invitation_sent_at: '2025-11-14T09:21:52.000000Z'
                    invitation_accepted_at: '2025-11-14T09:21:52.000000Z'
                    created_at: '2025-07-24T13:23:28.000000Z'
                    updated_at: '2025-12-02T13:51:01.000000Z'
                    deleted_at: null
                    role:
                      id: 4
                      parent_id: 3
                      name: ORGANISATION_ADMIN
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      organisation_id:
                        type: integer
                        example: 1
                      user_id:
                        type: integer
                        example: 1
                      invited_by:
                        type: string
                        example: null
                        nullable: true
                      role_id:
                        type: integer
                        example: 4
                      last_authorization:
                        type: string
                        example: '2025-12-02T13:51:01.000000Z'
                      invitation_sent_at:
                        type: string
                        example: '2025-11-14T09:21:52.000000Z'
                      invitation_accepted_at:
                        type: string
                        example: '2025-11-14T09:21:52.000000Z'
                      created_at:
                        type: string
                        example: '2025-07-24T13:23:28.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-02T13:51:01.000000Z'
                      deleted_at:
                        type: string
                        example: null
                        nullable: true
                      role:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 4
                          parent_id:
                            type: integer
                            example: 3
                          name:
                            type: string
                            example: ORGANISATION_ADMIN
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/invite':
    post:
      summary: Invite
      operationId: invite
      description: "Invite users to an organisation.\n<aside class=\"warning\">Requires <code>MANAGE_RELATED_ORGANISATION_MEMBERS</code> permission!</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                emails:
                  type: array
                  description: 'Must be a valid email address.'
                  example:
                    - itzel.grady@example.net
                  items:
                    type: string
              required:
                - emails
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/users/{organisationUser_id}/resend-invitation':
    post:
      summary: 'Resend invitation'
      operationId: resendInvitation
      description: 'Notify a user that has already been invited again.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: organisationUser_id
        description: 'The ID of the organisationUser.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/users/{organisationUser_id}/role/change':
    post:
      summary: 'Change role'
      operationId: changeRole
      description: "Change the role of a user in an organisation.\n<aside class=\"warning\">Requires <code>MANAGE_RELATED_ORGANISATION_MEMBERS</code></aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Organisations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                role_id:
                  type: integer
                  description: 'The ID of the role to change the user to.'
                  example: 6
              required:
                - role_id
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: organisationUser_id
        description: 'The ID of the organisationUser.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/users/{organisationUser_id}/detach':
    delete:
      summary: Detach
      operationId: detach
      description: "Detach a user from an organisation.\n<aside class=\"warning\">Requires <code>MANAGE_RELATED_ORGANISATION_MEMBERS</code></aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: organisationUser_id
        description: 'The ID of the organisationUser.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/supplier-profile/show':
    get:
      summary: Show
      operationId: show
      description: 'Get the supplier profile'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    organisation_id: 1
                    facility_type_id: 8
                    discharge_volume: 100
                    discharge_points_count: 1
                    sludge_generation: 100
                    created_at: '2025-11-14T09:22:11.000000Z'
                    updated_at: '2025-11-14T09:22:11.000000Z'
                    attributes:
                      -
                        id: 163
                        external_id: null
                        group_id: 9
                        parent_id: null
                        short: null
                        name: 'Thermoplastic polyurethane (TPU)'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 1
                          attribute_id: 163
                      -
                        id: 197
                        external_id: null
                        group_id: 10
                        parent_id: null
                        short: null
                        name: Molding
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 1
                          attribute_id: 197
                      -
                        id: 242
                        external_id: null
                        group_id: 11
                        parent_id: null
                        short: null
                        name: 'Organic solvents'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 1
                          attribute_id: 242
                      -
                        id: 277
                        external_id: null
                        group_id: 12
                        parent_id: null
                        short: null
                        name: None
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 1
                          attribute_id: 277
                      -
                        id: 278
                        external_id: null
                        group_id: 13
                        parent_id: null
                        short: null
                        name: Direct
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 1
                          attribute_id: 278
                      -
                        id: 284
                        external_id: null
                        group_id: 14
                        parent_id: null
                        short: null
                        name: Tertiary
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 1
                          attribute_id: 284
                      -
                        id: 301
                        external_id: null
                        group_id: 15
                        parent_id: null
                        short: null
                        name: Nanofiltration
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 1
                          attribute_id: 301
                      -
                        id: 314
                        external_id: null
                        group_id: 16
                        parent_id: null
                        short: null
                        name: 'Disposal Pathway B: Landfill with Significant Control Measures'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 1
                          attribute_id: 314
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      organisation_id:
                        type: integer
                        example: 1
                      facility_type_id:
                        type: integer
                        example: 8
                      discharge_volume:
                        type: integer
                        example: 100
                      discharge_points_count:
                        type: integer
                        example: 1
                      sludge_generation:
                        type: integer
                        example: 100
                      created_at:
                        type: string
                        example: '2025-11-14T09:22:11.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-14T09:22:11.000000Z'
                      attributes:
                        type: array
                        example:
                          -
                            id: 163
                            external_id: null
                            group_id: 9
                            parent_id: null
                            short: null
                            name: 'Thermoplastic polyurethane (TPU)'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 1
                              attribute_id: 163
                          -
                            id: 197
                            external_id: null
                            group_id: 10
                            parent_id: null
                            short: null
                            name: Molding
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 1
                              attribute_id: 197
                          -
                            id: 242
                            external_id: null
                            group_id: 11
                            parent_id: null
                            short: null
                            name: 'Organic solvents'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 1
                              attribute_id: 242
                          -
                            id: 277
                            external_id: null
                            group_id: 12
                            parent_id: null
                            short: null
                            name: None
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 1
                              attribute_id: 277
                          -
                            id: 278
                            external_id: null
                            group_id: 13
                            parent_id: null
                            short: null
                            name: Direct
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 1
                              attribute_id: 278
                          -
                            id: 284
                            external_id: null
                            group_id: 14
                            parent_id: null
                            short: null
                            name: Tertiary
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 1
                              attribute_id: 284
                          -
                            id: 301
                            external_id: null
                            group_id: 15
                            parent_id: null
                            short: null
                            name: Nanofiltration
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 1
                              attribute_id: 301
                          -
                            id: 314
                            external_id: null
                            group_id: 16
                            parent_id: null
                            short: null
                            name: 'Disposal Pathway B: Landfill with Significant Control Measures'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 1
                              attribute_id: 314
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 163
                            external_id:
                              type: string
                              example: null
                              nullable: true
                            group_id:
                              type: integer
                              example: 9
                            parent_id:
                              type: string
                              example: null
                              nullable: true
                            short:
                              type: string
                              example: null
                              nullable: true
                            name:
                              type: string
                              example: 'Thermoplastic polyurethane (TPU)'
                            selectable:
                              type: integer
                              example: 1
                            order:
                              type: string
                              example: null
                              nullable: true
                            pivot:
                              type: object
                              properties:
                                profile_id:
                                  type: integer
                                  example: 1
                                attribute_id:
                                  type: integer
                                  example: 163
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisations/{organisation_id}/supplier-profile/update':
    put:
      summary: Update
      operationId: update
      description: 'Update the supplier profile for the organisation'
      parameters:
        -
          in: query
          name: facility_type_id
          description: 'The <code>id</code> of an existing record in the supplier_facility_types table.'
          example: reiciendis
          required: true
          schema:
            type: string
            description: 'The <code>id</code> of an existing record in the supplier_facility_types table.'
            example: reiciendis
        -
          in: query
          name: attributes
          description: ''
          example:
            - 14168
          required: false
          schema:
            type: array
            description: ''
            example:
              - 14168
            items:
              type: string
              enum:
                - 99
                - 100
                - 101
                - 102
                - 103
                - 104
                - 105
                - 106
                - 107
                - 108
                - 109
                - 110
                - 111
                - 112
                - 113
                - 114
                - 115
                - 116
                - 117
                - 118
                - 119
                - 120
                - 121
                - 122
                - 123
                - 124
                - 125
                - 126
                - 127
                - 128
                - 129
                - 130
                - 131
                - 132
                - 133
                - 134
                - 135
                - 136
                - 137
                - 138
                - 139
                - 140
                - 141
                - 142
                - 143
                - 144
                - 145
                - 146
                - 147
                - 178
                - 179
                - 180
                - 181
                - 182
                - 183
                - 212
                - 213
                - 214
                - 215
                - 216
                - 217
                - 218
                - 219
                - 220
                - 221
                - 222
                - 223
                - 224
                - 225
                - 226
                - 227
                - 275
                - 276
                - 277
                - 278
                - 279
                - 280
                - 281
                - 282
                - 283
                - 284
                - 285
                - 286
                - 287
                - 288
                - 289
                - 290
                - 291
                - 292
                - 293
                - 294
                - 295
                - 296
                - 297
                - 298
                - 299
                - 300
                - 301
                - 302
                - 303
                - 304
                - 305
                - 306
                - 307
                - 308
                - 309
                - 310
                - 311
                - 312
                - 313
                - 314
                - 315
                - 316
                - 317
                - 318
                - 319
                - 4519
                - 4536
                - 4598
                - 4599
                - 4600
                - 4601
                - 4602
                - 4603
                - 4632
                - 4633
                - 4634
                - 4635
                - 4636
                - 4637
                - 4638
                - 4639
                - 4640
                - 4641
                - 4642
                - 4643
                - 4644
                - 4645
                - 4646
                - 4647
                - 4695
                - 4696
                - 4697
                - 4698
                - 4699
                - 4700
                - 4701
                - 4702
                - 4703
                - 4704
                - 4705
                - 4706
                - 4707
                - 4708
                - 4709
                - 4710
                - 4711
                - 4712
                - 4713
                - 4714
                - 4715
                - 4716
                - 4717
                - 4718
                - 4719
                - 4720
                - 4721
                - 4722
                - 4723
                - 4724
                - 4725
                - 4726
                - 4727
                - 4728
                - 4729
                - 4730
                - 4731
                - 4732
                - 4733
                - 4734
                - 4735
                - 4736
                - 4737
                - 4738
                - 4739
                - 4740
                - 4757
                - 4819
                - 4820
                - 4821
                - 4822
                - 4823
                - 4824
                - 4853
                - 4854
                - 4855
                - 4856
                - 4857
                - 4858
                - 4859
                - 4860
                - 4861
                - 4862
                - 4863
                - 4864
                - 4865
                - 4866
                - 4867
                - 4868
                - 4916
                - 4917
                - 4918
                - 4919
                - 4920
                - 4921
                - 4922
                - 4923
                - 4924
                - 4925
                - 4926
                - 4927
                - 4928
                - 4929
                - 4930
                - 4931
                - 4932
                - 4933
                - 4934
                - 4935
                - 4936
                - 4937
                - 4938
                - 4939
                - 4940
                - 4941
                - 4942
                - 4943
                - 4944
                - 4945
                - 4946
                - 4947
                - 4948
                - 4949
                - 4950
                - 4951
                - 4952
                - 4953
                - 4954
                - 4955
                - 4956
                - 4957
                - 4958
                - 4959
                - 4960
                - 4961
                - 4978
                - 5040
                - 5041
                - 5042
                - 5043
                - 5044
                - 5045
                - 5074
                - 5075
                - 5076
                - 5077
                - 5078
                - 5079
                - 5080
                - 5081
                - 5082
                - 5083
                - 5084
                - 5085
                - 5086
                - 5087
                - 5088
                - 5089
                - 5137
                - 5138
                - 5139
                - 5140
                - 5141
                - 5142
                - 5143
                - 5144
                - 5145
                - 5146
                - 5147
                - 5148
                - 5149
                - 5150
                - 5151
                - 5152
                - 5153
                - 5154
                - 5155
                - 5156
                - 5157
                - 5158
                - 5159
                - 5160
                - 5161
                - 5162
                - 5163
                - 5164
                - 5165
                - 5166
                - 5167
                - 5168
                - 5169
                - 5170
                - 5171
                - 5172
                - 5173
                - 5174
                - 5175
                - 5176
                - 5177
                - 5178
                - 5179
                - 5180
                - 5181
                - 5182
                - 5199
                - 5261
                - 5262
                - 5263
                - 5264
                - 5265
                - 5266
                - 5295
                - 5296
                - 5297
                - 5298
                - 5299
                - 5300
                - 5301
                - 5302
                - 5303
                - 5304
                - 5305
                - 5306
                - 5307
                - 5308
                - 5309
                - 5310
                - 5358
                - 5359
                - 5360
                - 5361
                - 5362
                - 5363
                - 5364
                - 5365
                - 5366
                - 5367
                - 5368
                - 5369
                - 5370
                - 5371
                - 5372
                - 5373
                - 5374
                - 5375
                - 5376
                - 5377
                - 5378
                - 5379
                - 5380
                - 5381
                - 5382
                - 5383
                - 5384
                - 5385
                - 5386
                - 5387
                - 5388
                - 5389
                - 5390
                - 5391
                - 5392
                - 5393
                - 5394
                - 5395
                - 5396
                - 5397
                - 5398
                - 5399
                - 5400
                - 5401
                - 5402
                - 5403
                - 5420
                - 5482
                - 5483
                - 5484
                - 5485
                - 5486
                - 5487
                - 5516
                - 5517
                - 5518
                - 5519
                - 5520
                - 5521
                - 5522
                - 5523
                - 5524
                - 5525
                - 5526
                - 5527
                - 5528
                - 5529
                - 5530
                - 5531
                - 5579
                - 5580
                - 5581
                - 5582
                - 5583
                - 5584
                - 5585
                - 5586
                - 5587
                - 5588
                - 5589
                - 5590
                - 5591
                - 5592
                - 5593
                - 5594
                - 5595
                - 5596
                - 5597
                - 5598
                - 5599
                - 5600
                - 5601
                - 5602
                - 5603
                - 5604
                - 5605
                - 5606
                - 5607
                - 5608
                - 5609
                - 5610
                - 5611
                - 5612
                - 5613
                - 5614
                - 5615
                - 5616
                - 5617
                - 5618
                - 5619
                - 5620
                - 5621
                - 5622
                - 5623
                - 5624
                - 5641
                - 5703
                - 5704
                - 5705
                - 5706
                - 5707
                - 5708
                - 5737
                - 5738
                - 5739
                - 5740
                - 5741
                - 5742
                - 5743
                - 5744
                - 5745
                - 5746
                - 5747
                - 5748
                - 5749
                - 5750
                - 5751
                - 5752
                - 5800
                - 5801
                - 5802
                - 5803
                - 5804
                - 5805
                - 5806
                - 5807
                - 5808
                - 5809
                - 5810
                - 5811
                - 5812
                - 5813
                - 5814
                - 5815
                - 5816
                - 5817
                - 5818
                - 5819
                - 5820
                - 5821
                - 5822
                - 5823
                - 5824
                - 5825
                - 5826
                - 5827
                - 5828
                - 5829
                - 5830
                - 5831
                - 5832
                - 5833
                - 5834
                - 5835
                - 5836
                - 5837
                - 5838
                - 5839
                - 5840
                - 5841
                - 5842
                - 5843
                - 5844
                - 5845
                - 5862
                - 5924
                - 5925
                - 5926
                - 5927
                - 5928
                - 5929
                - 5958
                - 5959
                - 5960
                - 5961
                - 5962
                - 5963
                - 5964
                - 5965
                - 5966
                - 5967
                - 5968
                - 5969
                - 5970
                - 5971
                - 5972
                - 5973
                - 6021
                - 6022
                - 6023
                - 6024
                - 6025
                - 6026
                - 6027
                - 6028
                - 6029
                - 6030
                - 6031
                - 6032
                - 6033
                - 6034
                - 6035
                - 6036
                - 6037
                - 6038
                - 6039
                - 6040
                - 6041
                - 6042
                - 6043
                - 6044
                - 6045
                - 6046
                - 6047
                - 6048
                - 6049
                - 6050
                - 6051
                - 6052
                - 6053
                - 6054
                - 6055
                - 6056
                - 6057
                - 6058
                - 6059
                - 6060
                - 6061
                - 6062
                - 6063
                - 6064
                - 6065
                - 6066
                - 6083
                - 6145
                - 6146
                - 6147
                - 6148
                - 6149
                - 6150
                - 6179
                - 6180
                - 6181
                - 6182
                - 6183
                - 6184
                - 6185
                - 6186
                - 6187
                - 6188
                - 6189
                - 6190
                - 6191
                - 6192
                - 6193
                - 6194
                - 6242
                - 6243
                - 6244
                - 6245
                - 6246
                - 6247
                - 6248
                - 6249
                - 6250
                - 6251
                - 6252
                - 6253
                - 6254
                - 6255
                - 6256
                - 6257
                - 6258
                - 6259
                - 6260
                - 6261
                - 6262
                - 6263
                - 6264
                - 6265
                - 6266
                - 6267
                - 6268
                - 6269
                - 6270
                - 6271
                - 6272
                - 6273
                - 6274
                - 6275
                - 6276
                - 6277
                - 6278
                - 6279
                - 6280
                - 6281
                - 6282
                - 6283
                - 6284
                - 6285
                - 6286
                - 6287
                - 6304
                - 6366
                - 6367
                - 6368
                - 6369
                - 6370
                - 6371
                - 6400
                - 6401
                - 6402
                - 6403
                - 6404
                - 6405
                - 6406
                - 6407
                - 6408
                - 6409
                - 6410
                - 6411
                - 6412
                - 6413
                - 6414
                - 6415
                - 6463
                - 6464
                - 6465
                - 6466
                - 6467
                - 6468
                - 6469
                - 6470
                - 6471
                - 6472
                - 6473
                - 6474
                - 6475
                - 6476
                - 6477
                - 6478
                - 6479
                - 6480
                - 6481
                - 6482
                - 6483
                - 6484
                - 6485
                - 6486
                - 6487
                - 6488
                - 6489
                - 6490
                - 6491
                - 6492
                - 6493
                - 6494
                - 6495
                - 6496
                - 6497
                - 6498
                - 6499
                - 6500
                - 6501
                - 6502
                - 6503
                - 6504
                - 6505
                - 6506
                - 6507
                - 6508
                - 6525
                - 6587
                - 6588
                - 6589
                - 6590
                - 6591
                - 6592
                - 6621
                - 6622
                - 6623
                - 6624
                - 6625
                - 6626
                - 6627
                - 6628
                - 6629
                - 6630
                - 6631
                - 6632
                - 6633
                - 6634
                - 6635
                - 6636
                - 6684
                - 6685
                - 6686
                - 6687
                - 6688
                - 6689
                - 6690
                - 6691
                - 6692
                - 6693
                - 6694
                - 6695
                - 6696
                - 6697
                - 6698
                - 6699
                - 6700
                - 6701
                - 6702
                - 6703
                - 6704
                - 6705
                - 6706
                - 6707
                - 6708
                - 6709
                - 6710
                - 6711
                - 6712
                - 6713
                - 6714
                - 6715
                - 6716
                - 6717
                - 6718
                - 6719
                - 6720
                - 6721
                - 6722
                - 6723
                - 6724
                - 6725
                - 6726
                - 6727
                - 6728
                - 6729
                - 6746
                - 6808
                - 6809
                - 6810
                - 6811
                - 6812
                - 6813
                - 6842
                - 6843
                - 6844
                - 6845
                - 6846
                - 6847
                - 6848
                - 6849
                - 6850
                - 6851
                - 6852
                - 6853
                - 6854
                - 6855
                - 6856
                - 6857
                - 6905
                - 6906
                - 6907
                - 6908
                - 6909
                - 6910
                - 6911
                - 6912
                - 6913
                - 6914
                - 6915
                - 6916
                - 6917
                - 6918
                - 6919
                - 6920
                - 6921
                - 6922
                - 6923
                - 6924
                - 6925
                - 6926
                - 6927
                - 6928
                - 6929
                - 6930
                - 6931
                - 6932
                - 6933
                - 6934
                - 6935
                - 6936
                - 6937
                - 6938
                - 6939
                - 6940
                - 6941
                - 6942
                - 6943
                - 6944
                - 6945
                - 6946
                - 6947
                - 6948
                - 6949
                - 6950
                - 6967
                - 7029
                - 7030
                - 7031
                - 7032
                - 7033
                - 7034
                - 7063
                - 7064
                - 7065
                - 7066
                - 7067
                - 7068
                - 7069
                - 7070
                - 7071
                - 7072
                - 7073
                - 7074
                - 7075
                - 7076
                - 7077
                - 7078
                - 7126
                - 7127
                - 7128
                - 7129
                - 7130
                - 7131
                - 7132
                - 7133
                - 7134
                - 7135
                - 7136
                - 7137
                - 7138
                - 7139
                - 7140
                - 7141
                - 7142
                - 7143
                - 7144
                - 7145
                - 7146
                - 7147
                - 7148
                - 7149
                - 7150
                - 7151
                - 7152
                - 7153
                - 7154
                - 7155
                - 7156
                - 7157
                - 7158
                - 7159
                - 7160
                - 7161
                - 7162
                - 7163
                - 7164
                - 7165
                - 7166
                - 7167
                - 7168
                - 7169
                - 7170
                - 7171
                - 7188
                - 7250
                - 7251
                - 7252
                - 7253
                - 7254
                - 7255
                - 7284
                - 7285
                - 7286
                - 7287
                - 7288
                - 7289
                - 7290
                - 7291
                - 7292
                - 7293
                - 7294
                - 7295
                - 7296
                - 7297
                - 7298
                - 7299
                - 7347
                - 7348
                - 7349
                - 7350
                - 7351
                - 7352
                - 7353
                - 7354
                - 7355
                - 7356
                - 7357
                - 7358
                - 7359
                - 7360
                - 7361
                - 7362
                - 7363
                - 7364
                - 7365
                - 7366
                - 7367
                - 7368
                - 7369
                - 7370
                - 7371
                - 7372
                - 7373
                - 7374
                - 7375
                - 7376
                - 7377
                - 7378
                - 7379
                - 7380
                - 7381
                - 7382
                - 7383
                - 7384
                - 7385
                - 7386
                - 7387
                - 7388
                - 7389
                - 7390
                - 7391
                - 7392
                - 7409
                - 7471
                - 7472
                - 7473
                - 7474
                - 7475
                - 7476
                - 7505
                - 7506
                - 7507
                - 7508
                - 7509
                - 7510
                - 7511
                - 7512
                - 7513
                - 7514
                - 7515
                - 7516
                - 7517
                - 7518
                - 7519
                - 7520
                - 7568
                - 7569
                - 7570
                - 7571
                - 7572
                - 7573
                - 7574
                - 7575
                - 7576
                - 7577
                - 7578
                - 7579
                - 7580
                - 7581
                - 7582
                - 7583
                - 7584
                - 7585
                - 7586
                - 7587
                - 7588
                - 7589
                - 7590
                - 7591
                - 7592
                - 7593
                - 7594
                - 7595
                - 7596
                - 7597
                - 7598
                - 7599
                - 7600
                - 7601
                - 7602
                - 7603
                - 7604
                - 7605
                - 7606
                - 7607
                - 7608
                - 7609
                - 7610
                - 7611
                - 7612
                - 7613
                - 7630
                - 7692
                - 7693
                - 7694
                - 7695
                - 7696
                - 7697
                - 7726
                - 7727
                - 7728
                - 7729
                - 7730
                - 7731
                - 7732
                - 7733
                - 7734
                - 7735
                - 7736
                - 7737
                - 7738
                - 7739
                - 7740
                - 7741
                - 7789
                - 7790
                - 7791
                - 7792
                - 7793
                - 7794
                - 7795
                - 7796
                - 7797
                - 7798
                - 7799
                - 7800
                - 7801
                - 7802
                - 7803
                - 7804
                - 7805
                - 7806
                - 7807
                - 7808
                - 7809
                - 7810
                - 7811
                - 7812
                - 7813
                - 7814
                - 7815
                - 7816
                - 7817
                - 7818
                - 7819
                - 7820
                - 7821
                - 7822
                - 7823
                - 7824
                - 7825
                - 7826
                - 7827
                - 7828
                - 7829
                - 7830
                - 7831
                - 7832
                - 7833
                - 7834
                - 7851
                - 7913
                - 7914
                - 7915
                - 7916
                - 7917
                - 7918
                - 7947
                - 7948
                - 7949
                - 7950
                - 7951
                - 7952
                - 7953
                - 7954
                - 7955
                - 7956
                - 7957
                - 7958
                - 7959
                - 7960
                - 7961
                - 7962
                - 8010
                - 8011
                - 8012
                - 8013
                - 8014
                - 8015
                - 8016
                - 8017
                - 8018
                - 8019
                - 8020
                - 8021
                - 8022
                - 8023
                - 8024
                - 8025
                - 8026
                - 8027
                - 8028
                - 8029
                - 8030
                - 8031
                - 8032
                - 8033
                - 8034
                - 8035
                - 8036
                - 8037
                - 8038
                - 8039
                - 8040
                - 8041
                - 8042
                - 8043
                - 8044
                - 8045
                - 8046
                - 8047
                - 8048
                - 8049
                - 8050
                - 8051
                - 8052
                - 8053
                - 8054
                - 8055
                - 8072
                - 8134
                - 8135
                - 8136
                - 8137
                - 8138
                - 8139
                - 8168
                - 8169
                - 8170
                - 8171
                - 8172
                - 8173
                - 8174
                - 8175
                - 8176
                - 8177
                - 8178
                - 8179
                - 8180
                - 8181
                - 8182
                - 8183
                - 8231
                - 8232
                - 8233
                - 8234
                - 8235
                - 8236
                - 8237
                - 8238
                - 8239
                - 8240
                - 8241
                - 8242
                - 8243
                - 8244
                - 8245
                - 8246
                - 8247
                - 8248
                - 8249
                - 8250
                - 8251
                - 8252
                - 8253
                - 8254
                - 8255
                - 8256
                - 8257
                - 8258
                - 8259
                - 8260
                - 8261
                - 8262
                - 8263
                - 8264
                - 8265
                - 8266
                - 8267
                - 8268
                - 8269
                - 8270
                - 8271
                - 8272
                - 8273
                - 8274
                - 8275
                - 8276
                - 8293
                - 8355
                - 8356
                - 8357
                - 8358
                - 8359
                - 8360
                - 8389
                - 8390
                - 8391
                - 8392
                - 8393
                - 8394
                - 8395
                - 8396
                - 8397
                - 8398
                - 8399
                - 8400
                - 8401
                - 8402
                - 8403
                - 8404
                - 8452
                - 8453
                - 8454
                - 8455
                - 8456
                - 8457
                - 8458
                - 8459
                - 8460
                - 8461
                - 8462
                - 8463
                - 8464
                - 8465
                - 8466
                - 8467
                - 8468
                - 8469
                - 8470
                - 8471
                - 8472
                - 8473
                - 8474
                - 8475
                - 8476
                - 8477
                - 8478
                - 8479
                - 8480
                - 8481
                - 8482
                - 8483
                - 8484
                - 8485
                - 8486
                - 8487
                - 8488
                - 8489
                - 8490
                - 8491
                - 8492
                - 8493
                - 8494
                - 8495
                - 8496
                - 8497
                - 8514
                - 8576
                - 8577
                - 8578
                - 8579
                - 8580
                - 8581
                - 8610
                - 8611
                - 8612
                - 8613
                - 8614
                - 8615
                - 8616
                - 8617
                - 8618
                - 8619
                - 8620
                - 8621
                - 8622
                - 8623
                - 8624
                - 8625
                - 8673
                - 8674
                - 8675
                - 8676
                - 8677
                - 8678
                - 8679
                - 8680
                - 8681
                - 8682
                - 8683
                - 8684
                - 8685
                - 8686
                - 8687
                - 8688
                - 8689
                - 8690
                - 8691
                - 8692
                - 8693
                - 8694
                - 8695
                - 8696
                - 8697
                - 8698
                - 8699
                - 8700
                - 8701
                - 8702
                - 8703
                - 8704
                - 8705
                - 8706
                - 8707
                - 8708
                - 8709
                - 8710
                - 8711
                - 8712
                - 8713
                - 8714
                - 8715
                - 8716
                - 8717
                - 8718
                - 8735
                - 8797
                - 8798
                - 8799
                - 8800
                - 8801
                - 8802
                - 8831
                - 8832
                - 8833
                - 8834
                - 8835
                - 8836
                - 8837
                - 8838
                - 8839
                - 8840
                - 8841
                - 8842
                - 8843
                - 8844
                - 8845
                - 8846
                - 8894
                - 8895
                - 8896
                - 8897
                - 8898
                - 8899
                - 8900
                - 8901
                - 8902
                - 8903
                - 8904
                - 8905
                - 8906
                - 8907
                - 8908
                - 8909
                - 8910
                - 8911
                - 8912
                - 8913
                - 8914
                - 8915
                - 8916
                - 8917
                - 8918
                - 8919
                - 8920
                - 8921
                - 8922
                - 8923
                - 8924
                - 8925
                - 8926
                - 8927
                - 8928
                - 8929
                - 8930
                - 8931
                - 8932
                - 8933
                - 8934
                - 8935
                - 8936
                - 8937
                - 8938
                - 8939
                - 8956
                - 9018
                - 9019
                - 9020
                - 9021
                - 9022
                - 9023
                - 9052
                - 9053
                - 9054
                - 9055
                - 9056
                - 9057
                - 9058
                - 9059
                - 9060
                - 9061
                - 9062
                - 9063
                - 9064
                - 9065
                - 9066
                - 9067
                - 9115
                - 9116
                - 9117
                - 9118
                - 9119
                - 9120
                - 9121
                - 9122
                - 9123
                - 9124
                - 9125
                - 9126
                - 9127
                - 9128
                - 9129
                - 9130
                - 9131
                - 9132
                - 9133
                - 9134
                - 9135
                - 9136
                - 9137
                - 9138
                - 9139
                - 9140
                - 9141
                - 9142
                - 9143
                - 9144
                - 9145
                - 9146
                - 9147
                - 9148
                - 9149
                - 9150
                - 9151
                - 9152
                - 9153
                - 9154
                - 9155
                - 9156
                - 9157
                - 9158
                - 9159
                - 9160
                - 9177
                - 9239
                - 9240
                - 9241
                - 9242
                - 9243
                - 9244
                - 9273
                - 9274
                - 9275
                - 9276
                - 9277
                - 9278
                - 9279
                - 9280
                - 9281
                - 9282
                - 9283
                - 9284
                - 9285
                - 9286
                - 9287
                - 9288
                - 9336
                - 9337
                - 9338
                - 9339
                - 9340
                - 9341
                - 9342
                - 9343
                - 9344
                - 9345
                - 9346
                - 9347
                - 9348
                - 9349
                - 9350
                - 9351
                - 9352
                - 9353
                - 9354
                - 9355
                - 9356
                - 9357
                - 9358
                - 9359
                - 9360
                - 9361
                - 9362
                - 9363
                - 9364
                - 9365
                - 9366
                - 9367
                - 9368
                - 9369
                - 9370
                - 9371
                - 9372
                - 9373
                - 9374
                - 9375
                - 9376
                - 9377
                - 9378
                - 9379
                - 9380
                - 9381
                - 9398
                - 9460
                - 9461
                - 9462
                - 9463
                - 9464
                - 9465
                - 9494
                - 9495
                - 9496
                - 9497
                - 9498
                - 9499
                - 9500
                - 9501
                - 9502
                - 9503
                - 9504
                - 9505
                - 9506
                - 9507
                - 9508
                - 9509
                - 9557
                - 9558
                - 9559
                - 9560
                - 9561
                - 9562
                - 9563
                - 9564
                - 9565
                - 9566
                - 9567
                - 9568
                - 9569
                - 9570
                - 9571
                - 9572
                - 9573
                - 9574
                - 9575
                - 9576
                - 9577
                - 9578
                - 9579
                - 9580
                - 9581
                - 9582
                - 9583
                - 9584
                - 9585
                - 9586
                - 9587
                - 9588
                - 9589
                - 9590
                - 9591
                - 9592
                - 9593
                - 9594
                - 9595
                - 9596
                - 9597
                - 9598
                - 9599
                - 9600
                - 9601
                - 9602
                - 9619
                - 9681
                - 9682
                - 9683
                - 9684
                - 9685
                - 9686
                - 9715
                - 9716
                - 9717
                - 9718
                - 9719
                - 9720
                - 9721
                - 9722
                - 9723
                - 9724
                - 9725
                - 9726
                - 9727
                - 9728
                - 9729
                - 9730
                - 9731
                - 9748
                - 9810
                - 9811
                - 9812
                - 9813
                - 9814
                - 9815
                - 9844
                - 9845
                - 9846
                - 9847
                - 9848
                - 9849
                - 9850
                - 9851
                - 9852
                - 9853
                - 9854
                - 9855
                - 9856
                - 9857
                - 9858
                - 9859
                - 9907
                - 9908
                - 9909
                - 9910
                - 9911
                - 9912
                - 9913
                - 9914
                - 9915
                - 9916
                - 9917
                - 9918
                - 9919
                - 9920
                - 9921
                - 9922
                - 9923
                - 9924
                - 9925
                - 9926
                - 9927
                - 9928
                - 9929
                - 9930
                - 9931
                - 9932
                - 9933
                - 9934
                - 9935
                - 9936
                - 9937
                - 9938
                - 9939
                - 9940
                - 9941
                - 9942
                - 9943
                - 9944
                - 9945
                - 9946
                - 9947
                - 9948
                - 9949
                - 9950
                - 9951
                - 9952
                - 9969
                - 10031
                - 10032
                - 10033
                - 10034
                - 10035
                - 10036
                - 10065
                - 10066
                - 10067
                - 10068
                - 10069
                - 10070
                - 10071
                - 10072
                - 10073
                - 10074
                - 10075
                - 10076
                - 10077
                - 10078
                - 10079
                - 10080
                - 10128
                - 10129
                - 10130
                - 10131
                - 10132
                - 10133
                - 10134
                - 10135
                - 10136
                - 10137
                - 10138
                - 10139
                - 10140
                - 10141
                - 10142
                - 10143
                - 10144
                - 10145
                - 10146
                - 10147
                - 10148
                - 10149
                - 10150
                - 10151
                - 10152
                - 10153
                - 10154
                - 10155
                - 10156
                - 10157
                - 10158
                - 10159
                - 10160
                - 10161
                - 10162
                - 10163
                - 10164
                - 10165
                - 10166
                - 10167
                - 10168
                - 10169
                - 10170
                - 10171
                - 10172
                - 10173
                - 10190
                - 10252
                - 10253
                - 10254
                - 10255
                - 10256
                - 10257
                - 10286
                - 10287
                - 10288
                - 10289
                - 10290
                - 10291
                - 10292
                - 10293
                - 10294
                - 10295
                - 10296
                - 10297
                - 10298
                - 10299
                - 10300
                - 10301
                - 10349
                - 10350
                - 10351
                - 10352
                - 10353
                - 10354
                - 10355
                - 10356
                - 10357
                - 10358
                - 10359
                - 10360
                - 10361
                - 10362
                - 10363
                - 10364
                - 10365
                - 10366
                - 10367
                - 10368
                - 10369
                - 10370
                - 10371
                - 10372
                - 10373
                - 10374
                - 10375
                - 10376
                - 10377
                - 10378
                - 10379
                - 10380
                - 10381
                - 10382
                - 10383
                - 10384
                - 10385
                - 10386
                - 10387
                - 10388
                - 10389
                - 10390
                - 10391
                - 10392
                - 10393
                - 10394
                - 10411
                - 10473
                - 10474
                - 10475
                - 10476
                - 10477
                - 10478
                - 10507
                - 10508
                - 10509
                - 10510
                - 10511
                - 10512
                - 10513
                - 10514
                - 10515
                - 10516
                - 10517
                - 10518
                - 10519
                - 10520
                - 10521
                - 10522
                - 10570
                - 10571
                - 10572
                - 10573
                - 10574
                - 10575
                - 10576
                - 10577
                - 10578
                - 10579
                - 10580
                - 10581
                - 10582
                - 10583
                - 10584
                - 10585
                - 10586
                - 10587
                - 10588
                - 10589
                - 10590
                - 10591
                - 10592
                - 10593
                - 10594
                - 10595
                - 10596
                - 10597
                - 10598
                - 10599
                - 10600
                - 10601
                - 10602
                - 10603
                - 10604
                - 10605
                - 10606
                - 10607
                - 10608
                - 10609
                - 10610
                - 10611
                - 10612
                - 10613
                - 10614
                - 10615
                - 10632
                - 10694
                - 10695
                - 10696
                - 10697
                - 10698
                - 10699
                - 10728
                - 10729
                - 10730
                - 10731
                - 10732
                - 10733
                - 10734
                - 10735
                - 10736
                - 10737
                - 10738
                - 10739
                - 10740
                - 10741
                - 10742
                - 10743
                - 10791
                - 10792
                - 10793
                - 10794
                - 10795
                - 10796
                - 10797
                - 10798
                - 10799
                - 10800
                - 10801
                - 10802
                - 10803
                - 10804
                - 10805
                - 10806
                - 10807
                - 10808
                - 10809
                - 10810
                - 10811
                - 10812
                - 10813
                - 10814
                - 10815
                - 10816
                - 10817
                - 10818
                - 10819
                - 10820
                - 10821
                - 10822
                - 10823
                - 10824
                - 10825
                - 10826
                - 10827
                - 10828
                - 10829
                - 10830
                - 10831
                - 10832
                - 10833
                - 10834
                - 10835
                - 10836
                - 10853
                - 10915
                - 10916
                - 10917
                - 10918
                - 10919
                - 10920
                - 10949
                - 10950
                - 10951
                - 10952
                - 10953
                - 10954
                - 10955
                - 10956
                - 10957
                - 10958
                - 10959
                - 10960
                - 10961
                - 10962
                - 10963
                - 10964
                - 11012
                - 11013
                - 11014
                - 11015
                - 11016
                - 11017
                - 11018
                - 11019
                - 11020
                - 11021
                - 11022
                - 11023
                - 11024
                - 11025
                - 11026
                - 11027
                - 11028
                - 11029
                - 11030
                - 11031
                - 11032
                - 11033
                - 11034
                - 11035
                - 11036
                - 11037
                - 11038
                - 11039
                - 11040
                - 11041
                - 11042
                - 11043
                - 11044
                - 11045
                - 11046
                - 11047
                - 11048
                - 11049
                - 11050
                - 11051
                - 11052
                - 11053
                - 11054
                - 11055
                - 11056
                - 11057
                - 11074
                - 11136
                - 11137
                - 11138
                - 11139
                - 11140
                - 11141
                - 11170
                - 11171
                - 11172
                - 11173
                - 11174
                - 11175
                - 11176
                - 11177
                - 11178
                - 11179
                - 11180
                - 11181
                - 11182
                - 11183
                - 11184
                - 11185
                - 11233
                - 11234
                - 11235
                - 11236
                - 11237
                - 11238
                - 11239
                - 11240
                - 11241
                - 11242
                - 11243
                - 11244
                - 11245
                - 11246
                - 11247
                - 11248
                - 11249
                - 11250
                - 11251
                - 11252
                - 11253
                - 11254
                - 11255
                - 11256
                - 11257
                - 11258
                - 11259
                - 11260
                - 11261
                - 11262
                - 11263
                - 11264
                - 11265
                - 11266
                - 11267
                - 11268
                - 11269
                - 11270
                - 11271
                - 11272
                - 11273
                - 11274
                - 11275
                - 11276
                - 11277
                - 11278
                - 11295
                - 11357
                - 11358
                - 11359
                - 11360
                - 11361
                - 11362
                - 11391
                - 11392
                - 11393
                - 11394
                - 11395
                - 11396
                - 11397
                - 11398
                - 11399
                - 11400
                - 11401
                - 11402
                - 11403
                - 11404
                - 11405
                - 11406
                - 11454
                - 11455
                - 11456
                - 11457
                - 11458
                - 11459
                - 11460
                - 11461
                - 11462
                - 11463
                - 11464
                - 11465
                - 11466
                - 11467
                - 11468
                - 11469
                - 11470
                - 11471
                - 11472
                - 11473
                - 11474
                - 11475
                - 11476
                - 11477
                - 11478
                - 11479
                - 11480
                - 11481
                - 11482
                - 11483
                - 11484
                - 11485
                - 11486
                - 11487
                - 11488
                - 11489
                - 11490
                - 11491
                - 11492
                - 11493
                - 11494
                - 11495
                - 11496
                - 11497
                - 11498
                - 11499
                - 11516
                - 11578
                - 11579
                - 11580
                - 11581
                - 11582
                - 11583
                - 11612
                - 11613
                - 11614
                - 11615
                - 11616
                - 11617
                - 11618
                - 11619
                - 11620
                - 11621
                - 11622
                - 11623
                - 11624
                - 11625
                - 11626
                - 11627
                - 11675
                - 11676
                - 11677
                - 11678
                - 11679
                - 11680
                - 11681
                - 11682
                - 11683
                - 11684
                - 11685
                - 11686
                - 11687
                - 11688
                - 11689
                - 11690
                - 11691
                - 11692
                - 11693
                - 11694
                - 11695
                - 11696
                - 11697
                - 11698
                - 11699
                - 11700
                - 11701
                - 11702
                - 11703
                - 11704
                - 11705
                - 11706
                - 11707
                - 11708
                - 11709
                - 11710
                - 11711
                - 11712
                - 11713
                - 11714
                - 11715
                - 11716
                - 11717
                - 11718
                - 11719
                - 11720
                - 11737
                - 11799
                - 11800
                - 11801
                - 11802
                - 11803
                - 11804
                - 11833
                - 11834
                - 11835
                - 11836
                - 11837
                - 11838
                - 11839
                - 11840
                - 11841
                - 11842
                - 11843
                - 11844
                - 11845
                - 11846
                - 11847
                - 11848
                - 11896
                - 11897
                - 11898
                - 11899
                - 11900
                - 11901
                - 11902
                - 11903
                - 11904
                - 11905
                - 11906
                - 11907
                - 11908
                - 11909
                - 11910
                - 11911
                - 11912
                - 11913
                - 11914
                - 11915
                - 11916
                - 11917
                - 11918
                - 11919
                - 11920
                - 11921
                - 11922
                - 11923
                - 11924
                - 11925
                - 11926
                - 11927
                - 11928
                - 11929
                - 11930
                - 11931
                - 11932
                - 11933
                - 11934
                - 11935
                - 11936
                - 11937
                - 11938
                - 11939
                - 11940
                - 11941
                - 11958
                - 12020
                - 12021
                - 12022
                - 12023
                - 12024
                - 12025
                - 12054
                - 12055
                - 12056
                - 12057
                - 12058
                - 12059
                - 12060
                - 12061
                - 12062
                - 12063
                - 12064
                - 12065
                - 12066
                - 12067
                - 12068
                - 12069
                - 12117
                - 12118
                - 12119
                - 12120
                - 12121
                - 12122
                - 12123
                - 12124
                - 12125
                - 12126
                - 12127
                - 12128
                - 12129
                - 12130
                - 12131
                - 12132
                - 12133
                - 12134
                - 12135
                - 12136
                - 12137
                - 12138
                - 12139
                - 12140
                - 12141
                - 12142
                - 12143
                - 12144
                - 12145
                - 12146
                - 12147
                - 12148
                - 12149
                - 12150
                - 12151
                - 12152
                - 12153
                - 12154
                - 12155
                - 12156
                - 12157
                - 12158
                - 12159
                - 12160
                - 12161
                - 12162
                - 12179
                - 12241
                - 12242
                - 12243
                - 12244
                - 12245
                - 12246
                - 12275
                - 12276
                - 12277
                - 12278
                - 12279
                - 12280
                - 12281
                - 12282
                - 12283
                - 12284
                - 12285
                - 12286
                - 12287
                - 12288
                - 12289
                - 12290
                - 12338
                - 12339
                - 12340
                - 12341
                - 12342
                - 12343
                - 12344
                - 12345
                - 12346
                - 12347
                - 12348
                - 12349
                - 12350
                - 12351
                - 12352
                - 12353
                - 12354
                - 12355
                - 12356
                - 12357
                - 12358
                - 12359
                - 12360
                - 12361
                - 12362
                - 12363
                - 12364
                - 12365
                - 12366
                - 12367
                - 12368
                - 12369
                - 12370
                - 12371
                - 12372
                - 12373
                - 12374
                - 12375
                - 12376
                - 12377
                - 12378
                - 12379
                - 12380
                - 12381
                - 12382
                - 12383
                - 12400
                - 12462
                - 12463
                - 12464
                - 12465
                - 12466
                - 12467
                - 12496
                - 12497
                - 12498
                - 12499
                - 12500
                - 12501
                - 12502
                - 12503
                - 12504
                - 12505
                - 12506
                - 12507
                - 12508
                - 12509
                - 12510
                - 12511
                - 12559
                - 12560
                - 12561
                - 12562
                - 12563
                - 12564
                - 12565
                - 12566
                - 12567
                - 12568
                - 12569
                - 12570
                - 12571
                - 12572
                - 12573
                - 12574
                - 12575
                - 12576
                - 12577
                - 12578
                - 12579
                - 12580
                - 12581
                - 12582
                - 12583
                - 12584
                - 12585
                - 12586
                - 12587
                - 12588
                - 12589
                - 12590
                - 12591
                - 12592
                - 12593
                - 12594
                - 12595
                - 12596
                - 12597
                - 12598
                - 12599
                - 12600
                - 12601
                - 12602
                - 12603
                - 12604
                - 12621
                - 12683
                - 12684
                - 12685
                - 12686
                - 12687
                - 12688
                - 12717
                - 12718
                - 12719
                - 12720
                - 12721
                - 12722
                - 12723
                - 12724
                - 12725
                - 12726
                - 12727
                - 12728
                - 12729
                - 12730
                - 12731
                - 12732
                - 12780
                - 12781
                - 12782
                - 12783
                - 12784
                - 12785
                - 12786
                - 12787
                - 12788
                - 12789
                - 12790
                - 12791
                - 12792
                - 12793
                - 12794
                - 12795
                - 12796
                - 12797
                - 12798
                - 12799
                - 12800
                - 12801
                - 12802
                - 12803
                - 12804
                - 12805
                - 12806
                - 12807
                - 12808
                - 12809
                - 12810
                - 12811
                - 12812
                - 12813
                - 12814
                - 12815
                - 12816
                - 12817
                - 12818
                - 12819
                - 12820
                - 12821
                - 12822
                - 12823
                - 12824
                - 12825
                - 12842
                - 12904
                - 12905
                - 12906
                - 12907
                - 12908
                - 12909
                - 12938
                - 12939
                - 12940
                - 12941
                - 12942
                - 12943
                - 12944
                - 12945
                - 12946
                - 12947
                - 12948
                - 12949
                - 12950
                - 12951
                - 12952
                - 12953
                - 13001
                - 13002
                - 13003
                - 13004
                - 13005
                - 13006
                - 13007
                - 13008
                - 13009
                - 13010
                - 13011
                - 13012
                - 13013
                - 13014
                - 13015
                - 13016
                - 13017
                - 13018
                - 13019
                - 13020
                - 13021
                - 13022
                - 13023
                - 13024
                - 13025
                - 13026
                - 13027
                - 13028
                - 13029
                - 13030
                - 13031
                - 13032
                - 13033
                - 13034
                - 13035
                - 13036
                - 13037
                - 13038
                - 13039
                - 13040
                - 13041
                - 13042
                - 13043
                - 13044
                - 13045
                - 13046
                - 13063
                - 13125
                - 13126
                - 13127
                - 13128
                - 13129
                - 13130
                - 13159
                - 13160
                - 13161
                - 13162
                - 13163
                - 13164
                - 13165
                - 13166
                - 13167
                - 13168
                - 13169
                - 13170
                - 13171
                - 13172
                - 13173
                - 13174
                - 13222
                - 13223
                - 13224
                - 13225
                - 13226
                - 13227
                - 13228
                - 13229
                - 13230
                - 13231
                - 13232
                - 13233
                - 13234
                - 13235
                - 13236
                - 13237
                - 13238
                - 13239
                - 13240
                - 13241
                - 13242
                - 13243
                - 13244
                - 13245
                - 13246
                - 13247
                - 13248
                - 13249
                - 13250
                - 13251
                - 13252
                - 13253
                - 13254
                - 13255
                - 13256
                - 13257
                - 13258
                - 13259
                - 13260
                - 13261
                - 13262
                - 13263
                - 13264
                - 13265
                - 13266
                - 13267
                - 13284
                - 13346
                - 13347
                - 13348
                - 13349
                - 13350
                - 13351
                - 13380
                - 13381
                - 13382
                - 13383
                - 13384
                - 13385
                - 13386
                - 13387
                - 13388
                - 13389
                - 13390
                - 13391
                - 13392
                - 13393
                - 13394
                - 13395
                - 13443
                - 13444
                - 13445
                - 13446
                - 13447
                - 13448
                - 13449
                - 13450
                - 13451
                - 13452
                - 13453
                - 13454
                - 13455
                - 13456
                - 13457
                - 13458
                - 13459
                - 13460
                - 13461
                - 13462
                - 13463
                - 13464
                - 13465
                - 13466
                - 13467
                - 13468
                - 13469
                - 13470
                - 13471
                - 13472
                - 13473
                - 13474
                - 13475
                - 13476
                - 13477
                - 13478
                - 13479
                - 13480
                - 13481
                - 13482
                - 13483
                - 13484
                - 13485
                - 13486
                - 13487
                - 13488
                - 13505
                - 13567
                - 13568
                - 13569
                - 13570
                - 13571
                - 13572
                - 13601
                - 13602
                - 13603
                - 13604
                - 13605
                - 13606
                - 13607
                - 13608
                - 13609
                - 13610
                - 13611
                - 13612
                - 13613
                - 13614
                - 13615
                - 13616
                - 13664
                - 13665
                - 13666
                - 13667
                - 13668
                - 13669
                - 13670
                - 13671
                - 13672
                - 13673
                - 13674
                - 13675
                - 13676
                - 13677
                - 13678
                - 13679
                - 13680
                - 13681
                - 13682
                - 13683
                - 13684
                - 13685
                - 13686
                - 13687
                - 13688
                - 13689
                - 13690
                - 13691
                - 13692
                - 13693
                - 13694
                - 13695
                - 13696
                - 13697
                - 13698
                - 13699
                - 13700
                - 13701
                - 13702
                - 13703
                - 13704
                - 13705
                - 13706
                - 13707
                - 13708
                - 13709
                - 13726
                - 13788
                - 13789
                - 13790
                - 13791
                - 13792
                - 13793
                - 13822
                - 13823
                - 13824
                - 13825
                - 13826
                - 13827
                - 13828
                - 13829
                - 13830
                - 13831
                - 13832
                - 13833
                - 13834
                - 13835
                - 13836
                - 13837
                - 13885
                - 13886
                - 13887
                - 13888
                - 13889
                - 13890
                - 13891
                - 13892
                - 13893
                - 13894
                - 13895
                - 13896
                - 13897
                - 13898
                - 13899
                - 13900
                - 13901
                - 13902
                - 13903
                - 13904
                - 13905
                - 13906
                - 13907
                - 13908
                - 13909
                - 13910
                - 13911
                - 13912
                - 13913
                - 13914
                - 13915
                - 13916
                - 13917
                - 13918
                - 13919
                - 13920
                - 13921
                - 13922
                - 13923
                - 13924
                - 13925
                - 13926
                - 13927
                - 13928
                - 13929
                - 13930
                - 13947
                - 14009
                - 14010
                - 14011
                - 14012
                - 14013
                - 14014
                - 14043
                - 14044
                - 14045
                - 14046
                - 14047
                - 14048
                - 14049
                - 14050
                - 14051
                - 14052
                - 14053
                - 14054
                - 14055
                - 14056
                - 14057
                - 14058
                - 14106
                - 14107
                - 14108
                - 14109
                - 14110
                - 14111
                - 14112
                - 14113
                - 14114
                - 14115
                - 14116
                - 14117
                - 14118
                - 14119
                - 14120
                - 14121
                - 14122
                - 14123
                - 14124
                - 14125
                - 14126
                - 14127
                - 14128
                - 14129
                - 14130
                - 14131
                - 14132
                - 14133
                - 14134
                - 14135
                - 14136
                - 14137
                - 14138
                - 14139
                - 14140
                - 14141
                - 14142
                - 14143
                - 14144
                - 14145
                - 14146
                - 14147
                - 14148
                - 14149
                - 14150
                - 14151
                - 14168
                - 14230
                - 14231
                - 14232
                - 14233
                - 14234
                - 14235
                - 14264
                - 14265
                - 14266
                - 14267
                - 14268
                - 14269
                - 14270
                - 14271
                - 14272
                - 14273
                - 14274
                - 14275
                - 14276
                - 14277
                - 14278
                - 14279
                - 14327
                - 14328
                - 14329
                - 14330
                - 14331
                - 14332
                - 14333
                - 14334
                - 14335
                - 14336
                - 14337
                - 14338
                - 14339
                - 14340
                - 14341
                - 14342
                - 14343
                - 14344
                - 14345
                - 14346
                - 14347
                - 14348
                - 14349
                - 14350
                - 14351
                - 14352
                - 14353
                - 14354
                - 14355
                - 14356
                - 14357
                - 14358
                - 14359
                - 14360
                - 14361
                - 14362
                - 14363
                - 14364
                - 14365
                - 14366
                - 14367
                - 14368
                - 14369
                - 14370
                - 14371
                - 14372
                - 14389
                - 14451
                - 14452
                - 14453
                - 14454
                - 14455
                - 14456
                - 14485
                - 14486
                - 14487
                - 14488
                - 14489
                - 14490
                - 14491
                - 14492
                - 14493
                - 14494
                - 14495
                - 14496
                - 14497
                - 14498
                - 14499
                - 14500
                - 14548
                - 14549
                - 14550
                - 14551
                - 14552
                - 14553
                - 14554
                - 14555
                - 14556
                - 14557
                - 14558
                - 14559
                - 14560
                - 14561
                - 14562
                - 14563
                - 14564
                - 14565
                - 14566
                - 14567
                - 14568
                - 14569
                - 14570
                - 14571
                - 14572
                - 14573
                - 14574
                - 14575
                - 14576
                - 14577
                - 14578
                - 14579
                - 14580
                - 14581
                - 14582
                - 14583
                - 14584
                - 14585
                - 14586
                - 14587
                - 14588
                - 14589
                - 14590
                - 14591
                - 14592
                - 14593
                - 14610
                - 14672
                - 14673
                - 14674
                - 14675
                - 14676
                - 14677
                - 14706
                - 14707
                - 14708
                - 14709
                - 14710
                - 14711
                - 14712
                - 14713
                - 14714
                - 14715
                - 14716
                - 14717
                - 14718
                - 14719
                - 14720
                - 14721
                - 14769
                - 14770
                - 14771
                - 14772
                - 14773
                - 14774
                - 14775
                - 14776
                - 14777
                - 14778
                - 14779
                - 14780
                - 14781
                - 14782
                - 14783
                - 14784
                - 14785
                - 14786
                - 14787
                - 14788
                - 14789
                - 14790
                - 14791
                - 14792
                - 14793
                - 14794
                - 14795
                - 14796
                - 14797
                - 14798
                - 14799
                - 14800
                - 14801
                - 14802
                - 14803
                - 14804
                - 14805
                - 14806
                - 14807
                - 14808
                - 14809
                - 14810
                - 14811
                - 14812
                - 14813
                - 14814
                - 14831
                - 14893
                - 14894
                - 14895
                - 14896
                - 14897
                - 14898
                - 14927
                - 14928
                - 14929
                - 14930
                - 14931
                - 14932
                - 14933
                - 14934
                - 14935
                - 14936
                - 14937
                - 14938
                - 14939
                - 14940
                - 14941
                - 14942
                - 14990
                - 14991
                - 14992
                - 14993
                - 14994
                - 14995
                - 14996
                - 14997
                - 14998
                - 14999
                - 15000
                - 15001
                - 15002
                - 15003
                - 15004
                - 15005
                - 15006
                - 15007
                - 15008
                - 15009
                - 15010
                - 15011
                - 15012
                - 15013
                - 15014
                - 15015
                - 15016
                - 15017
                - 15018
                - 15019
                - 15020
                - 15021
                - 15022
                - 15023
                - 15024
                - 15025
                - 15026
                - 15027
                - 15028
                - 15029
                - 15030
                - 15031
                - 15032
                - 15033
                - 15034
                - 15035
                - 15052
                - 15114
                - 15115
                - 15116
                - 15117
                - 15118
                - 15119
                - 15148
                - 15149
                - 15150
                - 15151
                - 15152
                - 15153
                - 15154
                - 15155
                - 15156
                - 15157
                - 15158
                - 15159
                - 15160
                - 15161
                - 15162
                - 15163
                - 15211
                - 15212
                - 15213
                - 15214
                - 15215
                - 15216
                - 15217
                - 15218
                - 15219
                - 15220
                - 15221
                - 15222
                - 15223
                - 15224
                - 15225
                - 15226
                - 15227
                - 15228
                - 15229
                - 15230
                - 15231
                - 15232
                - 15233
                - 15234
                - 15235
                - 15236
                - 15237
                - 15238
                - 15239
                - 15240
                - 15241
                - 15242
                - 15243
                - 15244
                - 15245
                - 15246
                - 15247
                - 15248
                - 15249
                - 15250
                - 15251
                - 15252
                - 15253
                - 15254
                - 15255
                - 15256
                - 15273
                - 15335
                - 15336
                - 15337
                - 15338
                - 15339
                - 15340
                - 15369
                - 15370
                - 15371
                - 15372
                - 15373
                - 15374
                - 15375
                - 15376
                - 15377
                - 15378
                - 15379
                - 15380
                - 15381
                - 15382
                - 15383
                - 15384
                - 15432
                - 15433
                - 15434
                - 15435
                - 15436
                - 15437
                - 15438
                - 15439
                - 15440
                - 15441
                - 15442
                - 15443
                - 15444
                - 15445
                - 15446
                - 15447
                - 15448
                - 15449
                - 15450
                - 15451
                - 15452
                - 15453
                - 15454
                - 15455
                - 15456
                - 15457
                - 15458
                - 15459
                - 15460
                - 15461
                - 15462
                - 15463
                - 15464
                - 15465
                - 15466
                - 15467
                - 15468
                - 15469
                - 15470
                - 15471
                - 15472
                - 15473
                - 15474
                - 15475
                - 15476
                - 15477
                - 15494
                - 15556
                - 15557
                - 15558
                - 15559
                - 15560
                - 15561
                - 15590
                - 15591
                - 15592
                - 15593
                - 15594
                - 15595
                - 15596
                - 15597
                - 15598
                - 15599
                - 15600
                - 15601
                - 15602
                - 15603
                - 15604
                - 15605
                - 15653
                - 15654
                - 15655
                - 15656
                - 15657
                - 15658
                - 15659
                - 15660
                - 15661
                - 15662
                - 15663
                - 15664
                - 15665
                - 15666
                - 15667
                - 15668
                - 15669
                - 15670
                - 15671
                - 15672
                - 15673
                - 15674
                - 15675
                - 15676
                - 15677
                - 15678
                - 15679
                - 15680
                - 15681
                - 15682
                - 15683
                - 15684
                - 15685
                - 15686
                - 15687
                - 15688
                - 15689
                - 15690
                - 15691
                - 15692
                - 15693
                - 15694
                - 15695
                - 15696
                - 15697
                - 15698
                - 15715
                - 15777
                - 15778
                - 15779
                - 15780
                - 15781
                - 15782
                - 15811
                - 15812
                - 15813
                - 15814
                - 15815
                - 15816
                - 15817
                - 15818
                - 15819
                - 15820
                - 15821
                - 15822
                - 15823
                - 15824
                - 15825
                - 15826
                - 15874
                - 15875
                - 15876
                - 15877
                - 15878
                - 15879
                - 15880
                - 15881
                - 15882
                - 15883
                - 15884
                - 15885
                - 15886
                - 15887
                - 15888
                - 15889
                - 15890
                - 15891
                - 15892
                - 15893
                - 15894
                - 15895
                - 15896
                - 15897
                - 15898
                - 15899
                - 15900
                - 15901
                - 15902
                - 15903
                - 15904
                - 15905
                - 15906
                - 15907
                - 15908
                - 15909
                - 15910
                - 15911
                - 15912
                - 15913
                - 15914
                - 15915
                - 15916
                - 15917
                - 15918
                - 15919
                - 15936
                - 15998
                - 15999
                - 16000
                - 16001
                - 16002
                - 16003
                - 16032
                - 16033
                - 16034
                - 16035
                - 16036
                - 16037
                - 16038
                - 16039
                - 16040
                - 16041
                - 16042
                - 16043
                - 16044
                - 16045
                - 16046
                - 16047
                - 16095
                - 16096
                - 16097
                - 16098
                - 16099
                - 16100
                - 16101
                - 16102
                - 16103
                - 16104
                - 16105
                - 16106
                - 16107
                - 16108
                - 16109
                - 16110
                - 16111
                - 16112
                - 16113
                - 16114
                - 16115
                - 16116
                - 16117
                - 16118
                - 16119
                - 16120
                - 16121
                - 16122
                - 16123
                - 16124
                - 16125
                - 16126
                - 16127
                - 16128
                - 16129
                - 16130
                - 16131
                - 16132
                - 16133
                - 16134
                - 16135
                - 16136
                - 16137
                - 16138
                - 16139
                - 16140
                - 16157
                - 16219
                - 16220
                - 16221
                - 16222
                - 16223
                - 16224
                - 16253
                - 16254
                - 16255
                - 16256
                - 16257
                - 16258
                - 16259
                - 16260
                - 16261
                - 16262
                - 16263
                - 16264
                - 16265
                - 16266
                - 16267
                - 16268
                - 16316
                - 16317
                - 16318
                - 16319
                - 16320
                - 16321
                - 16322
                - 16323
                - 16324
                - 16325
                - 16326
                - 16327
                - 16328
                - 16329
                - 16330
                - 16331
                - 16332
                - 16333
                - 16334
                - 16335
                - 16336
                - 16337
                - 16338
                - 16339
                - 16340
                - 16341
                - 16342
                - 16343
                - 16344
                - 16345
                - 16346
                - 16347
                - 16348
                - 16349
                - 16350
                - 16351
                - 16352
                - 16353
                - 16354
                - 16355
                - 16356
                - 16357
                - 16358
                - 16359
                - 16360
                - 16361
                - 16378
                - 16440
                - 16441
                - 16442
                - 16443
                - 16444
                - 16445
                - 16474
                - 16475
                - 16476
                - 16477
                - 16478
                - 16479
                - 16480
                - 16481
                - 16482
                - 16483
                - 16484
                - 16485
                - 16486
                - 16487
                - 16488
                - 16489
                - 16537
                - 16538
                - 16539
                - 16540
                - 16541
                - 16542
                - 16543
                - 16544
                - 16545
                - 16546
                - 16547
                - 16548
                - 16549
                - 16550
                - 16551
                - 16552
                - 16553
                - 16554
                - 16555
                - 16556
                - 16557
                - 16558
                - 16559
                - 16560
                - 16561
                - 16562
                - 16563
                - 16564
                - 16565
                - 16566
                - 16567
                - 16568
                - 16569
                - 16570
                - 16571
                - 16572
                - 16573
                - 16574
                - 16575
                - 16576
                - 16577
                - 16578
                - 16579
                - 16580
                - 16581
                - 16582
                - 16599
                - 16661
                - 16662
                - 16663
                - 16664
                - 16665
                - 16666
                - 16695
                - 16696
                - 16697
                - 16698
                - 16699
                - 16700
                - 16701
                - 16702
                - 16703
                - 16704
                - 16705
                - 16706
                - 16707
                - 16708
                - 16709
                - 16710
                - 16758
                - 16759
                - 16760
                - 16761
                - 16762
                - 16763
                - 16764
                - 16765
                - 16766
                - 16767
                - 16768
                - 16769
                - 16770
                - 16771
                - 16772
                - 16773
                - 16774
                - 16775
                - 16776
                - 16777
                - 16778
                - 16779
                - 16780
                - 16781
                - 16782
                - 16783
                - 16784
                - 16785
                - 16786
                - 16787
                - 16788
                - 16789
                - 16790
                - 16791
                - 16792
                - 16793
                - 16794
                - 16795
                - 16796
                - 16797
                - 16798
                - 16799
                - 16800
                - 16801
                - 16802
                - 16803
                - 16820
                - 16882
                - 16883
                - 16884
                - 16885
                - 16886
                - 16887
                - 16916
                - 16917
                - 16918
                - 16919
                - 16920
                - 16921
                - 16922
                - 16923
                - 16924
                - 16925
                - 16926
                - 16927
                - 16928
                - 16929
                - 16930
                - 16931
                - 16979
                - 16980
                - 16981
                - 16982
                - 16983
                - 16984
                - 16985
                - 16986
                - 16987
                - 16988
                - 16989
                - 16990
                - 16991
                - 16992
                - 16993
                - 16994
                - 16995
                - 16996
                - 16997
                - 16998
                - 16999
                - 17000
                - 17001
                - 17002
                - 17003
                - 17004
                - 17005
                - 17006
                - 17007
                - 17008
                - 17009
                - 17010
                - 17011
                - 17012
                - 17013
                - 17014
                - 17015
                - 17016
                - 17017
                - 17018
                - 17019
                - 17020
                - 17021
                - 17022
                - 17023
                - 17024
                - 17041
                - 17103
                - 17104
                - 17105
                - 17106
                - 17107
                - 17108
                - 17137
                - 17138
                - 17139
                - 17140
                - 17141
                - 17142
                - 17143
                - 17144
                - 17145
                - 17146
                - 17147
                - 17148
                - 17149
                - 17150
                - 17151
                - 17152
                - 17200
                - 17201
                - 17202
                - 17203
                - 17204
                - 17205
                - 17206
                - 17207
                - 17208
                - 17209
                - 17210
                - 17211
                - 17212
                - 17213
                - 17214
                - 17215
                - 17216
                - 17217
                - 17218
                - 17219
                - 17220
                - 17221
                - 17222
                - 17223
                - 17224
                - 17225
                - 17226
                - 17227
                - 17228
                - 17229
                - 17230
                - 17231
                - 17232
                - 17233
                - 17234
                - 17235
                - 17236
                - 17237
                - 17238
                - 17239
                - 17240
                - 17241
                - 17242
                - 17243
                - 17244
                - 17245
                - 17262
                - 17324
                - 17325
                - 17326
                - 17327
                - 17328
                - 17329
                - 17358
                - 17359
                - 17360
                - 17361
                - 17362
                - 17363
                - 17364
                - 17365
                - 17366
                - 17367
                - 17368
                - 17369
                - 17370
                - 17371
                - 17372
                - 17373
                - 17421
                - 17422
                - 17423
                - 17424
                - 17425
                - 17426
                - 17427
                - 17428
                - 17429
                - 17430
                - 17431
                - 17432
                - 17433
                - 17434
                - 17435
                - 17436
                - 17437
                - 17438
                - 17439
                - 17440
                - 17441
                - 17442
                - 17443
                - 17444
                - 17445
                - 17446
                - 17447
                - 17448
                - 17449
                - 17450
                - 17451
                - 17452
                - 17453
                - 17454
                - 17455
                - 17456
                - 17457
                - 17458
                - 17459
                - 17460
                - 17461
                - 17462
                - 17463
                - 17464
                - 17465
                - 17466
                - 17483
                - 17545
                - 17546
                - 17547
                - 17548
                - 17549
                - 17550
                - 17579
                - 17580
                - 17581
                - 17582
                - 17583
                - 17584
                - 17585
                - 17586
                - 17587
                - 17588
                - 17589
                - 17590
                - 17591
                - 17592
                - 17593
                - 17594
                - 17642
                - 17643
                - 17644
                - 17645
                - 17646
                - 17647
                - 17648
                - 17649
                - 17650
                - 17651
                - 17652
                - 17653
                - 17654
                - 17655
                - 17656
                - 17657
                - 17658
                - 17659
                - 17660
                - 17661
                - 17662
                - 17663
                - 17664
                - 17665
                - 17666
                - 17667
                - 17668
                - 17669
                - 17670
                - 17671
                - 17672
                - 17673
                - 17674
                - 17675
                - 17676
                - 17677
                - 17678
                - 17679
                - 17680
                - 17681
                - 17682
                - 17683
                - 17684
                - 17685
                - 17686
                - 17687
                - 17704
                - 17766
                - 17767
                - 17768
                - 17769
                - 17770
                - 17771
                - 17800
                - 17801
                - 17802
                - 17803
                - 17804
                - 17805
                - 17806
                - 17807
                - 17808
                - 17809
                - 17810
                - 17811
                - 17812
                - 17813
                - 17814
                - 17815
                - 17863
                - 17864
                - 17865
                - 17866
                - 17867
                - 17868
                - 17869
                - 17870
                - 17871
                - 17872
                - 17873
                - 17874
                - 17875
                - 17876
                - 17877
                - 17878
                - 17879
                - 17880
                - 17881
                - 17882
                - 17883
                - 17884
                - 17885
                - 17886
                - 17887
                - 17888
                - 17889
                - 17890
                - 17891
                - 17892
                - 17893
                - 17894
                - 17895
                - 17896
                - 17897
                - 17898
                - 17899
                - 17900
                - 17901
                - 17902
                - 17903
                - 17904
                - 17905
                - 17906
                - 17907
                - 17908
                - 17925
                - 17987
                - 17988
                - 17989
                - 17990
                - 17991
                - 17992
                - 18021
                - 18022
                - 18023
                - 18024
                - 18025
                - 18026
                - 18027
                - 18028
                - 18029
                - 18030
                - 18031
                - 18032
                - 18033
                - 18034
                - 18035
                - 18036
                - 18084
                - 18085
                - 18086
                - 18087
                - 18088
                - 18089
                - 18090
                - 18091
                - 18092
                - 18093
                - 18094
                - 18095
                - 18096
                - 18097
                - 18098
                - 18099
                - 18100
                - 18101
                - 18102
                - 18103
                - 18104
                - 18105
                - 18106
                - 18107
                - 18108
                - 18109
                - 18110
                - 18111
                - 18112
                - 18113
                - 18114
                - 18115
                - 18116
                - 18117
                - 18118
                - 18119
                - 18120
                - 18121
                - 18122
                - 18123
                - 18124
                - 18125
                - 18126
                - 18127
                - 18128
                - 18129
                - 18146
                - 18208
                - 18209
                - 18210
                - 18211
                - 18212
                - 18213
                - 18242
                - 18243
                - 18244
                - 18245
                - 18246
                - 18247
                - 18248
                - 18249
                - 18250
                - 18251
                - 18252
                - 18253
                - 18254
                - 18255
                - 18256
                - 18257
                - 18305
                - 18306
                - 18307
                - 18308
                - 18309
                - 18310
                - 18311
                - 18312
                - 18313
                - 18314
                - 18315
                - 18316
                - 18317
                - 18318
                - 18319
                - 18320
                - 18321
                - 18322
                - 18323
                - 18324
                - 18325
                - 18326
                - 18327
                - 18328
                - 18329
                - 18330
                - 18331
                - 18332
                - 18333
                - 18334
                - 18335
                - 18336
                - 18337
                - 18338
                - 18339
                - 18340
                - 18341
                - 18342
                - 18343
                - 18344
                - 18345
                - 18346
                - 18347
                - 18348
                - 18349
                - 18350
                - 18367
                - 18429
                - 18430
                - 18431
                - 18432
                - 18433
                - 18434
                - 18463
                - 18464
                - 18465
                - 18466
                - 18467
                - 18468
                - 18469
                - 18470
                - 18471
                - 18472
                - 18473
                - 18474
                - 18475
                - 18476
                - 18477
                - 18478
                - 18526
                - 18527
                - 18528
                - 18529
                - 18530
                - 18531
                - 18532
                - 18533
                - 18534
                - 18535
                - 18536
                - 18537
                - 18538
                - 18539
                - 18540
                - 18541
                - 18542
                - 18543
                - 18544
                - 18545
                - 18546
                - 18547
                - 18548
                - 18549
                - 18550
                - 18551
                - 18552
                - 18553
                - 18554
                - 18555
                - 18556
                - 18557
                - 18558
                - 18559
                - 18560
                - 18561
                - 18562
                - 18563
                - 18564
                - 18565
                - 18566
                - 18567
                - 18568
                - 18569
                - 18570
                - 18571
                - 18588
                - 18639
                - 18656
                - 18718
                - 18719
                - 18720
                - 18721
                - 18722
                - 18723
                - 18752
                - 18753
                - 18754
                - 18755
                - 18756
                - 18757
                - 18758
                - 18759
                - 18760
                - 18761
                - 18762
                - 18763
                - 18764
                - 18765
                - 18766
                - 18767
                - 18815
                - 18816
                - 18817
                - 18818
                - 18819
                - 18820
                - 18821
                - 18822
                - 18823
                - 18824
                - 18825
                - 18826
                - 18827
                - 18828
                - 18829
                - 18830
                - 18831
                - 18832
                - 18833
                - 18834
                - 18835
                - 18836
                - 18837
                - 18838
                - 18839
                - 18840
                - 18841
                - 18842
                - 18843
                - 18844
                - 18845
                - 18846
                - 18847
                - 18848
                - 18849
                - 18850
                - 18851
                - 18852
                - 18853
                - 18854
                - 18855
                - 18856
                - 18857
                - 18858
                - 18859
                - 18860
                - 18877
                - 18939
                - 18940
                - 18941
                - 18942
                - 18943
                - 18944
                - 18973
                - 18974
                - 18975
                - 18976
                - 18977
                - 18978
                - 18979
                - 18980
                - 18981
                - 18982
                - 18983
                - 18984
                - 18985
                - 18986
                - 18987
                - 18988
                - 19036
                - 19037
                - 19038
                - 19039
                - 19040
                - 19041
                - 19042
                - 19043
                - 19044
                - 19045
                - 19046
                - 19047
                - 19048
                - 19049
                - 19050
                - 19051
                - 19052
                - 19053
                - 19054
                - 19055
                - 19056
                - 19057
                - 19058
                - 19059
                - 19060
                - 19061
                - 19062
                - 19063
                - 19064
                - 19065
                - 19066
                - 19067
                - 19068
                - 19069
                - 19070
                - 19071
                - 19072
                - 19073
                - 19074
                - 19075
                - 19076
                - 19077
                - 19078
                - 19079
                - 19080
                - 19081
                - 19098
                - 19160
                - 19161
                - 19162
                - 19163
                - 19164
                - 19165
                - 19194
                - 19195
                - 19196
                - 19197
                - 19198
                - 19199
                - 19200
                - 19201
                - 19202
                - 19203
                - 19204
                - 19205
                - 19206
                - 19207
                - 19208
                - 19209
                - 19257
                - 19258
                - 19259
                - 19260
                - 19261
                - 19262
                - 19263
                - 19264
                - 19265
                - 19266
                - 19267
                - 19268
                - 19269
                - 19270
                - 19271
                - 19272
                - 19273
                - 19274
                - 19275
                - 19276
                - 19277
                - 19278
                - 19279
                - 19280
                - 19281
                - 19282
                - 19283
                - 19284
                - 19285
                - 19286
                - 19287
                - 19288
                - 19289
                - 19290
                - 19291
                - 19292
                - 19293
                - 19294
                - 19295
                - 19296
                - 19297
                - 19298
                - 19299
                - 19300
                - 19301
                - 19302
                - 19319
                - 19381
                - 19382
                - 19383
                - 19384
                - 19385
                - 19386
                - 19415
                - 19416
                - 19417
                - 19418
                - 19419
                - 19420
                - 19421
                - 19422
                - 19423
                - 19424
                - 19425
                - 19426
                - 19427
                - 19428
                - 19429
                - 19430
                - 19478
                - 19479
                - 19480
                - 19481
                - 19482
                - 19483
                - 19484
                - 19485
                - 19486
                - 19487
                - 19488
                - 19489
                - 19490
                - 19491
                - 19492
                - 19493
                - 19494
                - 19495
                - 19496
                - 19497
                - 19498
                - 19499
                - 19500
                - 19501
                - 19502
                - 19503
                - 19504
                - 19505
                - 19506
                - 19507
                - 19508
                - 19509
                - 19510
                - 19511
                - 19512
                - 19513
                - 19514
                - 19515
                - 19516
                - 19517
                - 19518
                - 19519
                - 19520
                - 19521
                - 19522
                - 19523
                - 19540
                - 19602
                - 19603
                - 19604
                - 19605
                - 19606
                - 19607
                - 19636
                - 19637
                - 19638
                - 19639
                - 19640
                - 19641
                - 19642
                - 19643
                - 19644
                - 19645
                - 19646
                - 19647
                - 19648
                - 19649
                - 19650
                - 19651
                - 19699
                - 19700
                - 19701
                - 19702
                - 19703
                - 19704
                - 19705
                - 19706
                - 19707
                - 19708
                - 19709
                - 19710
                - 19711
                - 19712
                - 19713
                - 19714
                - 19715
                - 19716
                - 19717
                - 19718
                - 19719
                - 19720
                - 19721
                - 19722
                - 19723
                - 19724
                - 19725
                - 19726
                - 19727
                - 19728
                - 19729
                - 19730
                - 19731
                - 19732
                - 19733
                - 19734
                - 19735
                - 19736
                - 19737
                - 19738
                - 19739
                - 19740
                - 19741
                - 19742
                - 19743
                - 19744
                - 19761
                - 19823
                - 19824
                - 19825
                - 19826
                - 19827
                - 19828
                - 19857
                - 19858
                - 19859
                - 19860
                - 19861
                - 19862
                - 19863
                - 19864
                - 19865
                - 19866
                - 19867
                - 19868
                - 19869
                - 19870
                - 19871
                - 19872
                - 19920
                - 19921
                - 19922
                - 19923
                - 19924
                - 19925
                - 19926
                - 19927
                - 19928
                - 19929
                - 19930
                - 19931
                - 19932
                - 19933
                - 19934
                - 19935
                - 19936
                - 19937
                - 19938
                - 19939
                - 19940
                - 19941
                - 19942
                - 19943
                - 19944
                - 19945
                - 19946
                - 19947
                - 19948
                - 19949
                - 19950
                - 19951
                - 19952
                - 19953
                - 19954
                - 19955
                - 19956
                - 19957
                - 19958
                - 19959
                - 19960
                - 19961
                - 19962
                - 19963
                - 19964
                - 19965
                - 19982
                - 20044
                - 20045
                - 20046
                - 20047
                - 20048
                - 20049
                - 20078
                - 20079
                - 20080
                - 20081
                - 20082
                - 20083
                - 20084
                - 20085
                - 20086
                - 20087
                - 20088
                - 20089
                - 20090
                - 20091
                - 20092
                - 20093
                - 20141
                - 20142
                - 20143
                - 20144
                - 20145
                - 20146
                - 20147
                - 20148
                - 20149
                - 20150
                - 20151
                - 20152
                - 20153
                - 20154
                - 20155
                - 20156
                - 20157
                - 20158
                - 20159
                - 20160
                - 20161
                - 20162
                - 20163
                - 20164
                - 20165
                - 20166
                - 20167
                - 20168
                - 20169
                - 20170
                - 20171
                - 20172
                - 20173
                - 20174
                - 20175
                - 20176
                - 20177
                - 20178
                - 20179
                - 20180
                - 20181
                - 20182
                - 20183
                - 20184
                - 20185
                - 20186
                - 20203
                - 20265
                - 20266
                - 20267
                - 20268
                - 20269
                - 20270
                - 20299
                - 20300
                - 20301
                - 20302
                - 20303
                - 20304
                - 20305
                - 20306
                - 20307
                - 20308
                - 20309
                - 20310
                - 20311
                - 20312
                - 20313
                - 20314
                - 20362
                - 20363
                - 20364
                - 20365
                - 20366
                - 20367
                - 20368
                - 20369
                - 20370
                - 20371
                - 20372
                - 20373
                - 20374
                - 20375
                - 20376
                - 20377
                - 20378
                - 20379
                - 20380
                - 20381
                - 20382
                - 20383
                - 20384
                - 20385
                - 20386
                - 20387
                - 20388
                - 20389
                - 20390
                - 20391
                - 20392
                - 20393
                - 20394
                - 20395
                - 20396
                - 20397
                - 20398
                - 20399
                - 20400
                - 20401
                - 20402
                - 20403
                - 20404
                - 20405
                - 20406
                - 20407
                - 20424
                - 20486
                - 20487
                - 20488
                - 20489
                - 20490
                - 20491
                - 20520
                - 20521
                - 20522
                - 20523
                - 20524
                - 20525
                - 20526
                - 20527
                - 20528
                - 20529
                - 20530
                - 20531
                - 20532
                - 20533
                - 20534
                - 20535
                - 20583
                - 20584
                - 20585
                - 20586
                - 20587
                - 20588
                - 20589
                - 20590
                - 20591
                - 20592
                - 20593
                - 20594
                - 20595
                - 20596
                - 20597
                - 20598
                - 20599
                - 20600
                - 20601
                - 20602
                - 20603
                - 20604
                - 20605
                - 20606
                - 20607
                - 20608
                - 20609
                - 20610
                - 20611
                - 20612
                - 20613
                - 20614
                - 20615
                - 20616
                - 20617
                - 20618
                - 20619
                - 20620
                - 20621
                - 20622
                - 20623
                - 20624
                - 20625
                - 20626
                - 20627
                - 20628
                - 20645
                - 20707
                - 20708
                - 20709
                - 20710
                - 20711
                - 20712
                - 20741
                - 20742
                - 20743
                - 20744
                - 20745
                - 20746
                - 20747
                - 20748
                - 20749
                - 20750
                - 20751
                - 20752
                - 20753
                - 20754
                - 20755
                - 20756
                - 20804
                - 20805
                - 20806
                - 20807
                - 20808
                - 20809
                - 20810
                - 20811
                - 20812
                - 20813
                - 20814
                - 20815
                - 20816
                - 20817
                - 20818
                - 20819
                - 20820
                - 20821
                - 20822
                - 20823
                - 20824
                - 20825
                - 20826
                - 20827
                - 20828
                - 20829
                - 20830
                - 20831
                - 20832
                - 20833
                - 20834
                - 20835
                - 20836
                - 20837
                - 20838
                - 20839
                - 20840
                - 20841
                - 20842
                - 20843
                - 20844
                - 20845
                - 20846
                - 20847
                - 20848
                - 20849
                - 20866
                - 20928
                - 20929
                - 20930
                - 20931
                - 20932
                - 20933
                - 20962
                - 20963
                - 20964
                - 20965
                - 20966
                - 20967
                - 20968
                - 20969
                - 20970
                - 20971
                - 20972
                - 20973
                - 20974
                - 20975
                - 20976
                - 20977
                - 21025
                - 21026
                - 21027
                - 21028
                - 21029
                - 21030
                - 21031
                - 21032
                - 21033
                - 21034
                - 21035
                - 21036
                - 21037
                - 21038
                - 21039
                - 21040
                - 21041
                - 21042
                - 21043
                - 21044
                - 21045
                - 21046
                - 21047
                - 21048
                - 21049
                - 21050
                - 21051
                - 21052
                - 21053
                - 21054
                - 21055
                - 21056
                - 21057
                - 21058
                - 21059
                - 21060
                - 21061
                - 21062
                - 21063
                - 21064
                - 21065
                - 21066
                - 21067
                - 21068
                - 21069
                - 21070
                - 21087
                - 21149
                - 21150
                - 21151
                - 21152
                - 21153
                - 21154
                - 21183
                - 21184
                - 21185
                - 21186
                - 21187
                - 21188
                - 21189
                - 21190
                - 21191
                - 21192
                - 21193
                - 21194
                - 21195
                - 21196
                - 21197
                - 21198
                - 21246
                - 21247
                - 21248
                - 21249
                - 21250
                - 21251
                - 21252
                - 21253
                - 21254
                - 21255
                - 21256
                - 21257
                - 21258
                - 21259
                - 21260
                - 21261
                - 21262
                - 21263
                - 21264
                - 21265
                - 21266
                - 21267
                - 21268
                - 21269
                - 21270
                - 21271
                - 21272
                - 21273
                - 21274
                - 21275
                - 21276
                - 21277
                - 21278
                - 21279
                - 21280
                - 21281
                - 21282
                - 21283
                - 21284
                - 21285
                - 21286
                - 21287
                - 21288
                - 21289
                - 21290
                - 21291
                - 21308
                - 21370
                - 21371
                - 21372
                - 21373
                - 21374
                - 21375
                - 21404
                - 21405
                - 21406
                - 21407
                - 21408
                - 21409
                - 21410
                - 21411
                - 21412
                - 21413
                - 21414
                - 21415
                - 21416
                - 21417
                - 21418
                - 21419
                - 21467
                - 21468
                - 21469
                - 21470
                - 21471
                - 21472
                - 21473
                - 21474
                - 21475
                - 21476
                - 21477
                - 21478
                - 21479
                - 21480
                - 21481
                - 21482
                - 21483
                - 21484
                - 21485
                - 21486
                - 21487
                - 21488
                - 21489
                - 21490
                - 21491
                - 21492
                - 21493
                - 21494
                - 21495
                - 21496
                - 21497
                - 21498
                - 21499
                - 21500
                - 21501
                - 21502
                - 21503
                - 21504
                - 21505
                - 21506
                - 21507
                - 21508
                - 21509
                - 21510
                - 21511
                - 21512
                - 21529
                - 21591
                - 21592
                - 21593
                - 21594
                - 21595
                - 21596
                - 21625
                - 21626
                - 21627
                - 21628
                - 21629
                - 21630
                - 21631
                - 21632
                - 21633
                - 21634
                - 21635
                - 21636
                - 21637
                - 21638
                - 21639
                - 21640
                - 21688
                - 21689
                - 21690
                - 21691
                - 21692
                - 21693
                - 21694
                - 21695
                - 21696
                - 21697
                - 21698
                - 21699
                - 21700
                - 21701
                - 21702
                - 21703
                - 21704
                - 21705
                - 21706
                - 21707
                - 21708
                - 21709
                - 21710
                - 21711
                - 21712
                - 21713
                - 21714
                - 21715
                - 21716
                - 21717
                - 21718
                - 21719
                - 21720
                - 21721
                - 21722
                - 21723
                - 21724
                - 21725
                - 21726
                - 21727
                - 21728
                - 21729
                - 21730
                - 21731
                - 21732
        -
          in: query
          name: discharge_volume
          description: 'Must not be greater than 2147483647.'
          example: 25
          required: false
          schema:
            type: number
            description: 'Must not be greater than 2147483647.'
            example: 25
            nullable: true
        -
          in: query
          name: discharge_points_count
          description: 'Must not be greater than 3.'
          example: 3
          required: false
          schema:
            type: number
            description: 'Must not be greater than 3.'
            example: 3
            nullable: true
        -
          in: query
          name: sludge_generation
          description: ''
          example: true
          required: false
          schema:
            type: boolean
            description: ''
            example: true
            nullable: true
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Organisations
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  /api/organisations/supplier-profile/facility-types:
    get:
      summary: 'Facility types'
      operationId: facilityTypes
      description: 'Get the facility types'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    name: 'Accessories and Trims'
                    description: 'Manufacture and processing of materials that are attached to the body of the garments for functional purpose.'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      name:
                        type: string
                        example: 'Accessories and Trims'
                      description:
                        type: string
                        example: 'Manufacture and processing of materials that are attached to the body of the garments for functional purpose.'
      tags:
        - Organisations
  /api/organisations/supplier-profile/attribute-groups:
    get:
      summary: 'Attribute groups'
      operationId: attributeGroups
      description: 'Get attributes suitable for the facility type'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      name: guideline_version
                      profile_type: report_profile
                      service_id: null
                      single_select: 1
                      type: integer
                      required: 1
                      items_type: null
                      attributes:
                        -
                          id: 1
                          external_id: 1
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Wastewater 2.2'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 2
                          external_id: 8
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Purchasing'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 3
                          external_id: 10
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Traceability'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 5
                          external_id: 12
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Air Emissions Guidelines'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 6
                          external_id: 13
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical-Related Waste Disposal'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 7
                          external_id: 14
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Management Strategy'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 8
                          external_id: 15
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Safe Chemical Storage'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 9
                          external_id: 16
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Waste Management'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 10
                          external_id: 17
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Handling & Worker Safety'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 11
                          external_id: 18
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Document and Process Control'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 13
                          external_id: 20
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Continuous Improvement Actions'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 16
                          external_id: 23
                          group_id: 1
                          parent_id: null
                          short: null
                          name: InCheck
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 17
                          external_id: 24
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Wastewater and sludge'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 26
                          external_id: 38
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'InCheck Reporting'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 27
                          external_id: 39
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Input Materials Purchasing'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 29
                          external_id: 41
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Materials Traceability'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 30
                          external_id: 42
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'ETP Assessment'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 34
                          external_id: 26
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Water Efficiency'
                          selectable: 1
                          order: null
                          facility_types: []
                    -
                      id: 1
                      name: guideline_version
                      profile_type: report_profile
                      service_id: null
                      single_select: 1
                      type: integer
                      required: 1
                      items_type: null
                      attributes:
                        -
                          id: 1
                          external_id: 1
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Wastewater 2.2'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 2
                          external_id: 8
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Purchasing'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 3
                          external_id: 10
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Traceability'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 5
                          external_id: 12
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Air Emissions Guidelines'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 6
                          external_id: 13
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical-Related Waste Disposal'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 7
                          external_id: 14
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Management Strategy'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 8
                          external_id: 15
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Safe Chemical Storage'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 9
                          external_id: 16
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Waste Management'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 10
                          external_id: 17
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Handling & Worker Safety'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 11
                          external_id: 18
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Document and Process Control'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 13
                          external_id: 20
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Continuous Improvement Actions'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 16
                          external_id: 23
                          group_id: 1
                          parent_id: null
                          short: null
                          name: InCheck
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 17
                          external_id: 24
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Wastewater and sludge'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 26
                          external_id: 38
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'InCheck Reporting'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 27
                          external_id: 39
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Input Materials Purchasing'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 29
                          external_id: 41
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Materials Traceability'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 30
                          external_id: 42
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'ETP Assessment'
                          selectable: 1
                          order: null
                          facility_types: []
                        -
                          id: 34
                          external_id: 26
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Water Efficiency'
                          selectable: 1
                          order: null
                          facility_types: []
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        name: guideline_version
                        profile_type: report_profile
                        service_id: null
                        single_select: 1
                        type: integer
                        required: 1
                        items_type: null
                        attributes:
                          -
                            id: 1
                            external_id: 1
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Wastewater 2.2'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 2
                            external_id: 8
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Purchasing'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 3
                            external_id: 10
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Traceability'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 5
                            external_id: 12
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Air Emissions Guidelines'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 6
                            external_id: 13
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical-Related Waste Disposal'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 7
                            external_id: 14
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Management Strategy'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 8
                            external_id: 15
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Safe Chemical Storage'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 9
                            external_id: 16
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Waste Management'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 10
                            external_id: 17
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Handling & Worker Safety'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 11
                            external_id: 18
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Document and Process Control'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 13
                            external_id: 20
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Continuous Improvement Actions'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 16
                            external_id: 23
                            group_id: 1
                            parent_id: null
                            short: null
                            name: InCheck
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 17
                            external_id: 24
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Wastewater and sludge'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 26
                            external_id: 38
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'InCheck Reporting'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 27
                            external_id: 39
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Input Materials Purchasing'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 29
                            external_id: 41
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Materials Traceability'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 30
                            external_id: 42
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'ETP Assessment'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 34
                            external_id: 26
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Water Efficiency'
                            selectable: 1
                            order: null
                            facility_types: []
                      -
                        id: 1
                        name: guideline_version
                        profile_type: report_profile
                        service_id: null
                        single_select: 1
                        type: integer
                        required: 1
                        items_type: null
                        attributes:
                          -
                            id: 1
                            external_id: 1
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Wastewater 2.2'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 2
                            external_id: 8
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Purchasing'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 3
                            external_id: 10
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Traceability'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 5
                            external_id: 12
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Air Emissions Guidelines'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 6
                            external_id: 13
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical-Related Waste Disposal'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 7
                            external_id: 14
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Management Strategy'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 8
                            external_id: 15
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Safe Chemical Storage'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 9
                            external_id: 16
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Waste Management'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 10
                            external_id: 17
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Handling & Worker Safety'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 11
                            external_id: 18
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Document and Process Control'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 13
                            external_id: 20
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Continuous Improvement Actions'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 16
                            external_id: 23
                            group_id: 1
                            parent_id: null
                            short: null
                            name: InCheck
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 17
                            external_id: 24
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Wastewater and sludge'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 26
                            external_id: 38
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'InCheck Reporting'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 27
                            external_id: 39
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Input Materials Purchasing'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 29
                            external_id: 41
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Materials Traceability'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 30
                            external_id: 42
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'ETP Assessment'
                            selectable: 1
                            order: null
                            facility_types: []
                          -
                            id: 34
                            external_id: 26
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Water Efficiency'
                            selectable: 1
                            order: null
                            facility_types: []
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        name:
                          type: string
                          example: guideline_version
                        profile_type:
                          type: string
                          example: report_profile
                        service_id:
                          type: string
                          example: null
                          nullable: true
                        single_select:
                          type: integer
                          example: 1
                        type:
                          type: string
                          example: integer
                        required:
                          type: integer
                          example: 1
                        items_type:
                          type: string
                          example: null
                          nullable: true
                        attributes:
                          type: array
                          example:
                            -
                              id: 1
                              external_id: 1
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Wastewater 2.2'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 2
                              external_id: 8
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Chemical Purchasing'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 3
                              external_id: 10
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Chemical Traceability'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 5
                              external_id: 12
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Air Emissions Guidelines'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 6
                              external_id: 13
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Chemical-Related Waste Disposal'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 7
                              external_id: 14
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Chemical Management Strategy'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 8
                              external_id: 15
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Safe Chemical Storage'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 9
                              external_id: 16
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Waste Management'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 10
                              external_id: 17
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Chemical Handling & Worker Safety'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 11
                              external_id: 18
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Document and Process Control'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 13
                              external_id: 20
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Continuous Improvement Actions'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 16
                              external_id: 23
                              group_id: 1
                              parent_id: null
                              short: null
                              name: InCheck
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 17
                              external_id: 24
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Wastewater and sludge'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 26
                              external_id: 38
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'InCheck Reporting'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 27
                              external_id: 39
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Input Materials Purchasing'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 29
                              external_id: 41
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Materials Traceability'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 30
                              external_id: 42
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'ETP Assessment'
                              selectable: 1
                              order: null
                              facility_types: []
                            -
                              id: 34
                              external_id: 26
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Water Efficiency'
                              selectable: 1
                              order: null
                              facility_types: []
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 1
                              external_id:
                                type: integer
                                example: 1
                              group_id:
                                type: integer
                                example: 1
                              parent_id:
                                type: string
                                example: null
                                nullable: true
                              short:
                                type: string
                                example: null
                                nullable: true
                              name:
                                type: string
                                example: 'Wastewater 2.2'
                              selectable:
                                type: integer
                                example: 1
                              order:
                                type: string
                                example: null
                                nullable: true
                              facility_types:
                                type: array
                                example: []
      tags:
        - Organisations
  /api/system/logs/settings:
    get:
      summary: 'Channel Settings'
      operationId: channelSettings
      description: 'Get all logging channel settings.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n    \"channel1\": {\n        \"fields\": [\n            \"context->ip\",\n            \"context->action_type\",\n            \"context->user_id\",\n        ],\n        \"filters\": [\n            {\n                \"type\": \"exact\",\n                \"column\": \"context->ip\",\n                \"field\": {\n                    \"name\": \"textfield\",\n                },\n            },\n        ],\n        \"sorts\": [\n            \"context->ip\",\n            \"context->action_type\",\n            \"context->user_id\",\n        ]\n    }\n}"
      tags:
        - System
  '/api/system/logs/channel/{channel}':
    get:
      summary: Channel
      operationId: channel
      description: "See all logs for a channel\n<aside class=\"warning\">Proper administrative role required</aside>"
      parameters:
        -
          in: query
          name: archived
          description: 'Whether to list only archived channels.'
          example: false
          required: false
          schema:
            type: boolean
            description: 'Whether to list only archived channels.'
            example: false
        -
          in: query
          name: per_page
          description: 'Number of channels per page.'
          example: 50
          required: false
          schema:
            type: integer
            description: 'Number of channels per page.'
            example: 50
        -
          in: query
          name: sort
          description: 'Sort by any configured sort value.'
          example: '`sort=-created_at`'
          required: false
          schema:
            type: string
            description: 'Sort by any configured sort value.'
            example: '`sort=-created_at`'
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      channel: api_requests
                      level: DEBUG
                      message: 'Api response sent to https://scmf.roadmaptozero.com/api/substances/facility/v1/schema'
                      context:
                        status: 200
                        response: '{"status":"success","api_identifier":"getsubstancesbyfacility-schema","request":{"parameters":[{"name":"guideline_version","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/guideline\/versions\/v1"},{"name":"industry_type","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/industry\/types\/v1"},{"name":"facility_type","type":"array","items":{"type":"integer"},"required":true,"multi_select":true,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/facility\/types\/v1"},{"name":"discharge_type","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/discharge\/types\/v1"},{"name":"above_15m","type":"integer","required":true,"multi_select":false,"values":{"0":"less than 15m\u00b3 per day","1":"more than or equal 15m\u00b3 per day"}},{"name":"has_sludge","type":"integer","required":true,"multi_select":false,"values":{"0":"No","1":"Yes"}},{"name":"disposal_pathway","type":"integer","required":false,"multi_select":false,"virtual_values":{"0":"Not applicable\/none"},"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/disposal\/pathways\/v1","comment":"Error if required and not provided"},{"name":"fiber_type","type":"integer","required":false,"multi_select":false,"virtual_values":{"0":"Not applicable\/none"},"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/fiber\/types\/v1","comment":"Error if required and not provided"}]}}'
                        requestBody: []
                      created_at: '2025-11-14 09:21:43'
                      deleted_at: null
                    -
                      id: 1
                      channel: api_requests
                      level: DEBUG
                      message: 'Api response sent to https://scmf.roadmaptozero.com/api/substances/facility/v1/schema'
                      context:
                        status: 200
                        response: '{"status":"success","api_identifier":"getsubstancesbyfacility-schema","request":{"parameters":[{"name":"guideline_version","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/guideline\/versions\/v1"},{"name":"industry_type","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/industry\/types\/v1"},{"name":"facility_type","type":"array","items":{"type":"integer"},"required":true,"multi_select":true,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/facility\/types\/v1"},{"name":"discharge_type","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/discharge\/types\/v1"},{"name":"above_15m","type":"integer","required":true,"multi_select":false,"values":{"0":"less than 15m\u00b3 per day","1":"more than or equal 15m\u00b3 per day"}},{"name":"has_sludge","type":"integer","required":true,"multi_select":false,"values":{"0":"No","1":"Yes"}},{"name":"disposal_pathway","type":"integer","required":false,"multi_select":false,"virtual_values":{"0":"Not applicable\/none"},"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/disposal\/pathways\/v1","comment":"Error if required and not provided"},{"name":"fiber_type","type":"integer","required":false,"multi_select":false,"virtual_values":{"0":"Not applicable\/none"},"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/fiber\/types\/v1","comment":"Error if required and not provided"}]}}'
                        requestBody: []
                      created_at: '2025-11-14 09:21:43'
                      deleted_at: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        channel: api_requests
                        level: DEBUG
                        message: 'Api response sent to https://scmf.roadmaptozero.com/api/substances/facility/v1/schema'
                        context:
                          status: 200
                          response: '{"status":"success","api_identifier":"getsubstancesbyfacility-schema","request":{"parameters":[{"name":"guideline_version","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/guideline\/versions\/v1"},{"name":"industry_type","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/industry\/types\/v1"},{"name":"facility_type","type":"array","items":{"type":"integer"},"required":true,"multi_select":true,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/facility\/types\/v1"},{"name":"discharge_type","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/discharge\/types\/v1"},{"name":"above_15m","type":"integer","required":true,"multi_select":false,"values":{"0":"less than 15m\u00b3 per day","1":"more than or equal 15m\u00b3 per day"}},{"name":"has_sludge","type":"integer","required":true,"multi_select":false,"values":{"0":"No","1":"Yes"}},{"name":"disposal_pathway","type":"integer","required":false,"multi_select":false,"virtual_values":{"0":"Not applicable\/none"},"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/disposal\/pathways\/v1","comment":"Error if required and not provided"},{"name":"fiber_type","type":"integer","required":false,"multi_select":false,"virtual_values":{"0":"Not applicable\/none"},"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/fiber\/types\/v1","comment":"Error if required and not provided"}]}}'
                          requestBody: []
                        created_at: '2025-11-14 09:21:43'
                        deleted_at: null
                      -
                        id: 1
                        channel: api_requests
                        level: DEBUG
                        message: 'Api response sent to https://scmf.roadmaptozero.com/api/substances/facility/v1/schema'
                        context:
                          status: 200
                          response: '{"status":"success","api_identifier":"getsubstancesbyfacility-schema","request":{"parameters":[{"name":"guideline_version","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/guideline\/versions\/v1"},{"name":"industry_type","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/industry\/types\/v1"},{"name":"facility_type","type":"array","items":{"type":"integer"},"required":true,"multi_select":true,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/facility\/types\/v1"},{"name":"discharge_type","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/discharge\/types\/v1"},{"name":"above_15m","type":"integer","required":true,"multi_select":false,"values":{"0":"less than 15m\u00b3 per day","1":"more than or equal 15m\u00b3 per day"}},{"name":"has_sludge","type":"integer","required":true,"multi_select":false,"values":{"0":"No","1":"Yes"}},{"name":"disposal_pathway","type":"integer","required":false,"multi_select":false,"virtual_values":{"0":"Not applicable\/none"},"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/disposal\/pathways\/v1","comment":"Error if required and not provided"},{"name":"fiber_type","type":"integer","required":false,"multi_select":false,"virtual_values":{"0":"Not applicable\/none"},"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/fiber\/types\/v1","comment":"Error if required and not provided"}]}}'
                          requestBody: []
                        created_at: '2025-11-14 09:21:43'
                        deleted_at: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        channel:
                          type: string
                          example: api_requests
                        level:
                          type: string
                          example: DEBUG
                        message:
                          type: string
                          example: 'Api response sent to https://scmf.roadmaptozero.com/api/substances/facility/v1/schema'
                        context:
                          type: object
                          properties:
                            status:
                              type: integer
                              example: 200
                            response:
                              type: string
                              example: '{"status":"success","api_identifier":"getsubstancesbyfacility-schema","request":{"parameters":[{"name":"guideline_version","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/guideline\/versions\/v1"},{"name":"industry_type","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/industry\/types\/v1"},{"name":"facility_type","type":"array","items":{"type":"integer"},"required":true,"multi_select":true,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/facility\/types\/v1"},{"name":"discharge_type","type":"integer","required":true,"multi_select":false,"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/discharge\/types\/v1"},{"name":"above_15m","type":"integer","required":true,"multi_select":false,"values":{"0":"less than 15m\u00b3 per day","1":"more than or equal 15m\u00b3 per day"}},{"name":"has_sludge","type":"integer","required":true,"multi_select":false,"values":{"0":"No","1":"Yes"}},{"name":"disposal_pathway","type":"integer","required":false,"multi_select":false,"virtual_values":{"0":"Not applicable\/none"},"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/disposal\/pathways\/v1","comment":"Error if required and not provided"},{"name":"fiber_type","type":"integer","required":false,"multi_select":false,"virtual_values":{"0":"Not applicable\/none"},"values_endpoint":"https:\/\/scmf.roadmaptozero.com\/api\/fiber\/types\/v1","comment":"Error if required and not provided"}]}}'
                            requestBody:
                              type: array
                              example: []
                        created_at:
                          type: string
                          example: '2025-11-14 09:21:43'
                        deleted_at:
                          type: string
                          example: null
                          nullable: true
      tags:
        - System
    parameters:
      -
        in: path
        name: channel
        description: 'The channel.'
        example: et
        required: true
        schema:
          type: string
  '/api/system/logs/channel/{channel}/export':
    get:
      summary: Export
      operationId: export
      description: 'Export to CSV'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - System
    parameters:
      -
        in: path
        name: channel
        description: 'The channel.'
        example: ut
        required: true
        schema:
          type: string
  '/api/system/logs/channel/{channel}/archive':
    get:
      summary: Archive
      operationId: archive
      description: 'Archive logs (soft delete)'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - System
    parameters:
      -
        in: path
        name: channel
        description: 'The channel.'
        example: qui
        required: true
        schema:
          type: string
  '/api/system/logs/channel/{channel}/delete-archived':
    delete:
      summary: 'Delete Archived'
      operationId: deleteArchived
      description: 'Delete archived logs (force delete)'
      parameters: []
      responses: {  }
      tags:
        - System
    parameters:
      -
        in: path
        name: channel
        description: 'The channel.'
        example: esse
        required: true
        schema:
          type: string
  '/api/system/organisation/{organisation_id}/blade/preview/{view}':
    post:
      summary: Preview
      operationId: preview
      description: 'Preview any View. Supports php commands and defaults to strings. Only available when debug enabled.'
      parameters: []
      responses: {  }
      tags:
        - System
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: view
        description: ''
        example: ea
        required: true
        schema:
          type: string
  /api/system/sync-lab-users:
    post:
      summary: Webhook
      operationId: webhook
      description: 'Webhook to handle syncing lab users.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                oneOf:
                  -
                    description: ''
                    type: object
                    example:
                      message: 'not handled'
                    properties:
                      message:
                        type: string
                        example: 'not handled'
                  -
                    description: ''
                    type: object
                    example: {  }
                    properties: {  }
      tags:
        - System
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                api_key:
                  type: string
                  description: ''
                  example: et
                data:
                  type: object
                  description: ''
                  example: []
                  properties: {  }
              required:
                - api_key
                - data
  '/api/system/organisation/{organisation_id}/mail/preview/{mailableClass}':
    get:
      summary: Preview
      operationId: preview
      description: "Preview any mailable, supplied with any query parameter arguments for that mailable.\n<aside class=\"warning\">Requires <code>MANAGE_SYSTEM</code> permission.</aside>"
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - System
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: mailableClass
        description: ''
        example: id
        required: true
        schema:
          type: string
  /api/system/terms-and-service/active:
    get:
      summary: 'Active Terms and Service Document'
      operationId: activeTermsAndServiceDocument
      description: 'Get current active ToC Document.'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 3
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 3
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    related_type: App\Models\Organisation
                    document_title: 'TaS Example.pdf'
                    created_at: '2025-11-14T09:21:45.000000Z'
                    updated_at: '2025-11-14T09:21:45.000000Z'
                    public_file_url: 'https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      related_type:
                        type: string
                        example: App\Models\Organisation
                      document_title:
                        type: string
                        example: 'TaS Example.pdf'
                      created_at:
                        type: string
                        example: '2025-11-14T09:21:45.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-14T09:21:45.000000Z'
                      public_file_url:
                        type: string
                        example: 'https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf'
      tags:
        - System
  /api/system/terms-and-conditions/active:
    get:
      summary: 'Active Terms and Conditions'
      operationId: activeTermsAndConditions
      description: 'Get current active ToC Document.'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 10
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 10
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    related_type: App\Models\Organisation
                    document_title: 'TaS Example.pdf'
                    created_at: '2025-11-14T09:21:45.000000Z'
                    updated_at: '2025-11-14T09:21:45.000000Z'
                    public_file_url: 'https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      related_type:
                        type: string
                        example: App\Models\Organisation
                      document_title:
                        type: string
                        example: 'TaS Example.pdf'
                      created_at:
                        type: string
                        example: '2025-11-14T09:21:45.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-14T09:21:45.000000Z'
                      public_file_url:
                        type: string
                        example: 'https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf'
      tags:
        - System
  '/api/system/organisation/{organisation_id}/terms-and-service':
    post:
      summary: Store
      operationId: store
      description: "Store a new terms and service document.\n<aside class=\"warning\">Requires <code>MANAGE_SYSTEM</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - System
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                document:
                  type: string
                  format: binary
                  description: 'Must be a file.'
              required:
                - document
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/system/user/{user_id}/terms-and-conditions':
    post:
      summary: Store
      operationId: store
      description: "Store a new terms and conditions document.\n<aside class=\"warning\">Requires <code>MANAGE_SYSTEM</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - System
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                document:
                  type: string
                  format: binary
                  description: 'Must be a file.'
              required:
                - document
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/terms-and-service/accept/{organisation_id}/{document_id}':
    post:
      summary: Accept
      operationId: accept
      description: 'accept a TaS document for an organisation.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Terms and dervice document accepted'
      tags:
        - 'Terms and Service'
      security: []
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: document_id
        description: 'The ID of the document.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/terms-and-conditions/accept/{user_id}/{document_id}':
    post:
      summary: 'Accept Terms and Conditions'
      operationId: acceptTermsAndConditions
      description: 'accept a TaC document for a user.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'Terms and conditions document accepted'
      tags:
        - 'Terms and Service'
      security: []
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: document_id
        description: 'The ID of the document.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/users/{user_id}/notifications':
    get:
      summary: Index
      operationId: index
      description: 'List all notifications for a user.'
      parameters:
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 6
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 6
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 222
                      user_id: 28083
                      type: organisation_updates
                      message: "Lab Request Accepted - [ZDHC test company SBX] | ClearStream\nEmail: schulz@zdhc.org\nPhone: 00312012345678"
                      url: 'https://zdhcsandboxdev.consulting1x1.info/organisations/60301/clearstream/action-steps'
                      read_at: '2026-01-09 10:05:47'
                      created_at: '2026-01-09T08:31:03.000000Z'
                      updated_at: '2026-01-09T10:05:47.000000Z'
                    -
                      id: 222
                      user_id: 28083
                      type: organisation_updates
                      message: "Lab Request Accepted - [ZDHC test company SBX] | ClearStream\nEmail: schulz@zdhc.org\nPhone: 00312012345678"
                      url: 'https://zdhcsandboxdev.consulting1x1.info/organisations/60301/clearstream/action-steps'
                      read_at: '2026-01-09 10:05:47'
                      created_at: '2026-01-09T08:31:03.000000Z'
                      updated_at: '2026-01-09T10:05:47.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 222
                        user_id: 28083
                        type: organisation_updates
                        message: "Lab Request Accepted - [ZDHC test company SBX] | ClearStream\nEmail: schulz@zdhc.org\nPhone: 00312012345678"
                        url: 'https://zdhcsandboxdev.consulting1x1.info/organisations/60301/clearstream/action-steps'
                        read_at: '2026-01-09 10:05:47'
                        created_at: '2026-01-09T08:31:03.000000Z'
                        updated_at: '2026-01-09T10:05:47.000000Z'
                      -
                        id: 222
                        user_id: 28083
                        type: organisation_updates
                        message: "Lab Request Accepted - [ZDHC test company SBX] | ClearStream\nEmail: schulz@zdhc.org\nPhone: 00312012345678"
                        url: 'https://zdhcsandboxdev.consulting1x1.info/organisations/60301/clearstream/action-steps'
                        read_at: '2026-01-09 10:05:47'
                        created_at: '2026-01-09T08:31:03.000000Z'
                        updated_at: '2026-01-09T10:05:47.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 222
                        user_id:
                          type: integer
                          example: 28083
                        type:
                          type: string
                          example: organisation_updates
                        message:
                          type: string
                          example: "Lab Request Accepted - [ZDHC test company SBX] | ClearStream\nEmail: schulz@zdhc.org\nPhone: 00312012345678"
                        url:
                          type: string
                          example: 'https://zdhcsandboxdev.consulting1x1.info/organisations/60301/clearstream/action-steps'
                        read_at:
                          type: string
                          example: '2026-01-09 10:05:47'
                        created_at:
                          type: string
                          example: '2026-01-09T08:31:03.000000Z'
                        updated_at:
                          type: string
                          example: '2026-01-09T10:05:47.000000Z'
      tags:
        - Users
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                read:
                  type: boolean
                  description: ''
                  example: false
                unread:
                  type: boolean
                  description: ''
                  example: false
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/users/{user_id}/notifications/count':
    get:
      summary: 'Count unread'
      operationId: countUnread
      description: 'Get the amount of unread notifications for a user'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n data: {\n     count: 1\n }\n}"
      tags:
        - Users
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/users/{user_id}/notifications/mark-as-read/{notification}':
    post:
      summary: 'Mark as read'
      operationId: markAsRead
      description: 'Mark a single or all notifications as read for a user.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n message: \"Notification(s) marked as read\"\n}"
      tags:
        - Users
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: notification
        description: 'Optional parameter.'
        required: true
        schema:
          type: integer
        examples:
          omitted:
            summary: 'When the value is omitted'
            value: ''
          present:
            summary: 'When the value is present'
            value: 222
  '/api/users/{user_id}/notifications/mark-as-unread/{notification_id}':
    post:
      summary: 'Mark as unread'
      operationId: markAsUnread
      description: 'Mark a notification as unread for a user.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n message: \"Notification marked as unread\"\n}"
      tags:
        - Users
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: notification_id
        description: 'The ID of the notification.'
        example: 222
        required: true
        schema:
          type: integer
  '/api/users/{user_id}/notifications/settings':
    get:
      summary: 'Show Notification Settings'
      operationId: showNotificationSettings
      description: 'Show notification settings for a user.'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Users
    put:
      summary: 'Update Notification Settings'
      operationId: updateNotificationSettings
      description: 'Update notification settings for a user.'
      parameters: []
      responses: {  }
      tags:
        - Users
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                product_updates:
                  type: boolean
                  description: ''
                  example: true
                organisation_updates:
                  type: boolean
                  description: ''
                  example: false
                weekly_notification_digest:
                  type: boolean
                  description: ''
                  example: false
                marketing_updates:
                  type: boolean
                  description: ''
                  example: true
              required:
                - product_updates
                - organisation_updates
                - weekly_notification_digest
                - marketing_updates
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/users/{id}':
    get:
      summary: Show
      operationId: show
      description: "Get the properties of a user.\n\n<aside class=\"warning\">Allowed for currently authenticated user or via <code>MODIFY_USERS</code> Permission</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    reference_id: 02-TXFQXFYRE4ACK-M
                    ulid: 01k0y9mg650dbx0cp4nhq1vm7m
                    pdc_id: null
                    role_id: 2
                    first_name: System
                    last_name: User
                    email: admin@localhost
                    email_verified_at: null
                    phone: '+13523381248'
                    location: null
                    locale: es_BO
                    created_at: '2025-07-24T13:23:18.000000Z'
                    updated_at: '2025-12-08T15:12:52.000000Z'
                    deleted_at: null
                    last_active_at: '2025-12-02T13:51:01.000000Z'
                    profile_reviewed_at: null
                    status: active
                    profile_picture_url: null
                    location_name: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      reference_id:
                        type: string
                        example: 02-TXFQXFYRE4ACK-M
                      ulid:
                        type: string
                        example: 01k0y9mg650dbx0cp4nhq1vm7m
                      pdc_id:
                        type: string
                        example: null
                        nullable: true
                      role_id:
                        type: integer
                        example: 2
                      first_name:
                        type: string
                        example: System
                      last_name:
                        type: string
                        example: User
                      email:
                        type: string
                        example: admin@localhost
                      email_verified_at:
                        type: string
                        example: null
                        nullable: true
                      phone:
                        type: string
                        example: '+13523381248'
                      location:
                        type: string
                        example: null
                        nullable: true
                      locale:
                        type: string
                        example: es_BO
                      created_at:
                        type: string
                        example: '2025-07-24T13:23:18.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-08T15:12:52.000000Z'
                      deleted_at:
                        type: string
                        example: null
                        nullable: true
                      last_active_at:
                        type: string
                        example: '2025-12-02T13:51:01.000000Z'
                      profile_reviewed_at:
                        type: string
                        example: null
                        nullable: true
                      status:
                        type: string
                        example: active
                      profile_picture_url:
                        type: string
                        example: null
                        nullable: true
                      location_name:
                        type: string
                        example: null
                        nullable: true
      tags:
        - Users
    put:
      summary: Update
      operationId: update
      description: "Update a user.\n\n<aside class=\"warning\">Allowed for currently authenticated user or via <code>MODIFY_USERS</code> Permission</aside>"
      parameters: []
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'User updated successfully'
                  email_verification_required: false
                  password_sent: false
                  new_avatar_url: 'https://example.com/avatar.jpg'
                properties:
                  message:
                    type: string
                    example: 'User updated successfully'
                  email_verification_required:
                    type: boolean
                    example: false
                  password_sent:
                    type: boolean
                    example: false
                  new_avatar_url:
                    type: string
                    example: 'https://example.com/avatar.jpg'
        422:
          description: 'Validation Error'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: '[error message from the first field failing validation]'
                  errors:
                    '[field_name]':
                      - '[any validator message failing]'
                properties:
                  message:
                    type: string
                    example: '[error message from the first field failing validation]'
                  errors:
                    type: object
                    properties:
                      '[field_name]':
                        type: array
                        example:
                          - '[any validator message failing]'
                        items:
                          type: string
      tags:
        - Users
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  type: string
                  description: 'Must be at least 2 characters. Must not be greater than 50 characters.'
                  example: lvlgdwggjtfsqp
                last_name:
                  type: string
                  description: 'Must be at least 2 characters. Must not be greater than 50 characters.'
                  example: nebtyjmpakbzwidealoweubo
                email:
                  type: string
                  description: 'Must be a valid email address. Must not be greater than 254 characters.'
                  example: ullrich.lauretta@example.com
                phone:
                  type: string
                  description: "The user's phone number. Must be at least 8 characters. Must not be greater than 20 characters."
                  example: '+1234567890'
                password:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: '=~M)~qM`}:fno_b2N:fI'
                  nullable: true
                password_confirmation:
                  type: string
                  description: 'The value and <code>password</code> must match.'
                  example: null
                  nullable: true
                location:
                  type: string
                  description: "The user's location. Must not be greater than 255 characters."
                  example: US
                  nullable: true
                locale:
                  type: string
                  description: 'Must not be greater than 12 characters.'
                  example: ti_ET
                  nullable: true
                profile_picture:
                  type: string
                  description: 'Must not be greater than 2048 characters.'
                  example: exoymlupjw
                  nullable: true
              required:
                - first_name
                - last_name
                - email
                - phone
    delete:
      summary: Destroy
      operationId: destroy
      description: "Delete a user\n\n<aside class=\"warning\">Allowed for currently authenticated user or via <code>MODIFY_USERS</code> Permission</aside>\n<aside class=\"warning\">Users who are the sole admin of an organization cannot be deleted.</aside>"
      parameters: []
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'User deleted successfully'
                properties:
                  message:
                    type: string
                    example: 'User deleted successfully'
      tags:
        - Users
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: user
        description: 'Optional parameter. The ID of the user.'
        required: true
        schema:
          type: integer
        examples:
          omitted:
            summary: 'When the value is omitted'
            value: ''
          present:
            summary: 'When the value is present'
            value: 1
  '/api/users/{user_id}/is-registered':
    get:
      summary: IsRegistered
      operationId: isRegistered
      description: 'Checks if user is registered'
      parameters: []
      responses:
        200:
          description: successful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'User is not yet registered'
                properties:
                  message:
                    type: string
                    example: 'User is not yet registered'
        500:
          description: unsuccessful
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'User is already registered'
                properties:
                  message:
                    type: string
                    example: 'User is already registered'
      tags:
        - Users
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/users/{user_id}/organisations':
    get:
      summary: Organisations
      operationId: organisations
      description: 'Get the organisations for a specific user or the authenticated user.'
      parameters:
        -
          in: query
          name: pending
          description: 'Include organisations that have pending invitations. Defaults to true.'
          example: false
          required: false
          schema:
            type: boolean
            description: 'Include organisations that have pending invitations. Defaults to true.'
            example: false
        -
          in: query
          name: non_accepted
          description: 'Include organisations that have not been accepted. Defaults to true.'
          example: false
          required: false
          schema:
            type: boolean
            description: 'Include organisations that have not been accepted. Defaults to true.'
            example: false
        -
          in: query
          name: only_trashed
          description: ''
          example: false
          required: false
          schema:
            type: boolean
            description: ''
            example: false
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 12
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 12
        -
          in: query
          name: sort
          description: 'sort by any accepted column: reference_id,name,role_name,membership_accepted_at,membership_deleted_at. prefix a "-" before the column name to sort in descending order'
          example: 'reference_id,name,role_name,membership_accepted_at,membership_deleted_at'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: reference_id,name,role_name,membership_accepted_at,membership_deleted_at. prefix a "-" before the column name to sort in descending order'
            example: 'reference_id,name,role_name,membership_accepted_at,membership_deleted_at'
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      maxio_customer_id: 225589
                      reference_id: 01-CR698383XMWJ2-P
                      pdc_id: null
                      gateway_aid: null
                      uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      type_id: 2
                      status: approved
                      name: 'test-Supplier System'
                      legal_name: 'Schroeder Ltd'
                      address_1: '149 Koss Dam Suite 796'
                      address_2: 'Suite 708'
                      city: Bergemouth
                      state: Michigan
                      location: BW
                      zip: '26306'
                      phone: '+17728385594'
                      email: yessenia18@bahringer.net
                      contact_first_name: Alfonzo
                      contact_last_name: Crooks
                      website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url: null
                      applicant_comment: null
                      reviewer_comment: 'Update your business registration document'
                      registration_mail_sent_at: '1994-04-10 08:31:47'
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2026-03-24T08:26:00.000000Z'
                      reviewer_comment_category: null
                      profile_reviewed_at: '2026-03-24 08:26:00'
                      profile_reviewed_by_user_id: 73080
                      location_name: Botswana
                      type:
                        id: 2
                        name: Supplier
                        display_name: Supplier
                        description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                        selectable: 1
                        created_at: '2025-11-14T09:21:46.000000Z'
                        updated_at: '2026-03-24T14:59:35.000000Z'
                      organisation_users:
                        -
                          id: 1
                          organisation_id: 1
                          user_id: 1
                          invited_by: null
                          role_id: 4
                          last_authorization: '2025-12-02T13:51:01.000000Z'
                          invitation_sent_at: '2025-11-14T09:21:52.000000Z'
                          invitation_accepted_at: '2025-11-14T09:21:52.000000Z'
                          created_at: '2025-07-24T13:23:28.000000Z'
                          updated_at: '2025-12-02T13:51:01.000000Z'
                          deleted_at: null
                          role:
                            id: 4
                            parent_id: 3
                            name: ORGANISATION_ADMIN
                          organisation:
                            id: 1
                            maxio_customer_id: 225589
                            reference_id: 01-CR698383XMWJ2-P
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                            type_id: 2
                            status: approved
                            name: 'test-Supplier System'
                            legal_name: 'Schroeder Ltd'
                            address_1: '149 Koss Dam Suite 796'
                            address_2: 'Suite 708'
                            city: Bergemouth
                            state: Michigan
                            location: BW
                            zip: '26306'
                            phone: '+17728385594'
                            email: yessenia18@bahringer.net
                            contact_first_name: Alfonzo
                            contact_last_name: Crooks
                            website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: 'Update your business registration document'
                            registration_mail_sent_at: '1994-04-10 08:31:47'
                            created_at: '2025-07-24T13:23:28.000000Z'
                            updated_at: '2026-03-24T08:26:00.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-03-24 08:26:00'
                            profile_reviewed_by_user_id: 73080
                            location_name: Botswana
                    -
                      id: 1
                      maxio_customer_id: 225589
                      reference_id: 01-CR698383XMWJ2-P
                      pdc_id: null
                      gateway_aid: null
                      uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                      type_id: 2
                      status: approved
                      name: 'test-Supplier System'
                      legal_name: 'Schroeder Ltd'
                      address_1: '149 Koss Dam Suite 796'
                      address_2: 'Suite 708'
                      city: Bergemouth
                      state: Michigan
                      location: BW
                      zip: '26306'
                      phone: '+17728385594'
                      email: yessenia18@bahringer.net
                      contact_first_name: Alfonzo
                      contact_last_name: Crooks
                      website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                      avatar_url: null
                      applicant_comment: null
                      reviewer_comment: 'Update your business registration document'
                      registration_mail_sent_at: '1994-04-10 08:31:47'
                      created_at: '2025-07-24T13:23:28.000000Z'
                      updated_at: '2026-03-24T08:26:00.000000Z'
                      reviewer_comment_category: null
                      profile_reviewed_at: '2026-03-24 08:26:00'
                      profile_reviewed_by_user_id: 73080
                      location_name: Botswana
                      type:
                        id: 2
                        name: Supplier
                        display_name: Supplier
                        description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                        selectable: 1
                        created_at: '2025-11-14T09:21:46.000000Z'
                        updated_at: '2026-03-24T14:59:35.000000Z'
                      organisation_users:
                        -
                          id: 1
                          organisation_id: 1
                          user_id: 1
                          invited_by: null
                          role_id: 4
                          last_authorization: '2025-12-02T13:51:01.000000Z'
                          invitation_sent_at: '2025-11-14T09:21:52.000000Z'
                          invitation_accepted_at: '2025-11-14T09:21:52.000000Z'
                          created_at: '2025-07-24T13:23:28.000000Z'
                          updated_at: '2025-12-02T13:51:01.000000Z'
                          deleted_at: null
                          role:
                            id: 4
                            parent_id: 3
                            name: ORGANISATION_ADMIN
                          organisation:
                            id: 1
                            maxio_customer_id: 225589
                            reference_id: 01-CR698383XMWJ2-P
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                            type_id: 2
                            status: approved
                            name: 'test-Supplier System'
                            legal_name: 'Schroeder Ltd'
                            address_1: '149 Koss Dam Suite 796'
                            address_2: 'Suite 708'
                            city: Bergemouth
                            state: Michigan
                            location: BW
                            zip: '26306'
                            phone: '+17728385594'
                            email: yessenia18@bahringer.net
                            contact_first_name: Alfonzo
                            contact_last_name: Crooks
                            website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: 'Update your business registration document'
                            registration_mail_sent_at: '1994-04-10 08:31:47'
                            created_at: '2025-07-24T13:23:28.000000Z'
                            updated_at: '2026-03-24T08:26:00.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-03-24 08:26:00'
                            profile_reviewed_by_user_id: 73080
                            location_name: Botswana
                  links:
                    first: '/?page=1'
                    last: null
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    path: /
                    per_page: '50'
                    to: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        maxio_customer_id: 225589
                        reference_id: 01-CR698383XMWJ2-P
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id: 2
                        status: approved
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        location: BW
                        zip: '26306'
                        phone: '+17728385594'
                        email: yessenia18@bahringer.net
                        contact_first_name: Alfonzo
                        contact_last_name: Crooks
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: 'Update your business registration document'
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id: 73080
                        location_name: Botswana
                        type:
                          id: 2
                          name: Supplier
                          display_name: Supplier
                          description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                          selectable: 1
                          created_at: '2025-11-14T09:21:46.000000Z'
                          updated_at: '2026-03-24T14:59:35.000000Z'
                        organisation_users:
                          -
                            id: 1
                            organisation_id: 1
                            user_id: 1
                            invited_by: null
                            role_id: 4
                            last_authorization: '2025-12-02T13:51:01.000000Z'
                            invitation_sent_at: '2025-11-14T09:21:52.000000Z'
                            invitation_accepted_at: '2025-11-14T09:21:52.000000Z'
                            created_at: '2025-07-24T13:23:28.000000Z'
                            updated_at: '2025-12-02T13:51:01.000000Z'
                            deleted_at: null
                            role:
                              id: 4
                              parent_id: 3
                              name: ORGANISATION_ADMIN
                            organisation:
                              id: 1
                              maxio_customer_id: 225589
                              reference_id: 01-CR698383XMWJ2-P
                              pdc_id: null
                              gateway_aid: null
                              uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                              type_id: 2
                              status: approved
                              name: 'test-Supplier System'
                              legal_name: 'Schroeder Ltd'
                              address_1: '149 Koss Dam Suite 796'
                              address_2: 'Suite 708'
                              city: Bergemouth
                              state: Michigan
                              location: BW
                              zip: '26306'
                              phone: '+17728385594'
                              email: yessenia18@bahringer.net
                              contact_first_name: Alfonzo
                              contact_last_name: Crooks
                              website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                              avatar_url: null
                              applicant_comment: null
                              reviewer_comment: 'Update your business registration document'
                              registration_mail_sent_at: '1994-04-10 08:31:47'
                              created_at: '2025-07-24T13:23:28.000000Z'
                              updated_at: '2026-03-24T08:26:00.000000Z'
                              reviewer_comment_category: null
                              profile_reviewed_at: '2026-03-24 08:26:00'
                              profile_reviewed_by_user_id: 73080
                              location_name: Botswana
                      -
                        id: 1
                        maxio_customer_id: 225589
                        reference_id: 01-CR698383XMWJ2-P
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id: 2
                        status: approved
                        name: 'test-Supplier System'
                        legal_name: 'Schroeder Ltd'
                        address_1: '149 Koss Dam Suite 796'
                        address_2: 'Suite 708'
                        city: Bergemouth
                        state: Michigan
                        location: BW
                        zip: '26306'
                        phone: '+17728385594'
                        email: yessenia18@bahringer.net
                        contact_first_name: Alfonzo
                        contact_last_name: Crooks
                        website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: 'Update your business registration document'
                        registration_mail_sent_at: '1994-04-10 08:31:47'
                        created_at: '2025-07-24T13:23:28.000000Z'
                        updated_at: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id: 73080
                        location_name: Botswana
                        type:
                          id: 2
                          name: Supplier
                          display_name: Supplier
                          description: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                          selectable: 1
                          created_at: '2025-11-14T09:21:46.000000Z'
                          updated_at: '2026-03-24T14:59:35.000000Z'
                        organisation_users:
                          -
                            id: 1
                            organisation_id: 1
                            user_id: 1
                            invited_by: null
                            role_id: 4
                            last_authorization: '2025-12-02T13:51:01.000000Z'
                            invitation_sent_at: '2025-11-14T09:21:52.000000Z'
                            invitation_accepted_at: '2025-11-14T09:21:52.000000Z'
                            created_at: '2025-07-24T13:23:28.000000Z'
                            updated_at: '2025-12-02T13:51:01.000000Z'
                            deleted_at: null
                            role:
                              id: 4
                              parent_id: 3
                              name: ORGANISATION_ADMIN
                            organisation:
                              id: 1
                              maxio_customer_id: 225589
                              reference_id: 01-CR698383XMWJ2-P
                              pdc_id: null
                              gateway_aid: null
                              uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                              type_id: 2
                              status: approved
                              name: 'test-Supplier System'
                              legal_name: 'Schroeder Ltd'
                              address_1: '149 Koss Dam Suite 796'
                              address_2: 'Suite 708'
                              city: Bergemouth
                              state: Michigan
                              location: BW
                              zip: '26306'
                              phone: '+17728385594'
                              email: yessenia18@bahringer.net
                              contact_first_name: Alfonzo
                              contact_last_name: Crooks
                              website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                              avatar_url: null
                              applicant_comment: null
                              reviewer_comment: 'Update your business registration document'
                              registration_mail_sent_at: '1994-04-10 08:31:47'
                              created_at: '2025-07-24T13:23:28.000000Z'
                              updated_at: '2026-03-24T08:26:00.000000Z'
                              reviewer_comment_category: null
                              profile_reviewed_at: '2026-03-24 08:26:00'
                              profile_reviewed_by_user_id: 73080
                              location_name: Botswana
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        maxio_customer_id:
                          type: integer
                          example: 225589
                        reference_id:
                          type: string
                          example: 01-CR698383XMWJ2-P
                        pdc_id:
                          type: string
                          example: null
                          nullable: true
                        gateway_aid:
                          type: string
                          example: null
                          nullable: true
                        uuid:
                          type: string
                          example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                        type_id:
                          type: integer
                          example: 2
                        status:
                          type: string
                          example: approved
                        name:
                          type: string
                          example: 'test-Supplier System'
                        legal_name:
                          type: string
                          example: 'Schroeder Ltd'
                        address_1:
                          type: string
                          example: '149 Koss Dam Suite 796'
                        address_2:
                          type: string
                          example: 'Suite 708'
                        city:
                          type: string
                          example: Bergemouth
                        state:
                          type: string
                          example: Michigan
                        location:
                          type: string
                          example: BW
                        zip:
                          type: string
                          example: '26306'
                        phone:
                          type: string
                          example: '+17728385594'
                        email:
                          type: string
                          example: yessenia18@bahringer.net
                        contact_first_name:
                          type: string
                          example: Alfonzo
                        contact_last_name:
                          type: string
                          example: Crooks
                        website:
                          type: string
                          example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                        avatar_url:
                          type: string
                          example: null
                          nullable: true
                        applicant_comment:
                          type: string
                          example: null
                          nullable: true
                        reviewer_comment:
                          type: string
                          example: 'Update your business registration document'
                        registration_mail_sent_at:
                          type: string
                          example: '1994-04-10 08:31:47'
                        created_at:
                          type: string
                          example: '2025-07-24T13:23:28.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-24T08:26:00.000000Z'
                        reviewer_comment_category:
                          type: string
                          example: null
                          nullable: true
                        profile_reviewed_at:
                          type: string
                          example: '2026-03-24 08:26:00'
                        profile_reviewed_by_user_id:
                          type: integer
                          example: 73080
                        location_name:
                          type: string
                          example: Botswana
                        type:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 2
                            name:
                              type: string
                              example: Supplier
                            display_name:
                              type: string
                              example: Supplier
                            description:
                              type: string
                              example: 'Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.'
                            selectable:
                              type: integer
                              example: 1
                            created_at:
                              type: string
                              example: '2025-11-14T09:21:46.000000Z'
                            updated_at:
                              type: string
                              example: '2026-03-24T14:59:35.000000Z'
                        organisation_users:
                          type: array
                          example:
                            -
                              id: 1
                              organisation_id: 1
                              user_id: 1
                              invited_by: null
                              role_id: 4
                              last_authorization: '2025-12-02T13:51:01.000000Z'
                              invitation_sent_at: '2025-11-14T09:21:52.000000Z'
                              invitation_accepted_at: '2025-11-14T09:21:52.000000Z'
                              created_at: '2025-07-24T13:23:28.000000Z'
                              updated_at: '2025-12-02T13:51:01.000000Z'
                              deleted_at: null
                              role:
                                id: 4
                                parent_id: 3
                                name: ORGANISATION_ADMIN
                              organisation:
                                id: 1
                                maxio_customer_id: 225589
                                reference_id: 01-CR698383XMWJ2-P
                                pdc_id: null
                                gateway_aid: null
                                uuid: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                                type_id: 2
                                status: approved
                                name: 'test-Supplier System'
                                legal_name: 'Schroeder Ltd'
                                address_1: '149 Koss Dam Suite 796'
                                address_2: 'Suite 708'
                                city: Bergemouth
                                state: Michigan
                                location: BW
                                zip: '26306'
                                phone: '+17728385594'
                                email: yessenia18@bahringer.net
                                contact_first_name: Alfonzo
                                contact_last_name: Crooks
                                website: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                                avatar_url: null
                                applicant_comment: null
                                reviewer_comment: 'Update your business registration document'
                                registration_mail_sent_at: '1994-04-10 08:31:47'
                                created_at: '2025-07-24T13:23:28.000000Z'
                                updated_at: '2026-03-24T08:26:00.000000Z'
                                reviewer_comment_category: null
                                profile_reviewed_at: '2026-03-24 08:26:00'
                                profile_reviewed_by_user_id: 73080
                                location_name: Botswana
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 1
                              organisation_id:
                                type: integer
                                example: 1
                              user_id:
                                type: integer
                                example: 1
                              invited_by:
                                type: string
                                example: null
                                nullable: true
                              role_id:
                                type: integer
                                example: 4
                              last_authorization:
                                type: string
                                example: '2025-12-02T13:51:01.000000Z'
                              invitation_sent_at:
                                type: string
                                example: '2025-11-14T09:21:52.000000Z'
                              invitation_accepted_at:
                                type: string
                                example: '2025-11-14T09:21:52.000000Z'
                              created_at:
                                type: string
                                example: '2025-07-24T13:23:28.000000Z'
                              updated_at:
                                type: string
                                example: '2025-12-02T13:51:01.000000Z'
                              deleted_at:
                                type: string
                                example: null
                                nullable: true
                              role:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 4
                                  parent_id:
                                    type: integer
                                    example: 3
                                  name:
                                    type: string
                                    example: ORGANISATION_ADMIN
                              organisation:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 1
                                  maxio_customer_id:
                                    type: integer
                                    example: 225589
                                  reference_id:
                                    type: string
                                    example: 01-CR698383XMWJ2-P
                                  pdc_id:
                                    type: string
                                    example: null
                                    nullable: true
                                  gateway_aid:
                                    type: string
                                    example: null
                                    nullable: true
                                  uuid:
                                    type: string
                                    example: 9f77ac50-60f5-4fda-b908-438a1a6f92e4
                                  type_id:
                                    type: integer
                                    example: 2
                                  status:
                                    type: string
                                    example: approved
                                  name:
                                    type: string
                                    example: 'test-Supplier System'
                                  legal_name:
                                    type: string
                                    example: 'Schroeder Ltd'
                                  address_1:
                                    type: string
                                    example: '149 Koss Dam Suite 796'
                                  address_2:
                                    type: string
                                    example: 'Suite 708'
                                  city:
                                    type: string
                                    example: Bergemouth
                                  state:
                                    type: string
                                    example: Michigan
                                  location:
                                    type: string
                                    example: BW
                                  zip:
                                    type: string
                                    example: '26306'
                                  phone:
                                    type: string
                                    example: '+17728385594'
                                  email:
                                    type: string
                                    example: yessenia18@bahringer.net
                                  contact_first_name:
                                    type: string
                                    example: Alfonzo
                                  contact_last_name:
                                    type: string
                                    example: Crooks
                                  website:
                                    type: string
                                    example: 'http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum'
                                  avatar_url:
                                    type: string
                                    example: null
                                    nullable: true
                                  applicant_comment:
                                    type: string
                                    example: null
                                    nullable: true
                                  reviewer_comment:
                                    type: string
                                    example: 'Update your business registration document'
                                  registration_mail_sent_at:
                                    type: string
                                    example: '1994-04-10 08:31:47'
                                  created_at:
                                    type: string
                                    example: '2025-07-24T13:23:28.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2026-03-24T08:26:00.000000Z'
                                  reviewer_comment_category:
                                    type: string
                                    example: null
                                    nullable: true
                                  profile_reviewed_at:
                                    type: string
                                    example: '2026-03-24 08:26:00'
                                  profile_reviewed_by_user_id:
                                    type: integer
                                    example: 73080
                                  location_name:
                                    type: string
                                    example: Botswana
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: null
                        nullable: true
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      path:
                        type: string
                        example: /
                      per_page:
                        type: string
                        example: '50'
                      to:
                        type: integer
                        example: 2
      tags:
        - Users
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/users/{user_id}/accept-invitation/{organisationUser_id}':
    post:
      summary: 'Accept Invitation'
      operationId: acceptInvitation
      description: 'Accept an invitation to join an organisation.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Users
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: organisationUser_id
        description: 'The ID of the organisationUser.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/users/{user_id}/reject-invitation/{organisationUser_id}':
    post:
      summary: 'Reject Invitation'
      operationId: rejectInvitation
      description: 'Reject an invitation to join an organisation.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Users
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: organisationUser_id
        description: 'The ID of the organisationUser.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/{report_id}/clearstream-report':
    get:
      summary: Show
      operationId: show
      description: 'get the clearstream report as a pdf'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/attribute-groups':
    get:
      summary: 'Show attribute groups'
      operationId: showAttributeGroups
      description: "Get a list of attribute groups related to report profiles\n\n<aside class=\"warning\">Requires the <code>COMPLETE_WASTEWATER_REPORTING</code> Permission!</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      name: guideline_version
                      profile_type: report_profile
                      service_id: null
                      single_select: 1
                      type: integer
                      required: 1
                      items_type: null
                      attributes:
                        -
                          id: 1
                          external_id: 1
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Wastewater 2.2'
                          selectable: 1
                          order: null
                        -
                          id: 2
                          external_id: 8
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Purchasing'
                          selectable: 1
                          order: null
                        -
                          id: 3
                          external_id: 10
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Traceability'
                          selectable: 1
                          order: null
                        -
                          id: 5
                          external_id: 12
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Air Emissions Guidelines'
                          selectable: 1
                          order: null
                        -
                          id: 6
                          external_id: 13
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical-Related Waste Disposal'
                          selectable: 1
                          order: null
                        -
                          id: 7
                          external_id: 14
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Management Strategy'
                          selectable: 1
                          order: null
                        -
                          id: 8
                          external_id: 15
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Safe Chemical Storage'
                          selectable: 1
                          order: null
                        -
                          id: 9
                          external_id: 16
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Waste Management'
                          selectable: 1
                          order: null
                        -
                          id: 10
                          external_id: 17
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Handling & Worker Safety'
                          selectable: 1
                          order: null
                        -
                          id: 11
                          external_id: 18
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Document and Process Control'
                          selectable: 1
                          order: null
                        -
                          id: 13
                          external_id: 20
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Continuous Improvement Actions'
                          selectable: 1
                          order: null
                        -
                          id: 16
                          external_id: 23
                          group_id: 1
                          parent_id: null
                          short: null
                          name: InCheck
                          selectable: 1
                          order: null
                        -
                          id: 17
                          external_id: 24
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Wastewater and sludge'
                          selectable: 1
                          order: null
                        -
                          id: 26
                          external_id: 38
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'InCheck Reporting'
                          selectable: 1
                          order: null
                        -
                          id: 27
                          external_id: 39
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Input Materials Purchasing'
                          selectable: 1
                          order: null
                        -
                          id: 29
                          external_id: 41
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Materials Traceability'
                          selectable: 1
                          order: null
                        -
                          id: 30
                          external_id: 42
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'ETP Assessment'
                          selectable: 1
                          order: null
                        -
                          id: 34
                          external_id: 26
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Water Efficiency'
                          selectable: 1
                          order: null
                    -
                      id: 1
                      name: guideline_version
                      profile_type: report_profile
                      service_id: null
                      single_select: 1
                      type: integer
                      required: 1
                      items_type: null
                      attributes:
                        -
                          id: 1
                          external_id: 1
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Wastewater 2.2'
                          selectable: 1
                          order: null
                        -
                          id: 2
                          external_id: 8
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Purchasing'
                          selectable: 1
                          order: null
                        -
                          id: 3
                          external_id: 10
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Traceability'
                          selectable: 1
                          order: null
                        -
                          id: 5
                          external_id: 12
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Air Emissions Guidelines'
                          selectable: 1
                          order: null
                        -
                          id: 6
                          external_id: 13
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical-Related Waste Disposal'
                          selectable: 1
                          order: null
                        -
                          id: 7
                          external_id: 14
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Management Strategy'
                          selectable: 1
                          order: null
                        -
                          id: 8
                          external_id: 15
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Safe Chemical Storage'
                          selectable: 1
                          order: null
                        -
                          id: 9
                          external_id: 16
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Waste Management'
                          selectable: 1
                          order: null
                        -
                          id: 10
                          external_id: 17
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Chemical Handling & Worker Safety'
                          selectable: 1
                          order: null
                        -
                          id: 11
                          external_id: 18
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Document and Process Control'
                          selectable: 1
                          order: null
                        -
                          id: 13
                          external_id: 20
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Continuous Improvement Actions'
                          selectable: 1
                          order: null
                        -
                          id: 16
                          external_id: 23
                          group_id: 1
                          parent_id: null
                          short: null
                          name: InCheck
                          selectable: 1
                          order: null
                        -
                          id: 17
                          external_id: 24
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Wastewater and sludge'
                          selectable: 1
                          order: null
                        -
                          id: 26
                          external_id: 38
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'InCheck Reporting'
                          selectable: 1
                          order: null
                        -
                          id: 27
                          external_id: 39
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Input Materials Purchasing'
                          selectable: 1
                          order: null
                        -
                          id: 29
                          external_id: 41
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Materials Traceability'
                          selectable: 1
                          order: null
                        -
                          id: 30
                          external_id: 42
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'ETP Assessment'
                          selectable: 1
                          order: null
                        -
                          id: 34
                          external_id: 26
                          group_id: 1
                          parent_id: null
                          short: null
                          name: 'Water Efficiency'
                          selectable: 1
                          order: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        name: guideline_version
                        profile_type: report_profile
                        service_id: null
                        single_select: 1
                        type: integer
                        required: 1
                        items_type: null
                        attributes:
                          -
                            id: 1
                            external_id: 1
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Wastewater 2.2'
                            selectable: 1
                            order: null
                          -
                            id: 2
                            external_id: 8
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Purchasing'
                            selectable: 1
                            order: null
                          -
                            id: 3
                            external_id: 10
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Traceability'
                            selectable: 1
                            order: null
                          -
                            id: 5
                            external_id: 12
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Air Emissions Guidelines'
                            selectable: 1
                            order: null
                          -
                            id: 6
                            external_id: 13
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical-Related Waste Disposal'
                            selectable: 1
                            order: null
                          -
                            id: 7
                            external_id: 14
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Management Strategy'
                            selectable: 1
                            order: null
                          -
                            id: 8
                            external_id: 15
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Safe Chemical Storage'
                            selectable: 1
                            order: null
                          -
                            id: 9
                            external_id: 16
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Waste Management'
                            selectable: 1
                            order: null
                          -
                            id: 10
                            external_id: 17
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Handling & Worker Safety'
                            selectable: 1
                            order: null
                          -
                            id: 11
                            external_id: 18
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Document and Process Control'
                            selectable: 1
                            order: null
                          -
                            id: 13
                            external_id: 20
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Continuous Improvement Actions'
                            selectable: 1
                            order: null
                          -
                            id: 16
                            external_id: 23
                            group_id: 1
                            parent_id: null
                            short: null
                            name: InCheck
                            selectable: 1
                            order: null
                          -
                            id: 17
                            external_id: 24
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Wastewater and sludge'
                            selectable: 1
                            order: null
                          -
                            id: 26
                            external_id: 38
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'InCheck Reporting'
                            selectable: 1
                            order: null
                          -
                            id: 27
                            external_id: 39
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Input Materials Purchasing'
                            selectable: 1
                            order: null
                          -
                            id: 29
                            external_id: 41
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Materials Traceability'
                            selectable: 1
                            order: null
                          -
                            id: 30
                            external_id: 42
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'ETP Assessment'
                            selectable: 1
                            order: null
                          -
                            id: 34
                            external_id: 26
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Water Efficiency'
                            selectable: 1
                            order: null
                      -
                        id: 1
                        name: guideline_version
                        profile_type: report_profile
                        service_id: null
                        single_select: 1
                        type: integer
                        required: 1
                        items_type: null
                        attributes:
                          -
                            id: 1
                            external_id: 1
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Wastewater 2.2'
                            selectable: 1
                            order: null
                          -
                            id: 2
                            external_id: 8
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Purchasing'
                            selectable: 1
                            order: null
                          -
                            id: 3
                            external_id: 10
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Traceability'
                            selectable: 1
                            order: null
                          -
                            id: 5
                            external_id: 12
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Air Emissions Guidelines'
                            selectable: 1
                            order: null
                          -
                            id: 6
                            external_id: 13
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical-Related Waste Disposal'
                            selectable: 1
                            order: null
                          -
                            id: 7
                            external_id: 14
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Management Strategy'
                            selectable: 1
                            order: null
                          -
                            id: 8
                            external_id: 15
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Safe Chemical Storage'
                            selectable: 1
                            order: null
                          -
                            id: 9
                            external_id: 16
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Waste Management'
                            selectable: 1
                            order: null
                          -
                            id: 10
                            external_id: 17
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Chemical Handling & Worker Safety'
                            selectable: 1
                            order: null
                          -
                            id: 11
                            external_id: 18
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Document and Process Control'
                            selectable: 1
                            order: null
                          -
                            id: 13
                            external_id: 20
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Continuous Improvement Actions'
                            selectable: 1
                            order: null
                          -
                            id: 16
                            external_id: 23
                            group_id: 1
                            parent_id: null
                            short: null
                            name: InCheck
                            selectable: 1
                            order: null
                          -
                            id: 17
                            external_id: 24
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Wastewater and sludge'
                            selectable: 1
                            order: null
                          -
                            id: 26
                            external_id: 38
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'InCheck Reporting'
                            selectable: 1
                            order: null
                          -
                            id: 27
                            external_id: 39
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Input Materials Purchasing'
                            selectable: 1
                            order: null
                          -
                            id: 29
                            external_id: 41
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Materials Traceability'
                            selectable: 1
                            order: null
                          -
                            id: 30
                            external_id: 42
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'ETP Assessment'
                            selectable: 1
                            order: null
                          -
                            id: 34
                            external_id: 26
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Water Efficiency'
                            selectable: 1
                            order: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        name:
                          type: string
                          example: guideline_version
                        profile_type:
                          type: string
                          example: report_profile
                        service_id:
                          type: string
                          example: null
                          nullable: true
                        single_select:
                          type: integer
                          example: 1
                        type:
                          type: string
                          example: integer
                        required:
                          type: integer
                          example: 1
                        items_type:
                          type: string
                          example: null
                          nullable: true
                        attributes:
                          type: array
                          example:
                            -
                              id: 1
                              external_id: 1
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Wastewater 2.2'
                              selectable: 1
                              order: null
                            -
                              id: 2
                              external_id: 8
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Chemical Purchasing'
                              selectable: 1
                              order: null
                            -
                              id: 3
                              external_id: 10
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Chemical Traceability'
                              selectable: 1
                              order: null
                            -
                              id: 5
                              external_id: 12
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Air Emissions Guidelines'
                              selectable: 1
                              order: null
                            -
                              id: 6
                              external_id: 13
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Chemical-Related Waste Disposal'
                              selectable: 1
                              order: null
                            -
                              id: 7
                              external_id: 14
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Chemical Management Strategy'
                              selectable: 1
                              order: null
                            -
                              id: 8
                              external_id: 15
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Safe Chemical Storage'
                              selectable: 1
                              order: null
                            -
                              id: 9
                              external_id: 16
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Waste Management'
                              selectable: 1
                              order: null
                            -
                              id: 10
                              external_id: 17
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Chemical Handling & Worker Safety'
                              selectable: 1
                              order: null
                            -
                              id: 11
                              external_id: 18
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Document and Process Control'
                              selectable: 1
                              order: null
                            -
                              id: 13
                              external_id: 20
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Continuous Improvement Actions'
                              selectable: 1
                              order: null
                            -
                              id: 16
                              external_id: 23
                              group_id: 1
                              parent_id: null
                              short: null
                              name: InCheck
                              selectable: 1
                              order: null
                            -
                              id: 17
                              external_id: 24
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Wastewater and sludge'
                              selectable: 1
                              order: null
                            -
                              id: 26
                              external_id: 38
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'InCheck Reporting'
                              selectable: 1
                              order: null
                            -
                              id: 27
                              external_id: 39
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Input Materials Purchasing'
                              selectable: 1
                              order: null
                            -
                              id: 29
                              external_id: 41
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Materials Traceability'
                              selectable: 1
                              order: null
                            -
                              id: 30
                              external_id: 42
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'ETP Assessment'
                              selectable: 1
                              order: null
                            -
                              id: 34
                              external_id: 26
                              group_id: 1
                              parent_id: null
                              short: null
                              name: 'Water Efficiency'
                              selectable: 1
                              order: null
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 1
                              external_id:
                                type: integer
                                example: 1
                              group_id:
                                type: integer
                                example: 1
                              parent_id:
                                type: string
                                example: null
                                nullable: true
                              short:
                                type: string
                                example: null
                                nullable: true
                              name:
                                type: string
                                example: 'Wastewater 2.2'
                              selectable:
                                type: integer
                                example: 1
                              order:
                                type: string
                                example: null
                                nullable: true
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/{report_id}/facility-information':
    get:
      summary: Show
      operationId: show
      description: "Get information for the owned facility for the given report\n\n<aside class=\"warning\">Requires the <code>COMPLETE_WASTEWATER_REPORTING</code> Permission!</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 2
                    report_id: 2
                    version_id: 1
                    requires_testing: 1
                    completed_at: '2025-11-14 10:16:53'
                    created_at: '2025-11-14T10:16:44.000000Z'
                    updated_at: '2025-11-14T10:16:53.000000Z'
                    attributes:
                      -
                        id: 1
                        external_id: 1
                        group_id: 1
                        parent_id: null
                        short: null
                        name: 'Wastewater 2.2'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 1
                      -
                        id: 36
                        external_id: 1
                        group_id: 2
                        parent_id: null
                        short: null
                        name: Textile
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 36
                      -
                        id: 52
                        external_id: 13
                        group_id: 3
                        parent_id: null
                        short: null
                        name: 'Vertically integrated Mill'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 52
                      -
                        id: 53
                        external_id: 14
                        group_id: 3
                        parent_id: null
                        short: null
                        name: 'Down and Feathers processor'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 53
                      -
                        id: 54
                        external_id: 15
                        group_id: 3
                        parent_id: null
                        short: null
                        name: 'Raw hide/skin to tanned'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 54
                      -
                        id: 55
                        external_id: 16
                        group_id: 3
                        parent_id: null
                        short: null
                        name: 'Raw hide/skin to crust'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 55
                      -
                        id: 74
                        external_id: 1
                        group_id: 4
                        parent_id: null
                        short: null
                        name: Direct
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 74
                      -
                        id: 80
                        external_id: 0
                        group_id: 5
                        parent_id: null
                        short: null
                        name: 'less than 15m³ per day'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 80
                      -
                        id: 82
                        external_id: 0
                        group_id: 6
                        parent_id: null
                        short: null
                        name: 'No'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 82
                      -
                        id: 91
                        external_id: 0
                        group_id: 7
                        parent_id: null
                        short: null
                        name: 'Not applicable/none'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 91
                      -
                        id: 98
                        external_id: 0
                        group_id: 8
                        parent_id: null
                        short: null
                        name: 'Not applicable/none'
                        selectable: 1
                        order: null
                        pivot:
                          profile_id: 2
                          attribute_id: 98
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 2
                      report_id:
                        type: integer
                        example: 2
                      version_id:
                        type: integer
                        example: 1
                      requires_testing:
                        type: integer
                        example: 1
                      completed_at:
                        type: string
                        example: '2025-11-14 10:16:53'
                      created_at:
                        type: string
                        example: '2025-11-14T10:16:44.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-14T10:16:53.000000Z'
                      attributes:
                        type: array
                        example:
                          -
                            id: 1
                            external_id: 1
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Wastewater 2.2'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 1
                          -
                            id: 36
                            external_id: 1
                            group_id: 2
                            parent_id: null
                            short: null
                            name: Textile
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 36
                          -
                            id: 52
                            external_id: 13
                            group_id: 3
                            parent_id: null
                            short: null
                            name: 'Vertically integrated Mill'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 52
                          -
                            id: 53
                            external_id: 14
                            group_id: 3
                            parent_id: null
                            short: null
                            name: 'Down and Feathers processor'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 53
                          -
                            id: 54
                            external_id: 15
                            group_id: 3
                            parent_id: null
                            short: null
                            name: 'Raw hide/skin to tanned'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 54
                          -
                            id: 55
                            external_id: 16
                            group_id: 3
                            parent_id: null
                            short: null
                            name: 'Raw hide/skin to crust'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 55
                          -
                            id: 74
                            external_id: 1
                            group_id: 4
                            parent_id: null
                            short: null
                            name: Direct
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 74
                          -
                            id: 80
                            external_id: 0
                            group_id: 5
                            parent_id: null
                            short: null
                            name: 'less than 15m³ per day'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 80
                          -
                            id: 82
                            external_id: 0
                            group_id: 6
                            parent_id: null
                            short: null
                            name: 'No'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 82
                          -
                            id: 91
                            external_id: 0
                            group_id: 7
                            parent_id: null
                            short: null
                            name: 'Not applicable/none'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 91
                          -
                            id: 98
                            external_id: 0
                            group_id: 8
                            parent_id: null
                            short: null
                            name: 'Not applicable/none'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 98
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            external_id:
                              type: integer
                              example: 1
                            group_id:
                              type: integer
                              example: 1
                            parent_id:
                              type: string
                              example: null
                              nullable: true
                            short:
                              type: string
                              example: null
                              nullable: true
                            name:
                              type: string
                              example: 'Wastewater 2.2'
                            selectable:
                              type: integer
                              example: 1
                            order:
                              type: string
                              example: null
                              nullable: true
                            pivot:
                              type: object
                              properties:
                                profile_id:
                                  type: integer
                                  example: 2
                                attribute_id:
                                  type: integer
                                  example: 1
      tags:
        - Wastewater
    post:
      summary: Store
      operationId: store
      description: "Get facility information\n\n<aside class=\"warning\">Requires the <code>COMPLETE_WASTEWATER_REPORTING</code> Permission!</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Wastewater
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                complete:
                  type: boolean
                  description: ''
                  example: true
                  nullable: true
                guideline_version:
                  type: integer
                  description: ''
                  example: 10
                  enum:
                    - 1
                    - 2
                    - 3
                    - 5
                    - 6
                    - 7
                    - 8
                    - 9
                    - 10
                    - 11
                    - 13
                    - 16
                    - 17
                    - 26
                    - 27
                    - 29
                    - 30
                    - 34
                industry_type:
                  type: integer
                  description: ''
                  example: 38
                  enum:
                    - 36
                    - 37
                    - 38
                    - 39
                facility_type:
                  type: object
                  description: ''
                  example: []
                  properties: {  }
                discharge_type:
                  type: integer
                  description: ''
                  example: 76
                  enum:
                    - 74
                    - 75
                    - 76
                    - 77
                    - 79
                above_15m:
                  type: integer
                  description: ''
                  example: 81
                  enum:
                    - 80
                    - 81
                has_sludge:
                  type: integer
                  description: ''
                  example: 83
                  enum:
                    - 82
                    - 83
                disposal_pathway:
                  type: integer
                  description: ''
                  example: 89
                  enum:
                    - 84
                    - 85
                    - 86
                    - 87
                    - 88
                    - 89
                    - 90
                    - 91
                fiber_type:
                  type: integer
                  description: ''
                  example: 95
                  enum:
                    - 92
                    - 93
                    - 94
                    - 95
                    - 96
                    - 97
                    - 98
              required:
                - guideline_version
                - industry_type
                - facility_type
                - discharge_type
                - above_15m
                - has_sludge
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests':
    get:
      summary: Index
      operationId: index
      description: "Get assigned laboratory clearstream requests.\n\n<aside class=\"warning\">Organisations must have <code>ZDHC Approved Laboratory</code> type!</aside>\n<aside class=\"warning\">Requires the <code>VERIFY_CLEARSTREAM_REQUESTS</code> Permission!</aside>"
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 100'
          example: 14
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 100'
            example: 14
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 2
                      report_id: 2
                      laboratory_id: 238
                      reporting_cycle: 2026-1
                      location: NL
                      status: CLOSED
                      upload_method: manual
                      sampling_completed_at: '2025-11-14T10:17:35.000000Z'
                      testing_started_at: '2025-11-17 13:37:00'
                      testing_completed_at: '2025-11-17T13:37:22.000000Z'
                      closed_at: null
                      accepted_at: '2025-11-14 10:17:27'
                      rejected_at: null
                      accepted_by_supplier_at: '2025-11-17 13:37:50'
                      rejected_by_supplier_at: null
                      rejection_reason: null
                      rejection_reason_by_supplier: null
                      supplier_rejection_additional_info: null
                      created_at: '2025-11-14T10:17:10.000000Z'
                      updated_at: '2025-11-17T13:37:50.000000Z'
                    -
                      id: 2
                      report_id: 2
                      laboratory_id: 238
                      reporting_cycle: 2026-1
                      location: NL
                      status: CLOSED
                      upload_method: manual
                      sampling_completed_at: '2025-11-14T10:17:35.000000Z'
                      testing_started_at: '2025-11-17 13:37:00'
                      testing_completed_at: '2025-11-17T13:37:22.000000Z'
                      closed_at: null
                      accepted_at: '2025-11-14 10:17:27'
                      rejected_at: null
                      accepted_by_supplier_at: '2025-11-17 13:37:50'
                      rejected_by_supplier_at: null
                      rejection_reason: null
                      rejection_reason_by_supplier: null
                      supplier_rejection_additional_info: null
                      created_at: '2025-11-14T10:17:10.000000Z'
                      updated_at: '2025-11-17T13:37:50.000000Z'
                  links:
                    first: '/?page=1'
                    last: null
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    path: /
                    per_page: '100'
                    to: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 2
                        report_id: 2
                        laboratory_id: 238
                        reporting_cycle: 2026-1
                        location: NL
                        status: CLOSED
                        upload_method: manual
                        sampling_completed_at: '2025-11-14T10:17:35.000000Z'
                        testing_started_at: '2025-11-17 13:37:00'
                        testing_completed_at: '2025-11-17T13:37:22.000000Z'
                        closed_at: null
                        accepted_at: '2025-11-14 10:17:27'
                        rejected_at: null
                        accepted_by_supplier_at: '2025-11-17 13:37:50'
                        rejected_by_supplier_at: null
                        rejection_reason: null
                        rejection_reason_by_supplier: null
                        supplier_rejection_additional_info: null
                        created_at: '2025-11-14T10:17:10.000000Z'
                        updated_at: '2025-11-17T13:37:50.000000Z'
                      -
                        id: 2
                        report_id: 2
                        laboratory_id: 238
                        reporting_cycle: 2026-1
                        location: NL
                        status: CLOSED
                        upload_method: manual
                        sampling_completed_at: '2025-11-14T10:17:35.000000Z'
                        testing_started_at: '2025-11-17 13:37:00'
                        testing_completed_at: '2025-11-17T13:37:22.000000Z'
                        closed_at: null
                        accepted_at: '2025-11-14 10:17:27'
                        rejected_at: null
                        accepted_by_supplier_at: '2025-11-17 13:37:50'
                        rejected_by_supplier_at: null
                        rejection_reason: null
                        rejection_reason_by_supplier: null
                        supplier_rejection_additional_info: null
                        created_at: '2025-11-14T10:17:10.000000Z'
                        updated_at: '2025-11-17T13:37:50.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 2
                        report_id:
                          type: integer
                          example: 2
                        laboratory_id:
                          type: integer
                          example: 238
                        reporting_cycle:
                          type: string
                          example: 2026-1
                        location:
                          type: string
                          example: NL
                        status:
                          type: string
                          example: CLOSED
                        upload_method:
                          type: string
                          example: manual
                        sampling_completed_at:
                          type: string
                          example: '2025-11-14T10:17:35.000000Z'
                        testing_started_at:
                          type: string
                          example: '2025-11-17 13:37:00'
                        testing_completed_at:
                          type: string
                          example: '2025-11-17T13:37:22.000000Z'
                        closed_at:
                          type: string
                          example: null
                          nullable: true
                        accepted_at:
                          type: string
                          example: '2025-11-14 10:17:27'
                        rejected_at:
                          type: string
                          example: null
                          nullable: true
                        accepted_by_supplier_at:
                          type: string
                          example: '2025-11-17 13:37:50'
                        rejected_by_supplier_at:
                          type: string
                          example: null
                          nullable: true
                        rejection_reason:
                          type: string
                          example: null
                          nullable: true
                        rejection_reason_by_supplier:
                          type: string
                          example: null
                          nullable: true
                        supplier_rejection_additional_info:
                          type: string
                          example: null
                          nullable: true
                        created_at:
                          type: string
                          example: '2025-11-14T10:17:10.000000Z'
                        updated_at:
                          type: string
                          example: '2025-11-17T13:37:50.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: null
                        nullable: true
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      path:
                        type: string
                        example: /
                      per_page:
                        type: string
                        example: '100'
                      to:
                        type: integer
                        example: 2
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}':
    get:
      summary: Show
      operationId: show
      description: "Get details for a specific laboratory clearstream request.\n\n<aside class=\"warning\">Organisations must have <code>ZDHC Approved Laboratory</code> type!</aside>\n<aside class=\"warning\">Requires the <code>VERIFY_CLEARSTREAM_REQUESTS</code> Permission!</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 2
                    report_id: 2
                    laboratory_id: 238
                    reporting_cycle: 2026-1
                    location: NL
                    status: CLOSED
                    upload_method: manual
                    sampling_completed_at: '2025-11-14T10:17:35.000000Z'
                    testing_started_at: '2025-11-17 13:37:00'
                    testing_completed_at: '2025-11-17T13:37:22.000000Z'
                    closed_at: null
                    accepted_at: '2025-11-14 10:17:27'
                    rejected_at: null
                    accepted_by_supplier_at: '2025-11-17 13:37:50'
                    rejected_by_supplier_at: null
                    rejection_reason: null
                    rejection_reason_by_supplier: null
                    supplier_rejection_additional_info: null
                    created_at: '2025-11-14T10:17:10.000000Z'
                    updated_at: '2025-11-17T13:37:50.000000Z'
                    report:
                      id: 2
                      reference_id: 60-HSER7PY6S32L-W
                      uuid: a05aba8c-5c93-4e50-91e7-04327509c58d
                      organisation_id: 64
                      status: PASSED
                      created_at: '2025-11-14T10:16:12.000000Z'
                      updated_at: '2025-11-19T14:24:04.000000Z'
                      archived_at: '2025-11-19 14:24:04'
                      last_viewed_at: '2025-11-19 14:24:00'
                      payment_completed_at: '2025-11-17 13:36:39'
                      organisation:
                        id: 64
                        maxio_customer_id: 226048
                        reference_id: 01-CR6986RX4H7WL-N
                        pdc_id: null
                        gateway_aid: null
                        uuid: 9f77ac5b-67a0-445a-b72e-e86db5d454b1
                        type_id: 2
                        status: approved
                        name: 'test-Supplier a.rahman'
                        legal_name: 'Hyatt Inc'
                        address_1: '3614 Swaniawski Ports Suite 956'
                        address_2: 'Apt. 823'
                        city: Alfordview
                        state: Connecticut
                        location: SO
                        zip: 21152-3340
                        phone: '+16058376916'
                        email: nyasia32@reichert.com
                        contact_first_name: Priscilla
                        contact_last_name: Breitenberg
                        website: 'https://www.ferry.com/praesentium-provident-qui-nostrum-repellendus-animi-explicabo-ut'
                        avatar_url: null
                        applicant_comment: null
                        reviewer_comment: null
                        registration_mail_sent_at: '1970-02-12 06:44:40'
                        created_at: '2025-07-24T13:23:35.000000Z'
                        updated_at: '2026-02-07T00:00:18.000000Z'
                        reviewer_comment_category: null
                        profile_reviewed_at: '2026-01-19 09:42:53'
                        profile_reviewed_by_user_id: 8
                        location_name: Somalia
                      profile:
                        id: 2
                        report_id: 2
                        version_id: 1
                        requires_testing: 1
                        completed_at: '2025-11-14 10:16:53'
                        created_at: '2025-11-14T10:16:44.000000Z'
                        updated_at: '2025-11-14T10:16:53.000000Z'
                        attributes:
                          -
                            id: 1
                            external_id: 1
                            group_id: 1
                            parent_id: null
                            short: null
                            name: 'Wastewater 2.2'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 1
                            group:
                              id: 1
                              name: guideline_version
                              profile_type: report_profile
                              service_id: null
                              single_select: 1
                              type: integer
                              required: 1
                              items_type: null
                          -
                            id: 36
                            external_id: 1
                            group_id: 2
                            parent_id: null
                            short: null
                            name: Textile
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 36
                            group:
                              id: 2
                              name: industry_type
                              profile_type: report_profile
                              service_id: null
                              single_select: 1
                              type: integer
                              required: 1
                              items_type: null
                          -
                            id: 52
                            external_id: 13
                            group_id: 3
                            parent_id: null
                            short: null
                            name: 'Vertically integrated Mill'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 52
                            group:
                              id: 3
                              name: facility_type
                              profile_type: report_profile
                              service_id: null
                              single_select: 0
                              type: array
                              required: 1
                              items_type: integer
                          -
                            id: 53
                            external_id: 14
                            group_id: 3
                            parent_id: null
                            short: null
                            name: 'Down and Feathers processor'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 53
                            group:
                              id: 3
                              name: facility_type
                              profile_type: report_profile
                              service_id: null
                              single_select: 0
                              type: array
                              required: 1
                              items_type: integer
                          -
                            id: 54
                            external_id: 15
                            group_id: 3
                            parent_id: null
                            short: null
                            name: 'Raw hide/skin to tanned'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 54
                            group:
                              id: 3
                              name: facility_type
                              profile_type: report_profile
                              service_id: null
                              single_select: 0
                              type: array
                              required: 1
                              items_type: integer
                          -
                            id: 55
                            external_id: 16
                            group_id: 3
                            parent_id: null
                            short: null
                            name: 'Raw hide/skin to crust'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 55
                            group:
                              id: 3
                              name: facility_type
                              profile_type: report_profile
                              service_id: null
                              single_select: 0
                              type: array
                              required: 1
                              items_type: integer
                          -
                            id: 74
                            external_id: 1
                            group_id: 4
                            parent_id: null
                            short: null
                            name: Direct
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 74
                            group:
                              id: 4
                              name: discharge_type
                              profile_type: report_profile
                              service_id: null
                              single_select: 1
                              type: integer
                              required: 1
                              items_type: null
                          -
                            id: 80
                            external_id: 0
                            group_id: 5
                            parent_id: null
                            short: null
                            name: 'less than 15m³ per day'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 80
                            group:
                              id: 5
                              name: above_15m
                              profile_type: report_profile
                              service_id: null
                              single_select: 1
                              type: integer
                              required: 1
                              items_type: null
                          -
                            id: 82
                            external_id: 0
                            group_id: 6
                            parent_id: null
                            short: null
                            name: 'No'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 82
                            group:
                              id: 6
                              name: has_sludge
                              profile_type: report_profile
                              service_id: null
                              single_select: 1
                              type: integer
                              required: 1
                              items_type: null
                          -
                            id: 91
                            external_id: 0
                            group_id: 7
                            parent_id: null
                            short: null
                            name: 'Not applicable/none'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 91
                            group:
                              id: 7
                              name: disposal_pathway
                              profile_type: report_profile
                              service_id: null
                              single_select: 1
                              type: integer
                              required: 0
                              items_type: null
                          -
                            id: 98
                            external_id: 0
                            group_id: 8
                            parent_id: null
                            short: null
                            name: 'Not applicable/none'
                            selectable: 1
                            order: null
                            pivot:
                              profile_id: 2
                              attribute_id: 98
                            group:
                              id: 8
                              name: fiber_type
                              profile_type: report_profile
                              service_id: null
                              single_select: 1
                              type: integer
                              required: 0
                              items_type: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 2
                      report_id:
                        type: integer
                        example: 2
                      laboratory_id:
                        type: integer
                        example: 238
                      reporting_cycle:
                        type: string
                        example: 2026-1
                      location:
                        type: string
                        example: NL
                      status:
                        type: string
                        example: CLOSED
                      upload_method:
                        type: string
                        example: manual
                      sampling_completed_at:
                        type: string
                        example: '2025-11-14T10:17:35.000000Z'
                      testing_started_at:
                        type: string
                        example: '2025-11-17 13:37:00'
                      testing_completed_at:
                        type: string
                        example: '2025-11-17T13:37:22.000000Z'
                      closed_at:
                        type: string
                        example: null
                        nullable: true
                      accepted_at:
                        type: string
                        example: '2025-11-14 10:17:27'
                      rejected_at:
                        type: string
                        example: null
                        nullable: true
                      accepted_by_supplier_at:
                        type: string
                        example: '2025-11-17 13:37:50'
                      rejected_by_supplier_at:
                        type: string
                        example: null
                        nullable: true
                      rejection_reason:
                        type: string
                        example: null
                        nullable: true
                      rejection_reason_by_supplier:
                        type: string
                        example: null
                        nullable: true
                      supplier_rejection_additional_info:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2025-11-14T10:17:10.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-17T13:37:50.000000Z'
                      report:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 2
                          reference_id:
                            type: string
                            example: 60-HSER7PY6S32L-W
                          uuid:
                            type: string
                            example: a05aba8c-5c93-4e50-91e7-04327509c58d
                          organisation_id:
                            type: integer
                            example: 64
                          status:
                            type: string
                            example: PASSED
                          created_at:
                            type: string
                            example: '2025-11-14T10:16:12.000000Z'
                          updated_at:
                            type: string
                            example: '2025-11-19T14:24:04.000000Z'
                          archived_at:
                            type: string
                            example: '2025-11-19 14:24:04'
                          last_viewed_at:
                            type: string
                            example: '2025-11-19 14:24:00'
                          payment_completed_at:
                            type: string
                            example: '2025-11-17 13:36:39'
                          organisation:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 64
                              maxio_customer_id:
                                type: integer
                                example: 226048
                              reference_id:
                                type: string
                                example: 01-CR6986RX4H7WL-N
                              pdc_id:
                                type: string
                                example: null
                                nullable: true
                              gateway_aid:
                                type: string
                                example: null
                                nullable: true
                              uuid:
                                type: string
                                example: 9f77ac5b-67a0-445a-b72e-e86db5d454b1
                              type_id:
                                type: integer
                                example: 2
                              status:
                                type: string
                                example: approved
                              name:
                                type: string
                                example: 'test-Supplier a.rahman'
                              legal_name:
                                type: string
                                example: 'Hyatt Inc'
                              address_1:
                                type: string
                                example: '3614 Swaniawski Ports Suite 956'
                              address_2:
                                type: string
                                example: 'Apt. 823'
                              city:
                                type: string
                                example: Alfordview
                              state:
                                type: string
                                example: Connecticut
                              location:
                                type: string
                                example: SO
                              zip:
                                type: string
                                example: 21152-3340
                              phone:
                                type: string
                                example: '+16058376916'
                              email:
                                type: string
                                example: nyasia32@reichert.com
                              contact_first_name:
                                type: string
                                example: Priscilla
                              contact_last_name:
                                type: string
                                example: Breitenberg
                              website:
                                type: string
                                example: 'https://www.ferry.com/praesentium-provident-qui-nostrum-repellendus-animi-explicabo-ut'
                              avatar_url:
                                type: string
                                example: null
                                nullable: true
                              applicant_comment:
                                type: string
                                example: null
                                nullable: true
                              reviewer_comment:
                                type: string
                                example: null
                                nullable: true
                              registration_mail_sent_at:
                                type: string
                                example: '1970-02-12 06:44:40'
                              created_at:
                                type: string
                                example: '2025-07-24T13:23:35.000000Z'
                              updated_at:
                                type: string
                                example: '2026-02-07T00:00:18.000000Z'
                              reviewer_comment_category:
                                type: string
                                example: null
                                nullable: true
                              profile_reviewed_at:
                                type: string
                                example: '2026-01-19 09:42:53'
                              profile_reviewed_by_user_id:
                                type: integer
                                example: 8
                              location_name:
                                type: string
                                example: Somalia
                          profile:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 2
                              report_id:
                                type: integer
                                example: 2
                              version_id:
                                type: integer
                                example: 1
                              requires_testing:
                                type: integer
                                example: 1
                              completed_at:
                                type: string
                                example: '2025-11-14 10:16:53'
                              created_at:
                                type: string
                                example: '2025-11-14T10:16:44.000000Z'
                              updated_at:
                                type: string
                                example: '2025-11-14T10:16:53.000000Z'
                              attributes:
                                type: array
                                example:
                                  -
                                    id: 1
                                    external_id: 1
                                    group_id: 1
                                    parent_id: null
                                    short: null
                                    name: 'Wastewater 2.2'
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 1
                                    group:
                                      id: 1
                                      name: guideline_version
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 1
                                      type: integer
                                      required: 1
                                      items_type: null
                                  -
                                    id: 36
                                    external_id: 1
                                    group_id: 2
                                    parent_id: null
                                    short: null
                                    name: Textile
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 36
                                    group:
                                      id: 2
                                      name: industry_type
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 1
                                      type: integer
                                      required: 1
                                      items_type: null
                                  -
                                    id: 52
                                    external_id: 13
                                    group_id: 3
                                    parent_id: null
                                    short: null
                                    name: 'Vertically integrated Mill'
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 52
                                    group:
                                      id: 3
                                      name: facility_type
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 0
                                      type: array
                                      required: 1
                                      items_type: integer
                                  -
                                    id: 53
                                    external_id: 14
                                    group_id: 3
                                    parent_id: null
                                    short: null
                                    name: 'Down and Feathers processor'
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 53
                                    group:
                                      id: 3
                                      name: facility_type
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 0
                                      type: array
                                      required: 1
                                      items_type: integer
                                  -
                                    id: 54
                                    external_id: 15
                                    group_id: 3
                                    parent_id: null
                                    short: null
                                    name: 'Raw hide/skin to tanned'
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 54
                                    group:
                                      id: 3
                                      name: facility_type
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 0
                                      type: array
                                      required: 1
                                      items_type: integer
                                  -
                                    id: 55
                                    external_id: 16
                                    group_id: 3
                                    parent_id: null
                                    short: null
                                    name: 'Raw hide/skin to crust'
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 55
                                    group:
                                      id: 3
                                      name: facility_type
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 0
                                      type: array
                                      required: 1
                                      items_type: integer
                                  -
                                    id: 74
                                    external_id: 1
                                    group_id: 4
                                    parent_id: null
                                    short: null
                                    name: Direct
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 74
                                    group:
                                      id: 4
                                      name: discharge_type
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 1
                                      type: integer
                                      required: 1
                                      items_type: null
                                  -
                                    id: 80
                                    external_id: 0
                                    group_id: 5
                                    parent_id: null
                                    short: null
                                    name: 'less than 15m³ per day'
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 80
                                    group:
                                      id: 5
                                      name: above_15m
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 1
                                      type: integer
                                      required: 1
                                      items_type: null
                                  -
                                    id: 82
                                    external_id: 0
                                    group_id: 6
                                    parent_id: null
                                    short: null
                                    name: 'No'
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 82
                                    group:
                                      id: 6
                                      name: has_sludge
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 1
                                      type: integer
                                      required: 1
                                      items_type: null
                                  -
                                    id: 91
                                    external_id: 0
                                    group_id: 7
                                    parent_id: null
                                    short: null
                                    name: 'Not applicable/none'
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 91
                                    group:
                                      id: 7
                                      name: disposal_pathway
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 1
                                      type: integer
                                      required: 0
                                      items_type: null
                                  -
                                    id: 98
                                    external_id: 0
                                    group_id: 8
                                    parent_id: null
                                    short: null
                                    name: 'Not applicable/none'
                                    selectable: 1
                                    order: null
                                    pivot:
                                      profile_id: 2
                                      attribute_id: 98
                                    group:
                                      id: 8
                                      name: fiber_type
                                      profile_type: report_profile
                                      service_id: null
                                      single_select: 1
                                      type: integer
                                      required: 0
                                      items_type: null
                                items:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 1
                                    external_id:
                                      type: integer
                                      example: 1
                                    group_id:
                                      type: integer
                                      example: 1
                                    parent_id:
                                      type: string
                                      example: null
                                      nullable: true
                                    short:
                                      type: string
                                      example: null
                                      nullable: true
                                    name:
                                      type: string
                                      example: 'Wastewater 2.2'
                                    selectable:
                                      type: integer
                                      example: 1
                                    order:
                                      type: string
                                      example: null
                                      nullable: true
                                    pivot:
                                      type: object
                                      properties: { profile_id: { type: integer, example: 2 }, attribute_id: { type: integer, example: 1 } }
                                    group:
                                      type: object
                                      properties: { id: { type: integer, example: 1 }, name: { type: string, example: guideline_version }, profile_type: { type: string, example: report_profile }, service_id: { type: string, example: null, nullable: true }, single_select: { type: integer, example: 1 }, type: { type: string, example: integer }, required: { type: integer, example: 1 }, items_type: { type: string, example: null, nullable: true } }
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/accept':
    post:
      summary: Accept
      operationId: accept
      description: "Accept a laboratory clearstream request.\n\n<aside class=\"warning\">Organisations must have <code>ZDHC Approved Laboratory</code> type!</aside>\n<aside class=\"warning\">Requires the <code>VERIFY_CLEARSTREAM_REQUESTS</code> Permission!</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/reject':
    post:
      summary: Reject
      operationId: reject
      description: "Reject a laboratory clearstream request.\n\n<aside class=\"warning\">Organisations must have <code>ZDHC Approved Laboratory</code> type!</aside>\n<aside class=\"warning\">Requires the <code>VERIFY_CLEARSTREAM_REQUESTS</code> Permission!</aside>"
      parameters:
        -
          in: query
          name: rejection_reason
          description: ''
          example: a
          required: true
          schema:
            type: string
            description: ''
            example: a
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/{report_id}/laboratory-requests':
    post:
      summary: Store
      operationId: store
      description: "Create a new laboratory clearstream request.\n\n<aside class=\"warning\">Requires the <code>COMPLETE_WASTEWATER_REPORTING</code> Permission!</aside>"
      parameters:
        -
          in: query
          name: laboratory_id
          description: 'The <code>id</code> of an existing record in the organisations table.'
          example: 4
          required: true
          schema:
            type: integer
            description: 'The <code>id</code> of an existing record in the organisations table.'
            example: 4
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                oneOf:
                  -
                    description: ''
                    type: object
                    example:
                      message: OK
                    properties:
                      message:
                        type: string
                        example: OK
                  -
                    description: ''
                    type: object
                    example:
                      data:
                        id: 2
                        report_id: 2
                        laboratory_id: 238
                        reporting_cycle: 2026-1
                        location: NL
                        status: CLOSED
                        upload_method: manual
                        sampling_completed_at: '2025-11-14T10:17:35.000000Z'
                        testing_started_at: '2025-11-17 13:37:00'
                        testing_completed_at: '2025-11-17T13:37:22.000000Z'
                        closed_at: null
                        accepted_at: '2025-11-14 10:17:27'
                        rejected_at: null
                        accepted_by_supplier_at: '2025-11-17 13:37:50'
                        rejected_by_supplier_at: null
                        rejection_reason: null
                        rejection_reason_by_supplier: null
                        supplier_rejection_additional_info: null
                        created_at: '2025-11-14T10:17:10.000000Z'
                        updated_at: '2025-11-17T13:37:50.000000Z'
                        report:
                          id: 2
                          reference_id: 60-HSER7PY6S32L-W
                          uuid: a05aba8c-5c93-4e50-91e7-04327509c58d
                          organisation_id: 64
                          status: PASSED
                          created_at: '2025-11-14T10:16:12.000000Z'
                          updated_at: '2025-11-19T14:24:04.000000Z'
                          archived_at: '2025-11-19 14:24:04'
                          last_viewed_at: '2025-11-19 14:24:00'
                          payment_completed_at: '2025-11-17 13:36:39'
                          organisation:
                            id: 64
                            maxio_customer_id: 226048
                            reference_id: 01-CR6986RX4H7WL-N
                            pdc_id: null
                            gateway_aid: null
                            uuid: 9f77ac5b-67a0-445a-b72e-e86db5d454b1
                            type_id: 2
                            status: approved
                            name: 'test-Supplier a.rahman'
                            legal_name: 'Hyatt Inc'
                            address_1: '3614 Swaniawski Ports Suite 956'
                            address_2: 'Apt. 823'
                            city: Alfordview
                            state: Connecticut
                            location: SO
                            zip: 21152-3340
                            phone: '+16058376916'
                            email: nyasia32@reichert.com
                            contact_first_name: Priscilla
                            contact_last_name: Breitenberg
                            website: 'https://www.ferry.com/praesentium-provident-qui-nostrum-repellendus-animi-explicabo-ut'
                            avatar_url: null
                            applicant_comment: null
                            reviewer_comment: null
                            registration_mail_sent_at: '1970-02-12 06:44:40'
                            created_at: '2025-07-24T13:23:35.000000Z'
                            updated_at: '2026-02-07T00:00:18.000000Z'
                            reviewer_comment_category: null
                            profile_reviewed_at: '2026-01-19 09:42:53'
                            profile_reviewed_by_user_id: 8
                            location_name: Somalia
                          profile:
                            id: 2
                            report_id: 2
                            version_id: 1
                            requires_testing: 1
                            completed_at: '2025-11-14 10:16:53'
                            created_at: '2025-11-14T10:16:44.000000Z'
                            updated_at: '2025-11-14T10:16:53.000000Z'
                            attributes:
                              -
                                id: 1
                                external_id: 1
                                group_id: 1
                                parent_id: null
                                short: null
                                name: 'Wastewater 2.2'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 1
                              -
                                id: 36
                                external_id: 1
                                group_id: 2
                                parent_id: null
                                short: null
                                name: Textile
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 36
                              -
                                id: 52
                                external_id: 13
                                group_id: 3
                                parent_id: null
                                short: null
                                name: 'Vertically integrated Mill'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 52
                              -
                                id: 53
                                external_id: 14
                                group_id: 3
                                parent_id: null
                                short: null
                                name: 'Down and Feathers processor'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 53
                              -
                                id: 54
                                external_id: 15
                                group_id: 3
                                parent_id: null
                                short: null
                                name: 'Raw hide/skin to tanned'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 54
                              -
                                id: 55
                                external_id: 16
                                group_id: 3
                                parent_id: null
                                short: null
                                name: 'Raw hide/skin to crust'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 55
                              -
                                id: 74
                                external_id: 1
                                group_id: 4
                                parent_id: null
                                short: null
                                name: Direct
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 74
                              -
                                id: 80
                                external_id: 0
                                group_id: 5
                                parent_id: null
                                short: null
                                name: 'less than 15m³ per day'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 80
                              -
                                id: 82
                                external_id: 0
                                group_id: 6
                                parent_id: null
                                short: null
                                name: 'No'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 82
                              -
                                id: 91
                                external_id: 0
                                group_id: 7
                                parent_id: null
                                short: null
                                name: 'Not applicable/none'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 91
                              -
                                id: 98
                                external_id: 0
                                group_id: 8
                                parent_id: null
                                short: null
                                name: 'Not applicable/none'
                                selectable: 1
                                order: null
                                pivot:
                                  profile_id: 2
                                  attribute_id: 98
                    properties:
                      data:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 2
                          report_id:
                            type: integer
                            example: 2
                          laboratory_id:
                            type: integer
                            example: 238
                          reporting_cycle:
                            type: string
                            example: 2026-1
                          location:
                            type: string
                            example: NL
                          status:
                            type: string
                            example: CLOSED
                          upload_method:
                            type: string
                            example: manual
                          sampling_completed_at:
                            type: string
                            example: '2025-11-14T10:17:35.000000Z'
                          testing_started_at:
                            type: string
                            example: '2025-11-17 13:37:00'
                          testing_completed_at:
                            type: string
                            example: '2025-11-17T13:37:22.000000Z'
                          closed_at:
                            type: string
                            example: null
                            nullable: true
                          accepted_at:
                            type: string
                            example: '2025-11-14 10:17:27'
                          rejected_at:
                            type: string
                            example: null
                            nullable: true
                          accepted_by_supplier_at:
                            type: string
                            example: '2025-11-17 13:37:50'
                          rejected_by_supplier_at:
                            type: string
                            example: null
                            nullable: true
                          rejection_reason:
                            type: string
                            example: null
                            nullable: true
                          rejection_reason_by_supplier:
                            type: string
                            example: null
                            nullable: true
                          supplier_rejection_additional_info:
                            type: string
                            example: null
                            nullable: true
                          created_at:
                            type: string
                            example: '2025-11-14T10:17:10.000000Z'
                          updated_at:
                            type: string
                            example: '2025-11-17T13:37:50.000000Z'
                          report:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 2
                              reference_id:
                                type: string
                                example: 60-HSER7PY6S32L-W
                              uuid:
                                type: string
                                example: a05aba8c-5c93-4e50-91e7-04327509c58d
                              organisation_id:
                                type: integer
                                example: 64
                              status:
                                type: string
                                example: PASSED
                              created_at:
                                type: string
                                example: '2025-11-14T10:16:12.000000Z'
                              updated_at:
                                type: string
                                example: '2025-11-19T14:24:04.000000Z'
                              archived_at:
                                type: string
                                example: '2025-11-19 14:24:04'
                              last_viewed_at:
                                type: string
                                example: '2025-11-19 14:24:00'
                              payment_completed_at:
                                type: string
                                example: '2025-11-17 13:36:39'
                              organisation:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 64
                                  maxio_customer_id:
                                    type: integer
                                    example: 226048
                                  reference_id:
                                    type: string
                                    example: 01-CR6986RX4H7WL-N
                                  pdc_id:
                                    type: string
                                    example: null
                                    nullable: true
                                  gateway_aid:
                                    type: string
                                    example: null
                                    nullable: true
                                  uuid:
                                    type: string
                                    example: 9f77ac5b-67a0-445a-b72e-e86db5d454b1
                                  type_id:
                                    type: integer
                                    example: 2
                                  status:
                                    type: string
                                    example: approved
                                  name:
                                    type: string
                                    example: 'test-Supplier a.rahman'
                                  legal_name:
                                    type: string
                                    example: 'Hyatt Inc'
                                  address_1:
                                    type: string
                                    example: '3614 Swaniawski Ports Suite 956'
                                  address_2:
                                    type: string
                                    example: 'Apt. 823'
                                  city:
                                    type: string
                                    example: Alfordview
                                  state:
                                    type: string
                                    example: Connecticut
                                  location:
                                    type: string
                                    example: SO
                                  zip:
                                    type: string
                                    example: 21152-3340
                                  phone:
                                    type: string
                                    example: '+16058376916'
                                  email:
                                    type: string
                                    example: nyasia32@reichert.com
                                  contact_first_name:
                                    type: string
                                    example: Priscilla
                                  contact_last_name:
                                    type: string
                                    example: Breitenberg
                                  website:
                                    type: string
                                    example: 'https://www.ferry.com/praesentium-provident-qui-nostrum-repellendus-animi-explicabo-ut'
                                  avatar_url:
                                    type: string
                                    example: null
                                    nullable: true
                                  applicant_comment:
                                    type: string
                                    example: null
                                    nullable: true
                                  reviewer_comment:
                                    type: string
                                    example: null
                                    nullable: true
                                  registration_mail_sent_at:
                                    type: string
                                    example: '1970-02-12 06:44:40'
                                  created_at:
                                    type: string
                                    example: '2025-07-24T13:23:35.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2026-02-07T00:00:18.000000Z'
                                  reviewer_comment_category:
                                    type: string
                                    example: null
                                    nullable: true
                                  profile_reviewed_at:
                                    type: string
                                    example: '2026-01-19 09:42:53'
                                  profile_reviewed_by_user_id:
                                    type: integer
                                    example: 8
                                  location_name:
                                    type: string
                                    example: Somalia
                              profile:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 2
                                  report_id:
                                    type: integer
                                    example: 2
                                  version_id:
                                    type: integer
                                    example: 1
                                  requires_testing:
                                    type: integer
                                    example: 1
                                  completed_at:
                                    type: string
                                    example: '2025-11-14 10:16:53'
                                  created_at:
                                    type: string
                                    example: '2025-11-14T10:16:44.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2025-11-14T10:16:53.000000Z'
                                  attributes:
                                    type: array
                                    example:
                                      - { id: 1, external_id: 1, group_id: 1, parent_id: null, short: null, name: 'Wastewater 2.2', selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 1 } }
                                      - { id: 36, external_id: 1, group_id: 2, parent_id: null, short: null, name: Textile, selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 36 } }
                                      - { id: 52, external_id: 13, group_id: 3, parent_id: null, short: null, name: 'Vertically integrated Mill', selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 52 } }
                                      - { id: 53, external_id: 14, group_id: 3, parent_id: null, short: null, name: 'Down and Feathers processor', selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 53 } }
                                      - { id: 54, external_id: 15, group_id: 3, parent_id: null, short: null, name: 'Raw hide/skin to tanned', selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 54 } }
                                      - { id: 55, external_id: 16, group_id: 3, parent_id: null, short: null, name: 'Raw hide/skin to crust', selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 55 } }
                                      - { id: 74, external_id: 1, group_id: 4, parent_id: null, short: null, name: Direct, selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 74 } }
                                      - { id: 80, external_id: 0, group_id: 5, parent_id: null, short: null, name: 'less than 15m³ per day', selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 80 } }
                                      - { id: 82, external_id: 0, group_id: 6, parent_id: null, short: null, name: 'No', selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 82 } }
                                      - { id: 91, external_id: 0, group_id: 7, parent_id: null, short: null, name: 'Not applicable/none', selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 91 } }
                                      - { id: 98, external_id: 0, group_id: 8, parent_id: null, short: null, name: 'Not applicable/none', selectable: 1, order: null, pivot: { profile_id: 2, attribute_id: 98 } }
                                    items:
                                      type: object
                                      properties: { id: { type: integer, example: 1 }, external_id: { type: integer, example: 1 }, group_id: { type: integer, example: 1 }, parent_id: { type: string, example: null, nullable: true }, short: { type: string, example: null, nullable: true }, name: { type: string, example: 'Wastewater 2.2' }, selectable: { type: integer, example: 1 }, order: { type: string, example: null, nullable: true }, pivot: { type: object, properties: { profile_id: { type: integer, example: 2 }, attribute_id: { type: integer, example: 1 } } } }
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/choose-upload-method':
    post:
      summary: 'Choose Upload Method'
      operationId: chooseUploadMethod
      description: "Allows the user to choose the upload method for the laboratory request.\n\n<aside class=\"warning\">Requires the <code>COMPLETE_WASTEWATER_REPORTING</code> Permission!</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Upload method successfully saved.'
                properties:
                  message:
                    type: string
                    example: 'Upload method successfully saved.'
      tags:
        - Wastewater
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  description: ''
                  example: manual
                  enum:
                    - manual
                    - api
              required:
                - type
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/store-test-results':
    patch:
      summary: 'Store test results'
      operationId: storeTestResults
      description: 'Store test results for a specific report'
      parameters: []
      responses: {  }
      tags:
        - Wastewater
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                parameters:
                  type: array
                  description: ''
                  example: null
                  items:
                    type: object
                    properties:
                      id:
                        type: integer
                        description: ''
                        example: 7
                      value:
                        type: string
                        description: ''
                        example: null
                      method:
                        type: string
                        description: ''
                        example: null
                      non_detected:
                        type: boolean
                        description: ''
                        example: true
                    required:
                      - id
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/prefill-test-results':
    post:
      summary: 'Prefill test results'
      operationId: prefillTestResults
      description: 'Prefill test results for a specific report. Only available for envs with APP_DEBUG=true'
      parameters: []
      responses: {  }
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/accept-by-supplier':
    post:
      summary: 'Accept By Supplier'
      operationId: acceptBySupplier
      description: "Accept a finished laboratory clearstream request from the supplier side.\n\n<aside class=\"warning\">Requires the <code>COMPLETE_WASTEWATER_REPORTING</code> Permission!</aside>"
      parameters: []
      responses: {  }
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/reject-by-supplier':
    post:
      summary: 'Reject By Supplier'
      operationId: rejectBySupplier
      description: "Reject a finished laboratory clearstream request from the supplier side.\n\n<aside class=\"warning\">Requires the <code>COMPLETE_WASTEWATER_REPORTING</code> Permission!</aside>"
      parameters:
        -
          in: query
          name: rejection_reason
          description: ''
          example: values_are_incorrect
          required: true
          schema:
            type: string
            description: ''
            example: values_are_incorrect
            enum:
              - values_are_incorrect
              - missing_requirements
              - testing_methodology_concerns
              - documentation_incomplete
              - laboratory_certification_issues
              - timeline_or_deadline_violations
              - other
        -
          in: query
          name: additional_details
          description: 'Must not be greater than 1000 characters.'
          example: c
          required: false
          schema:
            type: string
            description: 'Must not be greater than 1000 characters.'
            example: c
            nullable: true
        -
          in: query
          name: return_to_reporting
          description: ''
          example: false
          required: false
          schema:
            type: boolean
            description: ''
            example: false
            nullable: true
      responses: {  }
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/{report_id}/preview-required-tests':
    get:
      summary: 'Preview required tests'
      operationId: previewRequiredTests
      description: 'Get a summary of parameters for a specific report'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      matrix: null
                      name: null
                      name_or_parent: null
                    -
                      matrix: null
                      name: null
                      name_or_parent: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        matrix: null
                        name: null
                        name_or_parent: null
                      -
                        matrix: null
                        name: null
                        name_or_parent: null
                    items:
                      type: object
                      properties:
                        matrix:
                          type: string
                          example: null
                          nullable: true
                        name:
                          type: string
                          example: null
                          nullable: true
                        name_or_parent:
                          type: string
                          example: null
                          nullable: true
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/labs/test-results/{report_id}':
    get:
      summary: 'Get test results'
      operationId: getTestResults
      description: 'Get a test result for a specific report'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 3
                    report_id: 2
                    parameters_filled: '2025-11-14 10:16:57'
                    test_date: null
                    last_viewed_at: null
                    created_at: '2025-11-14T10:16:54.000000Z'
                    updated_at: '2025-11-14T10:16:57.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 3
                      report_id:
                        type: integer
                        example: 2
                      parameters_filled:
                        type: string
                        example: '2025-11-14 10:16:57'
                      test_date:
                        type: string
                        example: null
                        nullable: true
                      last_viewed_at:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: '2025-11-14T10:16:54.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-14T10:16:57.000000Z'
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/labs/test-result-parameter-parents/{report_id}':
    get:
      summary: 'parameter parents'
      operationId: parameterParents
      description: 'Get parameter parents for a specific report'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 1
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 1
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 45
                      guideline_id: 1
                      test_result_id: 3
                      unit_id: 2
                      method_id: null
                      resulting_limit_id: null
                      visibility: always
                      measured_value: null
                      name: 'ZDHC Heavy Metals'
                      matrix: 'Discharged wastewater'
                      status: passed
                      cas_number: ''
                      alternative_value: null
                      is_passing: 0
                      mandatory: 1
                      created_at: '2025-11-14T10:16:54.000000Z'
                      updated_at: '2026-03-20T09:28:55.000000Z'
                      parent_id: null
                      data_type: null
                      value_type: null
                      scoring_applicable: 0
                      non_detected: 0
                    -
                      id: 45
                      guideline_id: 1
                      test_result_id: 3
                      unit_id: 2
                      method_id: null
                      resulting_limit_id: null
                      visibility: always
                      measured_value: null
                      name: 'ZDHC Heavy Metals'
                      matrix: 'Discharged wastewater'
                      status: passed
                      cas_number: ''
                      alternative_value: null
                      is_passing: 0
                      mandatory: 1
                      created_at: '2025-11-14T10:16:54.000000Z'
                      updated_at: '2026-03-20T09:28:55.000000Z'
                      parent_id: null
                      data_type: null
                      value_type: null
                      scoring_applicable: 0
                      non_detected: 0
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 45
                        guideline_id: 1
                        test_result_id: 3
                        unit_id: 2
                        method_id: null
                        resulting_limit_id: null
                        visibility: always
                        measured_value: null
                        name: 'ZDHC Heavy Metals'
                        matrix: 'Discharged wastewater'
                        status: passed
                        cas_number: ''
                        alternative_value: null
                        is_passing: 0
                        mandatory: 1
                        created_at: '2025-11-14T10:16:54.000000Z'
                        updated_at: '2026-03-20T09:28:55.000000Z'
                        parent_id: null
                        data_type: null
                        value_type: null
                        scoring_applicable: 0
                        non_detected: 0
                      -
                        id: 45
                        guideline_id: 1
                        test_result_id: 3
                        unit_id: 2
                        method_id: null
                        resulting_limit_id: null
                        visibility: always
                        measured_value: null
                        name: 'ZDHC Heavy Metals'
                        matrix: 'Discharged wastewater'
                        status: passed
                        cas_number: ''
                        alternative_value: null
                        is_passing: 0
                        mandatory: 1
                        created_at: '2025-11-14T10:16:54.000000Z'
                        updated_at: '2026-03-20T09:28:55.000000Z'
                        parent_id: null
                        data_type: null
                        value_type: null
                        scoring_applicable: 0
                        non_detected: 0
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 45
                        guideline_id:
                          type: integer
                          example: 1
                        test_result_id:
                          type: integer
                          example: 3
                        unit_id:
                          type: integer
                          example: 2
                        method_id:
                          type: string
                          example: null
                          nullable: true
                        resulting_limit_id:
                          type: string
                          example: null
                          nullable: true
                        visibility:
                          type: string
                          example: always
                        measured_value:
                          type: string
                          example: null
                          nullable: true
                        name:
                          type: string
                          example: 'ZDHC Heavy Metals'
                        matrix:
                          type: string
                          example: 'Discharged wastewater'
                        status:
                          type: string
                          example: passed
                        cas_number:
                          type: string
                          example: ''
                        alternative_value:
                          type: string
                          example: null
                          nullable: true
                        is_passing:
                          type: integer
                          example: 0
                        mandatory:
                          type: integer
                          example: 1
                        created_at:
                          type: string
                          example: '2025-11-14T10:16:54.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-20T09:28:55.000000Z'
                        parent_id:
                          type: string
                          example: null
                          nullable: true
                        data_type:
                          type: string
                          example: null
                          nullable: true
                        value_type:
                          type: string
                          example: null
                          nullable: true
                        scoring_applicable:
                          type: integer
                          example: 0
                        non_detected:
                          type: integer
                          example: 0
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/labs/test-result-parameters/{report_id}':
    get:
      summary: 'Get test result parameters'
      operationId: getTestResultParameters
      description: 'Get test result parameters for a specific test result'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 5'
          example: 1
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 5'
            example: 1
        -
          in: query
          name: group
          description: ''
          example: 16
          required: false
          schema:
            type: integer
            description: ''
            example: 16
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
        -
          in: query
          name: search
          description: 'Search in all of these columns: name, parent.name'
          example: ut
          required: false
          schema:
            type: string
            description: 'Search in all of these columns: name, parent.name'
            example: ut
        -
          in: query
          name: 'filter[matrix]'
          description: 'Filter column matrix by any accepted value. Matches part of the value.'
          example: omnis
          required: false
          schema:
            type: string
            description: 'Filter column matrix by any accepted value. Matches part of the value.'
            example: omnis
        -
          in: query
          name: 'filter[parent_name]'
          description: 'Filter column parent_name by any accepted value. Matches part of the value.'
          example: asperiores
          required: false
          schema:
            type: string
            description: 'Filter column parent_name by any accepted value. Matches part of the value.'
            example: asperiores
        -
          in: query
          name: 'filter[selectedMethod.method]'
          description: 'Filter column selectedMethod.method by any accepted value. Matches part of the value.'
          example: nihil
          required: false
          schema:
            type: string
            description: 'Filter column selectedMethod.method by any accepted value. Matches part of the value.'
            example: nihil
        -
          in: query
          name: 'filter[only_with_rca_cap]'
          description: 'Filter column only_with_rca_cap by any accepted value. Matches part of the value.'
          example: consequuntur
          required: false
          schema:
            type: string
            description: 'Filter column only_with_rca_cap by any accepted value. Matches part of the value.'
            example: consequuntur
        -
          in: query
          name: column
          description: 'get a distinct list of filterable values for any of the columns: matrix.'
          example: matrix
          required: false
          schema:
            type: string
            description: 'get a distinct list of filterable values for any of the columns: matrix.'
            example: matrix
        -
          in: query
          name: sort
          description: 'sort by any accepted column: name,parent_name. prefix a "-" before the column name to sort in descending order'
          example: 'name,parent_name'
          required: false
          schema:
            type: string
            description: 'sort by any accepted column: name,parent_name. prefix a "-" before the column name to sort in descending order'
            example: 'name,parent_name'
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 45
                      guideline_id: 1
                      test_result_id: 3
                      unit_id: 2
                      method_id: null
                      resulting_limit_id: null
                      visibility: always
                      measured_value: null
                      name: 'ZDHC Heavy Metals'
                      matrix: 'Discharged wastewater'
                      status: passed
                      cas_number: ''
                      alternative_value: null
                      is_passing: 0
                      mandatory: 1
                      created_at: '2025-11-14T10:16:54.000000Z'
                      updated_at: '2026-03-20T09:28:55.000000Z'
                      parent_id: null
                      data_type: null
                      value_type: null
                      scoring_applicable: 0
                      non_detected: 0
                      limits: []
                      methods: []
                      selected_method: null
                      parent: null
                      rca: null
                      unit:
                        id: 2
                        name: ''
                    -
                      id: 45
                      guideline_id: 1
                      test_result_id: 3
                      unit_id: 2
                      method_id: null
                      resulting_limit_id: null
                      visibility: always
                      measured_value: null
                      name: 'ZDHC Heavy Metals'
                      matrix: 'Discharged wastewater'
                      status: passed
                      cas_number: ''
                      alternative_value: null
                      is_passing: 0
                      mandatory: 1
                      created_at: '2025-11-14T10:16:54.000000Z'
                      updated_at: '2026-03-20T09:28:55.000000Z'
                      parent_id: null
                      data_type: null
                      value_type: null
                      scoring_applicable: 0
                      non_detected: 0
                      limits: []
                      methods: []
                      selected_method: null
                      parent: null
                      rca: null
                      unit:
                        id: 2
                        name: ''
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 45
                        guideline_id: 1
                        test_result_id: 3
                        unit_id: 2
                        method_id: null
                        resulting_limit_id: null
                        visibility: always
                        measured_value: null
                        name: 'ZDHC Heavy Metals'
                        matrix: 'Discharged wastewater'
                        status: passed
                        cas_number: ''
                        alternative_value: null
                        is_passing: 0
                        mandatory: 1
                        created_at: '2025-11-14T10:16:54.000000Z'
                        updated_at: '2026-03-20T09:28:55.000000Z'
                        parent_id: null
                        data_type: null
                        value_type: null
                        scoring_applicable: 0
                        non_detected: 0
                        limits: []
                        methods: []
                        selected_method: null
                        parent: null
                        rca: null
                        unit:
                          id: 2
                          name: ''
                      -
                        id: 45
                        guideline_id: 1
                        test_result_id: 3
                        unit_id: 2
                        method_id: null
                        resulting_limit_id: null
                        visibility: always
                        measured_value: null
                        name: 'ZDHC Heavy Metals'
                        matrix: 'Discharged wastewater'
                        status: passed
                        cas_number: ''
                        alternative_value: null
                        is_passing: 0
                        mandatory: 1
                        created_at: '2025-11-14T10:16:54.000000Z'
                        updated_at: '2026-03-20T09:28:55.000000Z'
                        parent_id: null
                        data_type: null
                        value_type: null
                        scoring_applicable: 0
                        non_detected: 0
                        limits: []
                        methods: []
                        selected_method: null
                        parent: null
                        rca: null
                        unit:
                          id: 2
                          name: ''
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 45
                        guideline_id:
                          type: integer
                          example: 1
                        test_result_id:
                          type: integer
                          example: 3
                        unit_id:
                          type: integer
                          example: 2
                        method_id:
                          type: string
                          example: null
                          nullable: true
                        resulting_limit_id:
                          type: string
                          example: null
                          nullable: true
                        visibility:
                          type: string
                          example: always
                        measured_value:
                          type: string
                          example: null
                          nullable: true
                        name:
                          type: string
                          example: 'ZDHC Heavy Metals'
                        matrix:
                          type: string
                          example: 'Discharged wastewater'
                        status:
                          type: string
                          example: passed
                        cas_number:
                          type: string
                          example: ''
                        alternative_value:
                          type: string
                          example: null
                          nullable: true
                        is_passing:
                          type: integer
                          example: 0
                        mandatory:
                          type: integer
                          example: 1
                        created_at:
                          type: string
                          example: '2025-11-14T10:16:54.000000Z'
                        updated_at:
                          type: string
                          example: '2026-03-20T09:28:55.000000Z'
                        parent_id:
                          type: string
                          example: null
                          nullable: true
                        data_type:
                          type: string
                          example: null
                          nullable: true
                        value_type:
                          type: string
                          example: null
                          nullable: true
                        scoring_applicable:
                          type: integer
                          example: 0
                        non_detected:
                          type: integer
                          example: 0
                        limits:
                          type: array
                          example: []
                        methods:
                          type: array
                          example: []
                        selected_method:
                          type: string
                          example: null
                          nullable: true
                        parent:
                          type: string
                          example: null
                          nullable: true
                        rca:
                          type: string
                          example: null
                          nullable: true
                        unit:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 2
                            name:
                              type: string
                              example: ''
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/labs/test-results/{report_id}/export':
    get:
      summary: 'Export test result parameters'
      operationId: exportTestResultParameters
      description: 'Esports the test result parameters for a specific report'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/sampling-information/{id}':
    get:
      summary: Show
      operationId: show
      description: 'Show the sampling information.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    lab_request_id: 2
                    effluent_discharge_method_id: 74
                    project_number: '23'
                    wastewater_type: 'Industrial Wastewater'
                    industrial_wastewater_volume_more_than_15qm: 0
                    created_at: '2025-11-14T10:17:35.000000Z'
                    updated_at: '2025-11-14T10:17:35.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      lab_request_id:
                        type: integer
                        example: 2
                      effluent_discharge_method_id:
                        type: integer
                        example: 74
                      project_number:
                        type: string
                        example: '23'
                      wastewater_type:
                        type: string
                        example: 'Industrial Wastewater'
                      industrial_wastewater_volume_more_than_15qm:
                        type: integer
                        example: 0
                      created_at:
                        type: string
                        example: '2025-11-14T10:17:35.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-14T10:17:35.000000Z'
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the sampling information.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/sampling-information':
    post:
      summary: Store
      operationId: store
      description: 'Store the sampling information.'
      parameters: []
      responses: {  }
      tags:
        - Wastewater
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                project_number:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: dfqvmwxxjafugfkdpgtk
                effluent_discharge_method_id:
                  type: string
                  description: 'The <code>id</code> of an existing record in the supplier_attributes table.'
                  example: velit
                wastewater_type:
                  type: string
                  description: ''
                  example: 'Industrial Wastewater mixed with Domestic Wastewater'
                  enum:
                    - 'Industrial Wastewater'
                    - 'Industrial Wastewater mixed with Domestic Wastewater'
                industrial_wastewater_volume_more_than_15qm:
                  type: boolean
                  description: ''
                  example: true
                sample_points:
                  type: array
                  description: ''
                  example: null
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                        description: ''
                        example: ut
                      latitude:
                        type: number
                        description: 'Must be at least -90. Must not be greater than 90.'
                        example: 11
                      longitude:
                        type: number
                        description: 'Must be at least -180. Must not be greater than 180.'
                        example: 11
                      type:
                        type: string
                        description: ''
                        example: untreated
                        enum:
                          - untreated
                          - effluent
                          - sludge
                      discharge_to_aquatic_bodies:
                        type: boolean
                        description: ''
                        example: true
                      pre_treatments:
                        type: array
                        description: ''
                        example:
                          - natus
                        items:
                          type: string
                      temperature_safety_risk:
                        type: boolean
                        description: ''
                        example: false
                      persistent_foam_safety_risk:
                        type: boolean
                        description: ''
                        example: true
                      major_disposal_pathway:
                        type: string
                        description: ''
                        example: 'Offsite Incineration at >1000°C'
                        enum:
                          - 'Offsite Incineration at >1000°C'
                          - 'Landfill with Significant Control Measures'
                          - 'Building Products Processed at >1000°C'
                          - 'Landfill with Limited Control Measures'
                          - 'Offsite Incineration and Building Products Processed at <1000°C'
                          - 'Landfill with No Control Measures'
                          - 'Land Application'
                      disposal_pathway_percentage:
                        type: number
                        description: 'Must be at least 0. Must not be greater than 100.'
                        example: 5
                      filename:
                        type: string
                        format: binary
                        description: 'Must be a file. Must not be greater than 5000 kilobytes.'
                      temperature_safety_risk_file:
                        type: string
                        format: binary
                        description: 'Must be a file. Must not be greater than 5000 kilobytes.'
                      persistent_foam_safety_risk_file:
                        type: string
                        format: binary
                        description: 'Must be a file. Must not be greater than 5000 kilobytes.'
                    required:
                      - latitude
                      - longitude
                      - type
              required:
                - project_number
                - effluent_discharge_method_id
                - wastewater_type
                - industrial_wastewater_volume_more_than_15qm
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: clearstreamRequest_id
        description: 'The ID of the clearstreamRequest.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/{report_id}/rca/{id}':
    get:
      summary: Show
      operationId: show
      description: 'Show details about a given RCA record'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Wastewater
    put:
      summary: Update
      operationId: update
      description: 'Update a given RCA record'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 2
                    parameter_id: 89
                    is_resolved: false
                    reason_for_failure: 'Incorrect dosing of treatment chemicals'
                    corrective_action: 'Optimise treatment chemical dosing'
                    notes: null
                    action_notes: null
                    planned_resolution_date: '2025-11-25T01:00:00.000000Z'
                    created_at: '2025-11-17T13:38:26.000000Z'
                    updated_at: '2025-11-17T13:38:26.000000Z'
                    evidence_file_url: null
                  message: 'Wastewater RCA updated successfully'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 2
                      parameter_id:
                        type: integer
                        example: 89
                      is_resolved:
                        type: boolean
                        example: false
                      reason_for_failure:
                        type: string
                        example: 'Incorrect dosing of treatment chemicals'
                      corrective_action:
                        type: string
                        example: 'Optimise treatment chemical dosing'
                      notes:
                        type: string
                        example: null
                        nullable: true
                      action_notes:
                        type: string
                        example: null
                        nullable: true
                      planned_resolution_date:
                        type: string
                        example: '2025-11-25T01:00:00.000000Z'
                      created_at:
                        type: string
                        example: '2025-11-17T13:38:26.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-17T13:38:26.000000Z'
                      evidence_file_url:
                        type: string
                        example: null
                        nullable: true
                  message:
                    type: string
                    example: 'Wastewater RCA updated successfully'
      tags:
        - Wastewater
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                parameter_id:
                  type: integer
                  description: 'The <code>id</code> of an existing record in the wastewater_test_result_parameters table.'
                  example: 9
                is_resolved:
                  type: boolean
                  description: ''
                  example: false
                reason_for_failure:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: nnqdwypilyygxtdffiw
                  enum:
                    - 'Non-compliant chemical used'
                    - 'Incomplete chemical inventory'
                    - 'Equipment failure or malfunction'
                    - 'Incorrect dosing of treatment chemicals'
                    - 'Overloaded treatment plant'
                    - 'Poor maintenance of ETP/WWTP'
                    - 'Insufficient operator training'
                    - 'SOP not followed'
                    - 'Inadequate monitoring or testing'
                    - 'External shock load/seasonal variation'
                corrective_action:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: ctjis
                  enum:
                    - 'Replace with compliant chemical'
                    - 'Update and verify chemical inventory'
                    - 'Repair or upgrade equipment'
                    - 'Optimise treatment chemical dosing'
                    - 'Improve flow management/load control'
                    - 'Strengthen maintenance schedule'
                    - 'Conduct operator training/refresher'
                    - 'Enforce SOP compliance'
                    - 'Increase monitoring/testing frequency'
                    - 'Implement pre-treatment or process change'
                    - Other
                notes:
                  type: string
                  description: ''
                  example: incidunt
                  nullable: true
                action_notes:
                  type: string
                  description: ''
                  example: ducimus
                  nullable: true
                planned_resolution_date:
                  type: string
                  description: 'Must be a valid date. Must be a valid date in the format <code>Y-m-d H:i:s</code>.'
                  example: '2026-03-24 14:59:58'
                  nullable: true
                evidence:
                  type: string
                  format: binary
                  description: 'Must be a file. Must not be greater than 5120 kilobytes.'
                  nullable: true
              required:
                - parameter_id
                - reason_for_failure
                - corrective_action
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the rca.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/{report_id}/rca':
    post:
      summary: Create
      operationId: create
      description: 'Create a new Wastewater Root Cause Analysis record.'
      parameters: []
      responses:
        201:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 2
                    parameter_id: 89
                    is_resolved: false
                    reason_for_failure: 'Incorrect dosing of treatment chemicals'
                    corrective_action: 'Optimise treatment chemical dosing'
                    notes: null
                    action_notes: null
                    planned_resolution_date: '2025-11-25T01:00:00.000000Z'
                    created_at: '2025-11-17T13:38:26.000000Z'
                    updated_at: '2025-11-17T13:38:26.000000Z'
                    evidence_file_url: null
                  message: 'Wastewater RCA created successfully'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 2
                      parameter_id:
                        type: integer
                        example: 89
                      is_resolved:
                        type: boolean
                        example: false
                      reason_for_failure:
                        type: string
                        example: 'Incorrect dosing of treatment chemicals'
                      corrective_action:
                        type: string
                        example: 'Optimise treatment chemical dosing'
                      notes:
                        type: string
                        example: null
                        nullable: true
                      action_notes:
                        type: string
                        example: null
                        nullable: true
                      planned_resolution_date:
                        type: string
                        example: '2025-11-25T01:00:00.000000Z'
                      created_at:
                        type: string
                        example: '2025-11-17T13:38:26.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-17T13:38:26.000000Z'
                      evidence_file_url:
                        type: string
                        example: null
                        nullable: true
                  message:
                    type: string
                    example: 'Wastewater RCA created successfully'
      tags:
        - Wastewater
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                parameter_id:
                  type: integer
                  description: 'The <code>id</code> of an existing record in the wastewater_test_result_parameters table.'
                  example: 19
                is_resolved:
                  type: boolean
                  description: ''
                  example: true
                reason_for_failure:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: htifm
                  enum:
                    - 'Non-compliant chemical used'
                    - 'Incomplete chemical inventory'
                    - 'Equipment failure or malfunction'
                    - 'Incorrect dosing of treatment chemicals'
                    - 'Overloaded treatment plant'
                    - 'Poor maintenance of ETP/WWTP'
                    - 'Insufficient operator training'
                    - 'SOP not followed'
                    - 'Inadequate monitoring or testing'
                    - 'External shock load/seasonal variation'
                corrective_action:
                  type: string
                  description: 'Must not be greater than 255 characters.'
                  example: knhxfuftjx
                  enum:
                    - 'Replace with compliant chemical'
                    - 'Update and verify chemical inventory'
                    - 'Repair or upgrade equipment'
                    - 'Optimise treatment chemical dosing'
                    - 'Improve flow management/load control'
                    - 'Strengthen maintenance schedule'
                    - 'Conduct operator training/refresher'
                    - 'Enforce SOP compliance'
                    - 'Increase monitoring/testing frequency'
                    - 'Implement pre-treatment or process change'
                    - Other
                notes:
                  type: string
                  description: ''
                  example: voluptatem
                  nullable: true
                action_notes:
                  type: string
                  description: ''
                  example: cupiditate
                  nullable: true
                planned_resolution_date:
                  type: string
                  description: 'Must be a valid date. Must be a valid date in the format <code>Y-m-d H:i:s</code>.'
                  example: '2026-03-24 14:59:58'
                  nullable: true
                evidence:
                  type: string
                  format: binary
                  description: 'Must be a file. Must not be greater than 5120 kilobytes.'
                  nullable: true
              required:
                - parameter_id
                - reason_for_failure
                - corrective_action
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/{report_id}/rca/{rca_id}/delete-evidence-file':
    delete:
      summary: 'Delete File'
      operationId: deleteFile
      description: 'Delete the evidence file'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 2
                    parameter_id: 89
                    is_resolved: false
                    reason_for_failure: 'Incorrect dosing of treatment chemicals'
                    corrective_action: 'Optimise treatment chemical dosing'
                    notes: null
                    action_notes: null
                    planned_resolution_date: '2025-11-25T01:00:00.000000Z'
                    created_at: '2025-11-17T13:38:26.000000Z'
                    updated_at: '2025-11-17T13:38:26.000000Z'
                    evidence_file_url: null
                  message: 'Wastewater RCA evidence file deleted successfully'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 2
                      parameter_id:
                        type: integer
                        example: 89
                      is_resolved:
                        type: boolean
                        example: false
                      reason_for_failure:
                        type: string
                        example: 'Incorrect dosing of treatment chemicals'
                      corrective_action:
                        type: string
                        example: 'Optimise treatment chemical dosing'
                      notes:
                        type: string
                        example: null
                        nullable: true
                      action_notes:
                        type: string
                        example: null
                        nullable: true
                      planned_resolution_date:
                        type: string
                        example: '2025-11-25T01:00:00.000000Z'
                      created_at:
                        type: string
                        example: '2025-11-17T13:38:26.000000Z'
                      updated_at:
                        type: string
                        example: '2025-11-17T13:38:26.000000Z'
                      evidence_file_url:
                        type: string
                        example: null
                        nullable: true
                  message:
                    type: string
                    example: 'Wastewater RCA evidence file deleted successfully'
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
      -
        in: path
        name: rca_id
        description: 'The ID of the rca.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/{report_id}/rca-overview-pdf':
    get:
      summary: Generate
      operationId: generate
      description: 'Generate the Rca Overview Pdf'
      parameters: []
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: 'content of the pdf'
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reports':
    get:
      summary: Index
      operationId: index
      description: 'Get all wastewater reports for an organisation'
      parameters:
        -
          in: query
          name: per_page
          description: 'Number of items to show per page. Defaults to 50'
          example: 10
          required: false
          schema:
            type: integer
            description: 'Number of items to show per page. Defaults to 50'
            example: 10
        -
          in: query
          name: page
          description: 'the page number to show.'
          example: 1
          required: false
          schema:
            type: integer
            description: 'the page number to show.'
            example: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 2
                      reference_id: 60-HSER7PY6S32L-W
                      uuid: a05aba8c-5c93-4e50-91e7-04327509c58d
                      organisation_id: 64
                      status: PASSED
                      created_at: '2025-11-14T10:16:12.000000Z'
                      updated_at: '2025-11-19T14:24:04.000000Z'
                      archived_at: '2025-11-19 14:24:04'
                      last_viewed_at: '2025-11-19 14:24:00'
                      payment_completed_at: '2025-11-17 13:36:39'
                    -
                      id: 2
                      reference_id: 60-HSER7PY6S32L-W
                      uuid: a05aba8c-5c93-4e50-91e7-04327509c58d
                      organisation_id: 64
                      status: PASSED
                      created_at: '2025-11-14T10:16:12.000000Z'
                      updated_at: '2025-11-19T14:24:04.000000Z'
                      archived_at: '2025-11-19 14:24:04'
                      last_viewed_at: '2025-11-19 14:24:00'
                      payment_completed_at: '2025-11-17 13:36:39'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 50
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 2
                        reference_id: 60-HSER7PY6S32L-W
                        uuid: a05aba8c-5c93-4e50-91e7-04327509c58d
                        organisation_id: 64
                        status: PASSED
                        created_at: '2025-11-14T10:16:12.000000Z'
                        updated_at: '2025-11-19T14:24:04.000000Z'
                        archived_at: '2025-11-19 14:24:04'
                        last_viewed_at: '2025-11-19 14:24:00'
                        payment_completed_at: '2025-11-17 13:36:39'
                      -
                        id: 2
                        reference_id: 60-HSER7PY6S32L-W
                        uuid: a05aba8c-5c93-4e50-91e7-04327509c58d
                        organisation_id: 64
                        status: PASSED
                        created_at: '2025-11-14T10:16:12.000000Z'
                        updated_at: '2025-11-19T14:24:04.000000Z'
                        archived_at: '2025-11-19 14:24:04'
                        last_viewed_at: '2025-11-19 14:24:00'
                        payment_completed_at: '2025-11-17 13:36:39'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 2
                        reference_id:
                          type: string
                          example: 60-HSER7PY6S32L-W
                        uuid:
                          type: string
                          example: a05aba8c-5c93-4e50-91e7-04327509c58d
                        organisation_id:
                          type: integer
                          example: 64
                        status:
                          type: string
                          example: PASSED
                        created_at:
                          type: string
                          example: '2025-11-14T10:16:12.000000Z'
                        updated_at:
                          type: string
                          example: '2025-11-19T14:24:04.000000Z'
                        archived_at:
                          type: string
                          example: '2025-11-19 14:24:04'
                        last_viewed_at:
                          type: string
                          example: '2025-11-19 14:24:00'
                        payment_completed_at:
                          type: string
                          example: '2025-11-17 13:36:39'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                        nullable: true
                      next:
                        type: string
                        example: null
                        nullable: true
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                              nullable: true
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 50
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/progress/{report}':
    get:
      summary: 'Reporting Progress'
      operationId: reportingProgress
      description: "Get information on the progress of the currently running wastewater reporting.\n<aside class=\"warning\">Requires <code>COMPLETE_WASTEWATER_REPORTING</code> permission.</aside>"
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report
        description: 'Optional parameter.'
        required: true
        schema:
          type: integer
        examples:
          omitted:
            summary: 'When the value is omitted'
            value: ''
          present:
            summary: 'When the value is present'
            value: 2
  '/api/organisation/{organisation_id}/wastewater/reporting/start-reporting':
    post:
      summary: 'Start Reporting'
      operationId: startReporting
      description: 'Start the wastewater reporting process.'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
        400:
          description: 'Wastewater reporting has been started.'
          content:
            text/plain:
              schema:
                type: string
                example: ''
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/restart-cycle':
    post:
      summary: 'Restart Cycle'
      operationId: restartCycle
      description: 'Restart a cycle'
      parameters: []
      responses: {  }
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/{report_id}/complete-payment':
    post:
      summary: 'Reporting Progress'
      operationId: reportingProgress
      description: "Get information on the progress of the currently running wastewater reporting.\n<aside class=\"warning\">Requires <code>COMPLETE_WASTEWATER_REPORTING</code> permission.</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: OK
                properties:
                  message:
                    type: string
                    example: OK
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/details/{report_id}':
    get:
      summary: Details
      operationId: details
      description: 'Get details for report'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Token not found'
                properties:
                  message:
                    type: string
                    example: 'Token not found'
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
  '/api/organisation/{organisation_id}/wastewater/reporting/report/{report_id}/summary':
    get:
      summary: Index
      operationId: index
      description: 'Get a summary of the reporting status of a wastewater report'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    testedParameters: 10
                    passingParameters: 8
                    failingParameters: 2
                    complianceRate: 80.0
                properties:
                  data:
                    type: object
                    properties:
                      testedParameters:
                        type: integer
                        example: 10
                      passingParameters:
                        type: integer
                        example: 8
                      failingParameters:
                        type: integer
                        example: 2
                      complianceRate:
                        type: number
                        example: 80.0
      tags:
        - Wastewater
    parameters:
      -
        in: path
        name: organisation_id
        description: 'The ID of the organisation.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: report_id
        description: 'The ID of the report.'
        example: 2
        required: true
        schema:
          type: integer
