{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tale-dev/json-schema/tale-dev-browser-session-import-schema.json",
  "title": "BrowserSessionImport",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tale-dev-browser-sessions-api-openapi.yml#/components/schemas/BrowserSessionImport",
  "type": "object",
  "required": [
    "domain",
    "cookiesJar"
  ],
  "additionalProperties": false,
  "properties": {
    "domain": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "The host the jar was warmed for — a hostname or an http(s) URL, normalized to its lower-cased hostname on import; private-network and metadata hosts are refused (400 `INVALID_SESSION`)"
    },
    "cookiesJar": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000000,
      "description": "A Netscape-format cookie jar, at most 1 MB"
    },
    "userAgent": {
      "type": "string",
      "maxLength": 512
    },
    "visitorData": {
      "type": "string",
      "maxLength": 2048
    },
    "poToken": {
      "type": "string",
      "maxLength": 4096
    },
    "label": {
      "type": "string",
      "maxLength": 120
    },
    "ttlMs": {
      "type": "integer",
      "minimum": 1,
      "maximum": 15552000000,
      "description": "Lifetime in milliseconds (default 1209600000, 14 days; at most 15552000000, 180 days)"
    }
  }
}