SPB Git

Repository Public MIT

config.schema.json 1.2 KB 42 lines json

1{2  "$schema": "https://json-schema.org/draft/2020-12/schema",3  "$id": "https://glass.spboucher.ai/registry/schema/config.schema.json",4  "title": "spglass.json",5  "type": "object",6  "additionalProperties": false,7  "required": [8    "schemaVersion",9    "registry",10    "sourcesPath",11    "themesPath"12  ],13  "properties": {14    "schemaVersion": {15      "const": 116    },17    "registry": {18      "type": "string",19      "maxLength": 2048,20      "description": "https:// URL or local directory."21    },22    "sourcesPath": {23      "type": "string",24      "minLength": 1,25      "maxLength": 240,26      "pattern": "^(?!/)(?!~)(?!.*(^|/)\\.)(?!.*//)[A-Za-z0-9+_. /-]+$",27      "description": "Relative path with forward slashes. No component may be empty, start with a dot, or be '.' or '..'."28    },29    "themesPath": {30      "type": "string",31      "minLength": 1,32      "maxLength": 240,33      "pattern": "^(?!/)(?!~)(?!.*(^|/)\\.)(?!.*//)[A-Za-z0-9+_. /-]+$",34      "description": "Relative path with forward slashes. No component may be empty, start with a dot, or be '.' or '..'."35    },36    "publicKey": {37      "type": "string",38      "description": "Base64 Ed25519 public key; when present the registry index must be signed."39    }40  }41}42
Files main
Menu

Theme