Type Definitions
-
application
-
An application is the root of our cost structure. It contains all the values we use to calculate costs.
Type:
- Object
Properties:
Name Type Description yieldnumber The total yield of the application
planted_acresnumber The planted acres of the application
chemical_coststring Chemical cost of the application
crop_insurance_coststring Crop Insurance cost of the application
drying_coststring Drying cost of the application
fertilizer_coststring Fertilizer cost of the application
fuel_coststring Fuel cost of the application
labor_coststring Labor cost of the application
land_coststring Land cost of the application
other_coststring Other cost of the application
payments_depreciation_coststring Payments/Depreciation cost of the application
repair_coststring Repair cost of the application
seed_coststring Seed cost of the application
custom_costObject Any custom costs of the application
-
contract
-
Contracts represent sales.
Type:
- Object
Properties:
Name Type Description amount_soldnumber The amount sold from the contract
cash_pricenumber The value of the contract
type_namestring The name of the contract type
-
contractLongShort
-
Contract Long/Short attribute. Only used with Futures Contracts.
Type:
- Object
Properties:
Name Type Description namestring The display name of the Long/Short value
valuestring The value of the contract long/short to be stored
-
contractMonths
-
Contract Month attribute. Only used many different contract types.
Type:
- Object
Properties:
Name Type Description namestring The name of the contract month
valuestring The value of the contract month to be stored
-
contractOptionStrategy
-
Contract Option Strategy. Only used with Option Sale contracts.
Type:
- Object
Properties:
Name Type Description namestring The name of the contract option strategy
valuestring The value of the contract option strategy to be stored
-
contractSize
-
Contract Size Object
Type:
- Object
Properties:
Name Type Description namestring The name of the contract size
valuestring The value of the contract size to be stored
-
crop
-
Type:
- Object
Properties:
Name Type Description market_crop_idnumber The market crop associated to the crop
namestring The name of the crop
-
line_item
-
A line item represents a cost applied to a field.
Type:
- Object
Properties:
Name Type Description amountnumber The amount of the line item
namenumber The name of the line item
pricenumber The price of the line item
type_namestring The type of the line item, made into a URL-formatted name
unitsstring The units applied of the line item
application_idnumber The application the line item belongs to
product_idnumber The product the line item belongs to
-
market_crop
-
Type:
- Object
Properties:
Name Type Description namestring The name of the market crop
symbolstring The market symbol of the market crop
-
planting
-
A planting is an abstract concept that rounds out plantings
Type:
- Object
Properties:
Name Type Description field_idnumber The field ID of the planting
year_idnumber The year ID of the planting
crop_idnumber The crop ID of the planting
planted_acresnumber The planted acres of the planting
applicationsArray.<application> The associated applications for the planting
-
product
-
A product represents a cost of some sort.
Type:
- Object
Properties:
Name Type Description amountnumber The amount of the product
coverage_amountnumber The amount covered by crop insurance (as an integer)
crop_namesstring The crops that this product can be applied to
crop_idsArray.<number> The crops that this product can be applied to
densitynumber The density of the product, if the product is a solid applied as a liquid
liquidboolean Whether the product is applied as a liquid
multipliernumber The units that make up a single product, if units are 'custom'
namenumber The name of the product
positionnumber The position of the product, when listed
pricenumber The price per unit of the product
type_namestring The type of the product, made into a URL-formatted name
unitsstring The units applied of the product
input_idnumber The input the product belongs to
sub_entity_idnumber | null The sub_entity the product belongs to
-
revenue
-
A revenue represents income of some sort.
Type:
- Object
Properties:
Name Type Description amountnumber The amount of the revenue
crop_namesstring The crops that this revenue can be applied to
crop_idsArray.<number> The crops that this revenue can be applied to
namenumber The name of the revenue
positionnumber The position of the revenue, when listed
year_idnumber The year the revenue belongs to
sub_entity_idnumber | null The sub_entity the revenue belongs to
-
setting
-
Settings for the given user
Properties:
Name Type Description valuenumber | string The value of the setting