Skip to main content

Request: Update JSON Schema for confidentiality_filter Component (additionalProperties: false)

Hello,

Could you please update the input JSON Schema for the confidentiality_filter component in my project?
Currently, the schema is missing the "additionalProperties": false property for each object in the messages and generated_content arrays.

This strict validation is required by the Triform orchestrator to ensure compatibility and avoid execution errors (such as “Invalid schema for function 'confidentiality_filter': In context=('properties', 'messages', 'items'), 'additionalProperties' is required to be supplied and to be false.”).

Here is the corrected JSON Schema for your reference:

{ "type": "object", "properties": { "messages": { "type": "array", "items": { "type": "object", "properties": { "role": { "type": "string" }, "content": { "type": "string" } }, "required": ["role", "content"], "additionalProperties": false } }, "generated_content": { "type": "array", "items": { "type": "object", "properties": { "role": { "type": "string" }, "content": { "type": "string" } }, "required": ["role", "content"], "additionalProperties": false } } }, "required": ["messages", "generated_content"], "additionalProperties": false } 

Could you please update the schema for this component accordingly?
This change is essential for the Nova Automation Sentinel workflow to operate without schema validation errors.

Thank you very much for your help!

Best regards,

No comments yet

Be the first to share your thoughts.