{
  "renderer": "PLAN_V2",
  "planVersion": "2.1",
  "surface": "STAMP_CARDS",
  "page": {
    "look": {
      "density": "regular",
      "shape": "sharp",
      "texture": "paper"
    },
    "sections": [
      {
        "layout": "stack",
        "items": [
          {
            "type": "feature",
            "variant": "masthead",
            "title": {
              "role": "display",
              "text": {
                "ja": "スタンプカード",
                "en": "Stamp cards"
              }
            },
            "ornaments": [
              {
                "catalog": "blob",
                "anchor": "topRight",
                "size": "l",
                "offset": {
                  "x": 2,
                  "y": -2
                }
              }
            ]
          }
        ]
      },
      {
        "title": {
          "role": "title",
          "text": {
            "ja": "すべてのカード",
            "en": "All cards"
          }
        },
        "layout": "stack",
        "items": [
          {
            "type": "collection",
            "query": {
              "source": "cards"
            },
            "skin": "progressLead",
            "layout": "stack",
            "fields": [
              "title",
              "count",
              "goal",
              "nextMilestone",
              "remaining"
            ],
            "limit": "all",
            "hideWhenEmpty": true
          }
        ]
      }
    ]
  },
  "itemView": {
    "face": {
      "kind": "feature",
      "variant": "paperPoster",
      "item": {
        "source": "currentCard"
      },
      "kicker": {
        "field": "kicker"
      },
      "title": {
        "field": "title"
      },
      "subtitle": {
        "field": "description"
      },
      "facts": [
        {
          "kind": "count",
          "format": "fraction",
          "emphasis": "display"
        },
        {
          "kind": "nextMilestone"
        },
        {
          "kind": "pendingCount"
        }
      ],
      "badges": [
        {
          "kind": "done",
          "shape": "stamp"
        },
        {
          "kind": "pending"
        }
      ],
      "marks": {
        "arrangement": "grid",
        "columns": "auto",
        "slot": "seal",
        "fill": "emoji",
        "empty": [
          "number",
          "dashed"
        ],
        "milestoneMark": "label",
        "caption": "both",
        "tilt": "varied",
        "detail": "popover",
        "motion": "press",
        "size": "regular"
      },
      "ornaments": [
        {
          "catalog": "blob",
          "anchor": "topRight",
          "size": "m",
          "offset": {
            "x": 2,
            "y": -2
          }
        }
      ],
      "motion": "enter"
    },
    "partsPlacement": "afterFace",
    "rewardStyle": "ticket"
  }
}
