1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- {
- "$schema": "http://json-schema.org/draft/2020-12/schema",
- "title": "Package Repositories",
- "description": "local repository configuration",
- "type": "object",
- "properties": {
- "lang": {
- "description": "optional language filter",
- "type": "string",
- "minLength": 2,
- "maxLength": 5,
- "pattern": "^[a-z][a-z][_]?[A-Z]?[A-Z]?$"
- },
- "osver": {
- "description": "optional OS version filter",
- "type": "string",
- "minLength": 0,
- "maxLength": 15
- },
- "arch": {
- "description": "optional architecture filter",
- "type": "array",
- "uniqueItems": true,
- "items": {
- "type": "string",
- "minLength": 3,
- "maxLength": 15
- }
- },
- "license": {
- "description": "optional license filter",
- "type": "array",
- "uniqueItems": true,
- "items": {
- "type": "string",
- "minLength": 2,
- "maxLength": 15,
- "pattern": "^[A-Z][A-Z0-9_\\-]+"
- }
- },
- "repos": {
- "description": "repository URLs",
- "type": "array",
- "uniqueItems": true,
- "items": {
- "type": "string",
- "minLength": 12,
- "maxLength": 255,
- "pattern": "^https://.*",
- "contentMediaType": "text/plain"
- }
- }
- },
- "required": [ "repos" ]
- }
|