{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/weight-forecast-com/json-schema/weight-forecast-com-weight-entry-input-schema.json",
  "title": "WeightEntryInput",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/weight-forecast-com-openapi.yaml#/components/schemas/WeightEntryInput",
  "allOf": [
    {
      "$ref": "#/$defs/WeightEntry"
    }
  ],
  "required": [
    "date"
  ],
  "$defs": {
    "WeightEntry": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "format": "date"
        },
        "morningWeight": {
          "type": [
            "number",
            "null"
          ]
        },
        "eveningWeight": {
          "type": [
            "number",
            "null"
          ]
        },
        "calories": {
          "type": [
            "number",
            "null"
          ]
        },
        "workout": {
          "type": [
            "string",
            "null"
          ]
        },
        "notes": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}