diff --git a/packages/schema.json b/packages/schema.json deleted file mode 100644 index 69cfaf62..00000000 --- a/packages/schema.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/glasskube/glasskube/api/v1alpha1/package-manifest", - "$ref": "#/$defs/PackageManifest", - "$defs": { - "HelmManifest": { - "properties": { - "repositoryUrl": { - "type": "string" - }, - "chartName": { - "type": "string" - }, - "chartVersion": { - "type": "string" - }, - "values": { - "$ref": "#/$defs/JSON" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "repositoryUrl", - "chartName", - "chartVersion" - ] - }, - "JSON": { - "additionalProperties": true, - "type": "object" - }, - "KustomizeManifest": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, - "PackageEntrypoint": { - "properties": { - "name": { - "type": "string" - }, - "serviceName": { - "type": "string" - }, - "port": { - "type": "integer" - }, - "localPort": { - "type": "integer" - }, - "scheme": { - "type": "string" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "serviceName", - "port" - ] - }, - "PackageManifest": { - "properties": { - "name": { - "type": "string" - }, - "shortDescription": { - "type": "string" - }, - "longDescription": { - "type": "string" - }, - "references": { - "items": { - "$ref": "#/$defs/PackageReference" - }, - "type": "array" - }, - "iconUrl": { - "type": "string", - "format": "uri" - }, - "helm": { - "$ref": "#/$defs/HelmManifest" - }, - "kustomize": { - "$ref": "#/$defs/KustomizeManifest" - }, - "manifests": { - "items": { - "$ref": "#/$defs/PlainManifest" - }, - "type": "array" - }, - "defaultNamespace": { - "type": "string" - }, - "entrypoints": { - "items": { - "$ref": "#/$defs/PackageEntrypoint" - }, - "type": "array" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "name", - "defaultNamespace" - ] - }, - "PackageReference": { - "properties": { - "label": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "label", - "url" - ] - }, - "PlainManifest": { - "properties": { - "url": { - "type": "string" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "url" - ] - } - } -}