{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MetadataField",
  "type": "object",
  "description": "A custom metadata field definition.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The unique name of the metadata field."
    },
    "state": {
      "type": "string",
      "description": "The current state of the field."
    },
    "view_template": {
      "type": "string",
      "description": "The Mustache template for displaying the field in the UI."
    }
  }
}