{
  "$id": "devthink/protocolv2/capability.schema.json",
  "version": "1.0.0",
  "title": "the frozen capability report contract of the api freeze",
  "description": "freezes the capability report the proposal request carries and the surfaces render: the granted optional permissions with the capture, media, network, session, debug, profile, emulation, workflow and vision kind families the grants cover.",
  "type": "object",
  "properties": {
    "tabs": {
      "type": "boolean",
      "description": "the optional tabs permission grant"
    },
    "downloads": {
      "type": "boolean",
      "description": "the optional downloads permission grant"
    },
    "clipboardread": {
      "type": "boolean",
      "description": "the optional clipboard read permission grant"
    },
    "clipboardwrite": {
      "type": "boolean",
      "description": "the optional clipboard write permission grant"
    },
    "captures": {
      "type": "array",
      "description": "the capture kinds the active tab grant already covers",
      "items": {
        "type": "string"
      }
    },
    "media": {
      "type": "array",
      "description": "the media capture kinds the grants cover",
      "items": {
        "type": "string"
      }
    },
    "http": {
      "type": "array",
      "description": "the outbound request kinds the granted origins cover",
      "items": {
        "type": "string"
      }
    },
    "netwatch": {
      "type": "array",
      "description": "the network observation kinds the grants cover",
      "items": {
        "type": "string"
      }
    },
    "control": {
      "type": "array",
      "description": "the network control kinds the grants cover",
      "items": {
        "type": "string"
      }
    },
    "sessions": {
      "type": "array",
      "description": "the session memory kinds the grants cover",
      "items": {
        "type": "string"
      }
    },
    "debug": {
      "type": "array",
      "description": "the debugging kinds the grants cover",
      "items": {
        "type": "string"
      }
    },
    "profile": {
      "type": "array",
      "description": "the profiling kinds the grants cover",
      "items": {
        "type": "string"
      }
    },
    "emulation": {
      "type": "array",
      "description": "the emulation kinds the grants cover",
      "items": {
        "type": "string"
      }
    },
    "workflow": {
      "type": "array",
      "description": "the workflow kinds the plan review gates cover",
      "items": {
        "type": "string"
      }
    },
    "vision": {
      "type": "array",
      "description": "the vision kinds the grants cover",
      "items": {
        "type": "string"
      }
    },
    "reportedat": {
      "type": "number",
      "description": "the epoch milliseconds of the report"
    }
  },
  "required": [
    "tabs",
    "downloads",
    "clipboardread",
    "clipboardwrite",
    "reportedat"
  ]
}
