# Field Definition

Similarly to the `Validation Rules` in `Pricing Logic`, which defines the validation rules for quote data, Field Definition defines all the validation rules for the policy data. If you use the Webapp Builder to configure the customer journey, you should be able to get the Field Definition from the App export and you can simply copy and paste it for setup.

<figure><img src="/files/ne9xBdFrTGLjFfqIer4h" alt=""><figcaption><p>Field Definition Screen Example</p></figcaption></figure>

<table><thead><tr><th width="194">Field</th><th>Description</th></tr></thead><tbody><tr><td><strong>Name</strong></td><td>This should correspond to the policy field names in the Webapp</td></tr><tr><td><strong>Path</strong></td><td>This is usually <code>data</code> unless you have other data structures in your webapp.</td></tr><tr><td><strong>Validation</strong></td><td><p>This usually include a few things:</p><ol><li>data format - for example, <code>string</code> , <code>integer</code> , <code>iso_date</code></li><li>required/not required - if the data is always required, you should put <code>required</code> , otherwise, left empty</li><li>other validation rules - this can be (1) limiting the input to a list of allowed value; (2) checking the input value to be within certain range; any other validations</li></ol></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kasko.io/product-builder-manual/fundamentals/create-your-first-product/field-definition.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
