ministryofjustice/atet

View on GitHub
single_claimant_payload

Summary

Maintainability
Test Coverage
{
   "uuid": "{{$guid}}",
   "command": "SerialSequence",
   "data":    [
      {
         "uuid": "{{$guid}}",
         "command": "BuildClaim",
         "data":
         {
            "reference": "332000027200",
            "submission_reference": "XY91-MYWP",
            "submission_channel": "Web",
            "case_type": "Single",
            "jurisdiction": 2,
            "date_of_receipt": "2019-08-12T15:01:34.837+01:00",
            "other_known_claimants": true,
            "other_known_claimant_names": "James Blunt, Punky Brewsters, Shirly Temple",
            "is_unfair_dismissal": true,
            "discrimination_claims":
            [
               "sex_including_equal_pay",
               "disability",
               "race",
               "age",
               "pregnancy_or_maternity",
               "religion_or_belief",
               "sexual_orientation",
               "marriage_or_civil_partnership",
               "gender_reassignment"
            ],
            "pay_claims":
            [
               "redundancy",
               "notice",
               "holiday",
               "arrears",
               "other"
            ],
            "desired_outcomes":
            [
               "compensation_only",
               "tribunal_recommendation",
               "reinstated_employment_and_compensation",
               "new_employment_and_compensation"
            ],
            "other_claim_details": "Give a very short description of your claim; you will have the opportunity to add more detail on the next page",
            "claim_details": "Full text version of claim",
            "other_outcome": "I would like 50,000 GBP due to the stress this caused me",
            "send_claim_to_whistleblowing_entity": true,
            "employment_details":
            {
               "start_date": "2009-11-18",
               "end_date": "",
               "notice_period_end_date": "",
               "job_title": "politician",
               "average_hours_worked_per_week": 38.0,
               "gross_pay": 3000,
               "gross_pay_period_type": "weekly",
               "net_pay": 2000,
               "net_pay_period_type": "monthly",
               "worked_notice_period_or_paid_in_lieu": "",
               "notice_pay_period_type": "",
               "notice_pay_period_count": "",
               "enrolled_in_pension_scheme": true,
               "benefit_details": "Company car, private health care",
               "found_new_job": "",
               "new_job_start_date": "",
               "new_job_gross_pay": ""
            }
         }
      },
      {
         "uuid": "{{$guid}}",
         "command": "BuildPrimaryClaimant",
         "data":
         {
            "title": "Ms",
            "first_name": "CCD SIVVOY TESTING",
            "last_name": "SIVVOY",
            "address_attributes":
            {
               "building": "52030",
               "street": "Stacey Port",
               "locality": "London",
               "county": "Manchester",
               "post_code": "SW1H 9AJ",
               "country": "United Kingdom"
            },
            "address_telephone_number": "01234 567890",
            "mobile_number": "01234 098765",
            "fax_number": "",
            "email_address": "sivvoy.taing@hmcts.net",
            "contact_preference": "Post",
            "gender": "N/K",
            "date_of_birth": "1982-11-21",
            "special_needs": "My special needs are as follows"
         }
      },
      {
         "uuid": "{{$guid}}",
         "command": "BuildPrimaryRespondent",
         "data":
         {
            "name": "Batz, Dietrich and Morar",
            "contact": "",
            "address_attributes":
            {
               "building": "8722",
               "street": "Mei Valleys",
               "locality": "London",
               "county": "Greater London",
               "post_code": "SW1H 9QR"
            },
            "work_address_attributes":
            {
               "building": "101",
               "street": "Petty France",
               "locality": "London",
               "county": "Greater London",
               "post_code": "WD18 7SQ"
            },
            "address_telephone_number": "02222 321654",
            "work_address_telephone_number": "03333 423554",
            "alt_phone_number": "03333 423554",
            "acas_certificate_number": "AC123456/78/90",
            "acas_exemption_code": "",
            "dx_number": "",
            "contact_preference": "",
            "email_address": "",
            "fax_number": "",
            "organisation_employ_gb": "",
            "organisation_more_than_one_site": "",
            "employment_at_site_number": "",
            "disability": "",
            "disability_information": ""
         }
      },
      {
         "uuid": "{{$guid}}",
         "command": "BuildPrimaryRepresentative",
         "data":
         {
            "name": "Rosalba Goldner",
            "organisation_name": "envisioneer mission-critical metrics",
            "address_attributes":
            {
               "building": "106",
               "street": "Mayfair",
               "locality": "London",
               "county": "Greater London",
               "post_code": "SW1H 9PP"
            },
            "address_telephone_number": "01111 123456",
            "mobile_number": "02222 654321",
            "representative_type": "Solicitor",
            "dx_number": "dx1234567890",
            "reference": "",
            "contact_preference": "",
            "email_address": "sivvoy.taing@hmcts.net",
            "fax_number": ""
         }
      }
   ]
}