{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "required": ["name", "version", "repositories"], "properties": { "name": { "type": "string" }, "version": { "type": "string" }, "repositories": { "type": "array", "items": { "type": "object", "required": ["kind", "name", "required_access"], "properties": { "kind": { "type": "string", "enum": ["generic", "docker", "python", "maven", "npm"] }, "name": { "type": "string" }, "required_access": { "type": "string", "enum": ["read", "write"] } } } }, "prerequisites": { "type": "array", "items": { "oneOf": [ { "type": "object", "required": ["check"], "properties": { "check": { "type": "string" }, "path": { "type": "string" }, "condition": { "type": "string" }, "pattern": { "type": "string" }, "command": { "type": "string" }, "version": { "type": "string" } } }, { "type": "object", "required": ["any_of"], "properties": { "any_of": { "type": "array", "items": { "type": "object" } } } } ] } } }, "patternProperties": { "^[A-Z_]+$": { "type": "string" } }, "additionalProperties": false }