pronghorn-core Schemas

On this page:

prebuilts-schema

{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "prebuilts-schema", "type": "object", "properties": { "metadata": { "type": "object", "properties": { "name": { "$ref": "#/definitions/name" }, "version": { "$ref": "#/definitions/version" }, "description": { "$ref": "#/definitions/description" }, "author": { "$ref": "#/definitions/author" }, "license": { "$ref": "#/definitions/license" }, "repository": { "$ref": "#/definitions/repository" }, "keywords": { "$ref": "#/definitions/keywords" }, "IAPDependencies": { "$ref": "#/definitions/IAPDependencies" }, "gitlabId": { "type": "integer", "examples": [ 17866482 ] } }, "required": [ "name", "version", "description", "author", "license", "repository", "IAPDependencies" ], "additionalProperties": false }, "manifest": { "type": "object", "properties": { "bundleName": { "type": "string", "examples": [ "aggregateFunctions" ] }, "fingerprint": { "type": "string", "examples": [ "5e84f892c5eab11ec2eee16d" ] }, "createdEpoch": { "type": "string", "examples": [ "1585772690392" ] }, "artifacts": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "examples": [ "5e5ea3bd16da51d52b4a8f9f" ] }, "name": { "type": "string", "examples": [ "aggregateFunctions" ] }, "type": { "type": "string", "enum": [ "automation", "forms", "golden-config", "integration", "integration-model", "json-forms", "mop-template", "mop-analytic-template", "service-catalog", "template", "transformation", "workflow" ] }, "location": { "type": "string", "examples": [ "/bundles/workflows/IAP Test Artifact Workflow.json" ] } } } } }, "required": [ "bundleName", "artifacts" ], "additionalProperties": false }, "bundles": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "automation", "forms", "golden-config", "integration", "integration-model", "json-forms", "mop-template", "mop-analytic-template", "service-catalog", "template", "transformation", "workflow" ] }, "data": { "type": "object" } }, "required": [ "type", "data" ], "additionalProperties": false } }, "readme": { "$ref": "#/definitions/readme" } }, "required": [ "metadata", "manifest", "bundles", "readme" ], "additionalProperties": false, "definitions": { "readme": { "type": "string", "examples": [ "example of readme" ], "pattern": "^([\\S\\s]*)$" }, "name": { "type": "string", "examples": [ "@itentialopensource/aggregate-functions-for-arrays", "@itentialopensource/cisco-nx-upgrade" ] }, "version": { "type": "string", "examples": [ "0.0.1", "0.1.0", "1.0.0", "1.1.1-2020.1.0" ] }, "description": { "type": "string", "examples": [ "A basic description" ] }, "author": { "type": "string", "examples": [ "Itential Artifacts" ] }, "license": { "type": "string", "examples": [ "Apache-2.0" ] }, "repository": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "local", "gitlab", "git" ] }, "hostname": { "type": "string", "examples": [ "gitlab.com", "localhost" ] }, "path": { "type": "string", "examples": [ "/itentialopensource/pre-built-automations" ] } }, "required": [ "type" ] }, "keywords": { "type": "array", "items": { "type": "string", "examples": [ "Itential" ] } }, "IAPDependencies": { "type": "object" } } }