Created
January 18, 2026 03:38
-
-
Save AWeirdDev/79e10e0c54d793fcd0c3ab6520efb3e6 to your computer and use it in GitHub Desktop.
Pyce
This file contains hidden or 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
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "$id": "https://pyce.dev/schema/pyce.json", | |
| "title": "Pyce Configuration", | |
| "description": "Configuration schema for Pyce projects", | |
| "type": "object", | |
| "required": ["name", "version"], | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "description": "Project name", | |
| "pattern": "^[a-z0-9-_]+$", | |
| "minLength": 1, | |
| "maxLength": 214 | |
| }, | |
| "version": { | |
| "type": "string", | |
| "description": "Semantic version of the project", | |
| "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$" | |
| }, | |
| "description": { | |
| "type": "string", | |
| "description": "Brief description of the project" | |
| }, | |
| "author": { | |
| "type": "string", | |
| "description": "Project author" | |
| }, | |
| "license": { | |
| "type": "string", | |
| "description": "Project license (e.g., MIT, Apache-2.0)" | |
| }, | |
| "scripts": { | |
| "type": "object", | |
| "description": "Scripts that can be run via `rt run <script name>`", | |
| "patternProperties": { | |
| "^[a-zA-Z0-9-_:]+$": { | |
| "type": "string", | |
| "description": "Shell command to execute" | |
| } | |
| }, | |
| "additionalProperties": false | |
| }, | |
| "dependencies": { | |
| "type": "object", | |
| "description": "Project dependencies", | |
| "patternProperties": { | |
| "^[a-z0-9-_]+$": { | |
| "type": "string", | |
| "description": "Version specification (semver)", | |
| "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$" | |
| } | |
| }, | |
| "additionalProperties": false | |
| }, | |
| "devDependencies": { | |
| "type": "object", | |
| "description": "Development dependencies", | |
| "patternProperties": { | |
| "^[a-z0-9-_]+$": { | |
| "type": "string", | |
| "description": "Version specification (semver)", | |
| "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$" | |
| } | |
| }, | |
| "additionalProperties": false | |
| }, | |
| "python": { | |
| "type": "string", | |
| "description": "Required Python version", | |
| "pattern": "^(>=|>|<=|<|\\^|~)?\\d+\\.\\d+(\\.\\d+)?$" | |
| }, | |
| "main": { | |
| "type": "string", | |
| "description": "Entry point file for the project" | |
| }, | |
| "keywords": { | |
| "type": "array", | |
| "description": "Keywords for project discovery", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "repository": { | |
| "type": "object", | |
| "description": "Source code repository information", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "enum": ["git", "svn", "hg"] | |
| }, | |
| "url": { | |
| "type": "string", | |
| "format": "uri" | |
| } | |
| }, | |
| "required": ["type", "url"] | |
| }, | |
| "$schema": { | |
| "type": "string", | |
| "description": "The schema to verify this document against." | |
| } | |
| }, | |
| "additionalProperties": true | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment