Mailchimp · Schema

MetadataField

A custom metadata field definition.

CampaignsEmail MarketingMarketing AutomationNewslettersTransactional Email

Properties

Name Type Description
name string The unique name of the metadata field.
state string The current state of the field.
view_template string The Mustache template for displaying the field in the UI.
View JSON Schema on GitHub

JSON Schema

mailchimp-metadatafield-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MetadataField",
  "title": "MetadataField",
  "type": "object",
  "description": "A custom metadata field definition.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The unique name of the metadata field.",
      "example": "Example Title"
    },
    "state": {
      "type": "string",
      "enum": [
        "active",
        "delete",
        "index"
      ],
      "description": "The current state of the field.",
      "example": "active"
    },
    "view_template": {
      "type": "string",
      "description": "The Mustache template for displaying the field in the UI.",
      "example": "example_value"
    }
  }
}