{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/regrow-ag/main/json-schema/regrow-ag-execute-process-request-body-monitor-field-boundary-id-inputs-schema.json",
  "title": "ExecuteProcessRequestBody[MonitorFieldBoundaryIdInputs]",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/regrow-ag-monitor-api-openapi.yml#/components/schemas/ExecuteProcessRequestBody_MonitorFieldBoundaryIdInputs_",
  "properties": {
    "inputs": {
      "anyOf": [
        {
          "$ref": "#/$defs/MonitorFieldBoundaryIdInputs"
        },
        {
          "type": "null"
        }
      ]
    },
    "outputs": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Outputs"
    },
    "response": {
      "anyOf": [
        {
          "$ref": "#/$defs/ResponseMode"
        },
        {
          "type": "null"
        }
      ]
    },
    "transmission_mode": {
      "anyOf": [
        {
          "$ref": "#/$defs/TransmissionMode"
        },
        {
          "type": "null"
        }
      ]
    },
    "subscriber": {
      "anyOf": [
        {
          "$ref": "#/$defs/Subscriber"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false,
  "type": "object",
  "$defs": {
    "MonitorFieldBoundaryIdInputs": {
      "properties": {
        "start_date": {
          "type": "string",
          "format": "date",
          "title": "Start Date"
        },
        "end_date": {
          "type": "string",
          "format": "date",
          "title": "End Date"
        },
        "priority": {
          "anyOf": [
            {
              "$ref": "#/$defs/Priority"
            },
            {
              "type": "null"
            }
          ]
        },
        "boundary_ids": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Boundary Ids"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "start_date",
        "end_date",
        "boundary_ids"
      ],
      "title": "MonitorFieldBoundaryIdInputs",
      "description": "`MonitorFieldBoundaryIDInputs` are metadata used to define the parameters\nof a data request, such as the geographical area of the agricultural\nfield and the start and end date for field monitoring.\n\n`MonitorFieldBoundaryIDInputs` uses Regrow’s Boundary Service to retrieve\nthe geographical boundaries of the field. Users pass a Boundary Service Field\nID with the inputs to define the agricultural field to retrieve data for.\nA Field ID is created in the Boundary Service when data requests provide GeoJSON\nfield boundaries using `MonitorFieldGeojsonInputs`. The first request for field\ndata should be made using `MonitorFieldGeojsonInputs`, and subsequent requests\nfor the field can be made using the Field ID rather than the field GeoJSON, if preferred."
    },
    "Priority": {
      "type": "string",
      "enum": [
        "high",
        "normal",
        "low"
      ],
      "title": "Priority"
    },
    "ResponseMode": {
      "type": "string",
      "enum": [
        "document",
        "raw"
      ],
      "title": "ResponseMode",
      "description": "Defines how Process results (if any) may be retrieved.\n\nThese values are defined in [OGC API - Processes: 7.11.2.5 Process\noutputs](https://docs.ogc.org/is/18-062r2/18-062r2.html#7-11-2-5-%C2%A0-process-outputs)."
    },
    "Subscriber": {
      "properties": {
        "successUri": {
          "type": "string",
          "title": "Successuri"
        },
        "successHeaders": {
          "anyOf": [
            {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Successheaders"
        },
        "inProgressUri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Inprogressuri"
        },
        "inProgressHeaders": {
          "anyOf": [
            {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Inprogressheaders"
        },
        "failedUri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Faileduri"
        },
        "failedHeaders": {
          "anyOf": [
            {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Failedheaders"
        },
        "resultsFormat": {
          "anyOf": [
            {
              "type": "string",
              "const": "prefill"
            },
            {
              "type": "null"
            }
          ],
          "title": "Resultsformat"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "successUri"
      ],
      "title": "Subscriber",
      "description": "The `StatusCode` provides information about the status of a job. such as success,\nfailure, processing, etc."
    },
    "TransmissionMode": {
      "type": "string",
      "enum": [
        "value",
        "reference"
      ],
      "title": "TransmissionMode",
      "description": "Defines how Process results (if any) may be retrieved.\n\nThese values are defined in [OGC API - Processes: 7.11.2.5 Process\noutputs](https://docs.ogc.org/is/18-062r2/18-062r2.html#7-11-2-5-%C2%A0-process-outputs)."
    }
  }
}