@cognigy/rest-api-client
Version:
Cognigy REST-Client
57 lines • 1.99 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.chartExecutableNodeSchema = void 0;
const INodeDescriptorSet_1 = require("../INodeDescriptorSet");
const IChartNode_1 = require("../IChartNode");
exports.chartExecutableNodeSchema = {
title: "chartExecutableNodeSchema",
type: "object",
additionalProperties: false,
required: ["id", "behavior", "children", "config", "isCognigy", "next", "projectId", "organisationId", "trustedCode", "type"],
properties: {
id: { type: "string", format: "uuid" },
_id: { type: "string", format: "mongo-id" },
behavior: {
type: "object",
properties: {
stopping: { type: "boolean" },
},
},
fields: {
type: "array",
items: { items: INodeDescriptorSet_1.nodeFieldSchema },
additionalItems: false
},
children: {
type: "array", items: { type: "string", format: "uuid" },
},
config: { type: "object" },
isCognigy: { type: "boolean" },
isDisabled: { type: "boolean" },
next: {
oneOf: [
{ type: "null" },
{ type: "string", format: "uuid" },
],
},
projectId: {
oneOf: [
{ type: "null" },
{ type: "string", format: "mongo-id" },
],
},
organisationId: {
oneOf: [
{ type: "null" },
{ type: "string", format: "mongo-id" },
],
},
pathToPackageExecutable: { type: "string" },
trustedCode: { type: "boolean" },
type: { type: "string", minLength: 1 },
label: IChartNode_1.nodeDataSchema.properties.label,
extension: { type: "string" },
analyticsLabel: { type: ["string", "null"], format: "analytics-label" }
},
};
//# sourceMappingURL=IChartExecutableNode.js.map