{
  "name": "date.format",
  "description": "Formats a DateTime using a .NET format string (e.g. yyyy-MM-dd HH:mm) for display or logging",
  "signature": {
    "input": {
      "kind": "date",
      "description": "Date value to format",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "children": {
      "format": {
        "type": "string",
        "kind": "date-format",
        "description": "Format string",
        "required": true,
        "mode": "ValueOrExpression",
        "cardinality": "ExactlyOne",
        "role": "Option",
        "projection": "Value"
      }
    },
    "output": {
      "mode": "Value",
      "kind": "formatted-date,text",
      "description": "Resolves to the formatted date string"
    }
  }
}
