{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/domani-run/json-schema/domani-run-broker-request-schema.json",
  "title": "BrokerRequest",
  "description": "A request to acquire a specific taken domain (autonomous broker)",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/domani-run-marketplace-api-openapi.yml#/components/schemas/BrokerRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "sourcing",
        "contacted",
        "negotiating",
        "agreed",
        "completed",
        "no_contact",
        "declined",
        "expired",
        "cancelled"
      ]
    },
    "max_budget": {
      "type": [
        "number",
        "null"
      ],
      "description": "Your ceiling in USD"
    },
    "contacted": {
      "type": "boolean",
      "description": "Whether the owner has been reached"
    },
    "negotiation_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Set once the owner engages and a negotiation opens"
    },
    "failure_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}