get.porter.sh/porter@v1.3.0/cmd/testmixin/schema.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-07/schema#", 3 "definitions": { 4 "config": { 5 "description": "Configuration that can be set when the mixin is declared", 6 "type": "object", 7 "properties": { 8 "testmixin": { 9 "description": "test mixin configuration", 10 "type": "object", 11 "properties": { 12 "clientVersion": { 13 "description": "Version of the client to install in the bundle", 14 "type": "string" 15 } 16 }, 17 "additionalProperties": false 18 } 19 }, 20 "additionalProperties": false 21 }, 22 "installStep": { 23 "type": "object", 24 "properties": { 25 "testmixin": { 26 "$ref": "#/definitions/testmixin" 27 } 28 }, 29 "additionalProperties": false, 30 "required": [ 31 "testmixin" 32 ] 33 }, 34 "upgradeStep": { 35 "type": "object", 36 "properties": { 37 "testmixin": { 38 "$ref": "#/definitions/testmixin" 39 } 40 }, 41 "additionalProperties": false, 42 "required": [ 43 "testmixin" 44 ] 45 }, 46 "invokeStep": { 47 "type": "object", 48 "properties": { 49 "testmixin": { 50 "$ref": "#/definitions/testmixin" 51 } 52 }, 53 "additionalProperties": false, 54 "required": [ 55 "testmixin" 56 ] 57 }, 58 "uninstallStep": { 59 "type": "object", 60 "properties": { 61 "testmixin": { 62 "$ref": "#/definitions/testmixin" 63 } 64 }, 65 "additionalProperties": false, 66 "required": [ 67 "testmixin" 68 ] 69 }, 70 "testmixin": { 71 "description": "A step that is executed by the test mixin", 72 "type": "object", 73 "properties": { 74 "description": { 75 "description": "A description of the mixin step", 76 "type": "string" 77 } 78 }, 79 "additionalProperties": false, 80 "required": [ 81 "description" 82 ] 83 } 84 }, 85 "type": "object", 86 "properties": { 87 "install": { 88 "type": "array", 89 "items": { 90 "$ref": "#/definitions/installStep" 91 } 92 }, 93 "upgrade": { 94 "type": "array", 95 "items": { 96 "$ref": "#/definitions/upgradeStep" 97 } 98 }, 99 "uninstall": { 100 "type": "array", 101 "items": { 102 "$ref": "#/definitions/uninstallStep" 103 } 104 } 105 }, 106 "additionalProperties": { 107 "type": "array", 108 "items": { 109 "$ref": "#/definitions/invokeStep" 110 } 111 } 112 }