{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/domani-run/json-schema/domani-run-watch-schema.json",
  "title": "Watch",
  "description": "A taken domain you follow for free: an alert at each step until it drops",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/domani-run-backorders-api-openapi.yml#/components/schemas/Watch",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "phase": {
      "type": "string",
      "enum": [
        "registered",
        "expiring",
        "expired",
        "redemption",
        "pending_delete",
        "available",
        "unknown"
      ],
      "description": "Where the name stands: registered, expiring (within 30 days), expired (not renewed yet), redemption (only the last owner can recover it), pending_delete (drops in about 5 days), available, or unknown (the registry has not answered yet)."
    },
    "registered_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the name was first registered, when the registry publishes it"
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the current registration expires"
    },
    "for_sale": {
      "type": [
        "object",
        "null"
      ],
      "description": "Set when the name is listed for sale on a marketplace",
      "properties": {
        "source": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "price": {
          "type": [
            "number",
            "null"
          ],
          "description": "Asking price in USD, when known"
        }
      }
    },
    "last_checked_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "backorder_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Your active backorder on this name, if any"
    }
  }
}