{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/farmable-tech/json-schema/farmable-tech-get-v1-spray-records-response-schema.json",
  "title": "GetV1SprayRecordsResponse",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/farmable-tech-openapi-generated.yml#/components/schemas/GetV1SprayRecordsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "List of spray records"
    },
    "id": {
      "type": "string",
      "description": "Record identifier"
    },
    "field": {
      "type": "string",
      "description": "Field name"
    },
    "date": {
      "type": "string",
      "description": "Date of application"
    },
    "product": {
      "type": "string",
      "description": "Product applied"
    },
    "rate_per_ha": {
      "type": "number",
      "description": "Application rate per hectare"
    },
    "unit": {
      "type": "string",
      "description": "Unit of rate"
    },
    "weather": {
      "type": "object",
      "description": "Weather conditions"
    },
    "weather.temp_c": {
      "type": "number",
      "description": "Temperature in Celsius"
    },
    "weather.wind_ms": {
      "type": "number",
      "description": "Wind speed in m/s"
    },
    "phi_days": {
      "type": "integer",
      "description": "Pre-harvest interval days"
    },
    "operator": {
      "type": "string",
      "description": "Operator name"
    },
    "equipment": {
      "type": "string",
      "description": "Equipment used"
    }
  }
}