---
title: True/False field mapping
slug: content-marketing-platform/docs/truefalse-field-mapping
docTags: 
createdAt: 2026-07-22T20:21:11.854Z
---

Optimizely Content Marketing Platform (CMP) supports mapping the ACF `True/False` field to the structured content `Boolean` type field.

**JSON example**

```json
{
  "core": {
    "key": "acf_true_false_field",
    "name": "ACF True/False Field",
    "is_list": false,
    "is_required": false,
    "need_internationalization": false,
    "min_list_length": 1,
    "max_list_length": -1,
    "field_type": "boolean",
    "source_id": null,
    "source_metadata": "{\"is_custom_post_type_field\": true}",  // It is important to identify source_metadata as custom field
    "order_index": 0,
    "help_text": null,
    "editor_metadata": null
  },
  "base_type": "boolean",
  "default_values": null
}
```
