UNPKG

bip-pod

Version:
128 lines 3.1 kB
{ "name": "boilerplate", "title": "Boilerplate", "description": "A Simple Boilerplate Schema for creating Pods of your own", "url": "", "trackDuplicates": false, "config": {}, "auth": { "strategy": "none" }, "rpcs": { "echo": { "contentType": "application/json", "title": "What You Give is What You Get", "properties" : { "message" : { "type" : "string", "description" : "echo message" } } } }, "actions": { "simple": { "title": "Simple Action", "description": "Long Description", "trigger": "invoke", "config": { "properties": { "str_in": { "type": "string", "description": "String In" }, "opt_str_in": { "type": "string", "description": "Optional String In" }, "config_option" : { "type" : "boolean", "description" : "Boolean Config Option", "default" : true } }, "required" : [ "str_in" ], "disposition": [ "str_in", "opt_str_in", "config_option" ] }, "exports": { "properties": { "str_out": { "type": "string", "description": "String Out" }, "value_out": { "type": "integer", "description": "Initial Value" }, "in_obj_out" : { "type" : "object", "description" : "Some Object" }, "in_arr_out" : { "type" : "array", "description" : "Some Array" }, "in_mixed_out" : { "type" : "mixed", "description" : "Something castable to JSON" }, "in_bool_out" : { "type" : "boolean", "description" : "Some Boolean" } } }, "imports": { "properties": { "str_in": { "type": "string", "description": "String in (override)" }, "opt_str_in": { "type": "string", "description": "Optional String in (override)" }, "value": { "type": "integer", "description": "Initial Value" }, "in_obj" : { "type" : "object", "description" : "Some Object" }, "in_arr" : { "type" : "array", "description" : "Some Array" }, "in_mixed" : { "type" : "mixed", "description" : "Something castable to JSON" }, "in_bool" : { "type" : "boolean", "description" : "Something Boolean" } }, "required": [ "value", "str_in" ], "disposition": [ "value" , "str_in", "opt_str_in", "in_obj", "in_arr", "in_mixed", "in_bool" ] } } } }