{
 "openapi": "3.1.0",
 "info": {
  "title": "Learning path progress (HRMS)",
  "version": "20261030b",
  "description": "Read and maintain learning path progress records (hr.learning_path_progress)."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {
   "learning-path-progress": {
    "type": "object",
    "required": [],
    "properties": {
     "id": {
      "type": "string",
      "format": "uuid",
      "description": "Id",
      "readOnly": true
     },
     "org_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org id",
      "readOnly": true
     },
     "path_id": {
      "type": "string",
      "format": "uuid",
      "description": "Path id",
      "readOnly": true
     },
     "employee_id": {
      "type": "string",
      "format": "uuid",
      "description": "Employee id",
      "readOnly": true
     },
     "assigned_on": {
      "type": "string",
      "format": "date",
      "description": "Assigned on",
      "readOnly": true
     },
     "due_date": {
      "type": "string",
      "format": "date",
      "description": "Due date",
      "readOnly": true
     },
     "status": {
      "type": "string",
      "description": "Status",
      "readOnly": true
     },
     "completed_on": {
      "type": "string",
      "format": "date",
      "description": "Completed on",
      "readOnly": true
     },
     "source": {
      "type": "string",
      "description": "Source",
      "readOnly": true
     },
     "path_code": {
      "type": "string",
      "description": "Path code",
      "readOnly": true
     },
     "path_name": {
      "type": "string",
      "description": "Path name",
      "readOnly": true
     },
     "is_mandatory": {
      "type": "boolean",
      "description": "Is mandatory",
      "readOnly": true
     },
     "employee_no": {
      "type": "string",
      "description": "Employee no",
      "readOnly": true
     },
     "employee_name": {
      "type": "string",
      "description": "Employee name",
      "readOnly": true
     },
     "org_unit_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org unit id",
      "readOnly": true
     },
     "courses_required": {
      "type": "integer",
      "description": "Courses required",
      "readOnly": true
     },
     "courses_completed": {
      "type": "integer",
      "description": "Courses completed",
      "readOnly": true
     },
     "completion_pct": {
      "type": "string",
      "format": "decimal",
      "description": "Completion pct",
      "readOnly": true
     }
    }
   }
  }
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/hrms/learning-path-progress": {
   "get": {
    "summary": "list learning-path-progress",
    "operationId": "list_learning_path_progress_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "post": {
    "summary": "Post learning path progress",
    "operationId": "action_learning_path_progress_1_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/learning-path-progress/{id}": {
   "get": {
    "summary": "get learning-path-progress",
    "operationId": "get_learning_path_progress_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "put": {
    "summary": "Put learning path progress",
    "operationId": "action_learning_path_progress_1_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "delete": {
    "summary": "Delete learning path progress",
    "operationId": "action_learning_path_progress_2_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/learning-path-progress/{id}/copy": {
   "post": {
    "summary": "Copy",
    "operationId": "action_learning_path_progress_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"
     }
    }
   }
  }
 }
}