openapi: 3.0.4
info:
  title: Norce Checkout - Norce Adapter API
  description: >-
    Build 2026-01-12 15:09:14


    The Norce Adapter API is used to create and manage an Order based on a Norce
    Checkout Basket.
  version: 1.0.0
servers:
  - url: https://checkout-norce-adapter.test.norce.tech
    description: Test server
paths:
  /api/v1/orders:
    post:
      tags:
        - Orders
      summary: Create order from Norce Commerce checkout
      description: >-
        Fetches a Norce Commerce Checkout and maps it to a Norce Checkout Order.
        Note that cart references are unique and no more than one order can
        exist with provided cart reference.
      operationId: CreateOrder
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
      requestBody:
        description: Context about the order
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Created'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json: {}
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
  /api/v1/orders/{orderId}:
    put:
      tags:
        - Orders
      summary: Update Order from Norce Commerce Checkout
      description: >-
        In case updates are made in Norce Commerce this endpoint makes sure the
        latest checkout is mapped to the Norce Checkout order.
      operationId: UpdateOrder
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id to update
          required: true
          schema:
            type: string
      requestBody:
        description: Optional context
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/UpdateContext'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
  /api/v1/orders/{orderId}/cart/items:
    post:
      tags:
        - Orders
      summary: Add Cart Item
      operationId: AddCartItem
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id to update
          required: true
          schema:
            type: string
      requestBody:
        description: Cart item to add
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/AddCartItem'
      responses:
        '200':
          description: OK
        '202':
          description: >-
            The status code indicates that the request has been accepted for
            processing, but the processing has not yet been completed or may
            have been canceled due to a more recent request being processed
            instead.
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
  /api/v1/orders/{orderId}/cart/items/{itemId}:
    patch:
      tags:
        - Orders
      summary: Update Cart Item
      operationId: UpdateCartItem
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id to update
          required: true
          schema:
            type: string
        - name: itemId
          in: path
          description: Cart item id to update
          required: true
          schema:
            type: string
      requestBody:
        description: Cart item properties to update. Only quantity is valid for now.
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/CartItem'
      responses:
        '200':
          description: OK
        '202':
          description: >-
            The status code indicates that the request has been accepted for
            processing, but the processing has not yet been completed or may
            have been canceled due to a more recent request being processed
            instead.
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
    delete:
      tags:
        - Orders
      summary: Delete Cart Item
      operationId: RemoveCartItem
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id
          required: true
          schema:
            type: string
        - name: itemId
          in: path
          description: Cart item id to remove
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
  /api/v1/orders/{orderId}/cart/discounts:
    post:
      tags:
        - Orders
      summary: Add Discount by code
      description: >-
        Adds discount code on Norce Commerce basket and update Order with new
        cart
      operationId: AddCartDiscount
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id to update
          required: true
          schema:
            type: string
      requestBody:
        description: Discount containing Code to be added.
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/CartDiscount'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
    delete:
      tags:
        - Orders
      summary: Remove Discount by code
      description: >-
        Removes discount code on Norce Commerce basket and update Order with new
        cart
      operationId: RemoveCartDiscount
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id to update
          required: true
          schema:
            type: string
        - name: discountCode
          in: query
          description: Discount code to be removed.
          schema:
            type: string
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
  /api/v1/orders/{orderId}/validate:
    post:
      tags:
        - Orders
      summary: Validate Order
      description: >-
        Validates Order from cart in Norce commerce platform and make sure all
        products are buyable.
      operationId: ValidateOrder
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id to validate
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ValidationError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
  /api/v1/orders/{orderId}/state-changed:
    post:
      tags:
        - Hooks
      summary: Handle State Changed
      description: This hook is registered when an order is created.
      operationId: HandleStateChange
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id in Norce Checkout
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/Order'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PatchOperation'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
  /api/v1/orders/{orderId}/customer-changed:
    post:
      tags:
        - Hooks
      summary: Handle Customer changed
      description: >-
        Callback added to the Norce Checkout Order as a hook. Syncs down to
        Norce Commerce and applies basket changes due to changes to the customer
        information.
      operationId: HandleCustomerChange
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id in Norce Checkout
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/Order'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PatchOperation'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
  /api/v1/orders/{orderId}/shipping-changed:
    post:
      tags:
        - Hooks
      summary: Handle Shipping Changed
      description: >-
        Callback added to the Norce Checkout Order as a hook. Syncs down to
        Norce Commerce and applies basket changes due to changes to the
        shipping/freight information.
      operationId: HandleShippingChange
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id in Norce Checkout
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/Order'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PatchOperation'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
  /api/v1/orders/{orderId}/export-order:
    post:
      tags:
        - Notifications
      summary: Handle state changed
      description: >-
        Callback added to the Norce Checkout Order as a notification. Depending
        on the provided order state the checkout is updated, validated,
        purchased or completed. In effect exported to Norce Commerce.
      operationId: HandleStateCompleted
      parameters:
        - name: x-merchant
          in: header
          description: Merchant identifier.
          required: true
          schema:
            type: string
            example: norce
          example: norce
        - name: x-channel
          in: header
          description: Channel identifier
          required: true
          schema:
            type: string
            example: '1'
          example: '1'
        - name: orderId
          in: path
          description: Order id in Norce Checkout
          required: true
          schema:
            type: string
      requestBody:
        description: Notification body
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/Order'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
components:
  schemas:
    AddCartItem:
      type: object
      properties:
        partNo:
          type: string
        quantity:
          type: integer
          description: Quantity of item. Must be greater or equal to 1.
          format: int32
          example: 2
      additionalProperties: false
    Addon:
      type: object
      properties:
        reference:
          type: string
        price:
          type: number
          format: double
      additionalProperties: false
    Address:
      type: object
      properties:
        type:
          allOf:
            - $ref: '#/components/schemas/CustomerType'
        givenName:
          type: string
        familyName:
          type: string
        careOf:
          type: string
        reference:
          type: string
        organizationName:
          type: string
        streetAddress:
          type: string
        streetAddress2:
          type: string
        postalCode:
          type: string
        city:
          type: string
        region:
          type: string
        country:
          type: string
        phone:
          type: string
        email:
          type: string
        nationalIdentificationNumber:
          type: string
        organizationIdentificationNumber:
          type: string
        attributes:
          type: object
          additionalProperties:
            nullable: true
      additionalProperties: false
    Callback:
      type: object
      properties:
        id:
          type: string
        adapterId:
          type: string
        url:
          type: string
      additionalProperties: false
    Cart:
      type: object
      properties:
        reference:
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/Item'
        discounts:
          type: array
          items:
            $ref: '#/components/schemas/Discount'
        total:
          allOf:
            - $ref: '#/components/schemas/Price'
        attributes:
          type: object
          additionalProperties:
            nullable: true
      additionalProperties: false
    CartDiscount:
      type: object
      properties:
        code:
          type: string
          description: Discount code.
      additionalProperties: false
    CartItem:
      type: object
      properties:
        quantity:
          type: integer
          description: Quantity of item. Must be greater or equal to 1.
          format: int32
          example: 2
      additionalProperties: false
    Consent:
      type: object
      properties:
        id:
          type: string
        checked:
          type: boolean
        text:
          type: string
        required:
          type: boolean
      additionalProperties: false
    Context:
      required:
        - cartReference
        - culture
      type: object
      properties:
        cartReference:
          type: integer
          description: Storm Basket Id
          format: int32
          example: 56393
        culture:
          minLength: 1
          pattern: ^[A-Za-z]{2,3}(?:-[A-Za-z]{2,2})*$
          type: string
          description: Language and region of the customer, RFC-1766
          example: fr-FR
        currency:
          pattern: ^[A-Za-z]{3,3}$
          type: string
          description: Currency of the purchase, ISO 4217 alpha-3.
          example: EUR
        country:
          pattern: ^[A-Za-z]{2,2}$
          type: string
          description: Country, ISO 3166 alpha-2.
          example: SE
        priceListSeed:
          type: array
          items:
            type: integer
            format: int32
          description: (Optional) A list of PriceList IDs to use.
          example:
            - 16
            - 21
            - 332
      additionalProperties: false
    Created:
      type: object
      properties:
        id:
          type: string
          description: Order identifier
          example: o
      additionalProperties: false
    Customer:
      type: object
      properties:
        billing:
          allOf:
            - $ref: '#/components/schemas/Address'
        shipping:
          allOf:
            - $ref: '#/components/schemas/Address'
        attributes:
          type: object
          additionalProperties:
            nullable: true
        type:
          allOf:
            - $ref: '#/components/schemas/CustomerType'
      additionalProperties: false
    CustomerType:
      enum:
        - person
        - organization
      type: string
    DeliveryDetails:
      type: object
      properties:
        carrier:
          type: string
        carrierProductId:
          type: string
        class:
          type: string
        product:
          allOf:
            - $ref: '#/components/schemas/Product'
        pickupLocation:
          allOf:
            - $ref: '#/components/schemas/PickupLocation'
      additionalProperties: false
    Discount:
      type: object
      properties:
        type:
          allOf:
            - $ref: '#/components/schemas/DiscountType'
        name:
          type: string
        code:
          type: string
        value:
          allOf:
            - $ref: '#/components/schemas/Price'
        attributes:
          type: object
          additionalProperties:
            nullable: true
        reference:
          type: string
        description:
          type: string
      additionalProperties: false
    DiscountType:
      enum:
        - item
        - shipping
      type: string
    Error:
      type: object
      properties:
        code:
          enum:
            - internal-server-error
            - unauthorized
            - application-not-found
            - configuration-error
            - configuration-not-found
            - order-not-found
            - order-error
            - order-bad-request
            - order-conflict
            - order-validation
            - order-canceled
            - shipping-not-found
            - shipping-error
            - payment-not-found
            - payment-error
            - payment-conflict
            - storm-error
            - storm-bad-request
            - storm-validation
            - storm-order-not-found
            - storm-unauthorized
            - storm-timeout
            - translation-not-found
            - discount-not-found
            - discount-error
            - discount-conflict
          type: string
          description: Error code
          example: cart-not-found
        message:
          type: string
          description: Detailed error information
          example: Cart with id:{id} not found.
        innerErrorCode:
          type: string
          description: Inner error code information
          example: psp-session-expired
      additionalProperties: false
    Hook:
      type: object
      properties:
        id:
          type: string
        adapterId:
          type: string
        subscribeTo:
          type: string
        target:
          type: string
        invoke:
          type: string
      additionalProperties: false
    Item:
      type: object
      properties:
        id:
          type: string
        reference:
          type: string
        name:
          type: string
        sku:
          type: string
        productType:
          allOf:
            - $ref: '#/components/schemas/ProductType'
        items:
          type: array
          items:
            $ref: '#/components/schemas/Item'
        url:
          type: string
        imageUrl:
          type: string
        quantity:
          type: integer
          format: int32
        unit:
          type: string
        price:
          allOf:
            - $ref: '#/components/schemas/Price'
        total:
          allOf:
            - $ref: '#/components/schemas/Price'
        originalTotal:
          allOf:
            - $ref: '#/components/schemas/Price'
        vatRate:
          type: number
          format: double
        discounts:
          type: array
          items:
            $ref: '#/components/schemas/Discount'
        logistics:
          allOf:
            - $ref: '#/components/schemas/Logistics'
        upsell:
          type: boolean
        attributes:
          type: object
          additionalProperties:
            nullable: true
      additionalProperties: false
    Logistics:
      type: object
      properties:
        weight:
          type: integer
          format: int32
        height:
          type: integer
          format: int32
        width:
          type: integer
          format: int32
        length:
          type: integer
          format: int32
        tags:
          type: array
          items:
            type: string
        shippingDate:
          type: string
          format: date-time
      additionalProperties: false
    Notification:
      type: object
      properties:
        id:
          type: string
        adapterId:
          type: string
        reference:
          type: string
        description:
          type: string
        scope:
          type: string
        schema:
          type: object
          additionalProperties:
            nullable: true
        invoke:
          type: string
        delay:
          type: integer
          format: int32
      additionalProperties: false
    Order:
      type: object
      properties:
        id:
          type: string
        merchant:
          type: string
        channel:
          type: string
        reference:
          type: string
        created:
          type: string
          format: date-time
        lastModified:
          type: string
          format: date-time
        state:
          allOf:
            - $ref: '#/components/schemas/State'
        culture:
          type: string
        currency:
          type: string
        country:
          type: string
        cart:
          allOf:
            - $ref: '#/components/schemas/Cart'
        shippings:
          type: array
          items:
            $ref: '#/components/schemas/Shipping'
        payments:
          type: array
          items:
            $ref: '#/components/schemas/Payment'
        customer:
          allOf:
            - $ref: '#/components/schemas/Customer'
        consents:
          type: array
          items:
            $ref: '#/components/schemas/Consent'
        validations:
          type: array
          items:
            $ref: '#/components/schemas/Callback'
        hooks:
          type: array
          items:
            $ref: '#/components/schemas/Hook'
        notifications:
          type: array
          items:
            $ref: '#/components/schemas/Notification'
        total:
          allOf:
            - $ref: '#/components/schemas/Price'
        attributes:
          type: object
          additionalProperties:
            nullable: true
      additionalProperties: false
    OrderStatus:
      enum:
        - checkout
        - processing
        - accepted
        - completed
        - declined
        - removed
      type: string
    PatchOperation:
      type: object
      properties:
        op:
          type: string
        path:
          type: string
        value: {}
      additionalProperties: false
    Payment:
      type: object
      properties:
        id:
          type: string
        adapterId:
          type: string
        name:
          type: string
        merchant:
          type: string
        channel:
          type: string
        currency:
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/PaymentType'
        orderId:
          type: string
        amount:
          type: number
          format: double
        upperLimitAmount:
          type: number
          format: double
        state:
          allOf:
            - $ref: '#/components/schemas/PaymentState'
        reference:
          type: string
        attributes:
          type: object
          additionalProperties:
            nullable: true
      additionalProperties: false
    PaymentState:
      enum:
        - intent
        - removed
        - processing
        - failed
        - confirmed
        - pending
        - declined
        - reserved
        - credited
        - captured
        - cancelled
      type: string
    PaymentType:
      enum:
        - default
        - prepaid
        - voucher
      type: string
    PickupLocation:
      type: object
      properties:
        reference:
          type: string
        name:
          type: string
        address:
          allOf:
            - $ref: '#/components/schemas/PickupLocationAddress'
      additionalProperties: false
    PickupLocationAddress:
      type: object
      properties:
        streetAddress:
          type: string
        city:
          type: string
        postalCode:
          type: string
        country:
          type: string
      additionalProperties: false
    Price:
      type: object
      properties:
        includingVat:
          type: number
          format: double
        excludingVat:
          type: number
          format: double
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
          format: int32
        detail:
          type: string
        instance:
          type: string
      additionalProperties: {}
    Product:
      type: object
      properties:
        reference:
          type: string
        name:
          type: string
      additionalProperties: false
    ProductType:
      enum:
        - physical
        - digital
        - giftCard
        - bundle
      type: string
    Shipping:
      type: object
      properties:
        id:
          type: string
        merchant:
          type: string
        channel:
          type: string
        state:
          allOf:
            - $ref: '#/components/schemas/ShippingState'
        reference:
          type: string
        tmsReference:
          type: string
        orderId:
          type: string
        adapterId:
          type: string
        name:
          type: string
        total:
          allOf:
            - $ref: '#/components/schemas/Price'
        vatRate:
          type: number
          format: double
        deliveryDetails:
          allOf:
            - $ref: '#/components/schemas/DeliveryDetails'
        addons:
          type: array
          items:
            $ref: '#/components/schemas/Addon'
        attributes:
          type: object
          additionalProperties:
            nullable: true
      additionalProperties: false
    ShippingState:
      enum:
        - intent
        - removed
        - processing
        - failed
        - confirmed
      type: string
    State:
      type: object
      properties:
        currentStatus:
          allOf:
            - $ref: '#/components/schemas/OrderStatus'
        transitions:
          type: array
          items:
            $ref: '#/components/schemas/Transition'
      additionalProperties: false
    Transition:
      type: object
      properties:
        status:
          allOf:
            - $ref: '#/components/schemas/OrderStatus'
        timeStamp:
          type: string
          format: date-time
      additionalProperties: false
    UpdateContext:
      type: object
      properties:
        priceListSeed:
          type: array
          items:
            type: integer
            format: int32
          description: (Optional) A list of PriceList IDs to use.
          example:
            - 16
            - 21
            - 332
      additionalProperties: false
    ValidationError:
      type: object
      properties:
        code:
          type: string
        adapterId:
          type: string
        message:
          type: string
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        Authorization header using the bearer scheme. Example: 'Bearer
        a3bcdABCaB12abc3AbCDAB5AbcABCaBcABC5ab3c5A0='
      name: Authorization
      in: header
