{
  "capabilityId": "procedural.create",
  "input": {
    "seed": 42,
    "baseInk": {
      "color": "#1f2937",
      "width": 2
    },
    "recipe": {
      "schema": "scribe.procedural/1",
      "parameters": [
        {
          "id": "card-width",
          "type": "number",
          "unit": "logical-unit",
          "min": 80,
          "max": 240,
          "default": 160
        }
      ],
      "frames": [],
      "attachments": [],
      "motionChannels": [],
      "marks": [
        {
          "id": "card-guide",
          "geometry": {
            "op": "polyline",
            "points": [
              {
                "space": "world",
                "x": -10,
                "y": 40
              },
              {
                "space": "world",
                "x": {
                  "op": "add",
                  "left": {
                    "op": "parameter",
                    "id": "card-width"
                  },
                  "right": 10
                },
                "y": 40
              }
            ],
            "closed": false
          },
          "direction": "forward",
          "drawOrder": 0,
          "paintOrder": 0,
          "styleRole": "construction"
        },
        {
          "id": "card-outline",
          "geometry": {
            "op": "polyline",
            "points": [
              {
                "space": "world",
                "x": 0,
                "y": 0
              },
              {
                "space": "world",
                "x": {
                  "op": "parameter",
                  "id": "card-width"
                },
                "y": 0
              },
              {
                "space": "world",
                "x": {
                  "op": "parameter",
                  "id": "card-width"
                },
                "y": 80
              },
              {
                "space": "world",
                "x": 0,
                "y": 80
              }
            ],
            "closed": true
          },
          "direction": "forward",
          "drawOrder": 1,
          "paintOrder": 1,
          "styleRole": "outlinePrimary"
        },
        {
          "id": "card-accent",
          "geometry": {
            "op": "polyline",
            "points": [
              {
                "space": "world",
                "x": 20,
                "y": 60
              },
              {
                "space": "world",
                "x": {
                  "op": "subtract",
                  "left": {
                    "op": "parameter",
                    "id": "card-width"
                  },
                  "right": 20
                },
                "y": 60
              }
            ],
            "closed": false
          },
          "direction": "forward",
          "drawOrder": 2,
          "paintOrder": 2,
          "styleRole": "accentPrimary"
        }
      ],
      "fills": []
    },
    "x": 300,
    "y": 220,
    "width": 450,
    "name": "Procedural card",
    "objectId": "procedural-card"
  }
}
