From 14f2dde681387c60424f988d73bf2c28e93eb5d5 Mon Sep 17 00:00:00 2001 From: Pranshu Goyal Date: Tue, 18 Aug 2026 10:45:10 -0700 Subject: [PATCH] fix(ucp): constrain resource responses to success status --- source/schemas/ucp.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/schemas/ucp.json b/source/schemas/ucp.json index d53413404..d78c7473d 100644 --- a/source/schemas/ucp.json +++ b/source/schemas/ucp.json @@ -244,6 +244,7 @@ { "required": ["payment_handlers"], "properties": { + "status": { "const": "success" }, "services": { "additionalProperties": { "items": { "$ref": "service.json#/$defs/response_schema" } @@ -273,6 +274,7 @@ { "$ref": "#/$defs/base" }, { "properties": { + "status": { "const": "success" }, "capabilities": { "additionalProperties": { "items": { "$ref": "capability.json#/$defs/response_schema" } @@ -290,6 +292,7 @@ { "$ref": "#/$defs/base" }, { "properties": { + "status": { "const": "success" }, "capabilities": { "additionalProperties": { "items": { "$ref": "capability.json#/$defs/response_schema" } @@ -307,6 +310,7 @@ { "$ref": "#/$defs/base" }, { "properties": { + "status": { "const": "success" }, "capabilities": { "additionalProperties": { "items": { "$ref": "capability.json#/$defs/response_schema" }