-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'SchemaStore:master' into master
- Loading branch information
Showing
13 changed files
with
255 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://json.schemastore.org/amx-muse.json", | ||
"description": "A MUSE program descriptor file", | ||
"additionalProperties": true, | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"title": "Program ID", | ||
"description": "Globally unique program ID, special characters are not allowed", | ||
"type": "string", | ||
"pattern": "^[a-zA-z0-9_-]+$" | ||
}, | ||
"description": { | ||
"title": "Program Description", | ||
"description": "A description of the program that may be used by user interfaces", | ||
"type": "string" | ||
}, | ||
"disabled": { | ||
"title": "Auto-start Disabled", | ||
"description": "Disable the auto-start of the script on system boot", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"envvars": { | ||
"title": "Environment Variables", | ||
"description": "Name/Value pairs that can be used to set configuration of a program", | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
}, | ||
"scope": { | ||
"title": "Program Scope", | ||
"description": "The scope (location) to which the script belongs. Leave blank for global scope", | ||
"type": "string", | ||
"pattern": "^[a-zA-z0-9_\\.-]*$" | ||
}, | ||
"provider": { | ||
"title": "Programming Language", | ||
"description": "The language the program is written in", | ||
"enum": ["groovy", "javascript", "python"] | ||
}, | ||
"script": { | ||
"title": "Program File Name", | ||
"description": "The file name of the main entry point of the program. Defaults to index.<extension>", | ||
"type": "string", | ||
"default": "index.{groovy,js,py}" | ||
} | ||
}, | ||
"required": ["id", "provider"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.