{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "PermissionFile", "description": "Permission file that can define a default permission, a set of permissions or a list of inlined permissions.", "type": "object", "properties": { "default": { "description": "The default permission set for the plugin", "anyOf": [ { "$ref": "#/definitions/DefaultPermission" }, { "type": "null" } ] }, "set": { "description": "A list of permissions sets defined", "type": "array", "items": { "$ref": "#/definitions/PermissionSet" } }, "permission": { "description": "A list of inlined permissions", "type": "array", "items": { "$ref": "#/definitions/Permission" }, "default": [] }, "commands": { "description": "A list of command names that get `allow-$command` and `deny-$command` permissions\nautogenerated on demand instead of being stored as explicit permissions.\n\nSee [`Manifest::command_permission`] and the ACL resolver for how these are expanded.", "type": "array", "items": { "type": "string" } } }, "definitions": { "DefaultPermission": { "description": "The default permission set of the plugin.\n\nWorks similarly to a permission with the \"default\" identifier.", "type": "object", "properties": { "version": { "description": "The version of the permission.", "type": [ "integer", "null" ], "format": "uint64", "minimum": 1 }, "description": { "description": "Human-readable description of what the permission does.\nTauri convention is to use `