---
title: "FieldLookupResponse"
url: "https://apipartners.mosaicinsurance.com/apis/trident-ap-is-beta/versions/018fd555-bac2-494f-872b-ac47b74f1e75/schemas/FieldLookupResponse"
---

> Full API specification: https://apipartners.mosaicinsurance.com/apis/trident-ap-is-beta/versions/018fd555-bac2-494f-872b-ac47b74f1e75.md

# FieldLookupResponse

Response returned by `/reference/fields`. Contains the field name resolved by the server and the list of allowed values read from the live XFI section schema.

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Trident APIs
  version: uat
servers:
  - url: https://apinonprod.mosaicinsurance.com
    description: Generated server url
components:
  schemas:
    LookupValue:
      type: object
      description: A single lookup value entry
      properties:
        id:
          type: integer
          description: Unique identifier for the lookup value
          example: 2000007
        code:
          type: string
          description: Code identifier for the lookup value (may not be present for all
            entries)
          example: M1609
        description:
          type: string
          description: Human-readable description of the lookup value
          example: Mosaic Syndicate 1609
      required:
        - id
        - description
    FieldLookupResponse:
      type: object
      description: Response returned by `/reference/fields`. Contains the field name
        resolved by the server and the list of allowed values read from the live
        XFI section schema.
      required:
        - status
        - field
        - values
      properties:
        status:
          type: string
          enum:
            - SUCCESS
            - FAILED
          description: Outcome of the lookup call.
          example: SUCCESS
        field:
          type: string
          description: The XFI field name whose allowed values are returned. One of
            `coverage`, `agreement`, `agreementActivity`, or `agreementSection`.
          example: agreement
        values:
          type: array
          description: Allowed values for the field. Empty when no schema exists for the
            section (e.g. non-Lloyd's policies for agreement fields).
          items:
            $ref: "#/components/schemas/LookupValue"
```
