{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/getrhythms-ai/main/json-schema/getrhythms-ai-post-rest-v2-checkins-request-schema.json",
  "title": "PostRestV2CheckinsRequest",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/getrhythms-ai-openapi-generated.yml#/components/schemas/PostRestV2CheckinsRequest",
  "type": "object",
  "properties": {
    "goal_uuid": {
      "type": "string",
      "description": "UUID of the goal being checked in."
    },
    "timezone_offset": {
      "type": "number",
      "description": "Offset from UTC in minutes."
    },
    "value": {
      "type": "number",
      "description": "Check-in value."
    },
    "status": {
      "type": "string",
      "description": "Check-in status."
    },
    "note": {
      "type": "string",
      "description": "Check-in note."
    },
    "checkin_date": {
      "type": "string",
      "description": "YYYY-MM-DD."
    },
    "score": {
      "type": "number",
      "description": "Score, stored when status is closed."
    },
    "progress_mode": {
      "type": "string",
      "description": "Goal's progress mode."
    },
    "labels": {
      "type": "array",
      "description": "Label names to apply."
    }
  },
  "required": [
    "goal_uuid",
    "timezone_offset"
  ]
}