Skip to main content

plugin_manifest.json

plugin_manifest.json Copy Json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "ident...

Updated over 2 months ago

plugin_manifest.json

Copy Json

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "identifier": {
      "type": "string",
      "minLength": 1
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "dependencies": {
      "type": "object",
      "properties": {
        "bw-api": {
          "description": "npm semver compatible string representing range of versions the plugin is compatible with. for further information see https://www.npmjs.com/package/semver",
          "type": "string"
        }
      },
      "required": ["bw-api"]
    },
    "type": {
      "enum": ["cpp", "python", "c#"]
    },
    "main": {
      "type": "string",
      "minLength": 1
    },
    "version": {
      "description": "Plugin version",
      "type": "string",
      "minLength": 1
    },
    "locale_name": {
      "description": "translated name",
      "type": "object",
      "properties": {
        "de": {
          "type": "string"
        },
        "el": {
          "type": "string"
        },
        "en": {
          "type": "string"
        },
        "es-es": {
          "type": "string"
        },
        "hu": {
          "type": "string"
        },
        "it": {
          "type": "string"
        },
        "ja": {
          "type": "string"
        },
        "ko": {
          "type": "string"
        },
        "pt-pt": {
          "type": "string"
        },
        "ru": {
          "type": "string"
        },
        "th": {
          "type": "string"
        },
        "tr": {
          "type": "string"
        },
        "zh-cn": {
          "type": "string"
        },
        "zh-tw": {
          "type": "string"
        }
      }
    },
    "html": {
      "type": "object",
      "properties": {
        "white_list": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "alias_hosts": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "html_root": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["html_root"]
    }
  },
  "required": ["identifier", "name", "dependencies", "type", "main"]
}
Did this answer your question?