{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fleetai-com/json-schema/fleetai-com-browser-resource-schema.json",
  "title": "BrowserResource",
  "description": "Canonical Browser resource shape used by private/routed SDK contracts.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fleetai-com-browsers-api-openapi.yml#/components/schemas/BrowserResource",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "lease_id": {
      "type": "string",
      "title": "Lease Id"
    },
    "browser_id": {
      "type": "string",
      "title": "Browser Id"
    },
    "host_domain": {
      "type": "string",
      "title": "Host Domain"
    },
    "mcp_url": {
      "type": "string",
      "maxLength": 2083,
      "minLength": 1,
      "format": "uri",
      "title": "Mcp Url"
    },
    "cdp_url": {
      "type": "string",
      "minLength": 1,
      "format": "uri",
      "title": "Cdp Url"
    },
    "stream_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2083,
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stream Url"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "stream_ready": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stream Ready"
    },
    "allowed_hosts": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allowed Hosts"
    },
    "created_timestamp_ms": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Created Timestamp Ms"
    },
    "expires_timestamp_ms": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Expires Timestamp Ms"
    },
    "age_duration_ms": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Age Duration Ms"
    },
    "cluster_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cluster Name"
    }
  },
  "type": "object",
  "required": [
    "id",
    "lease_id",
    "browser_id",
    "host_domain",
    "mcp_url",
    "cdp_url",
    "status",
    "created_timestamp_ms",
    "expires_timestamp_ms",
    "age_duration_ms"
  ]
}