{
  "id": "deflation",
  "name": "Deflation: \"good\" vs \"bad\"",
  "unit": "macro",
  "unitName": "Unit 3 · Macroeconomics",
  "topic": "Inflation & deflation",
  "hl": false,
  "description": "\"Good\" deflation comes from rising aggregate supply (output rises); \"bad\" deflation comes from falling aggregate demand (output and employment fall).",
  "keywords": [
    "deflation",
    "good deflation",
    "bad deflation",
    "falling price level",
    "productivity",
    "fall in AD",
    "deflationary spiral"
  ],
  "schemaUrl": "https://graphs.lectere.com/api/v1/templates/deflation",
  "previewUrl": "https://graphs.lectere.com/thumbs/deflation.svg",
  "editorUrl": "https://graphs.lectere.com/graph/deflation/",
  "params": [
    {
      "key": "type",
      "label": "Type of deflation",
      "default": "good",
      "type": "enum",
      "options": [
        {
          "value": "good",
          "label": "\"Good\" — increase in AS"
        },
        {
          "value": "bad",
          "label": "\"Bad\" — decrease in AD"
        }
      ]
    },
    {
      "key": "lras",
      "label": "Show LRAS",
      "default": true,
      "type": "boolean"
    },
    {
      "key": "shift",
      "label": "Shift size",
      "default": 1.8,
      "group": "Shape",
      "type": "number",
      "min": 1,
      "max": 3,
      "step": 0.1
    }
  ],
  "defaults": {
    "type": "good",
    "lras": true,
    "shift": 1.8
  },
  "panels": [
    {
      "id": "main",
      "title": null,
      "xLabel": "Real GDP",
      "yLabel": "Average price level",
      "xRange": [
        0,
        10
      ],
      "yRange": [
        0,
        10
      ],
      "axisKeys": {
        "x": "main:x",
        "y": "main:y"
      }
    }
  ],
  "labels": [
    {
      "key": "main:y",
      "default": "Average price level",
      "hint": "Vertical axis",
      "panel": "main"
    },
    {
      "key": "main:x",
      "default": "Real GDP",
      "hint": "Horizontal axis",
      "panel": "main"
    },
    {
      "key": "main.lras1",
      "default": "LRAS_1",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.lras2",
      "default": "LRAS_2",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.ad",
      "default": "AD",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.sras1",
      "default": "SRAS_1",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.sras2",
      "default": "SRAS_2",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.e1:y",
      "default": "PL_1",
      "hint": "Vertical-axis value",
      "panel": "main"
    },
    {
      "key": "main.e1:x",
      "default": "Y_1",
      "hint": "Horizontal-axis value",
      "panel": "main"
    },
    {
      "key": "main.e2:y",
      "default": "PL_2",
      "hint": "Vertical-axis value",
      "panel": "main"
    },
    {
      "key": "main.e2:x",
      "default": "Y_2",
      "hint": "Horizontal-axis value",
      "panel": "main"
    }
  ],
  "elements": [
    {
      "key": "main.lras1",
      "kind": "curve",
      "label": "LRAS_1"
    },
    {
      "key": "main.lras2",
      "kind": "curve",
      "label": "LRAS_2"
    },
    {
      "key": "main.ad",
      "kind": "curve",
      "label": "AD"
    },
    {
      "key": "main.sras1",
      "kind": "curve",
      "label": "SRAS_1"
    },
    {
      "key": "main.sras2",
      "kind": "curve",
      "label": "SRAS_2"
    },
    {
      "key": "main.shift",
      "kind": "line"
    },
    {
      "key": "main.e1",
      "kind": "point"
    },
    {
      "key": "main.e2",
      "kind": "point"
    }
  ],
  "stats": null,
  "example": {
    "template": "deflation",
    "params": {
      "type": "good",
      "lras": true,
      "shift": 1.8
    }
  }
}