{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/deputy/main/json-schema/deputy-addanemployee-request-schema.json", "title": "AddanemployeeRequest", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/deputy-deputy-openapi.yml#/components/schemas/AddanemployeeRequest", "required": [ "strFirstName", "strLastName", "intCompanyId" ], "type": "object", "properties": { "strFirstName": { "type": "string", "description": "First name of employee" }, "strLastName": { "type": "string", "description": "Last name of employee" }, "intCompanyId": { "type": "integer", "format": "int32", "description": "Record id of location to add employee to" }, "intGender": { "type": "integer", "format": "int32", "description": "0 - Prefer not to say, 1 - Male, 2 - Female, 3 - Non-Binary" }, "strCountryCode": { "type": "string", "description": "The country code for the employees address. This can be found in country resource API" }, "strDob": { "type": "string" }, "strStartDate": { "type": "string", "description": "Employee start date. YYYY-MM-DD" }, "strMobilePhone": { "type": "string", "description": "Employee mobile phone number" }, "strPayrollId": { "type": "string", "description": "Payroll id to set for the employee" }, "fltWeekDayRate": { "type": "integer", "format": "int32" } } }