github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/internal/fs/ddl/cache/agent/choria_registry.json (about) 1 { 2 "$schema": "https://choria.io/schemas/mcorpc/ddl/v1/agent.json", 3 "metadata": { 4 "license": "Apache-2.0", 5 "author": "rip@devco.net \u003crip@devco.net\u003e", 6 "timeout": 2, 7 "name": "choria_registry", 8 "version": "0.28.0", 9 "url": "https://choria.io", 10 "description": "Choria Registry Service", 11 "provider": "golang", 12 "service": true 13 }, 14 "actions": [ 15 { 16 "action": "names", 17 "description": "List of all known DDLs for a specific plugin type", 18 "input": { 19 "plugin_type": { 20 "prompt": "Plugin Type", 21 "description": "The type of plugin", 22 "type": "list", 23 "default": "agent", 24 "optional": false, 25 "list": [ 26 "agent" 27 ] 28 } 29 }, 30 "output": { 31 "names": { 32 "description": "The names of all known DDL files", 33 "type": "array", 34 "display_as": "Names" 35 }, 36 "plugin_type": { 37 "description": "The type of plugin", 38 "display_as": "Type", 39 "type": "string" 40 } 41 } 42 }, 43 { 44 "action": "ddl", 45 "input": { 46 "format": { 47 "prompt": "Plugin Format", 48 "description": "The result format the plugin should be retrieved in", 49 "type": "list", 50 "default": "json", 51 "optional": true, 52 "list": [ 53 "ddl", 54 "json" 55 ] 56 }, 57 "name": { 58 "prompt": "Plugin Name", 59 "description": "The name of the plugin", 60 "type": "string", 61 "optional": false, 62 "validation": "shellsafe", 63 "maxlength": 64 64 }, 65 "plugin_type": { 66 "prompt": "Plugin Type", 67 "description": "The type of plugin", 68 "type": "list", 69 "default": "agent", 70 "optional": false, 71 "list": [ 72 "agent" 73 ] 74 } 75 }, 76 "output": { 77 "ddl": { 78 "description": "The plugin DDL in the requested format", 79 "display_as": "DDL", 80 "type": "string" 81 }, 82 "name": { 83 "description": "The name of the plugin", 84 "display_as": "Name", 85 "type": "string" 86 }, 87 "plugin_type": { 88 "description": "The type of plugin", 89 "display_as": "Type", 90 "type": "string" 91 }, 92 "version": { 93 "description": "The version of the plugin", 94 "display_as": "Version", 95 "type": "string" 96 } 97 }, 98 "display": "always", 99 "description": "Retrieve the DDL for a specific plugin" 100 } 101 ] 102 }