$echo '{
< "locationsJson": [
< {
< "location_id": "inside",
< "latitude": 1,
< "longitude": 1
< },
< {
< "location_id": "outside",
< "latitude": 20,
< "longitude": 20
< },
< {
< "location_id": "boundary",
< "latitude": 0,
< "longitude": 5
< },
< {
< "location_id": "overlap",
< "latitude": 8,
< "longitude": 8
< },
< {
< "location_id": "hole",
< "latitude": 4,
< "longitude": 4
< },
< {
< "location_id": "invalid",
< "latitude": 95,
< "longitude": 1
< },
< {
< "location_id": "duplicate",
< "latitude": 1,
< "longitude": 1
< }
< ],
< "serviceAreasGeoJson": {
< "type": "FeatureCollection",
< "features": [
< {
< "type": "Feature",
< "id": "central",
< "properties": {},
< "geometry": {
< "type": "Polygon",
< "coordinates": [
< [
< [
< 0,
< 0
< ],
< [
< 10,
< 0
< ],
< [
< 10,
< 10
< ],
< [
< 0,
< 10
< ],
< [
< 0,
< 0
< ]
< ],
< [
< [
< 3,
< 3
< ],
< [
< 3,
< 5
< ],
< [
< 5,
< 5
< ],
< [
< 5,
< 3
< ],
< [
< 3,
< 3
< ]
< ]
< ]
< }
< },
< {
< "type": "Feature",
< "id": "east",
< "properties": {},
< "geometry": {
< "type": "Polygon",
< "coordinates": [
< [
< [
< 7,
< 7
< ],
< [
< 12,
< 7
< ],
< [
< 12,
< 12
< ],
< [
< 7,
< 12
< ],
< [
< 7,
< 7
< ]
< ]
< ]
< }
< }
< ]
< },
< "areaPriority": []
<}' |
<apify call afkdigital/service-area-coverage-validator --silent --output-dataset