{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/errand-be/json-schema/errand-be-post-api-v1-dispatches-request-schema.json",
  "title": "PostApiV1DispatchesRequest",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/errand-be-openapi-generated.yml#/components/schemas/PostApiV1DispatchesRequest",
  "type": "object",
  "properties": {
    "task_type": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "instructions": {
      "type": "string"
    },
    "validation_criteria": {
      "type": "string"
    },
    "lat": {
      "type": "number"
    },
    "lng": {
      "type": "number"
    },
    "address_hint": {
      "type": "string"
    },
    "radius_m": {
      "type": "integer"
    },
    "reward_krw": {
      "type": "integer"
    },
    "expires_in_minutes": {
      "type": "integer"
    },
    "report_fields": {
      "type": "array"
    },
    "webhook_url": {
      "type": "string"
    }
  },
  "required": [
    "task_type",
    "title",
    "instructions",
    "validation_criteria",
    "lat",
    "lng",
    "radius_m",
    "reward_krw",
    "expires_in_minutes"
  ]
}