From 2824deb2c092729b9e08c18138dfe30456f61fe5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 Nov 2026 06:22:13 +0000 Subject: [PATCH] docs: regenerate JSON schemas and OPA capabilities --- schemas/flow-template/v1.json | 9 +-------- schemas/policy/v1.json | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/schemas/flow-template/v1.json b/schemas/flow-template/v1.json index e55ae808..f37a5de0 100644 --- a/schemas/flow-template/v1.json +++ b/schemas/flow-template/v1.json @@ -112,14 +112,7 @@ "type": "integer" }, "trail": { - "anyOf": [ - { - "$ref": "#/$defs/Trail" - }, - { - "type": "null" - } - ], + "$ref": "#/$defs/Trail", "default": { "attestations": [], "artifacts": [] diff --git a/schemas/policy/v1.json b/schemas/policy/v1.json index 790aa506..113b765a 100644 --- a/schemas/policy/v1.json +++ b/schemas/policy/v1.json @@ -69,7 +69,7 @@ "type": "object" }, "PolicyExpression": { - "description": "Boolean expression evaluated against flow/artifact context. In YAML this is often written as a string wrapped in ${{ ... }}. A missing (None) context value never matches: matches() and the ordering comparisons (<, >, <=, >=) return false if either operand is missing, and `in` is a list-membership test that returns false unless its right-hand side is a list containing the left-hand value. The ordering comparisons compare two numbers numerically (an optional `-`, digits, and an optional `.` followed by digits, such as 10 or -1.5) and anything else as text. When exactly one side is a number the comparison has no answer, and the rule it belongs to is treated as required: an `if` condition applies and an exception does not waive.", + "description": "Boolean expression evaluated against flow/artifact context. In YAML this is often written as a string wrapped in ${{ ... }}. A missing (None) context value matches nothing in matches(), the ordering comparisons (<, >, <=, >=) or `in`. matches() and the ordering comparisons return false if either operand is missing. `in` is a list-membership test: it returns false unless its right-hand side is a list containing the left-hand value. `!=` against a missing value is true. The ordering comparisons compare two numbers numerically (an optional `-`, digits, and an optional `.` followed by digits, such as 10 or -1.5) and anything else as text. When exactly one side is a number the comparison has no answer, and the rule it belongs to is treated as required: an `if` condition applies and an exception does not waive.", "properties": { "text": { "title": "Text",