{"openapi":"3.1.0","info":{"title":"Kansas State 2026 Crop Budgets and Flexible Leases (2026)","version":"1.0.0","description":"Compare Kansas publisher crop budgets, cash/share returns and a deterministic price-flex lease scenario. Monte Carlo distributions and simulation summaries are excluded. selectCells reads at most 256 cells per request (including repeated cells). For licenseClass reference-only, cellOverrides, selectCells and trace may address only declared fio.yaml input/output port cells; trace traversal stops at that boundary. Verification level: scenario-independent-arithmetic. Legacy Table1 current-row references are rewritten to the identical current-row column A coordinate at runtime; inactive second-crop display blanks are normalized with N().","x-formualizer-Provenance":{"publisher":"Kansas State University Department of Agricultural Economics (AgManager.info)","publisherPageUrl":"https://agmanager.info/farm-budgets/2026-farm-management-guides-non-irrigated-crops","sourceUrl":"https://agmanager.info/sites/default/files/wysiwyg/Crop%20budgets%20and%20leasing%2010-26.xlsm","workbookFilename":"ksu-crop-budgets-2026.xlsm","workbookSha256":"c0188129aa907b891d4a4bb9ae3eed1cbf996dee322bddf8680ac9f8a741661d","workbookBytes":391788,"format":"xlsm","licenseClass":"open-academic"},"x-formualizer-VerificationLevel":"scenario-independent-arithmetic","x-formualizer-WorkbookDownload":{"mode":"catalog-bytes","sourceUrl":"https://agmanager.info/sites/default/files/wysiwyg/Crop%20budgets%20and%20leasing%2010-26.xlsm","sha256":"c0188129aa907b891d4a4bb9ae3eed1cbf996dee322bddf8680ac9f8a741661d","bytes":391788},"x-formualizer-Flows":[{"id":"quick_crop_lease_return","title":"Quick crop lease return","kind":"single","inputPorts":["crop_1","crop_1_acres","yield_1","price_1","cash_rent","operating_interest_rate","tenant_share","seed_cost_1","fertilizer_cost_1","lease_base_rent","lease_base_price","lease_actual_price"],"outputPorts":["crop_1_revenue","crop_1_direct_cost","crop_1_total_cost","crop_1_net_return","crop_1_breakeven_price","price_flex_rent"]},{"id":"full_crop_budget_comparison","title":"Full crop budget comparison","kind":"single","inputPorts":["crop_1","crop_1_acres","yield_1","price_1","cash_rent","operating_interest_rate","tenant_share","seed_cost_1","fertilizer_cost_1","lease_base_rent","lease_base_price","lease_actual_price","lease_allow_downward_price","crop_2","crop_2_acres","yield_2","price_2","fallow_acres"],"outputPorts":["crop_1_revenue","crop_1_direct_cost","crop_1_total_cost","crop_1_net_return","crop_1_breakeven_price","price_flex_rent","farm_cash_net_return","share_tenant_net_return","share_landlord_net_return","crop_2_revenue","crop_2_net_return"]}]},"paths":{"/evaluate":{"post":{"operationId":"evaluateWorkbook","parameters":[{"name":"tablePort","in":"query","description":"Table input port receiving NDJSON rows or Arrow IPC; omit for scenario envelopes","schema":{"type":"string","enum":[]}},{"name":"flow","in":"query","description":"Named input/output flow (default: quick_crop_lease_return)","schema":{"type":"string","enum":["quick_crop_lease_return","full_crop_budget_comparison"],"default":"quick_crop_lease_return"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"inputs":{"$ref":"#/components/schemas/Inputs"}},"required":["inputs"]}},"application/x-ndjson":{"schema":{"type":"string","description":"Table rows with tablePort, otherwise scenario envelopes"}},"application/vnd.apache.arrow.stream":{"schema":{"type":"string","format":"binary"}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"Workbook outputs","content":{"application/json":{"schema":{"type":"object","properties":{"outputs":{"$ref":"#/components/schemas/Outputs"}}}},"application/x-ndjson":{"schema":{"type":"string","description":"Scenario results, one JSON envelope per line"}}}}}}},"/evaluate-batch":{"post":{"operationId":"evaluateWorkbookBatch","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scenarios":{"type":"array","items":{"type":"object","properties":{"id":{},"inputs":{"$ref":"#/components/schemas/Inputs"}},"required":["inputs"]}}},"required":["scenarios"]}},"application/x-ndjson":{"schema":{"type":"string","description":"Scenario envelopes, one per line"}}}},"responses":{"200":{"description":"Scenario results (including per-scenario errors)","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{},"outputs":{"$ref":"#/components/schemas/Outputs"},"error":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}},"application/x-ndjson":{"schema":{"type":"string"}}}}}}},"/ports":{"get":{"operationId":"describePorts","responses":{"200":{"description":"Workbook manifest and ports","content":{"application/json":{"schema":{"type":"object","properties":{"manifest":{"type":"object"},"ports":{"type":"array","items":{"type":"object"}}}}}}}}}},"/types.d.ts":{"get":{"operationId":"typeDeclarations","responses":{"200":{"description":"TypeScript Inputs, Outputs and Client declarations","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/models/{slug}/{edition}/workbook.xlsx":{"get":{"summary":"Download catalog workbook or follow publisher redirect","description":"Download mode: catalog-bytes. Reference-only workbooks redirect to the publisher. The sha256 and bytes metadata pin the catalog file, which may be a sanitized derivative. When present, upstreamArtifact separately pins the publisher file. fio.yaml remains downloadable.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","enum":["ksu-crop-budgets-leasing"]}},{"name":"edition","in":"path","required":true,"schema":{"type":"string","enum":["2026"]}}],"responses":{"200":{"description":"Catalog workbook bytes; upstreamArtifact separately identifies publisher bytes when sanitized","headers":{"x-workbook-sha256":{"schema":{"type":"string"},"description":"c0188129aa907b891d4a4bb9ae3eed1cbf996dee322bddf8680ac9f8a741661d"},"x-workbook-bytes":{"schema":{"type":"integer"},"description":"391788"}}}}}}},"components":{"schemas":{"Inputs":{"type":"object","properties":{"crop_1":{"type":"string","enum":["None","Alfalfa - Northwest KS_","Alfalfa - Southeast KS_","Alfalfa - Southwest KS_","Alfalfa - Western KS_Irrigated","Canola - South Central KS_","Canola - Southwest KS_Irrigated","Corn - North Central KS_","Corn - North Central KS_Irrigated","Corn - Northeast KS_","Corn - Northwest KS_Irrigated","Corn - Northwest KS_W-C-F rotation","Corn - South Central KS_","Corn - South Central KS_Irrigated","Corn - Southeast KS_","Corn - Southwest KS_Irrigated","Corn - Southwest KS_W-C-F rotation","Corn Silage - Northeast KS_","Cotton - South Central KS_","Cotton - Southeast KS_Irrigated","Cotton - Southwest KS_Irrigated","Cotton - Southwest KS_W-CT-F rotation","Forage Sorghum Hay - Western KS_W-H-F","Forage Sorghum Silage - South Central KS_","Grain Sorghum - North Central KS_","Grain Sorghum - North Central KS_Irrigated","Grain Sorghum - Northeast KS_","Grain Sorghum - Northwest KS_Irrigated","Grain Sorghum - Northwest KS_W-S-F rotation","Grain Sorghum - South Central KS_","Grain Sorghum - South Central KS_Irrigated","Grain Sorghum - Southeast KS_","Grain Sorghum - Southwest KS_Irrigated","Grain Sorghum - Southwest KS_W-S-F rotation","Soybeans - North Central KS_","Soybeans - North Central KS_Irrigated","Soybeans - Northeast KS_","Soybeans - Northwest KS_Irrigated","Soybeans - Northwest KS_W-SB_F rotation","Soybeans - South Central KS_","Soybeans - South Central KS_Irrigated","Soybeans - Southeast KS_","Soybeans - Southeast KS_Double crop","Soybeans - Southwest KS_Irrigated","Soybeans - Southwest KS_W-SB-F rotation","Sunflower (confectionary) - Double crop - Western KS_Irrigated - double crop","Sunflower (Confectionary) - Western KS_Irrigated","Sunflower (Confectionary) - Western KS_W-SF-F rotation","Sunflower (oil-type) - Central and Eastern_Double crop","Sunflower (oil-type) - Double crop - Western KS_Irrigated - double crop","Sunflower (oil-type) - Eastern KS_","Sunflower (oil-type) - Western KS_Irrigated","Sunflower (oil-type) - Western KS_W-SF-F rotation","Wheat - North Central KS_Continuous","Wheat - North Central KS_Rotation","Wheat - Northeast KS_Continuous","Wheat - Northeast KS_Rotation","Wheat - Northwest KS_W-F rotation","Wheat - Northwest KS_W-S_C-F rotation","Wheat - South Central KS_Continuous","Wheat - South Central KS_Rotation","Wheat - Southeast KS_","Wheat - Southwest KS_W-F rotation","Wheat - Southwest KS_W-S_C-F rotation","Wheat - Western KS_Irrigated","Wheat, Durum - Western KS_","Wheat, Durum - Western KS_Irrigated","None"],"description":"Exact publisher budget name; trailing underscore is significant Default: Corn - North Central KS_.","default":"Corn - North Central KS_"},"crop_1_acres":{"type":"number","minimum":0.01,"description":"Planted acres, positive acreage required Default: 1.","default":1},"yield_1":{"type":["number","null"],"minimum":0,"description":"Yield override in crop units per acre (corn: bushels/acre); null retains publisher budget Default: None.","default":null},"price_1":{"type":["number","null"],"minimum":0,"description":"Selling price override in USD per crop unit; null retains budget Default: None.","default":null},"cash_rent":{"type":"number","minimum":0,"description":"USD per acre cash rent Default: 70.","default":70},"operating_interest_rate":{"type":"number","minimum":0,"maximum":1,"description":"Annual decimal fraction applied to half direct costs Default: 0.076.","default":0.076},"tenant_share":{"type":"number","minimum":0,"maximum":1,"description":"Tenant crop share decimal fraction Default: 0.66.","default":0.66},"seed_cost_1":{"type":["number","null"],"minimum":0,"description":"Seed expense override USD/acre; null retains budget Default: None.","default":null},"fertilizer_cost_1":{"type":["number","null"],"minimum":0,"description":"Fertilizer expense override USD/acre; null retains budget Default: None.","default":null},"lease_base_rent":{"type":"number","minimum":0,"description":"USD/acre base rent for price-flex contract Default: 70.","default":70},"lease_base_price":{"type":"number","minimum":0.01,"description":"USD/unit base price, must be positive Default: 5.5.","default":5.5},"lease_actual_price":{"type":"number","minimum":0,"description":"USD/unit actual scenario price; deterministic single draw replaces Monte Carlo Default: 3.","default":3},"lease_allow_downward_price":{"type":"string","enum":["y","n"],"description":"Exact y/n allowing price-flex rent below base Default: n.","default":"n"},"crop_2":{"type":"string","enum":["None","Alfalfa - Northwest KS_","Alfalfa - Southeast KS_","Alfalfa - Southwest KS_","Alfalfa - Western KS_Irrigated","Canola - South Central KS_","Canola - Southwest KS_Irrigated","Corn - North Central KS_","Corn - North Central KS_Irrigated","Corn - Northeast KS_","Corn - Northwest KS_Irrigated","Corn - Northwest KS_W-C-F rotation","Corn - South Central KS_","Corn - South Central KS_Irrigated","Corn - Southeast KS_","Corn - Southwest KS_Irrigated","Corn - Southwest KS_W-C-F rotation","Corn Silage - Northeast KS_","Cotton - South Central KS_","Cotton - Southeast KS_Irrigated","Cotton - Southwest KS_Irrigated","Cotton - Southwest KS_W-CT-F rotation","Forage Sorghum Hay - Western KS_W-H-F","Forage Sorghum Silage - South Central KS_","Grain Sorghum - North Central KS_","Grain Sorghum - North Central KS_Irrigated","Grain Sorghum - Northeast KS_","Grain Sorghum - Northwest KS_Irrigated","Grain Sorghum - Northwest KS_W-S-F rotation","Grain Sorghum - South Central KS_","Grain Sorghum - South Central KS_Irrigated","Grain Sorghum - Southeast KS_","Grain Sorghum - Southwest KS_Irrigated","Grain Sorghum - Southwest KS_W-S-F rotation","Soybeans - North Central KS_","Soybeans - North Central KS_Irrigated","Soybeans - Northeast KS_","Soybeans - Northwest KS_Irrigated","Soybeans - Northwest KS_W-SB_F rotation","Soybeans - South Central KS_","Soybeans - South Central KS_Irrigated","Soybeans - Southeast KS_","Soybeans - Southeast KS_Double crop","Soybeans - Southwest KS_Irrigated","Soybeans - Southwest KS_W-SB-F rotation","Sunflower (confectionary) - Double crop - Western KS_Irrigated - double crop","Sunflower (Confectionary) - Western KS_Irrigated","Sunflower (Confectionary) - Western KS_W-SF-F rotation","Sunflower (oil-type) - Central and Eastern_Double crop","Sunflower (oil-type) - Double crop - Western KS_Irrigated - double crop","Sunflower (oil-type) - Eastern KS_","Sunflower (oil-type) - Western KS_Irrigated","Sunflower (oil-type) - Western KS_W-SF-F rotation","Wheat - North Central KS_Continuous","Wheat - North Central KS_Rotation","Wheat - Northeast KS_Continuous","Wheat - Northeast KS_Rotation","Wheat - Northwest KS_W-F rotation","Wheat - Northwest KS_W-S_C-F rotation","Wheat - South Central KS_Continuous","Wheat - South Central KS_Rotation","Wheat - Southeast KS_","Wheat - Southwest KS_W-F rotation","Wheat - Southwest KS_W-S_C-F rotation","Wheat - Western KS_Irrigated","Wheat, Durum - Western KS_","Wheat, Durum - Western KS_Irrigated","None"],"description":"Exact second publisher budget name or None Default: None.","default":"None"},"crop_2_acres":{"type":["number","null"],"minimum":0,"description":"Planted acres for second crop; blank source treated as zero Default: None.","default":null},"yield_2":{"type":["number","null"],"minimum":0,"description":"Second crop yield override in crop units/acre; null retains budget Default: None.","default":null},"price_2":{"type":["number","null"],"minimum":0,"description":"Second crop price override USD/crop unit; null retains budget Default: None.","default":null},"fallow_acres":{"type":"number","minimum":0,"description":"Fallow acres included in tillable denominator Default: 0.","default":0}},"required":[],"additionalProperties":false},"Outputs":{"type":"object","properties":{"crop_1_revenue":{"type":"number","description":"Gross crop revenue USD/planted acre"},"crop_1_direct_cost":{"type":"number","description":"Direct expenses including interest USD/planted acre"},"crop_1_total_cost":{"type":"number","description":"Total specified costs USD/planted acre"},"crop_1_net_return":{"type":"number","description":"Signed return above specified costs USD/planted acre"},"crop_1_breakeven_price":{"type":"number","description":"Breakeven USD/crop unit"},"price_flex_rent":{"type":"number","description":"Price-flex landlord rent USD/tillable acre for supplied deterministic actual price"},"farm_cash_net_return":{"type":"number","description":"Cash-lease tenant signed return USD/tillable acre"},"share_tenant_net_return":{"type":"number","description":"Share-lease tenant signed return USD/tillable acre"},"share_landlord_net_return":{"type":"number","description":"Share-lease landlord signed return USD/tillable acre"},"crop_2_revenue":{"type":"number","description":"Second crop gross revenue USD/planted acre; zero when inactive"},"crop_2_net_return":{"type":"number","description":"Second crop signed net return USD/planted acre; zero when inactive"}},"required":["crop_1_revenue","crop_1_direct_cost","crop_1_total_cost","crop_1_net_return","crop_1_breakeven_price","price_flex_rent","farm_cash_net_return","share_tenant_net_return","share_landlord_net_return","crop_2_revenue","crop_2_net_return"],"additionalProperties":false}}}}