{
 "openapi": "3.1.0",
 "info": {
  "title": "Comp cycle status (HRMS)",
  "version": "20261030b",
  "description": "Read and maintain comp cycle status records (hr.comp_cycle_status)."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {
   "comp-cycle-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
     },
     "code": {
      "type": "string",
      "description": "Code",
      "readOnly": true
     },
     "name": {
      "type": "string",
      "description": "Name",
      "readOnly": true
     },
     "cycle_type": {
      "type": "string",
      "description": "Cycle type",
      "readOnly": true
     },
     "plan_year": {
      "type": "integer",
      "description": "Plan year",
      "readOnly": true
     },
     "effective_date": {
      "type": "string",
      "format": "date",
      "description": "Effective date",
      "readOnly": true
     },
     "status": {
      "type": "string",
      "description": "Status",
      "readOnly": true
     },
     "budget_percent": {
      "type": "string",
      "format": "decimal",
      "description": "Budget percent",
      "readOnly": true
     },
     "budget_amount": {
      "type": "string",
      "format": "decimal",
      "description": "Budget amount",
      "readOnly": true
     },
     "eligible_pay_bill": {
      "type": "string",
      "format": "decimal",
      "description": "Eligible pay bill",
      "readOnly": true
     },
     "proposed": {
      "type": "string",
      "format": "decimal",
      "description": "Proposed",
      "readOnly": true
     },
     "approved": {
      "type": "string",
      "format": "decimal",
      "description": "Approved",
      "readOnly": true
     },
     "remaining": {
      "type": "string",
      "format": "decimal",
      "description": "Remaining",
      "readOnly": true
     },
     "awards": {
      "type": "integer",
      "description": "Awards",
      "readOnly": true
     },
     "above_guideline": {
      "type": "integer",
      "description": "Above guideline",
      "readOnly": true
     },
     "standing": {
      "type": "string",
      "description": "Standing",
      "readOnly": true
     }
    }
   }
  }
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/hrms/comp-cycle-status": {
   "get": {
    "summary": "list comp-cycle-status",
    "operationId": "list_comp_cycle_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 comp cycle status",
    "operationId": "action_comp_cycle_status_1_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/comp-cycle-status/{id}": {
   "get": {
    "summary": "get comp-cycle-status",
    "operationId": "get_comp_cycle_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 comp cycle status",
    "operationId": "action_comp_cycle_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 comp cycle status",
    "operationId": "action_comp_cycle_status_2_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/comp-cycle-status/{id}/copy": {
   "post": {
    "summary": "Copy",
    "operationId": "action_comp_cycle_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"
     }
    }
   }
  }
 }
}