{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vergio-ai/json-schema/vergio-ai-patch-deals-id-request-schema.json",
  "title": "PatchDealsIdRequest",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/vergio-ai-openapi-generated.yml#/components/schemas/PatchDealsIdRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "any string value"
    },
    "value": {
      "type": "number",
      "description": "any number"
    },
    "stage": {
      "type": "string",
      "description": "discovery qualifying proposal negotiation won lost"
    },
    "next_step": {
      "type": "string",
      "description": "any string"
    },
    "next_step_due": {
      "type": "string",
      "description": "any string"
    },
    "owner_user_id": {
      "type": "string",
      "description": "any string"
    },
    "lost_reason": {
      "type": "string",
      "description": "no_response timing budget chose_another_agency project_cancelled not_a_fit other"
    },
    "lost_reason_other": {
      "type": "string",
      "description": "any string"
    },
    "archived": {
      "type": "boolean",
      "description": "any boolean"
    }
  }
}