From bd08cce5b32c0c2a683ccb781761cb0d1d342649 Mon Sep 17 00:00:00 2001 From: Vishal Katyal Date: Fri, 31 Jul 2026 17:14:39 -0400 Subject: [PATCH 1/2] docs(split-payments): validate the allowed_combinations profile example The only business-profile example for the split payments extension was annotated `ucp:example skip`, so CI never checked it, and it did not match the profile schema three ways: `capabilities` was an array where the schema defines an object map keyed by reverse-domain name, the entry omitted the required `schema` URL, and it pinned `version: 2026-01-23`, a release that does not contain this extension. Rewrite the example in the `ucp.capabilities` map form with `spec`, `schema`, `extends`, and `{{ ucp_version }}`, mirroring the buyer-consent profile example, and replace the skip with a validated `schema=profile def=business_schema` annotation so CI covers it going forward. Full corpus: 283 passed (was 282), 47 skipped (was 48). --- .../payment/extensions/split-payments.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/specification/payment/extensions/split-payments.md b/docs/specification/payment/extensions/split-payments.md index 542bf32cb..74980de22 100644 --- a/docs/specification/payment/extensions/split-payments.md +++ b/docs/specification/payment/extensions/split-payments.md @@ -107,13 +107,18 @@ if any valid assignment exists, the combination matches. A business that supports (a) a card with up to 2 redeemables, (b) up to 5 gift cards alone, and (c) two credit cards: - + ```json { - "capabilities": [{ + "capabilities": { "dev.ucp.common.payment.split_payments": [ { - "version": "2026-01-23", + "version": "{{ ucp_version }}", + "spec": "https://ucp.dev/{{ ucp_version }}/specification/split-payments", + "schema": "https://ucp.dev/{{ ucp_version }}/schemas/common/payment_split_payments.json", + "extends": [ + "dev.ucp.shopping.checkout" + ], "config": { "allowed_combinations": [ [ @@ -130,7 +135,7 @@ gift cards alone, and (c) two credit cards: } } ] - }] + } } ``` From 7571d2addb953fa16716fdf23b691380b8e3219b Mon Sep 17 00:00:00 2001 From: Vishal Katyal Date: Sun, 30 Aug 2026 19:54:37 -0400 Subject: [PATCH 2/2] fix: use the post reorganization spec URL in the example The example wrote the pre reorganization flat path. Every extension profile on current main carries the full reorganized path, so the example now matches, specification/payment/extensions/split-payments. --- docs/specification/payment/extensions/split-payments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/specification/payment/extensions/split-payments.md b/docs/specification/payment/extensions/split-payments.md index 74980de22..699c24043 100644 --- a/docs/specification/payment/extensions/split-payments.md +++ b/docs/specification/payment/extensions/split-payments.md @@ -114,7 +114,7 @@ gift cards alone, and (c) two credit cards: "dev.ucp.common.payment.split_payments": [ { "version": "{{ ucp_version }}", - "spec": "https://ucp.dev/{{ ucp_version }}/specification/split-payments", + "spec": "https://ucp.dev/{{ ucp_version }}/specification/payment/extensions/split-payments", "schema": "https://ucp.dev/{{ ucp_version }}/schemas/common/payment_split_payments.json", "extends": [ "dev.ucp.shopping.checkout"