changedOutput schema / oneOf
Previous value: -[
- {
- "properties": {
- "disclosure": {
- "enum": [
- "view_authorized",
- "public_summary_only"
- ]
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "complete": {
- "type": "boolean"
- },
- "content": {
- "maxLength": 6000,
- "type": "string"
- },
- "encoding": {
- "enum": [
- "text",
- "json"
- ]
- },
- "offset": {
- "minimum": 0,
- "type": "integer"
- },
- "section": {
- "type": "string"
- },
- "total_characters": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "section",
- "encoding",
- "content",
- "offset",
- "total_characters",
- "complete"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "metrics": {
- "additionalProperties": false,
- "properties": {
- "average_credits": {
- "type": [
- "number",
- "null"
- ]
- },
- "average_duration_seconds": {
- "type": [
- "number",
- "null"
- ]
- },
- "basis": {
- "const": "successful_runs"
- },
- "sample_count": {
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "basis",
- "sample_count",
- "average_credits",
- "average_duration_seconds"
- ],
- "type": "object"
- },
- "next_cursor": {
- "maxLength": 2000,
- "type": [
- "string",
- "null"
- ]
- },
- "recipe_ref": {
- "maxLength": 32768,
- "type": "string"
- },
- "revision_sha": {
- "type": "string"
- },
- "view": {
- "const": "details"
- }
- },
- "required": [
- "view",
- "revision_sha",
- "disclosure",
- "items",
- "next_cursor",
- "recipe_ref",
- "metrics"
- ],
- "type": "object"
- },
- {
- "properties": {
- "access": {
- "additionalProperties": false,
- "properties": {
- "can_fork": {
- "type": "boolean"
- },
- "can_run": {
- "type": "boolean"
- },
- "can_view": {
- "type": "boolean"
- }
- },
- "required": [
- "can_view",
- "can_run",
- "can_fork"
- ],
- "type": "object"
- },
- "category": {
- "maxLength": 100,
- "type": "string"
- },
- "contracts": {
- "additionalProperties": false,
- "properties": {
- "inputs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 500,
- "type": "string"
- },
- "handle": {
- "pattern": "^[a-z][a-z0-9_]{0,63}$",
- "type": "string"
- },
- "label": {
- "maxLength": 100,
- "type": "string"
- },
- "required": {
- "description": "Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.",
- "type": "boolean"
- }
- },
- "required": [
- "handle",
- "label",
- "required",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "outputs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 500,
- "type": "string"
- },
- "handle": {
- "pattern": "^[a-z][a-z0-9_]{0,63}$",
- "type": "string"
- },
- "label": {
- "maxLength": 100,
- "type": "string"
- },
- "required": {
- "description": "Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.",
- "type": "boolean"
- }
- },
- "required": [
- "handle",
- "label",
- "required",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "outputs_undeclared": {
- "type": "boolean"
- }
- },
- "required": [
- "inputs",
- "outputs"
- ],
- "type": "object"
- },
- "decision_context": {
- "additionalProperties": false,
- "description": "Bounded selection hints from the pinned published revision, with explicitly labeled safety-reviewed public copy as a fallback; text is withheld without view permission.",
- "properties": {
- "evidence_note": {
- "maxLength": 240,
- "type": [
- "string",
- "null"
- ]
- },
- "limitations_excerpt": {
- "maxLength": 800,
- "type": [
- "string",
- "null"
- ]
- },
- "method_excerpt": {
- "maxLength": 800,
- "type": [
- "string",
- "null"
- ]
- },
- "output_contract_state": {
- "description": "Unusable means output nodes exist but no stable executable output binding is available.",
- "enum": [
- "declared",
- "undeclared",
- "unusable"
- ]
- }
- },
- "required": [
- "method_excerpt",
- "limitations_excerpt",
- "output_contract_state",
- "evidence_note"
- ],
- "type": "object"
- },
- "description": {
- "maxLength": 4000,
- "type": "string"
- },
- "description_truncated": {
- "type": "boolean"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "acceptance_case_count": {
- "maximum": 50,
- "minimum": 0,
- "type": "integer"
- },
- "last_qualified": {
- "enum": [
- "unknown",
- "last_7_days",
- "last_30_days",
- "older"
- ]
- },
- "research_evidence_count": {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- "safety_review_state": {
- "enum": [
- "unreviewed",
- "pending_attestation",
- "pending_review",
- "approved",
- "rejected",
- "revision_requested",
- "delisted",
- "suspended"
- ]
- }
- },
- "required": [
- "research_evidence_count",
- "acceptance_case_count",
- "last_qualified",
- "safety_review_state"
- ],
- "type": "object"
- },
- "input_limits": {
- "additionalProperties": false,
- "properties": {
- "max_total_utf8_bytes": {
- "minimum": 1,
- "type": "integer"
- },
- "note": {
- "maxLength": 240,
- "type": "string"
- }
- },
- "required": [
- "max_total_utf8_bytes"
- ],
- "type": "object"
- },
- "inputs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "default_available": {
- "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.",
- "type": "boolean"
- },
- "handle": {
- "pattern": "^input_[1-9][0-9]*$",
- "type": "string"
- },
- "label": {
- "maxLength": 100,
- "type": "string"
- },
- "max_characters": {
- "minimum": 1,
- "type": "integer"
- },
- "max_utf8_bytes": {
- "minimum": 1,
- "type": "integer"
- },
- "must_provide": {
- "description": "True only when the input is required and has no default; the caller has to supply it.",
- "type": "boolean"
- },
- "required": {
- "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.",
- "type": "boolean"
- }
- },
- "required": [
- "handle",
- "label",
- "required",
- "must_provide",
- "default_available",
- "max_characters",
- "max_utf8_bytes"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "outputs": {
- "items": {
- "maxLength": 100,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "pricing": {
- "additionalProperties": false,
- "properties": {
- "average_credits": {
- "maxLength": 128,
- "pattern": "^\\d+(?:\\.\\d+)?$",
- "type": "string"
- },
- "basis": {
- "const": "historical_average_successful_runs"
- },
- "creator_fee": {
- "enum": [
- "marketplace_policy",
- "none"
- ]
- },
- "credit_band": {
- "description": "Band of the average credits per successful run; unknown means no successful runs yet.",
- "enum": [
- "unknown",
- "free",
- "0_to_10",
- "10_to_100",
- "over_100"
- ]
- },
- "estimate_requires_dry_run": {
- "const": true
- }
- },
- "required": [
- "basis",
- "credit_band",
- "estimate_requires_dry_run",
- "creator_fee"
- ],
- "type": "object"
- },
- "qualification": {
- "enum": [
- "public_reviewed",
- "authoring_qualified",
- "published_unqualified",
- "unknown"
- ]
- },
- "recipe_ref": {
- "maxLength": 32768,
- "type": "string"
- },
- "source": {
- "enum": [
- "public",
- "owned",
- "organization",
- "shared"
- ]
- },
- "state": {
- "const": "published"
- },
- "title": {
- "maxLength": 200,
- "type": "string"
- },
- "visibility": {
- "enum": [
- "private",
- "shared",
- "public_open",
- "public_opaque"
- ]
- }
- },
- "required": [
- "title",
- "description",
- "description_truncated",
- "category",
- "pricing",
- "visibility",
- "inputs",
- "outputs",
- "recipe_ref",
- "input_limits",
- "source",
- "access",
- "state",
- "qualification",
- "contracts",
- "evidence",
- "decision_context"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "enum": [
- "recipe_unavailable",
- "invalid_cursor"
- ]
- },
- "hint": {
- "maxLength": 240,
- "type": "string"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "disclosure": {
+ "enum": [
+ "view_authorized",
+ "public_summary_only"
+ ]
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "content": {
+ "maxLength": 6000,
+ "type": "string"
+ },
+ "encoding": {
+ "enum": [
+ "text",
+ "json"
+ ]
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "section": {
+ "type": "string"
+ },
+ "total_characters": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "section",
+ "encoding",
+ "content",
+ "offset",
+ "total_characters",
+ "complete"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "metrics": {
+ "additionalProperties": false,
+ "properties": {
+ "average_credits": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "average_duration_seconds": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "basis": {
+ "const": "successful_runs"
+ },
+ "sample_count": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "basis",
+ "sample_count",
+ "average_credits",
+ "average_duration_seconds"
+ ],
+ "type": "object"
+ },
+ "next_cursor": {
+ "maxLength": 2000,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recipe_ref": {
+ "maxLength": 32768,
+ "type": "string"
+ },
+ "revision_sha": {
+ "type": "string"
+ },
+ "view": {
+ "const": "details"
+ }
+ },
+ "required": [
+ "view",
+ "revision_sha",
+ "disclosure",
+ "items",
+ "next_cursor",
+ "recipe_ref",
+ "metrics"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "access": {
+ "additionalProperties": false,
+ "properties": {
+ "can_fork": {
+ "type": "boolean"
+ },
+ "can_run": {
+ "type": "boolean"
+ },
+ "can_view": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "can_view",
+ "can_run",
+ "can_fork"
+ ],
+ "type": "object"
+ },
+ "category": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "contracts": {
+ "additionalProperties": false,
+ "properties": {
+ "inputs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "handle": {
+ "pattern": "^[a-z][a-z0-9_]{0,63}$",
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "required": {
+ "description": "Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "handle",
+ "label",
+ "required",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "outputs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "handle": {
+ "pattern": "^[a-z][a-z0-9_]{0,63}$",
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "required": {
+ "description": "Declared required by the recipe; get_recipe_preview shows must_provide and default_available for the same handle.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "handle",
+ "label",
+ "required",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "outputs_undeclared": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "inputs",
+ "outputs"
+ ],
+ "type": "object"
+ },
+ "decision_context": {
+ "additionalProperties": false,
+ "description": "Bounded selection hints from the pinned published revision, with explicitly labeled safety-reviewed public copy as a fallback; text is withheld without view permission.",
+ "properties": {
+ "evidence_note": {
+ "maxLength": 240,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "limitations_excerpt": {
+ "maxLength": 800,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "method_excerpt": {
+ "maxLength": 800,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "output_contract_state": {
+ "description": "Unusable means output nodes exist but no stable executable output binding is available.",
+ "enum": [
+ "declared",
+ "undeclared",
+ "unusable"
+ ]
+ }
+ },
+ "required": [
+ "method_excerpt",
+ "limitations_excerpt",
+ "output_contract_state",
+ "evidence_note"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "description_truncated": {
+ "type": "boolean"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "acceptance_case_count": {
+ "maximum": 50,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "last_qualified": {
+ "enum": [
+ "unknown",
+ "last_7_days",
+ "last_30_days",
+ "older"
+ ]
+ },
+ "research_evidence_count": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "safety_review_state": {
+ "enum": [
+ "unreviewed",
+ "pending_attestation",
+ "pending_review",
+ "approved",
+ "rejected",
+ "revision_requested",
+ "delisted",
+ "suspended"
+ ]
+ }
+ },
+ "required": [
+ "research_evidence_count",
+ "acceptance_case_count",
+ "last_qualified",
+ "safety_review_state"
+ ],
+ "type": "object"
+ },
+ "input_limits": {
+ "additionalProperties": false,
+ "properties": {
+ "max_total_utf8_bytes": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "note": {
+ "maxLength": 240,
+ "type": "string"
+ }
+ },
+ "required": [
+ "max_total_utf8_bytes"
+ ],
+ "type": "object"
+ },
+ "inputs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "default_available": {
+ "description": "The recipe applies a default when this input is omitted; the default itself is never disclosed.",
+ "type": "boolean"
+ },
+ "handle": {
+ "pattern": "^input_[1-9][0-9]*$",
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "max_characters": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "max_utf8_bytes": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "must_provide": {
+ "description": "True only when the input is required and has no default; the caller has to supply it.",
+ "type": "boolean"
+ },
+ "required": {
+ "description": "The recipe declares this input as required. With default_available true a default is applied when it is omitted, so must_provide is false.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "handle",
+ "label",
+ "required",
+ "must_provide",
+ "default_available",
+ "max_characters",
+ "max_utf8_bytes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "outputs": {
+ "items": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "pricing": {
+ "additionalProperties": false,
+ "properties": {
+ "average_credits": {
+ "maxLength": 128,
+ "pattern": "^\\d+(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ "basis": {
+ "const": "historical_average_successful_runs"
+ },
+ "creator_fee": {
+ "enum": [
+ "marketplace_policy",
+ "none"
+ ]
+ },
+ "credit_band": {
+ "description": "Band of the average credits per successful run; unknown means no successful runs yet.",
+ "enum": [
+ "unknown",
+ "free",
+ "0_to_10",
+ "10_to_100",
+ "over_100"
+ ]
+ },
+ "estimate_requires_dry_run": {
+ "const": true
+ }
+ },
+ "required": [
+ "basis",
+ "credit_band",
+ "estimate_requires_dry_run",
+ "creator_fee"
+ ],
+ "type": "object"
+ },
+ "qualification": {
+ "enum": [
+ "public_reviewed",
+ "authoring_qualified",
+ "published_unqualified",
+ "unknown"
+ ]
+ },
+ "recipe_ref": {
+ "maxLength": 32768,
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "public",
+ "owned",
+ "organization",
+ "shared"
+ ]
+ },
+ "state": {
+ "const": "published"
+ },
+ "title": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "visibility": {
+ "enum": [
+ "private",
+ "shared",
+ "public_open",
+ "public_opaque"
+ ]
+ }
+ },
+ "required": [
+ "title",
+ "description",
+ "description_truncated",
+ "category",
+ "pricing",
+ "visibility",
+ "inputs",
+ "outputs",
+ "recipe_ref",
+ "input_limits",
+ "source",
+ "access",
+ "state",
+ "qualification",
+ "contracts",
+ "evidence",
+ "decision_context"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "enum": [
+ "recipe_unavailable",
+ "invalid_cursor",
+ "recipe_ref_expired"
+ ]
+ },
+ "hint": {
+ "maxLength": 240,
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]