> ## Documentation Index
> Fetch the complete documentation index at: https://docs.declarativeforms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Capture a structured address

If you have not created a form before, start with [Create a form](/getting-started/create-a-form).

```yaml form.yaml theme={null}
version: 1
title: "Shipping address"
description: "A simple form that captures address components."

sections:
  - id: section_1
    title: "Shipping details"
    fields:
      - id: full_name
        type: short_text
        label: "Full name"
        validators:
          - required

      - id: shipping_address
        type: address
        label: "Shipping address"
        placeholder: "Start typing your address..."
        # Returns structured components instead of one formatted string.
        outputFormat: structured
        validators:
          - required

    next: done
```
