get.porter.sh/porter@v1.3.0/pkg/schema/installation.schema.json (about) 1 { 2 "$id": "https://porter.sh/schema/v1/installation.schema.json", 3 "$schema": "http://json-schema.org/draft-07/schema#", 4 "properties": { 5 "name": { 6 "description": "The name of the installation.", 7 "type": "string" 8 }, 9 "namespace": { 10 "description": "The namespace in which the installation is defined.", 11 "type": "string" 12 }, 13 "created": { 14 "description": "The date created, as an ISO-8601 Extended Format date string, as specified in the ECMAScript standard", 15 "type": "string" 16 }, 17 "modified": { 18 "description": "The date modified, as an ISO-8601 Extended Format date string, as specified in the ECMAScript standard", 19 "type": "string" 20 }, 21 "bundle": { 22 "description": "A reference to where the bundle is published.", 23 "type": "object", 24 "properties": { 25 "repository": { 26 "description": "The OCI repository of the current bundle definition, e.g. getporter/porter-hello", 27 "type": "string" 28 }, 29 "version": { 30 "description": "The current version of the bundle, e.g. 0.1.1. A leading v prefix is allowed.", 31 "type": "string" 32 }, 33 "digest": { 34 "description": "The current repository digest of the bundle, e.g. sha256:abc123", 35 "type": "string" 36 }, 37 "tag": { 38 "description": "The OCI tag of the current bundle definition, e.g. latest or v0.1.1", 39 "type": "string" 40 } 41 }, 42 "required": ["repository"], 43 "oneOf": [ 44 {"required": ["version"]}, 45 {"required": ["digest"]}, 46 {"required": ["tag"]} 47 ] 48 }, 49 "labels": { 50 "description": "Set of labels associated with the installation.", 51 "type": "object", 52 "additionalProperties": { 53 "type": "string" 54 } 55 }, 56 "parameters": { 57 "description": "Parameters specified by the user through overrides. Sensitive values should be set via a parameter set.", 58 "type": "object", 59 "additionalProperties": { 60 "type": "string" 61 } 62 }, 63 "parameterSets": { 64 "description": "Names of parameter sets to use with the installation.", 65 "type": "array", 66 "items": { 67 "type": "string" 68 } 69 }, 70 "credentialSets": { 71 "description": "Names of credential sets to use with the installation.", 72 "type": "array", 73 "items": { 74 "type": "string" 75 } 76 }, 77 "custom": { 78 "$comment": "reserved for custom extensions", 79 "type": "object", 80 "additionalProperties": true 81 }, 82 "schemaType": { 83 "description": "The resource type of the current document.", 84 "type": "string", 85 "default": "Installation" 86 }, 87 "schemaVersion": { 88 "description": "Version of the installation schema to which this document adheres", 89 "type": "string", 90 "default": "1.0.0" 91 } 92 }, 93 "required": [ 94 "schemaVersion", 95 "name", 96 "bundle" 97 ], 98 "title": "Installation json schema", 99 "type": "object", 100 "additionalProperties": false 101 } 102