Rotageek · Schema

Rotageek.AspNetCore.PublicApi.Models.CreateLeaveRequestModel

Container for leave request creation object

CompanyWorkforce ManagementSchedulingAI InsightsHR Integration

Properties

Name Type Description
start string Leave request start date
end string Leave request end date
startAllDay boolean Indicates whether leave request start day is a whole day
endAllDay boolean Indicates whether leave request end day is a whole day
leaveTypeId string Leave type id of this leave request
status object
leaveDays arraynull Duration of each leave day in hours. If a day is not specified then it will be treated as having a duration of 0.
notes stringnull Leave request notes
response stringnull Leave request response from manager
id stringnull New unique leave request id (max length: 36)
View JSON Schema on GitHub

JSON Schema

rotageek-rotageek-asp-net-core-public-api-models-create-leave-request-model-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rotageek/json-schema/rotageek-rotageek-asp-net-core-public-api-models-create-leave-request-model-schema.json",
  "title": "Rotageek.AspNetCore.PublicApi.Models.CreateLeaveRequestModel",
  "description": "Container for leave request creation object",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rotageek-leave-api-openapi.yml#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.CreateLeaveRequestModel",
  "required": [
    "leaveTypeId"
  ],
  "type": "object",
  "properties": {
    "start": {
      "type": "string",
      "description": "Leave request start date",
      "format": "date-time"
    },
    "end": {
      "type": "string",
      "description": "Leave request end date",
      "format": "date-time"
    },
    "startAllDay": {
      "type": "boolean",
      "description": "Indicates whether leave request start day is a whole day"
    },
    "endAllDay": {
      "type": "boolean",
      "description": "Indicates whether leave request end day is a whole day"
    },
    "leaveTypeId": {
      "minLength": 1,
      "type": "string",
      "description": "Leave type id of this leave request"
    },
    "status": {
      "$ref": "#/$defs/Rotageek.AspNetCore.PublicApi.Models.LeaveRequestStatus"
    },
    "leaveDays": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/Rotageek.AspNetCore.PublicApi.Models.LeaveDayModel"
      },
      "description": "Duration of each leave day in hours. If a day is not specified then it will be treated as having a duration of 0."
    },
    "notes": {
      "type": [
        "string",
        "null"
      ],
      "description": "Leave request notes"
    },
    "response": {
      "type": [
        "string",
        "null"
      ],
      "description": "Leave request response from manager"
    },
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "New unique leave request id (max length: 36)"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Rotageek.AspNetCore.PublicApi.Models.LeaveDayModel": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "description": "Leave day date",
          "format": "date-time"
        },
        "duration": {
          "type": "number",
          "description": "Leave duration in this leave day",
          "format": "float"
        }
      },
      "additionalProperties": false,
      "description": "Container for leave request day response object"
    },
    "Rotageek.AspNetCore.PublicApi.Models.LeaveRequestStatus": {
      "enum": [
        "Outstanding",
        "Approved",
        "Rejected",
        "Cancelled"
      ],
      "type": "string",
      "description": "Describes the leave request status"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/rotageek-rotageek-asp-net-core-public-api-models-create-leave-request-model"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.