{
  "periods": [
    "2026-08",
    "2026-09"
  ],
  "stores": {
    "A": "検証店A",
    "B": "検証店B"
  },
  "ingredients": {
    "P": "麺",
    "C": "チーズ",
    "O": "ソース"
  },
  "menus": {
    "M01": "検証用パスタ",
    "M02": "検証用グラタン"
  },
  "prices": [
    {
      "id": "2026-08-P",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "ingredient": "P",
      "yen_per_kg": 200
    },
    {
      "id": "2026-08-C",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "ingredient": "C",
      "yen_per_kg": 1000
    },
    {
      "id": "2026-08-O",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "ingredient": "O",
      "yen_per_kg": 300
    },
    {
      "id": "2026-09-P",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "ingredient": "P",
      "yen_per_kg": 240
    },
    {
      "id": "2026-09-C",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "ingredient": "C",
      "yen_per_kg": 1150
    },
    {
      "id": "2026-09-O",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "ingredient": "O",
      "yen_per_kg": 300
    },
    {
      "id": "2026-09-C",
      "period": "2026-09",
      "revision": 2,
      "batch": 1,
      "ingredient": "C",
      "yen_per_kg": 1200
    }
  ],
  "recipes": [
    {
      "id": "2026-08-M01-P",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "menu": "M01",
      "ingredient": "P",
      "quantity": {
        "value": "100",
        "unit": "g"
      }
    },
    {
      "id": "2026-08-M01-C",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "menu": "M01",
      "ingredient": "C",
      "quantity": {
        "value": "20",
        "unit": "g"
      }
    },
    {
      "id": "2026-08-M01-O",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "menu": "M01",
      "ingredient": "O",
      "quantity": {
        "value": "80",
        "unit": "g"
      }
    },
    {
      "id": "2026-08-M02-P",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "menu": "M02",
      "ingredient": "P",
      "quantity": {
        "value": "50",
        "unit": "g"
      }
    },
    {
      "id": "2026-08-M02-C",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "menu": "M02",
      "ingredient": "C",
      "quantity": {
        "value": "40",
        "unit": "g"
      }
    },
    {
      "id": "2026-08-M02-O",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "menu": "M02",
      "ingredient": "O",
      "quantity": {
        "value": "100",
        "unit": "g"
      }
    },
    {
      "id": "2026-09-M01-P",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "menu": "M01",
      "ingredient": "P",
      "quantity": {
        "value": "100",
        "unit": "g"
      }
    },
    {
      "id": "2026-09-M01-C",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "menu": "M01",
      "ingredient": "C",
      "quantity": {
        "value": "20",
        "unit": "g"
      }
    },
    {
      "id": "2026-09-M01-O",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "menu": "M01",
      "ingredient": "O",
      "quantity": {
        "value": "80",
        "unit": "g"
      }
    },
    {
      "id": "2026-09-M02-P",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "menu": "M02",
      "ingredient": "P",
      "quantity": {
        "value": "50",
        "unit": "g"
      }
    },
    {
      "id": "2026-09-M02-C",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "menu": "M02",
      "ingredient": "C",
      "quantity": {
        "value": "40",
        "unit": "g"
      }
    },
    {
      "id": "2026-09-M02-O",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "menu": "M02",
      "ingredient": "O",
      "quantity": {
        "value": "100",
        "unit": "g"
      }
    },
    {
      "id": "2026-09-M02-C",
      "period": "2026-09",
      "revision": 2,
      "batch": 1,
      "menu": "M02",
      "ingredient": "C",
      "quantity": {
        "value": "50",
        "unit": "g"
      }
    }
  ],
  "sales": [
    {
      "id": "A-2026-08-M01",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "menu": "M01",
      "count": 100,
      "state": "active"
    },
    {
      "id": "A-2026-08-M02",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "menu": "M02",
      "count": 50,
      "state": "active"
    },
    {
      "id": "B-2026-08-M01",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "menu": "M01",
      "count": 60,
      "state": "active"
    },
    {
      "id": "B-2026-08-M02",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "menu": "M02",
      "count": 40,
      "state": "active"
    },
    {
      "id": "A-2026-09-M01",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "menu": "M01",
      "count": 100,
      "state": "active"
    },
    {
      "id": "A-2026-09-M02",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "menu": "M02",
      "count": 100,
      "state": "active"
    },
    {
      "id": "B-2026-09-M01",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "menu": "M01",
      "count": 50,
      "state": "active"
    },
    {
      "id": "B-2026-09-M02",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "menu": "M02",
      "count": 50,
      "state": "active"
    },
    {
      "id": "A-2026-08-M01",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "menu": "M01",
      "count": 100,
      "state": "active"
    },
    {
      "id": "CANCELLED-SALE",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "menu": "M01",
      "count": 99,
      "state": "cancelled"
    }
  ],
  "stocks": [
    {
      "id": "A-2026-08-P",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "P",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "12.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "A-2026-08-C",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "C",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "3.5",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "A-2026-08-O",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "O",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "13.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "B-2026-08-P",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "P",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "7.5",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "B-2026-08-C",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "C",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "2.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "B-2026-08-O",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "O",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "8.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "A-2026-09-P",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "P",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "16.5",
        "unit": "kg"
      },
      "returned": {
        "value": "1000",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "A-2026-09-C",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "C",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "7.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "A-2026-09-O",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "O",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "19.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "B-2026-09-P",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "P",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "6.3",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "B-2026-09-C",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "C",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "3.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": null,
        "unit": "kg"
      }
    },
    {
      "id": "B-2026-09-O",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "O",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "9.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "B-2026-09-C",
      "period": "2026-09",
      "revision": 2,
      "batch": 2,
      "store": "B",
      "ingredient": "C",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "3.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "ORPHAN-CONFLICT",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "UNKNOWN",
      "ingredient": "P",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "12.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "2.0",
        "unit": "kg"
      }
    },
    {
      "id": "ORPHAN-CONFLICT",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "UNKNOWN",
      "ingredient": "P",
      "opening": {
        "value": "3.0",
        "unit": "kg"
      },
      "received": {
        "value": "12.0",
        "unit": "kg"
      },
      "returned": {
        "value": "0",
        "unit": "g"
      },
      "closing": {
        "value": "9",
        "unit": "kg"
      }
    }
  ],
  "waste": [
    {
      "id": "A-2026-08-P",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "P",
      "quantity": {
        "value": "200",
        "unit": "g"
      }
    },
    {
      "id": "A-2026-08-C",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "C",
      "quantity": {
        "value": "200",
        "unit": "g"
      }
    },
    {
      "id": "A-2026-08-O",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "O",
      "quantity": {
        "value": "500",
        "unit": "g"
      }
    },
    {
      "id": "B-2026-08-P",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "P",
      "quantity": {
        "value": "100",
        "unit": "g"
      }
    },
    {
      "id": "B-2026-08-C",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "C",
      "quantity": {
        "value": "100",
        "unit": "g"
      }
    },
    {
      "id": "B-2026-08-O",
      "period": "2026-08",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "O",
      "quantity": {
        "value": "100",
        "unit": "g"
      }
    },
    {
      "id": "A-2026-09-P",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "P",
      "quantity": {
        "value": "400",
        "unit": "g"
      }
    },
    {
      "id": "A-2026-09-C",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "C",
      "quantity": {
        "value": "300",
        "unit": "g"
      }
    },
    {
      "id": "A-2026-09-O",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "A",
      "ingredient": "O",
      "quantity": {
        "value": "1000",
        "unit": "g"
      }
    },
    {
      "id": "B-2026-09-P",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "P",
      "quantity": {
        "value": "200",
        "unit": "g"
      }
    },
    {
      "id": "B-2026-09-C",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "C",
      "quantity": {
        "value": "100",
        "unit": "g"
      }
    },
    {
      "id": "B-2026-09-O",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "store": "B",
      "ingredient": "O",
      "quantity": {
        "value": "500",
        "unit": "g"
      }
    }
  ],
  "transfers": [
    {
      "id": "T01",
      "period": "2026-09",
      "revision": 1,
      "batch": 1,
      "from_store": "A",
      "to_store": "B",
      "ingredient": "P",
      "quantity": {
        "value": "500",
        "unit": "g"
      }
    }
  ]
}
