type: object
required:
  - errors
properties:
  errors:
    type: array
    items:
      type: object
      required: ['code', 'message']
      properties:
        code:
          type: string
          patter: /^CSMB-.+$/
        message:
          type: string
          pattern: /^Duplicate entry in [a-z]+ for field [a-zA-Z]+$/
