[
  {
    "kind": "avoidable",
    "cases": [
      {
        "id": "A",
        "label": "Contribución 80, costo evitable 40",
        "revenue": 200,
        "variable": 120,
        "direct": 40,
        "avoidable": [
          40
        ]
      },
      {
        "id": "B",
        "label": "Contribución 20, costo evitable 40",
        "revenue": 140,
        "variable": 120,
        "direct": 40,
        "avoidable": [
          40
        ]
      },
      {
        "id": "C",
        "label": "Contribución 40, costo evitable 40",
        "revenue": 160,
        "variable": 120,
        "direct": 40,
        "avoidable": [
          40
        ]
      },
      {
        "id": "D",
        "label": "Costo directo 100, parte evitable sin confirmar",
        "revenue": 200,
        "variable": 120,
        "direct": 100,
        "avoidable": [
          0,
          40,
          80,
          100
        ]
      }
    ],
    "other": {
      "revenue": 300,
      "variable": 150,
      "direct": 30
    },
    "common": 120
  },
  {
    "kind": "paired",
    "cases": [
      {
        "id": "A",
        "label": "Cada caso baja dos minutos",
        "rows": [
          {
            "id": "P1",
            "before": 10,
            "after": 8
          },
          {
            "id": "P2",
            "before": 20,
            "after": 18
          },
          {
            "id": "P3",
            "before": 30,
            "after": 28
          }
        ]
      },
      {
        "id": "B",
        "label": "Dos suben ocho y uno baja veintidós",
        "rows": [
          {
            "id": "P1",
            "before": 10,
            "after": 18
          },
          {
            "id": "P2",
            "before": 20,
            "after": 28
          },
          {
            "id": "P3",
            "before": 30,
            "after": 8
          }
        ]
      },
      {
        "id": "C",
        "label": "Dos quedan iguales y uno baja seis",
        "rows": [
          {
            "id": "P1",
            "before": 10,
            "after": 10
          },
          {
            "id": "P2",
            "before": 20,
            "after": 20
          },
          {
            "id": "P3",
            "before": 30,
            "after": 24
          }
        ]
      },
      {
        "id": "D",
        "label": "Falta el después de P3",
        "rows": [
          {
            "id": "P1",
            "before": 10,
            "after": 8
          },
          {
            "id": "P2",
            "before": 20,
            "after": 28
          },
          {
            "id": "P3",
            "before": 30,
            "after": null
          }
        ]
      }
    ]
  }
]
