{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vergio-ai/json-schema/vergio-ai-post-api-v1-deals-response-schema.json",
  "title": "PostApiV1DealsResponse",
  "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/PostApiV1DealsResponse",
  "type": "object",
  "properties": {
    "deal": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "storeId": {
          "type": "string"
        },
        "accountName": {
          "type": "string"
        },
        "domain": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "value": {
          "type": "integer"
        },
        "dealKind": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "stage": {
          "type": "string"
        },
        "ownerUserId": {
          "type": "string"
        },
        "nextStep": {
          "type": "string"
        },
        "nextStepDue": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "emailPermissionStatus": {
          "type": "string"
        },
        "emailPermissionSource": {
          "type": "string"
        },
        "emailPermissionConfirmedAt": {
          "type": "string",
          "format": "date-time"
        },
        "version": {
          "type": "integer"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "created": {
      "type": "boolean"
    }
  }
}