Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

https://github.com/Health-Education-England/TIS-RabbitMQ/blob/master/common/schemas/esr/porSchema.json

Properties


Delivery mode:2

...

{"positionID": 123456789123456, T_POR02 Position ID

"changeDeleteIndicator": "D", T_POR04 Delete/Change Indicator

"positionNumber": 1234567890, T_POR05 Position Number

"positionTitle": "test", T_POR06 Position Title

"deaneryNumber": "NTH/RTFED/040/STR/210", T_POR07 Deanery Number

"managingOffice": "Northern", T_POR08 Managing Deanery/HEE Local Office(former Deanery Body)

"odsCode": "CodingCode", T_POR10 ODS Employer Code

"hostLeadIndicator": "Host Employer", T_POR09 Host/Lead Employer Indicator

"employingOrgVPDCode": 0234, T_POR11 Employing Organisation VPD Code

"esrOrganisation": "Happy Org", T_POR12 ESR Organisation

"esrLocation": "there"}


Body Mandatory Fields Example

...

"deaneryNumber": "NTH/RTFED/040/STR/210"}

 

 

Schema for body

...

"

...

}

...

{

    "$schema": "http://json-schema.org/draft-07/schema#",

 

...

 

...

 "properties": {

"positionID": {"type": "integer", "minLength":1, "maxLength": 15},

"changeDeleteIndicator": {"type": "string", "enum":["C","D"]},

"positionNumber": {"type": "integer", "maxLength": 10},

"positionTitle": {"type": "string", "maxLength": 60},

"deaneryNumber": {"type": "string", "minLength":1, "maxLength": 30},

"managingOffice": {"type": "string", "maxLength": 10},

...