diff --git a/schemas/core/any.json b/schemas/core/any.json index 442b642..3b68064 100644 --- a/schemas/core/any.json +++ b/schemas/core/any.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/any.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/any.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Any", "anyOf": [ diff --git a/schemas/core/args-and-kwargs.json b/schemas/core/args-and-kwargs.json index d639338..0f0cdd4 100644 --- a/schemas/core/args-and-kwargs.json +++ b/schemas/core/args-and-kwargs.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/args-and-kwargs.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/args-and-kwargs.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ArgsAndKwargs", "type": "object", @@ -7,7 +7,7 @@ "args": { "type": "array", "items": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/any.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/any.json" } }, "kwargs": { diff --git a/schemas/core/call.json b/schemas/core/call.json index 01e4846..b0cd3e4 100644 --- a/schemas/core/call.json +++ b/schemas/core/call.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/call.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/call.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Call", "type": "object", @@ -7,7 +7,7 @@ "iterations": { "type": "array", "items": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/iteration.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/iteration.json" }, "default": [] }, @@ -38,10 +38,10 @@ "type": "object", "allOf": [ { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/inputs.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/inputs.json" }, { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/args-and-kwargs.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/args-and-kwargs.json" } ] } diff --git a/schemas/core/fail-result.json b/schemas/core/fail-result.json index 2b53afe..e273e17 100644 --- a/schemas/core/fail-result.json +++ b/schemas/core/fail-result.json @@ -1,11 +1,11 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/pass-result.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/pass-result.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "PassResult", "type": "object", "allOf": [ { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/validation-result.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/validation-result.json" } ], "properties": { @@ -17,7 +17,7 @@ "type": "string" }, "fixValue": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/any.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/any.json" } } } \ No newline at end of file diff --git a/schemas/core/guard.json b/schemas/core/guard.json index fd2f68a..7479625 100644 --- a/schemas/core/guard.json +++ b/schemas/core/guard.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/guard.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/guard.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Guard", "type": "object", @@ -38,7 +38,7 @@ } }, { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/history.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/history.json" } ] } @@ -53,7 +53,7 @@ "type": "object", "allOf": [ { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/args-and-kwargs.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/args-and-kwargs.json" } ], "properties": { diff --git a/schemas/core/history.json b/schemas/core/history.json index 15fc77a..ac5ec7c 100644 --- a/schemas/core/history.json +++ b/schemas/core/history.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/history.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/history.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "History", "type": "array", diff --git a/schemas/core/inputs.json b/schemas/core/inputs.json index c854397..782eb1a 100644 --- a/schemas/core/inputs.json +++ b/schemas/core/inputs.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/inputs.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/inputs.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Inputs", "type": "object", diff --git a/schemas/core/iteration.json b/schemas/core/iteration.json index cb4ba38..326e25d 100644 --- a/schemas/core/iteration.json +++ b/schemas/core/iteration.json @@ -1,14 +1,14 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/iteration.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/iteration.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Iteration", "type": "object", "properties": { "inputs": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/inputs.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/inputs.json" }, "outputs": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/outputs.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/outputs.json" } }, "required": [] diff --git a/schemas/core/outputs.json b/schemas/core/outputs.json index 5f9628a..47626d9 100644 --- a/schemas/core/outputs.json +++ b/schemas/core/outputs.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/outputs.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/outputs.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Outputs", "type": "object", @@ -28,7 +28,7 @@ "type": "string" }, { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/reask.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/reask.json" }, { "type": "object", @@ -50,13 +50,13 @@ "reasks": { "type": "array", "items": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/reask.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/reask.json" } }, "validatorLogs": { "type": "array", "items": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/validator-log.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/validator-log.json" } }, "error": { diff --git a/schemas/core/pass-result.json b/schemas/core/pass-result.json index c610ad0..e3d50d0 100644 --- a/schemas/core/pass-result.json +++ b/schemas/core/pass-result.json @@ -1,11 +1,11 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/pass-result.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/pass-result.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "PassResult", "type": "object", "allOf": [ { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/validation-result.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/validation-result.json" } ], "properties": { @@ -14,7 +14,7 @@ "const": "pass" }, "valueOverride": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/any.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/any.json" } } } \ No newline at end of file diff --git a/schemas/core/reask.json b/schemas/core/reask.json index 0a3a2ea..cf7b87c 100644 --- a/schemas/core/reask.json +++ b/schemas/core/reask.json @@ -1,16 +1,16 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/reask.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/reask.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ReAsk", "type": "object", "properties": { "incorrectValue": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/any.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/any.json" }, "failResults": { "type": "array", "items": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/fail-result.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/fail-result.json" } } } diff --git a/schemas/core/validation-outcome.json b/schemas/core/validation-outcome.json index a044224..533d0fc 100644 --- a/schemas/core/validation-outcome.json +++ b/schemas/core/validation-outcome.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/validation-outcome.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/validation-outcome.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ValidationOutcome", "description": "The output from a Guard execution.", @@ -23,11 +23,11 @@ }, "reask": { "description": "If validation continuously fails and all allocated reasks are used, this field will contain the final reask that would have been sent to the LLM if additional reasks were available.", - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/reask.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/reask.json" }, "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/main/schemas/core/reask.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/reask.json" }, "error": { "type": "string", diff --git a/schemas/core/validation-result.json b/schemas/core/validation-result.json index fdbc5bc..7eae4e7 100644 --- a/schemas/core/validation-result.json +++ b/schemas/core/validation-result.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/validation-result.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/validation-result.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ValidationResult", "type": "object", diff --git a/schemas/core/validator-log.json b/schemas/core/validator-log.json index 72334b5..a600492 100644 --- a/schemas/core/validator-log.json +++ b/schemas/core/validator-log.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/validator-log.json", + "$id": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/validator-log.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ValidatorLog", "type": "object", @@ -30,13 +30,13 @@ "description": "The JSON path to the property which was validated that produced this log." }, "valueBeforeValidation": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/any.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/any.json" }, "valueAfterValidation": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/any.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/any.json" }, "validationResult": { - "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/main/schemas/core/validation-result.json" + "$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/validation-result.json" }, "startTime": { "type": "string",