Created
February 27, 2019 22:20
-
-
Save vdice/114bec04b6bfbf7dabf14027372e591a to your computer and use it in GitHub Desktop.
porter schema output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ porter version | |
porter v0.3.0-ralpha.1+caipirinha-20-g106ccfe (106ccfe) | |
$ porter schema | |
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"additionalProperties": false, | |
"definitions": { | |
"azure.install": { | |
"additionalProperties": true, | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"template": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"exec.install": { | |
"properties": { | |
"description": { | |
"type": "string" | |
}, | |
"exec": { | |
"properties": { | |
"arguments": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"command": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"type": "object" | |
}, | |
"helm.install": { | |
"additionalProperties": true, | |
"properties": { | |
"chart": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"properties": { | |
"description": { | |
"type": "string" | |
}, | |
"install": { | |
"anyOf": [ | |
{ | |
"$ref": "#/definitions/azure.install" | |
}, | |
{ | |
"$ref": "#/definitions/exec.install" | |
}, | |
{ | |
"$ref": "#/definitions/helm.install" | |
} | |
], | |
"type": "array" | |
}, | |
"invocationImage": { | |
"type": "string" | |
}, | |
"mixins": { | |
"items": { | |
"enum": [ | |
"azure", | |
"exec", | |
"helm" | |
], | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment