changedOutput schema / oneOf
Previous value: -[
- {
- "properties": {
- "candidate_counts": {
- "additionalProperties": false,
- "description": "Counts over the bounded ranked pool, not the whole catalogue.",
- "properties": {
- "related": {
- "minimum": 0,
- "type": "integer"
- },
- "returned": {
- "minimum": 0,
- "type": "integer"
- },
- "suitable": {
- "description": "Suitable candidates within the ranked pool of at most 25; a value near 25 means more may exist.",
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "suitable",
- "related",
- "returned"
- ],
- "type": "object"
- },
- "excluded_candidates": {
- "additionalProperties": false,
- "properties": {
- "awaiting_review_binding": {
- "minimum": 1,
- "type": "integer"
- },
- "guidance": {
- "maxLength": 240,
- "type": "string"
- }
- },
- "required": [
- "awaiting_review_binding",
- "guidance"
- ],
- "type": "object"
- },
- "filter_diagnostics": {
- "additionalProperties": false,
- "properties": {
- "available_inputs": {
- "items": {
- "maxLength": 100,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "available_outputs": {
- "items": {
- "maxLength": 100,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "labels_note": {
- "maxLength": 240,
- "type": "string"
- },
- "labels_truncated": {
- "type": "boolean"
- },
- "matching": {
- "const": "normalized_handles_or_labels_not_meanings"
- },
- "rejected_candidate_count": {
- "minimum": 0,
- "type": "integer"
- },
- "required_inputs": {
- "items": {
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "required_outputs": {
- "items": {
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- }
- },
- "required": [
- "matching",
- "required_inputs",
- "required_outputs",
- "rejected_candidate_count",
- "available_inputs",
- "available_outputs",
- "labels_truncated"
- ],
- "type": "object"
- },
- "match_status": {
- "enum": [
- "matches",
- "no_suitable_match"
- ]
- },
- "next_action": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "list_recent_builds",
- "review_requirements"
- ]
- },
- "reason": {
- "maxLength": 240,
- "type": "string"
- },
- "tool": {
- "enum": [
- "get_recipe_build",
- "discover_stewai"
- ]
- }
- },
- "required": [
- "tool",
- "action",
- "reason"
- ],
- "type": "object"
- },
- "next_cursor": {
- "description": "Pass back as cursor with the identical query and filters to fetch the next page of suitable results; null on the last page.",
- "maxLength": 2,
- "type": [
- "string",
- "null"
- ]
- },
- "paging": {
- "additionalProperties": false,
- "properties": {
- "has_more": {
- "type": "boolean"
- },
- "how": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "has_more",
- "how"
- ],
- "type": "object"
- },
- "related_results": {
- "items": {
- "additionalProperties": false,
- "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"
- },
- "description": {
- "maxLength": 500,
- "type": "string"
- },
- "description_truncated": {
- "type": "boolean"
- },
- "duration_band": {
- "enum": [
- "unknown",
- "seconds",
- "minutes",
- "long"
- ]
- },
- "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"
- },
- "evidence_note": {
- "maxLength": 240,
- "type": [
- "string",
- "null"
- ]
- },
- "history": {
- "additionalProperties": false,
- "description": "Credits charged by past successful top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.",
- "properties": {
- "average_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "failed_runs": {
- "minimum": 0,
- "type": "integer"
- },
- "last_run_at": {
- "maxLength": 40,
- "type": [
- "string",
- "null"
- ]
- },
- "median_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "p90_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "successful_runs": {
- "minimum": 0,
- "type": "integer"
- },
- "window_days": {
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "successful_runs",
- "failed_runs",
- "average_credits",
- "median_credits",
- "p90_credits",
- "last_run_at",
- "window_days"
- ],
- "type": "object"
- },
- "match_quality": {
- "description": "strong: the recipe's own title, description, tags or category contain at least two informative query words, or half of them, or the whole query verbatim; related: one word. Suitable rows are ordered exact, strong, then reviewed before unqualified.",
- "enum": [
- "exact",
- "strong",
- "related",
- "unknown"
- ]
- },
- "matched_fields": {
- "items": {
- "maxLength": 100,
- "type": "string"
- },
- "maxItems": 10,
- "type": "array"
- },
- "output_contract_state": {
- "description": "declared: stable output bindings; undeclared: the recipe declares no outputs even if its description promises some; unusable: outputs exist without a stable binding.",
- "enum": [
- "declared",
- "undeclared",
- "unusable"
- ]
- },
- "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"
- ]
- },
- "rating": {
- "additionalProperties": false,
- "properties": {
- "average": {
- "type": [
- "number",
- "null"
- ]
- },
- "count": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "average",
- "count"
- ],
- "type": "object"
- },
- "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",
- "visibility",
- "pricing",
- "duration_band",
- "rating",
- "recipe_ref",
- "source",
- "access",
- "state",
- "qualification",
- "contracts",
- "evidence"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "type": "array"
- },
- "related_results_guidance": {
- "maxLength": 240,
- "type": "string"
- },
- "results": {
- "items": {
- "additionalProperties": false,
- "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"
- },
- "description": {
- "maxLength": 500,
- "type": "string"
- },
- "description_truncated": {
- "type": "boolean"
- },
- "duration_band": {
- "enum": [
- "unknown",
- "seconds",
- "minutes",
- "long"
- ]
- },
- "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"
- },
- "evidence_note": {
- "maxLength": 240,
- "type": [
- "string",
- "null"
- ]
- },
- "history": {
- "additionalProperties": false,
- "description": "Credits charged by past successful top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.",
- "properties": {
- "average_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "failed_runs": {
- "minimum": 0,
- "type": "integer"
- },
- "last_run_at": {
- "maxLength": 40,
- "type": [
- "string",
- "null"
- ]
- },
- "median_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "p90_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "successful_runs": {
- "minimum": 0,
- "type": "integer"
- },
- "window_days": {
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "successful_runs",
- "failed_runs",
- "average_credits",
- "median_credits",
- "p90_credits",
- "last_run_at",
- "window_days"
- ],
- "type": "object"
- },
- "match_quality": {
- "description": "strong: the recipe's own title, description, tags or category contain at least two informative query words, or half of them, or the whole query verbatim; related: one word. Suitable rows are ordered exact, strong, then reviewed before unqualified.",
- "enum": [
- "exact",
- "strong",
- "related",
- "unknown"
- ]
- },
- "matched_fields": {
- "items": {
- "maxLength": 100,
- "type": "string"
- },
- "maxItems": 10,
- "type": "array"
- },
- "output_contract_state": {
- "description": "declared: stable output bindings; undeclared: the recipe declares no outputs even if its description promises some; unusable: outputs exist without a stable binding.",
- "enum": [
- "declared",
- "undeclared",
- "unusable"
- ]
- },
- "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"
- ]
- },
- "rating": {
- "additionalProperties": false,
- "properties": {
- "average": {
- "type": [
- "number",
- "null"
- ]
- },
- "count": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "average",
- "count"
- ],
- "type": "object"
- },
- "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",
- "visibility",
- "pricing",
- "duration_band",
- "rating",
- "recipe_ref",
- "source",
- "access",
- "state",
- "qualification",
- "contracts",
- "evidence"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "type": "array"
- }
- },
- "required": [
- "results",
- "match_status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "enum": [
- "invalid_query",
- "rate_limited",
- "search_unavailable"
- ],
- "type": "string"
- },
- "field": {
- "maxLength": 32,
- "type": "string"
- },
- "hint": {
- "maxLength": 240,
- "type": "string"
- },
- "retry_after_seconds": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "candidate_counts": {
+ "additionalProperties": false,
+ "description": "Counts over the bounded ranked pool, not the whole catalogue.",
+ "properties": {
+ "related": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "returned": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "suitable": {
+ "description": "Suitable candidates within the ranked pool of at most 25; a value near 25 means more may exist.",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "suitable",
+ "related",
+ "returned"
+ ],
+ "type": "object"
+ },
+ "excluded_candidates": {
+ "additionalProperties": false,
+ "properties": {
+ "awaiting_review_binding": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "guidance": {
+ "maxLength": 240,
+ "type": "string"
+ }
+ },
+ "required": [
+ "awaiting_review_binding",
+ "guidance"
+ ],
+ "type": "object"
+ },
+ "filter_diagnostics": {
+ "additionalProperties": false,
+ "properties": {
+ "available_inputs": {
+ "items": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "available_outputs": {
+ "items": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "labels_note": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "labels_truncated": {
+ "type": "boolean"
+ },
+ "matching": {
+ "const": "normalized_handles_or_labels_not_meanings"
+ },
+ "rejected_candidate_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "required_inputs": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "required_outputs": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ }
+ },
+ "required": [
+ "matching",
+ "required_inputs",
+ "required_outputs",
+ "rejected_candidate_count",
+ "available_inputs",
+ "available_outputs",
+ "labels_truncated"
+ ],
+ "type": "object"
+ },
+ "match_status": {
+ "enum": [
+ "matches",
+ "no_suitable_match"
+ ]
+ },
+ "next_action": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "list_recent_builds",
+ "review_requirements"
+ ]
+ },
+ "reason": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "tool": {
+ "enum": [
+ "get_recipe_build",
+ "discover_stewai"
+ ]
+ }
+ },
+ "required": [
+ "tool",
+ "action",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "next_cursor": {
+ "description": "Pass back as cursor with the identical query and filters to fetch the next page of suitable results; null on the last page.",
+ "maxLength": 2,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "paging": {
+ "additionalProperties": false,
+ "properties": {
+ "has_more": {
+ "type": "boolean"
+ },
+ "how": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "has_more",
+ "how"
+ ],
+ "type": "object"
+ },
+ "related_results": {
+ "items": {
+ "additionalProperties": false,
+ "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"
+ },
+ "description": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "description_truncated": {
+ "type": "boolean"
+ },
+ "duration_band": {
+ "enum": [
+ "unknown",
+ "seconds",
+ "minutes",
+ "long"
+ ]
+ },
+ "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"
+ },
+ "evidence_note": {
+ "maxLength": 240,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "history": {
+ "additionalProperties": false,
+ "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
+ "properties": {
+ "average_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "failed_runs": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "last_run_at": {
+ "maxLength": 40,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "median_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "p90_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recent_charges": {
+ "description": "Actual charges of the one or two runs when there are too few for statistics.",
+ "items": {
+ "maxLength": 32,
+ "type": "string"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "successful_runs": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "window_days": {
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "successful_runs",
+ "failed_runs",
+ "average_credits",
+ "median_credits",
+ "p90_credits",
+ "last_run_at",
+ "window_days",
+ "recent_charges"
+ ],
+ "type": "object"
+ },
+ "match_quality": {
+ "description": "strong: the recipe's own title, description, tags or category contain at least two informative query words, or half of them, or the whole query verbatim; related: one word. Suitable rows are ordered exact, strong, then reviewed before unqualified.",
+ "enum": [
+ "exact",
+ "strong",
+ "related",
+ "unknown"
+ ]
+ },
+ "matched_fields": {
+ "items": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "output_contract_state": {
+ "description": "declared: stable output bindings; undeclared: the recipe declares no outputs even if its description promises some; unusable: outputs exist without a stable binding.",
+ "enum": [
+ "declared",
+ "undeclared",
+ "unusable"
+ ]
+ },
+ "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"
+ ]
+ },
+ "rating": {
+ "additionalProperties": false,
+ "properties": {
+ "average": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "count": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "average",
+ "count"
+ ],
+ "type": "object"
+ },
+ "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",
+ "visibility",
+ "pricing",
+ "duration_band",
+ "rating",
+ "recipe_ref",
+ "source",
+ "access",
+ "state",
+ "qualification",
+ "contracts",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "type": "array"
+ },
+ "related_results_guidance": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": false,
+ "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"
+ },
+ "description": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "description_truncated": {
+ "type": "boolean"
+ },
+ "duration_band": {
+ "enum": [
+ "unknown",
+ "seconds",
+ "minutes",
+ "long"
+ ]
+ },
+ "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"
+ },
+ "evidence_note": {
+ "maxLength": 240,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "history": {
+ "additionalProperties": false,
+ "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
+ "properties": {
+ "average_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "failed_runs": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "last_run_at": {
+ "maxLength": 40,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "median_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "p90_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recent_charges": {
+ "description": "Actual charges of the one or two runs when there are too few for statistics.",
+ "items": {
+ "maxLength": 32,
+ "type": "string"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "successful_runs": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "window_days": {
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "successful_runs",
+ "failed_runs",
+ "average_credits",
+ "median_credits",
+ "p90_credits",
+ "last_run_at",
+ "window_days",
+ "recent_charges"
+ ],
+ "type": "object"
+ },
+ "match_quality": {
+ "description": "strong: the recipe's own title, description, tags or category contain at least two informative query words, or half of them, or the whole query verbatim; related: one word. Suitable rows are ordered exact, strong, then reviewed before unqualified.",
+ "enum": [
+ "exact",
+ "strong",
+ "related",
+ "unknown"
+ ]
+ },
+ "matched_fields": {
+ "items": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "output_contract_state": {
+ "description": "declared: stable output bindings; undeclared: the recipe declares no outputs even if its description promises some; unusable: outputs exist without a stable binding.",
+ "enum": [
+ "declared",
+ "undeclared",
+ "unusable"
+ ]
+ },
+ "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"
+ ]
+ },
+ "rating": {
+ "additionalProperties": false,
+ "properties": {
+ "average": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "count": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "average",
+ "count"
+ ],
+ "type": "object"
+ },
+ "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",
+ "visibility",
+ "pricing",
+ "duration_band",
+ "rating",
+ "recipe_ref",
+ "source",
+ "access",
+ "state",
+ "qualification",
+ "contracts",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "type": "array"
+ }
+ },
+ "required": [
+ "results",
+ "match_status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "enum": [
+ "invalid_query",
+ "rate_limited",
+ "search_unavailable"
+ ],
+ "type": "string"
+ },
+ "field": {
+ "maxLength": 32,
+ "type": "string"
+ },
+ "hint": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "retry_after_seconds": {
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]