com.atiproto.payment.cart.get

atiproto.com

Schema Diff

+5 -0

From

CID
bafyreicoom5vm7j...
Indexed At
2026-04-29 15:07 UTC
View this version

To

CID
bafyreibybadhh3e...
Indexed At
2026-04-30 18:24 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 2 non-breaking changes.

Non-Breaking Changes (2)
  • AddedVertex AddedVertex { vertex_id: "com.atiproto.payment.cart.get:output.workflow" }
  • AddedEdge AddedEdge { src: "com.atiproto.payment.cart.get:output", tgt: "com.atiproto.payment.cart.get:output.workflow", kind: "prop", name: Some("workflow") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "com.atiproto.payment.cart.get:output.workflow" }

Additional Notes

  • Non-breaking: AddedEdge { src: "com.atiproto.payment.cart.get:output", tgt: "com.atiproto.payment.cart.get:output.workflow", kind: "prop", name: Some("workflow") }
1 1
{
2 2
  "id": "com.atiproto.payment.cart.get",
3 3
  "defs": {
4 4
    "main": {
5 5
      "type": "query",
6 6
      "output": {
7 7
        "schema": {
8 8
          "type": "object",
9 9
          "required": [
10 10
            "uri",
11 11
            "cart",
12 12
            "items",
13 13
            "subscriptions"
14 14
          ],
15 15
          "properties": {
16 16
            "cid": {
17 17
              "type": "string",
18 18
              "format": "cid",
19 19
              "description": "Cart record CID"
20 20
            },
21 21
            "uri": {
22 22
              "type": "string",
23 23
              "format": "at-uri",
24 24
              "description": "Cart record URI"
25 25
            },
26 26
            "cart": {
27 27
              "ref": "com.atiproto.cart#view",
28 28
              "type": "ref",
29 29
              "description": "The cart record data"
30 30
            },
31 31
            "items": {
32 32
              "type": "array",
33 33
              "items": {
34 34
                "ref": "com.atiproto.item#view",
35 35
                "type": "ref"
36 36
              },
37 37
              "description": "Resolved item records referenced by this cart"
38 38
            },
39 +
            "workflow": {
40 +
              "ref": "com.atiproto.actions#outboundWorkflow",
41 +
              "type": "ref",
42 +
              "description": "Side-effect workflow to sync server status with PDS status."
43 +
            },
39 44
            "checkoutUrl": {
40 45
              "type": "string",
41 46
              "format": "uri",
42 47
              "description": "Checkout URL, only present when cart status is open"
43 48
            },
44 49
            "subscriptions": {
45 50
              "type": "array",
46 51
              "items": {
47 52
                "ref": "com.atiproto.subscription#view",
48 53
                "type": "ref"
49 54
              },
50 55
              "description": "Resolved subscription records referenced by this cart"
51 56
            }
52 57
          }
53 58
        },
54 59
        "encoding": "application/json"
55 60
      },
56 61
      "parameters": {
57 62
        "type": "params",
58 63
        "properties": {
59 64
          "uri": {
60 65
            "type": "string",
61 66
            "format": "at-uri",
62 67
            "description": "AT-URI of the cart record. Takes precedence over itemUri and subscriptionUri."
63 68
          },
64 69
          "itemUri": {
65 70
            "type": "string",
66 71
            "format": "at-uri",
67 72
            "description": "AT-URI of an item record. Returns the cart that contains this item. Ignored if uri is provided."
68 73
          },
69 74
          "subscriptionUri": {
70 75
            "type": "string",
71 76
            "format": "at-uri",
72 77
            "description": "AT-URI of a subscription record. Returns the cart that contains this subscription. Ignored if uri or itemUri is provided."
73 78
          }
74 79
        }
75 80
      },
76 81
      "description": "Get a specific cart sent by the authenticated user, including resolved item and subscription records. One of `uri`, `itemUri`, or `subscriptionUri` is required."
77 82
    }
78 83
  },
79 84
  "$type": "com.atproto.lexicon.schema",
80 85
  "lexicon": 1
81 86
}

Compare Other Versions

Lexicon Garden

@