chromium/extensions/common/api/requirements.json

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

[
  {
    "namespace": "requirements",
    "description": "Stub namespace for the 'requirements' manifest key.",
    "compiler_options": {
      "generate_error_messages": true
    },
    "types": [
      {
        "id": "3DFeature",
        "type": "string",
        "enum": ["webgl", "css3d"]
      }
    ],
    "manifest_keys": {
      "requirements": {
        "type": "object",
        "optional": true,
        "properties": {
          "plugins": {
            "type": "object",
            "optional": true,
            "deprecated": true,
            "properties": {
              "npapi": {
                "type": "boolean",
                "optional": true
              }
            }
          },
          "3D": {
            "type": "object",
            "optional": true,
            "properties": {
              "features": {
                "type": "array",
                "items": { "$ref": "3DFeature" }
              }
            }
          }
        }
      }
    }
  }
]