diff --git a/schemas/core/validation-outcome.json b/schemas/core/validation-outcome.json index 533d0fc..9a12428 100644 --- a/schemas/core/validation-outcome.json +++ b/schemas/core/validation-outcome.json @@ -27,7 +27,7 @@ }, "validationPassed": { "description": "A boolean to indicate whether or not the LLM output passed validation. If this is False, the validated_output may be invalid.", - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/reask.json" + "type": "boolean" }, "error": { "type": "string", diff --git a/schemas/core/validator-log.json b/schemas/core/validator-log.json index d70e163..a9c6b3b 100644 --- a/schemas/core/validator-log.json +++ b/schemas/core/validator-log.json @@ -36,7 +36,14 @@ "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/any-type.json" }, "validationResult": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/validation-result.json" + "oneOf": [ + { + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/pass-result.json" + }, + { + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/fail-result.json" + } + ] }, "startTime": { "type": "string",