Skip to content

Instantly share code, notes, and snippets.

@JonDaniel
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JonDaniel/b17b5dec5d722d23c33d to your computer and use it in GitHub Desktop.
Save JonDaniel/b17b5dec5d722d23c33d to your computer and use it in GitHub Desktop.
Tamworth Move Out Form

Tamworth Move Out Form

There is a rough draft AEK screen with reference 4794 (it's pretty rough)

General Parameters
formName: TBC_MovingOut
alertOnClose "N"
districtCode: "3445"
eventCode: "800113"
eForm: "N"

(additional parameters from personal details and address defined in attached process spec)

FormData
FormName: TBC_MovingOut
FormKey: TBC_MovingOut
FormField [defined in JSON below]
{  
   "FormField":[  
      {  
         "[[TBD]] Value":[  // **Free Text**

         ],
         "Key":"Solicitor",
         "Label":"Name of Solicitor / Estate Agent?",
         "Type":"string"
      },
      {  
         "[[TBD]] Value":"Yes"  //  **Possible values 'Yes' 'No'**,
         "Key":"Council",
         "Label":"If new address is in Tamworth are you responsible for Council Tax there?",
         "Type":"string"
      },
      {  
         "[[TBD]] Value":"No" // **Possible values 'Yes' 'No'**,
         "Key":"Furniture",
         "Label":"Will the property remain furnished?",
         "Type":"string"
      },
      {  
         "[[TBD]] Value":"Yes" // **Possible values 'Yes' 'No'**,
         "Key":"Everyone",
         "Label":"Is everyone leaving?",
         "Type":"string"
      },
      {  
         "[[TBD]] Value":"2014/12/03 00:00:00" //  **Date of format YYYY/MM/DD hh:mm:ss**,
         "Key":"Dateunfurnished",
         "Label":"Date unfurnished?",
         "Type":"date",
         "Format":"date"
      },
      {  
         "[[TBD]] Value":"24 Browning Close Coton Green  Tamworth  B79 8NB"//  **Free Text**,
         "Key":"Previousadd",
         "Label":"Address of Property Vacated:",
         "Type":"string"
      },
      {  
         "[[TBD]] Value":"109 Tamworth Road  Two Gates  Tamworth  B77 1EN" // **Free text**,
         "Key":"Newaddress",
         "Label":"Your new or forwarding address for final Bill",
         "Type":"string"
      },
      {  
         "[[TBD]] Value":"Kirsty Horsnell Mark Horsnell"//  **Free text**,
         "Key":"Names",
         "Label":"Name of Person(s) vacating",
         "Type":"string"
      },
      {  
         "[[TBD]] Value":"true" // **Possible values true/false**,
         "Key":"Declare",
         "Label":"I declare the information I have given is complete and correct to the best of my knowledge.",
         "Type":"boolean"
      },
      {  
         "[[TBD]] Value":"2014/12/03 00:00:00" // **Date of format YYYY/MM/DD hh:mm:ss**,
         "Key":"Dateoccupation",
         "Label":"Date of move?",
         "Type":"date",
         "Format":"date"
      },
      {  
         "[[TBD]] Value":"101464194" // **Free text**,
         "Key":"CTReference",
         "Label":"Council Tax Reference Number (If known)",
         "Type":"string"
      },
      {  
         "[[TBD]] Value":"Tenant" //  **Possible values: 'Owner', 'Tenant'**,
         "Key":"Ownertenant",
         "Label":"Are you the Owner or Tenant?",
         "Type":"string"
      },
      {  
         "[[TBD]] Value":"2014/12/06 00:00:00" // **Date of format YYYY/MM/DD hh:mm:ss**,
         "Key":"Datepurchased",
         "Label":"Date Sale completed / tenancy ended?",
         "Type":"date",
         "Format":"date"
      },
      {  
         "[[TBD]] Value":"07896108244"//  **Free text**,
         "Key":"Tel",
         "Label":"New or contact telephone numbers?",
         "Type":"string"
      }
   ],
   "FormName":"TBC_MovingOut",
   "FormKey":"TBC_MovingOut"
}


Sample Form Data, case 181000001812
-----------------------------------

         <Form xmlns="">
            <FormField>
               <Value/>
               <Key>Solicitor</Key>
               <Label>Name of Solicitor / Estate Agent?</Label>
               <Type>string</Type>
            </FormField>
            <FormField>
               <Value>Yes</Value>
               <Key>Council</Key>
               <Label>If new address is in Tamworth are you responsible for Council Tax there?</Label>
               <Type>string</Type>
            </FormField>
            <FormField>
               <Value>No</Value>
               <Key>Furniture</Key>
               <Label>Will the property remain furnished?</Label>
               <Type>string</Type>
            </FormField>
            <FormField>
               <Value>Yes</Value>
               <Key>Everyone</Key>
               <Label>Is everyone leaving?</Label>
               <Type>string</Type>
            </FormField>
            <FormField>
               <Value>2014/12/03 00:00:00</Value>
               <Key>Dateunfurnished</Key>
               <Label>Date unfurnished?</Label>
               <Type>date</Type>
               <Format>date</Format>
            </FormField>
            <FormField>
               <Value>24 Browning Close
Coton Green 
Tamworth 
B79 8NB</Value>
               <Key>Previousadd</Key>
               <Label>Address of Property Vacated:</Label>
               <Type>string</Type>
            </FormField>
            <FormField>
               <Value>109 Tamworth Road 
Two Gates 
Tamworth 
B77 1EN</Value>
               <Key>Newaddress</Key>
               <Label>Your new or forwarding address for final Bill</Label>
               <Type>string</Type>
            </FormField>
            <FormField>
               <Value>Kirsty Horsnell
Mark Horsnell</Value>
               <Key>Names</Key>
               <Label>Name of Person(s) vacating</Label>
               <Type>string</Type>
            </FormField>
            <FormField>
               <Value>true</Value>
               <Key>Declare</Key>
               <Label>I declare the information I have given is complete and correct to the best of my knowledge.</Label>
               <Type>boolean</Type>
            </FormField>
            <FormField>
               <Value>2014/12/03 00:00:00</Value>
               <Key>Dateoccupation</Key>
               <Label>Date of move?</Label>
               <Type>date</Type>
               <Format>date</Format>
            </FormField>
            <FormField>
               <Value>101464194</Value>
               <Key>CTReference</Key>
               <Label>Council Tax Reference Number (If known)</Label>
               <Type>string</Type>
            </FormField>
            <FormField>
               <Value>Tenant</Value>
               <Key>Ownertenant</Key>
               <Label>Are you the Owner or Tenant?</Label>
               <Type>string</Type>
            </FormField>
            <FormField>
               <Value>2014/12/06 00:00:00</Value>
               <Key>Datepurchased</Key>
               <Label>Date Sale completed / tenancy ended?</Label>
               <Type>date</Type>
               <Format>date</Format>
            </FormField>
            <FormField>
               <Value>07896108244</Value>
               <Key>Tel</Key>
               <Label>New or contact telephone numbers?</Label>
               <Type>string</Type>
            </FormField>
            <FormName>TBC_MovingOut</FormName>
            <FormKey>TBC_MovingOut</FormKey>
         </Form>
@ombiel
Copy link

ombiel commented Dec 2, 2014

Looks great thanks Jon

I've made a few tweaks in this fork to tidy it up a little

https://gist.github.com/ombiel/cf3b06d0e1301d08ac59

I used the [[TBD]] prefix in the other specs to flag the fields that I hadn't accounted for in terms of what questions they relate to. I'm not sure that these are necessary here?

@JonDaniel
Copy link
Author

Ok, looks like we have another field:

        [FormField]
           [Value/]
           [Key]Additional[/Key]
           [Label]Please provide any additional information you may have?[/Label]
           [Type]string[/Type]
        [/FormField]

This comes after CTReference and before Ownertenant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment