{
  "$schema": "https://mlabel.vlad.gg/mlabel.schema.json",
  "version": 2,
  "network": { "updateChecks": false },
  "input": {
    "fields": [
      { "name": "id", "type": "text", "display": "Record ID" },
      {
        "name": "text",
        "type": "text",
        "display": { "title": "Customer comment", "titlePosition": "above" },
      },
    ],
  },
  "output": {
    "fields": [
      { "name": "id", "type": "text", "fill": { "kind": "copy" } },
      {
        "name": "sentiment",
        "type": "enum",
        "widget": "radio",
        "display": {
          "title": "How does the customer feel?",
          "description": "Choose the overall tone of the comment.",
        },
        "choices": [
          { "name": "positive", "display": "Positive" },
          { "name": "negative", "display": "Negative" },
          { "name": "unclear", "display": "Unclear" },
        ],
      },
      {
        "name": "notes",
        "type": "text",
        "widget": "textarea",
        "display": "Notes",
        "required": false,
      },
    ],
  },
}
