{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pathbound-ai/json-schema/pathbound-ai-post-v1-deals-response-schema.json",
  "title": "PostV1DealsResponse",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/pathbound-ai-openapi-generated.yml#/components/schemas/PostV1DealsResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "created": {
      "type": "boolean"
    },
    "deal": {
      "type": "object",
      "properties": {
        "deal_id": {
          "type": "string"
        },
        "_id": {
          "type": "string"
        },
        "properties": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "stage": {
              "type": "string"
            },
            "amount": {
              "type": "integer"
            },
            "close_date": {
              "type": "string",
              "format": "date-time"
            },
            "status": {
              "type": "string"
            },
            "currency": {
              "type": "string"
            },
            "createdate": {
              "type": "string",
              "format": "date-time"
            },
            "lastmodifieddate": {
              "type": "string",
              "format": "date-time"
            }
          }
        },
        "company_id": {
          "type": "string"
        },
        "contact_id": {
          "type": "string"
        },
        "external_deal_id": {
          "type": "string"
        },
        "notes": {
          "type": "array",
          "items": {}
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "creation_source": {
          "type": "string"
        },
        "first_seen_at": {
          "type": "string",
          "format": "date-time"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}