---
title: "IriValidationError"
url: "https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086/schemas/IriValidationError"
---

> Full API specification: https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086.md

# IriValidationError

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Policy Service
  version: 0.0.21
servers:
  - url: https://uat.api.zinnia.io
components:
  schemas:
    IriValidationError:
      type: object
      properties:
        code:
          type: string
          description: Structured error code classifying the business rule or decision
            failure.
          pattern: ^[a-zA-Z]+\.[a-zA-Z]+\.[a-zA-Z]+$
          example: policy.inquiry.notFound
        message:
          type: string
          description: Why the error occurred / specific business rule violation.
      required:
        - code
        - message
```
