pronghorn-core Schemas

On this page:

repository-schema

{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "repository-schema", "type": "object", "title": "Prebuilt Repository Configuration Schema", "description": "This is the schema for a Repository Configuration used to fetch Prebuilts", "properties": { "enabled": { "type": "boolean", "description": "A flag that denotes if the repository configuration is connected", "enum": [ true, false ] }, "type": { "type": "string", "description": "The type of Repository", "enum": [ "gitlab" ] }, "hostname": { "type": "string", "description": "The hostname of the Respository endpoint", "examples": [ "gitlab.com" ] }, "path": { "type": "string", "description": "The path of the Repository endpoint", "examples": [ "itentialopensource/pre-built-automations" ] }, "credentials": { "type": "object", "properties": { "token": { "type": "string", "description": "An access token used to make HTTP requests", "examples": [ "uTc_P4pnMAEsLbQHmyOt" ] } }, "additionalProperties": false }, "versionStatus": { "type": "string", "description": "The version status of the Pre-built Automation in relation to the current IAP version", "enum": [ "current", "latest" ], "default": "latest" } }, "required": [ "enabled", "type", "hostname", "path", "credentials" ], "additionalProperties": false, "definitions": { "enabled": { "$ref": "common-schema#/definitions/enabled" }, "type": { "$ref": "common-schema#/definitions/type" }, "hostname": { "$ref": "common-schema#/definitions/hostname" }, "path": { "$ref": "common-schema#/definitions/path" }, "credentials": { "$ref": "common-schema#/definitions/credentials" } } }