definitions:
  BadRequestError:
    '400':
      description: 'Bad Request'
      content:
        application/json:
          schema:
            type: 'object'
            properties:
              errors:
                type: 'array'
                items:
                  type: 'object'
                  properties:
                    message:
                      type: 'string'
                    field:
                      type: 'string'
                  required:
                    - 'message'

  UnauthorizedError:
    '401':
      description: 'Unauthorized: Token is missing or invalid Bearer'
      content:
        application/json:
          schema:
            type: 'object'
            properties:
              errors:
                type: 'array'
                items:
                  type: 'object'
                  properties:
                    message:
                      type: 'string'
                      enum: ['Unauthorized: Token is missing or invalid Bearer']

  ForbiddenError:
    '403':
      description: 'Forbidden'
      content:
        application/json:
          schema:
            type: 'object'
            properties:
              errors:
                type: 'array'
                items:
                  type: 'object'
                  properties:
                    message:
                      type: 'string'
                      enum: ['Forbidden']

  NotFoundError:
    '404':
      description: 'Not Found'
      content:
        application/json:
          schema:
            type: 'object'
            properties:
              errors:
                type: 'array'
                items:
                  type: 'object'
                  properties:
                    message:
                      type: 'string'
                      enum: ['Not Found']

  PayloadTooLargeError:
    '413':
      description: 'Payload Too Large'
      content:
        application/json:
          schema:
            type: 'object'
            properties:
              errors:
                type: 'array'
                items:
                  type: 'object'
                  properties:
                    message:
                      type: 'string'
