|
2272 | 2272 | }; |
2273 | 2273 | defs["Employment"] = { |
2274 | 2274 | "title" : "", |
2275 | | - "required" : [ "EmployeeNumber", "NICategories", "PayrollCalendarID", "StartDate" ], |
| 2275 | + "required" : [ "employeeNumber", "niCategories", "payrollCalendarID", "startDate" ], |
2276 | 2276 | "type" : "object", |
2277 | 2277 | "properties" : { |
2278 | 2278 | "payrollCalendarID" : { |
@@ -4558,7 +4558,7 @@ <h2>Parameters</h2> |
4558 | 4558 | "title" : "Mr", |
4559 | 4559 | "firstName" : "Mike", |
4560 | 4560 | "lastName" : "Fancy", |
4561 | | - "dateOfBirth" : "1999-01-01T00:00:00", |
| 4561 | + "dateOfBirth" : "1999-01-01T00:00:00Z", |
4562 | 4562 | "gender" : "M", |
4563 | 4563 | "email" : "mike@starkindustries.com", |
4564 | 4564 | "isOffPayrollWorker" : false, |
@@ -6003,7 +6003,16 @@ <h2>Parameters</h2> |
6003 | 6003 | "schema" : { |
6004 | 6004 | "$ref" : "#/components/schemas/Employment" |
6005 | 6005 | }, |
6006 | | - "example" : "{ \"PayrollCalendarID\": \"216d80e6-af55-47b1-b718-9457c3f5d2fe\", \"StartDate\": \"2020-04-01\", \"NICategories\": [ { \"NICategory\": \"A\", \"StartDate\": \"2020-05-01\" } ], \"EmployeeNumber\": \"123ABC\" }" |
| 6006 | + "example" : { |
| 6007 | + "payrollCalendarID" : "cdfb8371-0b21-4b8a-8903-1024df6c391e", |
| 6008 | + "startDate" : "2024-04-01", |
| 6009 | + "niCategories" : [ { |
| 6010 | + "niCategory" : "I", |
| 6011 | + "startDate" : "2020-05-01", |
| 6012 | + "workplacePostcode" : "SW1A 1AA" |
| 6013 | + } ], |
| 6014 | + "employeeNumber" : "123ABC" |
| 6015 | + } |
6007 | 6016 | } |
6008 | 6017 | }, |
6009 | 6018 | "required" : true |
@@ -12723,7 +12732,7 @@ <h2>Parameters</h2> |
12723 | 12732 | "title" : "Mr.", |
12724 | 12733 | "firstName" : "TestDataUK", |
12725 | 12734 | "lastName" : "Tester", |
12726 | | - "dateOfBirth" : "1992-11-22T00:00:00", |
| 12735 | + "dateOfBirth" : "1992-11-22T00:00:00Z", |
12727 | 12736 | "gender" : "M", |
12728 | 12737 | "email" : "tester@gmail.com", |
12729 | 12738 | "phoneNumber" : "0400123456", |
|
0 commit comments