{
 "openapi": "3.1.0",
 "info": {
  "title": "Check-in Status (HRMS)",
  "version": "20261030b",
  "description": "Each goal’s check-in clock: the cycle’s cadence, the last check-in, when the next is due, and which are overdue."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {
   "goal-checkin-status": {
    "type": "object",
    "required": [],
    "properties": {
     "id": {
      "type": "string",
      "format": "uuid",
      "description": "Id",
      "readOnly": true
     },
     "org_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org id",
      "readOnly": true
     },
     "employee_id": {
      "type": "string",
      "format": "uuid",
      "description": "Employee id",
      "readOnly": true
     },
     "cycle_id": {
      "type": "string",
      "format": "uuid",
      "description": "Cycle id",
      "readOnly": true
     },
     "title": {
      "type": "string",
      "description": "Title",
      "readOnly": true
     },
     "status": {
      "type": "string",
      "description": "Status",
      "readOnly": true
     },
     "progress_pct": {
      "type": "string",
      "format": "decimal",
      "description": "Progress pct",
      "readOnly": true
     },
     "due_date": {
      "type": "string",
      "format": "date",
      "description": "Due date",
      "readOnly": true
     },
     "goal_level": {
      "type": "string",
      "description": "Goal level",
      "readOnly": true
     },
     "parent_goal_id": {
      "type": "string",
      "format": "uuid",
      "description": "Parent goal id",
      "readOnly": true
     },
     "last_checkin_on": {
      "type": "string",
      "format": "date",
      "description": "Last checkin on",
      "readOnly": true
     },
     "cycle_name": {
      "type": "string",
      "description": "Cycle name",
      "readOnly": true
     },
     "checkin_cadence": {
      "type": "string",
      "description": "Checkin cadence",
      "readOnly": true
     },
     "checkin_grace_days": {
      "type": "integer",
      "description": "Checkin grace days",
      "readOnly": true
     },
     "employee_no": {
      "type": "string",
      "description": "Employee no",
      "readOnly": true
     },
     "employee_name": {
      "type": "string",
      "description": "Employee name",
      "readOnly": true
     },
     "manager_id": {
      "type": "string",
      "format": "uuid",
      "description": "Manager id",
      "readOnly": true
     },
     "org_unit_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org unit id",
      "readOnly": true
     },
     "checkins": {
      "type": "integer",
      "description": "Checkins",
      "readOnly": true
     },
     "checkins_90d": {
      "type": "integer",
      "description": "Checkins 90d",
      "readOnly": true
     },
     "cadence_days": {
      "type": "integer",
      "description": "Cadence days",
      "readOnly": true
     },
     "next_checkin_due": {
      "type": "string",
      "format": "date",
      "description": "Next checkin due",
      "readOnly": true
     },
     "checkin_overdue": {
      "type": "boolean",
      "description": "Checkin overdue",
      "readOnly": true
     }
    }
   }
  }
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/hrms/goal-checkin-status": {
   "get": {
    "summary": "list goal-checkin-status",
    "operationId": "list_goal_checkin_status_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "post": {
    "summary": "Post check-in status",
    "operationId": "action_goal_checkin_status_1_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/goal-checkin-status/{id}": {
   "get": {
    "summary": "get goal-checkin-status",
    "operationId": "get_goal_checkin_status_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "put": {
    "summary": "Put check-in status",
    "operationId": "action_goal_checkin_status_1_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "delete": {
    "summary": "Delete check-in status",
    "operationId": "action_goal_checkin_status_2_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/goal-checkin-status/{id}/copy": {
   "post": {
    "summary": "Copy",
    "operationId": "action_goal_checkin_status_0_6",
    "description": "Body keys: overrides, preview, withLines",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}