Skip to content

Instantly share code, notes, and snippets.

@johnrees
Last active April 4, 2018 08:48
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 johnrees/7c3d8c27b718595906b1b4ad08cef15d to your computer and use it in GitHub Desktop.
Save johnrees/7c3d8c27b718595906b1b4ad08cef15d to your computer and use it in GitHub Desktop.
{ nodes:
[ { id: '23e32bafe0c4fe3c-19',
value: 'How much land is covered by the original property and any other additions or buildings? ',
type: 'QUESTION' },
{ id: '23e32bafe0c4fe3c-26',
value: 'Does the extension match materials and style of the existing building?',
type: 'QUESTION' },
{ id: '2',
value: 'How many storeys does the extension have?',
type: 'QUESTION' },
{ id: '12', value: 'How close to boundary?', type: 'QUESTION' },
{ id: '20',
value: 'Are the extension\'s roof, eaves and ridge height equal or lower than those of the property?',
type: 'QUESTION' },
{ id: '50',
value: 'Will the new roof be used as deck?',
type: 'QUESTION' },
{ id: '58',
value: 'Does it overlook neighbours property?',
type: 'QUESTION' },
{ id: '65', value: 'Is it a listed building?', type: 'QUESTION' },
{ id: '73',
value: 'Is it in a PD restricted zone?',
type: 'QUESTION' },
{ id: '79',
value: 'Is it in a conservation area?',
type: 'QUESTION' },
{ id: '85', value: 'Length of extension', type: 'QUESTION' },
{ id: '86', value: 'Length of extension', type: 'QUESTION' },
{ id: '108',
value: 'Does it pass BRE 45/25 tests (right to light)',
type: 'QUESTION' },
{ id: '115', value: 'Height at boundary?', type: 'QUESTION' },
{ id: '127',
value: 'Will any current rooms be left without windows?',
type: 'QUESTION' },
{ id: '159', value: 'In conservation area?', type: 'QUESTION' },
{ id: '162',
value: 'Distance from rear wall of property?',
type: 'QUESTION' },
{ id: '190', value: 'Height?', type: 'QUESTION' },
{ id: '202', value: 'Distance from boundary?', type: 'QUESTION' },
{ id: '205', value: 'Eaves height', type: 'QUESTION' },
{ id: '221',
value: 'Does the extension\'s roof pitch match the existing roof?',
type: 'QUESTION' },
{ id: '226',
value: 'Are there any side-facing windows on the upper floor(s)?',
type: 'QUESTION' },
{ id: '229',
value: 'Are the windows obscure-glazed?',
type: 'QUESTION' },
{ id: '238',
value: 'How high from the room\'s floor is the window opening?',
type: 'QUESTION' },
{ id: '316',
value: 'Will there be any cladding added to the extension or original property?',
type: 'QUESTION' },
{ id: '317',
value: 'Are you adding any balconies, verandas or platforms 300mm above ground level?',
type: 'QUESTION' },
{ id: '23e32bafe0c4fe3c-22',
value: 'More than 50%',
type: 'ANSWER',
flag: 'LIKELY_REFUSAL' },
{ id: '23e32bafe0c4fe3c-23',
value: '50% or less',
type: 'ANSWER' },
{ id: '23e32bafe0c4fe3c-32', value: 'Yes', type: 'ANSWER' },
{ id: '23e32bafe0c4fe3c-33',
value: 'No',
type: 'ANSWER',
flag: 'LIKELY_REFUSAL' },
{ id: '5', value: '1{numStoreys<2}', type: 'ANSWER' },
{ id: '6',
value: '2 or more{numStoreys>=2}',
type: 'ANSWER',
flag: 'WARNING' },
{ id: '16', value: '7m{minBoundaryDistance>7}', type: 'ANSWER' },
{ id: '17',
value: 'Less than 7m{minBoundaryDistance<=7}',
type: 'ANSWER',
flag: 'LIKELY_REFUSAL' },
{ id: '33', value: 'Yes', type: 'ANSWER' },
{ id: '34', value: 'No', type: 'ANSWER', flag: 'LIKELY_REFUSAL' },
{ id: '54', value: 'Yes', type: 'ANSWER', flag: 'WARNING' },
{ id: '55', value: 'No', type: 'ANSWER' },
{ id: '59', value: 'Yes', type: 'ANSWER', flag: 'LIKELY_REFUSAL' },
{ id: '60', value: 'No', type: 'ANSWER' },
{ id: '69', value: 'No{listed==="Unknown"}', type: 'ANSWER' },
{ id: '70',
value: 'Yes{listed!=="Unknown"}',
type: 'ANSWER',
flag: 'WARNING' },
{ id: '75', value: 'No{pdr==="Unknown"}', type: 'ANSWER' },
{ id: '76',
value: 'Yes{pdr!=="Unknown"}',
type: 'ANSWER',
flag: 'WARNING' },
{ id: '81',
value: 'Yes{conservationArea!=="Unknown"}',
type: 'ANSWER',
flag: 'WARNING' },
{ id: '82',
value: 'No{conservationArea==="Unknown"}',
type: 'ANSWER' },
{ id: '89',
value: 'over 3m{maxLength>3}',
type: 'ANSWER',
flag: 'WARNING' },
{ id: '90', value: '3m or under{maxLength<=3}', type: 'ANSWER' },
{ id: '111', value: 'Yes', type: 'ANSWER' },
{ id: '112', value: 'No', type: 'ANSWER', flag: 'LIKELY_REFUSAL' },
{ id: '117', value: '2.4m or less', type: 'ANSWER' },
{ id: '118',
value: '2.4m+',
type: 'ANSWER',
flag: 'LIKELY_REFUSAL' },
{ id: '128',
value: 'Yes',
type: 'ANSWER',
flag: 'LIKELY_REFUSAL' },
{ id: '129', value: 'No', type: 'ANSWER' },
{ id: '144', value: 'Under 3m{maxLength<3}', type: 'ANSWER' },
{ id: '145',
value: '3-6m{(maxLength>=3)&&(maxLength<=6)}',
type: 'ANSWER',
flag: 'PRIOR_CONSENT' },
{ id: '146',
value: '6m+{maxLength>6}',
type: 'ANSWER',
flag: 'WARNING' },
{ id: '160',
value: 'No{conservationArea==="Unknown"}',
type: 'ANSWER' },
{ id: '161',
value: 'Yes{conservationArea!=="Unknown"}',
type: 'ANSWER',
flag: 'LIKELY_REFUSAL' },
{ id: '163', value: '3m or under{maxLength<=3}', type: 'ANSWER' },
{ id: '164',
value: 'Over 3m{maxLength>3}',
type: 'ANSWER',
flag: 'LIKELY_REFUSAL' },
{ id: '191', value: '4m or less{maxHeight<=4}', type: 'ANSWER' },
{ id: '197',
value: 'over 4m{maxHeight>4}',
type: 'ANSWER',
flag: 'LIKELY_REFUSAL' },
{ id: '203',
value: '2m or less{minBoundaryDistance <=2}',
type: 'ANSWER' },
{ id: '204',
value: 'Over 2m{minBoundaryDistance>2}',
type: 'ANSWER' },
{ id: '206',
value: '3m or less{maxEavesHeight<=3}',
type: 'ANSWER' },
{ id: '207',
value: 'Over 3m{maxEavesHeight>3}',
type: 'ANSWER',
flag: 'LIKELY_REFUSAL' },
{ id: '222', value: 'yes', type: 'ANSWER' },
{ id: '225', value: 'no', type: 'ANSWER', flag: 'LIKELY_REFUSAL' },
{ id: '227', value: 'Yes', type: 'ANSWER' },
{ id: '228', value: 'No', type: 'ANSWER' },
{ id: '230', value: 'Yes', type: 'ANSWER' },
{ id: '236', value: 'No', type: 'ANSWER', flag: 'LIKELY_REFUSAL' },
{ id: '239', value: '1.7m or over', type: 'ANSWER' },
{ id: '242',
value: 'Under 1.7m',
type: 'ANSWER',
flag: 'LIKELY_REFUSAL' },
{ id: '318', value: 'Yes', type: 'ANSWER', flag: 'WARNING' },
{ id: '319', value: 'No', type: 'ANSWER' },
{ id: '331', value: 'Mostly', type: 'ANSWER', flag: 'WARNING' },
{ id: '351', value: 'Yes', type: 'ANSWER', flag: 'WARNING' },
{ id: '352', value: 'No', type: 'ANSWER' },
{ id: '359', value: 'Don\'t know', type: 'ANSWER', flag: 'PASS' },
{ id: '63e4f002d4965a1b-367', value: 'START', type: 'ANSWER' } ],
edges:
[ [ '23e32bafe0c4fe3c-19', '23e32bafe0c4fe3c-23' ],
[ '23e32bafe0c4fe3c-19', '23e32bafe0c4fe3c-22' ],
[ '23e32bafe0c4fe3c-26', '23e32bafe0c4fe3c-32' ],
[ '23e32bafe0c4fe3c-26', '23e32bafe0c4fe3c-33' ],
[ '23e32bafe0c4fe3c-26', '331' ],
[ '2', '6' ],
[ '2', '5' ],
[ '6', '162' ],
[ '12', '17' ],
[ '12', '16' ],
[ '20', '33' ],
[ '20', '34' ],
[ '50', '54' ],
[ '50', '55' ],
[ '54', '58' ],
[ '58', '59' ],
[ '58', '60' ],
[ '65', '69' ],
[ '65', '70' ],
[ '73', '75' ],
[ '73', '76' ],
[ '79', '81' ],
[ '79', '82' ],
[ '81', '316' ],
[ '82', '86' ],
[ '85', '89' ],
[ '85', '90' ],
[ '86', '144' ],
[ '86', '145' ],
[ '86', '146' ],
[ '89', '108' ],
[ '89', '127' ],
[ '108', '111' ],
[ '108', '112' ],
[ '108', '359' ],
[ '112', '115' ],
[ '115', '118' ],
[ '115', '117' ],
[ '127', '128' ],
[ '127', '129' ],
[ '146', '108' ],
[ '146', '127' ],
[ '159', '160' ],
[ '159', '161' ],
[ '162', '163' ],
[ '162', '164' ],
[ '190', '197' ],
[ '202', '203' ],
[ '202', '204' ],
[ '203', '205' ],
[ '205', '206' ],
[ '205', '207' ],
[ '221', '222' ],
[ '221', '225' ],
[ '226', '227' ],
[ '226', '228' ],
[ '227', '229' ],
[ '229', '230' ],
[ '229', '236' ],
[ '238', '239' ],
[ '238', '242' ],
[ '316', '352' ],
[ '317', '318' ],
[ '317', '319' ],
[ '359', '115' ],
[ '63e4f002d4965a1b-367', '23e32bafe0c4fe3c-19' ],
[ '63e4f002d4965a1b-367', '23e32bafe0c4fe3c-26' ],
[ '63e4f002d4965a1b-367', '20' ],
[ '63e4f002d4965a1b-367', '202' ],
[ '63e4f002d4965a1b-367', '317' ],
[ '63e4f002d4965a1b-367', '2' ],
[ '6', '159' ],
[ '6', '12' ],
[ '227', '238' ],
[ '6', '226' ],
[ '6', '221' ],
[ '5', '190' ],
[ '81', '85' ],
[ '63e4f002d4965a1b-367', '65' ],
[ '316', '351' ],
[ '5', '50' ],
[ '63e4f002d4965a1b-367', '73' ],
[ '190', '191' ],
[ '63e4f002d4965a1b-367', '79' ] ] }
{
"nodes": [
{
"id": "23e32bafe0c4fe3c-19",
"value": "How much land is covered by the original property and any other additions or buildings?&nbsp;",
"type": "QUESTION"
},
{
"id": "23e32bafe0c4fe3c-26",
"value": "Does the extension match materials and style of the existing building?",
"type": "QUESTION"
},
{
"id": "2",
"value": "How many storeys does the extension have?",
"type": "QUESTION"
},
{
"id": "12",
"value": "How close to boundary?",
"type": "QUESTION"
},
{
"id": "20",
"value": "Are the extension's roof, eaves and ridge height equal or lower than those of the property?",
"type": "QUESTION"
},
{
"id": "50",
"value": "Will the new roof be used as deck?",
"type": "QUESTION"
},
{
"id": "58",
"value": "Does it overlook neighbours property?",
"type": "QUESTION"
},
{
"id": "65",
"value": "Is it a listed building?",
"type": "QUESTION"
},
{
"id": "73",
"value": "Is it in a PD restricted zone?",
"type": "QUESTION"
},
{
"id": "79",
"value": "Is it in a conservation area?",
"type": "QUESTION"
},
{
"id": "85",
"value": "Length of extension",
"type": "QUESTION"
},
{
"id": "86",
"value": "Length of extension",
"type": "QUESTION"
},
{
"id": "108",
"value": "Does it pass BRE 45/25 tests (right to light)",
"type": "QUESTION"
},
{
"id": "115",
"value": "Height at boundary?",
"type": "QUESTION"
},
{
"id": "127",
"value": "Will any current rooms be left without windows?",
"type": "QUESTION"
},
{
"id": "159",
"value": "In conservation area?",
"type": "QUESTION"
},
{
"id": "162",
"value": "Distance from rear wall of property?",
"type": "QUESTION"
},
{
"id": "190",
"value": "Height?",
"type": "QUESTION"
},
{
"id": "202",
"value": "Distance from boundary?",
"type": "QUESTION"
},
{
"id": "205",
"value": "Eaves height",
"type": "QUESTION"
},
{
"id": "221",
"value": "Does the extension's roof pitch match the existing roof?",
"type": "QUESTION"
},
{
"id": "226",
"value": "Are there any side-facing windows on the upper floor(s)?",
"type": "QUESTION"
},
{
"id": "229",
"value": "Are the windows obscure-glazed?",
"type": "QUESTION"
},
{
"id": "238",
"value": "How high from the room's floor is the window opening?",
"type": "QUESTION"
},
{
"id": "316",
"value": "Will there be any cladding added to the extension or original property?",
"type": "QUESTION"
},
{
"id": "317",
"value": "Are you adding any balconies, verandas or platforms 300mm above ground level?",
"type": "QUESTION"
},
{
"id": "23e32bafe0c4fe3c-22",
"value": "More than 50%",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "23e32bafe0c4fe3c-23",
"value": "50% or less",
"type": "ANSWER"
},
{
"id": "23e32bafe0c4fe3c-32",
"value": "Yes",
"type": "ANSWER"
},
{
"id": "23e32bafe0c4fe3c-33",
"value": "No",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "5",
"value": "1{numStoreys<2}",
"type": "ANSWER"
},
{
"id": "6",
"value": "2 or more{numStoreys>=2}",
"type": "ANSWER",
"flag": "WARNING"
},
{
"id": "16",
"value": "7m{minBoundaryDistance>7}",
"type": "ANSWER"
},
{
"id": "17",
"value": "Less than 7m{minBoundaryDistance<=7}",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "33",
"value": "Yes",
"type": "ANSWER"
},
{
"id": "34",
"value": "No",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "54",
"value": "Yes",
"type": "ANSWER",
"flag": "WARNING"
},
{
"id": "55",
"value": "No",
"type": "ANSWER"
},
{
"id": "59",
"value": "Yes",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "60",
"value": "No",
"type": "ANSWER"
},
{
"id": "69",
"value": "No{listed===\"Unknown\"}",
"type": "ANSWER"
},
{
"id": "70",
"value": "Yes{listed!==\"Unknown\"}",
"type": "ANSWER",
"flag": "WARNING"
},
{
"id": "75",
"value": "No{pdr===\"Unknown\"}",
"type": "ANSWER"
},
{
"id": "76",
"value": "Yes{pdr!==\"Unknown\"}",
"type": "ANSWER",
"flag": "WARNING"
},
{
"id": "81",
"value": "Yes{conservationArea!==\"Unknown\"}",
"type": "ANSWER",
"flag": "WARNING"
},
{
"id": "82",
"value": "No{conservationArea===\"Unknown\"}",
"type": "ANSWER"
},
{
"id": "89",
"value": "over 3m{maxLength>3}",
"type": "ANSWER",
"flag": "WARNING"
},
{
"id": "90",
"value": "3m or under{maxLength<=3}",
"type": "ANSWER"
},
{
"id": "111",
"value": "Yes",
"type": "ANSWER"
},
{
"id": "112",
"value": "No",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "117",
"value": "2.4m or less",
"type": "ANSWER"
},
{
"id": "118",
"value": "2.4m+",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "128",
"value": "Yes",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "129",
"value": "No",
"type": "ANSWER"
},
{
"id": "144",
"value": "Under 3m{maxLength<3}",
"type": "ANSWER"
},
{
"id": "145",
"value": "3-6m{(maxLength>=3)&&(maxLength<=6)}",
"type": "ANSWER",
"flag": "PRIOR_CONSENT"
},
{
"id": "146",
"value": "6m+{maxLength>6}",
"type": "ANSWER",
"flag": "WARNING"
},
{
"id": "160",
"value": "No{conservationArea===\"Unknown\"}",
"type": "ANSWER"
},
{
"id": "161",
"value": "Yes{conservationArea!==\"Unknown\"}",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "163",
"value": "3m or under{maxLength<=3}",
"type": "ANSWER"
},
{
"id": "164",
"value": "Over 3m{maxLength>3}",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "191",
"value": "4m or less{maxHeight<=4}",
"type": "ANSWER"
},
{
"id": "197",
"value": "over 4m{maxHeight>4}",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "203",
"value": "2m or less{minBoundaryDistance <=2}",
"type": "ANSWER"
},
{
"id": "204",
"value": "Over 2m{minBoundaryDistance>2}",
"type": "ANSWER"
},
{
"id": "206",
"value": "3m or less{maxEavesHeight<=3}",
"type": "ANSWER"
},
{
"id": "207",
"value": "Over 3m{maxEavesHeight>3}",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "222",
"value": "yes",
"type": "ANSWER"
},
{
"id": "225",
"value": "no",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "227",
"value": "Yes",
"type": "ANSWER"
},
{
"id": "228",
"value": "No",
"type": "ANSWER"
},
{
"id": "230",
"value": "Yes",
"type": "ANSWER"
},
{
"id": "236",
"value": "No",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "239",
"value": "1.7m or over",
"type": "ANSWER"
},
{
"id": "242",
"value": "Under 1.7m",
"type": "ANSWER",
"flag": "LIKELY_REFUSAL"
},
{
"id": "318",
"value": "Yes",
"type": "ANSWER",
"flag": "WARNING"
},
{
"id": "319",
"value": "No",
"type": "ANSWER"
},
{
"id": "331",
"value": "Mostly",
"type": "ANSWER",
"flag": "WARNING"
},
{
"id": "351",
"value": "Yes",
"type": "ANSWER",
"flag": "WARNING"
},
{
"id": "352",
"value": "No",
"type": "ANSWER"
},
{
"id": "359",
"value": "Don't know",
"type": "ANSWER",
"flag": "PASS"
},
{
"id": "63e4f002d4965a1b-367",
"value": "START",
"type": "ANSWER"
}
],
"edges": [
[
"23e32bafe0c4fe3c-19",
"23e32bafe0c4fe3c-23"
],
[
"23e32bafe0c4fe3c-19",
"23e32bafe0c4fe3c-22"
],
[
"23e32bafe0c4fe3c-26",
"23e32bafe0c4fe3c-32"
],
[
"23e32bafe0c4fe3c-26",
"23e32bafe0c4fe3c-33"
],
[
"23e32bafe0c4fe3c-26",
"331"
],
[
"2",
"6"
],
[
"2",
"5"
],
[
"6",
"162"
],
[
"12",
"17"
],
[
"12",
"16"
],
[
"20",
"33"
],
[
"20",
"34"
],
[
"50",
"54"
],
[
"50",
"55"
],
[
"54",
"58"
],
[
"58",
"59"
],
[
"58",
"60"
],
[
"65",
"69"
],
[
"65",
"70"
],
[
"73",
"75"
],
[
"73",
"76"
],
[
"79",
"81"
],
[
"79",
"82"
],
[
"81",
"316"
],
[
"82",
"86"
],
[
"85",
"89"
],
[
"85",
"90"
],
[
"86",
"144"
],
[
"86",
"145"
],
[
"86",
"146"
],
[
"89",
"108"
],
[
"89",
"127"
],
[
"108",
"111"
],
[
"108",
"112"
],
[
"108",
"359"
],
[
"112",
"115"
],
[
"115",
"118"
],
[
"115",
"117"
],
[
"127",
"128"
],
[
"127",
"129"
],
[
"146",
"108"
],
[
"146",
"127"
],
[
"159",
"160"
],
[
"159",
"161"
],
[
"162",
"163"
],
[
"162",
"164"
],
[
"190",
"197"
],
[
"202",
"203"
],
[
"202",
"204"
],
[
"203",
"205"
],
[
"205",
"206"
],
[
"205",
"207"
],
[
"221",
"222"
],
[
"221",
"225"
],
[
"226",
"227"
],
[
"226",
"228"
],
[
"227",
"229"
],
[
"229",
"230"
],
[
"229",
"236"
],
[
"238",
"239"
],
[
"238",
"242"
],
[
"316",
"352"
],
[
"317",
"318"
],
[
"317",
"319"
],
[
"359",
"115"
],
[
"63e4f002d4965a1b-367",
"23e32bafe0c4fe3c-19"
],
[
"63e4f002d4965a1b-367",
"23e32bafe0c4fe3c-26"
],
[
"63e4f002d4965a1b-367",
"20"
],
[
"63e4f002d4965a1b-367",
"202"
],
[
"63e4f002d4965a1b-367",
"317"
],
[
"63e4f002d4965a1b-367",
"2"
],
[
"6",
"159"
],
[
"6",
"12"
],
[
"227",
"238"
],
[
"6",
"226"
],
[
"6",
"221"
],
[
"5",
"190"
],
[
"81",
"85"
],
[
"63e4f002d4965a1b-367",
"65"
],
[
"316",
"351"
],
[
"5",
"50"
],
[
"63e4f002d4965a1b-367",
"73"
],
[
"190",
"191"
],
[
"63e4f002d4965a1b-367",
"79"
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment