{
  "name": "image.generate-qr",
  "description": "Renders the supplied text or URL into a PNG QR code; commonly used for links and payment codes",
  "signature": {
    "input": {
      "kind": "qr-content,url,text",
      "description": "Text or URL to encode in the QR code",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "children": {
      "size": {
        "type": "int",
        "description": "QR module size",
        "required": false,
        "mode": "ValueOrExpression",
        "cardinality": "ZeroOrOne",
        "default": "4",
        "role": "Option",
        "projection": "Value"
      }
    },
    "output": {
      "mode": "Value",
      "kind": "image,binary-content",
      "description": "Resolves to the generated QR code image bytes"
    }
  }
}
