farm-layout-model / samples /input_example.json
spacedout-bits's picture
Add JSON integration schemas for user app interop
b9e0ad7
{
"type": "FeatureCollection",
"properties": {
"farm_id": "FARM_001",
"farm_name": "Green Valley Farm",
"owner": "John Doe",
"created_at": "2026-04-22T10:00:00Z",
"pump_hp": 5.0,
"centralized": false,
"headland_buffer_m": 1.5,
"override_lateral_spacing_m": null
},
"features": [
{
"type": "Feature",
"properties": {
"type": "farm_boundary",
"name": "Main Farm Boundary"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[77.5946, 12.9716],
[77.5960, 12.9716],
[77.5960, 12.9730],
[77.5946, 12.9730],
[77.5946, 12.9716]
]
]
}
},
{
"type": "Feature",
"properties": {
"type": "pump",
"name": "Main Pump",
"pump_hp": 5.0,
"horsepower": 5.0
},
"geometry": {
"type": "Point",
"coordinates": [77.5946, 12.9716]
}
},
{
"type": "Feature",
"properties": {
"type": "crop_zone",
"crop": "tomato",
"name": "Tomato Plot A",
"planting_date": "2026-03-15"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[77.5948, 12.9718],
[77.5954, 12.9718],
[77.5954, 12.9724],
[77.5948, 12.9724],
[77.5948, 12.9718]
]
]
}
},
{
"type": "Feature",
"properties": {
"type": "crop_zone",
"crop": "lettuce",
"name": "Lettuce Plot B",
"planting_date": "2026-04-01"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[77.5954, 12.9718],
[77.5958, 12.9718],
[77.5958, 12.9724],
[77.5954, 12.9724],
[77.5954, 12.9718]
]
]
}
},
{
"type": "Feature",
"properties": {
"type": "elevation",
"min_elevation_m": 920,
"max_elevation_m": 923,
"source": "google_elevation_api"
},
"geometry": {
"type": "Point",
"coordinates": [77.5953, 12.9723]
}
}
]
}