ServiceWorker.ServiceWorkerVersion

ServiceWorker version.

{
  "id": "ServiceWorkerVersion",
  "type": "object",
  "description": "ServiceWorker version.",
  "properties": [
    {
      "name": "versionId",
      "type": "string"
    },
    {
      "name": "registrationId",
      "type": "string"
    },
    {
      "name": "scriptURL",
      "type": "string"
    },
    {
      "name": "runningStatus",
      "$ref": "ServiceWorkerVersionRunningStatus"
    },
    {
      "name": "status",
      "$ref": "ServiceWorkerVersionStatus"
    },
    {
      "name": "scriptLastModified",
      "type": "number",
      "optional": true,
      "description": "The Last-Modified header value of the main script."
    },
    {
      "name": "scriptResponseTime",
      "type": "number",
      "optional": true,
      "description": "The time at which the response headers of the main script were received from the server.  For cached script it is the last time the cache entry was validated."
    },
    {
      "name": "controlledClients",
      "type": "array",
      "optional": true,
      "items": {
        "$ref": "Target.TargetID"
      }
    },
    {
      "name": "targetId",
      "$ref": "Target.TargetID",
      "optional": true
    }
  ]
}