Something went wrong. Try again.
Build and run CI pipelines anywhere, consistently. fluentci.io
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "FluentCI module CLI metadata v1", "type": "object", "additionalProperties": false, "required": [ "functions" ], "properties": { "functions": { "type": "array", "maxItems": 256, "items": { "$ref": "#/$defs/function" } }, "sha256": { "type": [ "string", "null" ], "pattern": "^[a-f0-9]{64}$" } }, "$defs": { "argument": { "type": "object", "required": [ "name", "type" ], "additionalProperties": false, "properties": { "name": { "type": "string", "minLength": 1, "maxLength": 128 }, "type": { "type": "string", "minLength": 1, "maxLength": 1024 }, "description": { "type": "string", "maxLength": 2048 }, "required": { "type": "boolean", "default": true } } }, "function": { "type": "object", "required": [ "name" ], "additionalProperties": false, "properties": { "name": { "type": "string", "minLength": 1, "maxLength": 256 }, "description": { "type": "string", "maxLength": 2048 }, "inputFormat": { "enum": [ "text", "json", "wit" ], "default": "text" }, "args": { "type": "array", "maxItems": 64, "items": { "$ref": "#/$defs/argument" } }, "returnType": { "type": "string", "maxLength": 1024 }, "wasmParams": { "type": "array", "items": { "type": "string" } }, "wasmResults": { "type": "array", "items": { "type": "string" } } }, "allOf": [ { "if": { "required": [ "inputFormat" ], "properties": { "inputFormat": { "const": "json" } } }, "then": { "required": [ "args" ], "properties": { "args": { "items": { "properties": { "name": { "pattern": "^(?!help$)[a-z][a-z0-9-]*$" }, "type": { "enum": [ "string", "integer", "number", "boolean", "string[]", "integer[]", "number[]", "boolean[]" ] } } } } } } } ] } }}