|
| 1 | +{ |
| 2 | + "data": { |
| 3 | + "id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d", |
| 4 | + "type": "operations", |
| 5 | + "attributes": { |
| 6 | + "code": "", |
| 7 | + "dates": { |
| 8 | + "scheduled": { |
| 9 | + "start": "2025-08-15T07:00:00Z", |
| 10 | + "end": "2025-08-15T11:00:00Z" |
| 11 | + } |
| 12 | + }, |
| 13 | + "description": "", |
| 14 | + "done_reason": "", |
| 15 | + "labels": [], |
| 16 | + "name": "Lorem Ipsum Operation", |
| 17 | + "requirements": { |
| 18 | + "forms": [ |
| 19 | + { |
| 20 | + "id": "f1a2b3c4-d5e6-4f7a-8b9c-0d1e2f3a4b5c", |
| 21 | + "required": true |
| 22 | + } |
| 23 | + ] |
| 24 | + }, |
| 25 | + "status": "todo" |
| 26 | + }, |
| 27 | + "relationships": { |
| 28 | + "appointment": { |
| 29 | + "data": { |
| 30 | + "id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e", |
| 31 | + "type": "appointments" |
| 32 | + } |
| 33 | + }, |
| 34 | + "assignees": { |
| 35 | + "data": [ |
| 36 | + { |
| 37 | + "id": "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f", |
| 38 | + "type": "users" |
| 39 | + } |
| 40 | + ] |
| 41 | + }, |
| 42 | + "forms": { |
| 43 | + "data": [ |
| 44 | + { |
| 45 | + "id": "f1a2b3c4-d5e6-4f7a-8b9c-0d1e2f3a4b5c", |
| 46 | + "type": "forms" |
| 47 | + } |
| 48 | + ] |
| 49 | + }, |
| 50 | + "organisation": { |
| 51 | + "data": { |
| 52 | + "id": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a", |
| 53 | + "type": "organisations" |
| 54 | + } |
| 55 | + }, |
| 56 | + "permits": { |
| 57 | + "data": [] |
| 58 | + }, |
| 59 | + "properties": { |
| 60 | + "data": [ |
| 61 | + { |
| 62 | + "id": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b", |
| 63 | + "type": "properties" |
| 64 | + }, |
| 65 | + { |
| 66 | + "id": "f6a7b8c9-d0e1-4f2a-3b4c-5d6e7f8a9b0c", |
| 67 | + "type": "properties" |
| 68 | + } |
| 69 | + ] |
| 70 | + }, |
| 71 | + "scheme": { |
| 72 | + "data": { |
| 73 | + "id": "a7b8c9d0-e1f2-4a3b-4c5d-6e7f8a9b0c1d", |
| 74 | + "type": "schemes" |
| 75 | + } |
| 76 | + }, |
| 77 | + "streets": { |
| 78 | + "data": [] |
| 79 | + }, |
| 80 | + "teams": { |
| 81 | + "data": [] |
| 82 | + }, |
| 83 | + "template": { |
| 84 | + "data": null |
| 85 | + }, |
| 86 | + "work_order": { |
| 87 | + "data": { |
| 88 | + "id": "b8c9d0e1-f2a3-4b4c-5d6e-7f8a9b0c1d2e", |
| 89 | + "type": "work-orders" |
| 90 | + } |
| 91 | + } |
| 92 | + }, |
| 93 | + "meta": { |
| 94 | + "created_at": "2025-08-14T09:23:43.023Z", |
| 95 | + "updated_at": "2025-10-07T10:41:18.231Z", |
| 96 | + "counts": { |
| 97 | + "properties": 2, |
| 98 | + "streets": 0 |
| 99 | + } |
| 100 | + } |
| 101 | + }, |
| 102 | + "jsonapi": { |
| 103 | + "version": "1.0" |
| 104 | + }, |
| 105 | + "included": [ |
| 106 | + { |
| 107 | + "id": "f6a7b8c9-d0e1-4f2a-3b4c-5d6e7f8a9b0c", |
| 108 | + "type": "properties", |
| 109 | + "attributes": { |
| 110 | + "address": { |
| 111 | + "description": "42, Lorem Street, AB12 3CD", |
| 112 | + "department": "Department of Lorem", |
| 113 | + "organisation": "Ipsum Corporation", |
| 114 | + "number": "42", |
| 115 | + "name": "Lorem House", |
| 116 | + "thoroughfare": "Lorem Street", |
| 117 | + "dependent_thoroughfare": "Ipsum Lane", |
| 118 | + "post_town": "DOLOR", |
| 119 | + "postcode": "AB12 3CD", |
| 120 | + "po_box": "", |
| 121 | + "country": "United Kingdom" |
| 122 | + }, |
| 123 | + "location": { |
| 124 | + "british_national_grid": null, |
| 125 | + "lat_long": { |
| 126 | + "latitude": 51.5074, |
| 127 | + "longitude": -0.1278 |
| 128 | + } |
| 129 | + }, |
| 130 | + "meters": [ |
| 131 | + { |
| 132 | + "type": "mprn", |
| 133 | + "number": 1234567890 |
| 134 | + } |
| 135 | + ], |
| 136 | + "psr": { |
| 137 | + "indicator": false, |
| 138 | + "priority": null, |
| 139 | + "notes": null, |
| 140 | + "contact": null |
| 141 | + }, |
| 142 | + "uprn": 100000000001 |
| 143 | + } |
| 144 | + }, |
| 145 | + { |
| 146 | + "id": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b", |
| 147 | + "type": "properties", |
| 148 | + "attributes": { |
| 149 | + "address": { |
| 150 | + "description": "15, Dolor Avenue, EF45 6GH", |
| 151 | + "department": "Sit Amet Department", |
| 152 | + "organisation": "Consectetur Limited", |
| 153 | + "number": "15", |
| 154 | + "name": "Amet Building", |
| 155 | + "thoroughfare": "Dolor Avenue", |
| 156 | + "dependent_thoroughfare": "Consectetur Road", |
| 157 | + "post_town": "ADIPISCING", |
| 158 | + "postcode": "EF45 6GH", |
| 159 | + "po_box": "", |
| 160 | + "country": "United Kingdom" |
| 161 | + }, |
| 162 | + "location": { |
| 163 | + "british_national_grid": null, |
| 164 | + "lat_long": { |
| 165 | + "latitude": 51.5145, |
| 166 | + "longitude": -0.0945 |
| 167 | + } |
| 168 | + }, |
| 169 | + "meters": [ |
| 170 | + { |
| 171 | + "type": "mprn", |
| 172 | + "number": 9876543210 |
| 173 | + } |
| 174 | + ], |
| 175 | + "psr": { |
| 176 | + "indicator": true, |
| 177 | + "priority": "high", |
| 178 | + "notes": "Lorem ipsum dolor sit amet", |
| 179 | + "contact": "John Doe" |
| 180 | + }, |
| 181 | + "uprn": 100000000002 |
| 182 | + } |
| 183 | + } |
| 184 | + ] |
| 185 | +} |
| 186 | + |
0 commit comments