{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Sticker Wall",
  "description": "Wall of hard-bordered candy stickers",
  "type": "object",
  "properties": {
    "heading": {
      "type": "string",
      "title": "Heading",
      "description": "Optional section heading",
      "x-editor": "text"
    },
    "items": {
      "type": "array",
      "title": "Stickers",
      "description": "Sticker labels in display order",
      "default": [],
      "x-editor": "collection",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "title": "Label",
            "description": "Sticker text",
            "x-editor": "text"
          },
          "tone": {
            "type": "string",
            "title": "Tone",
            "description": "Sticker colour",
            "default": "accent",
            "enum": ["accent", "ink", "paper"],
            "x-editor": "select"
          },
          "size": {
            "type": "string",
            "title": "Size",
            "description": "Optional font-size (e.g. 1.5rem)",
            "x-editor": "text"
          }
        },
        "required": ["text"]
      }
    }
  }
}
