Server definition
- Hash
- sha256:ed297a86571b64ccd5da0b4c46acdfe0271a149ce7bd51ad04d2014f1f54bd2e
- What it is
- What a remote MCP server returned when asked what it offers: 26 tools
The blob, as servednamed by its sha256
{
"instructions": "Swop lets the user sell to people and AI agents and get paid in USDC. For \"sell X\", \"make me a store\", or \"take payments\", use swop_create_product, then swop_feature_product, then swop_get_product_link. To buy from a Swop seller, use swop_get_store. Always confirm prices and any payment with the user first.",
"tools": [
{
"description": "Add a link to the linked account's SmartSite, with smart placement. TWO STEPS: (1) call with just the url — the tool detects what kind of link it is (payment like Venmo/PayPal/Cash App, social, contact, website) and returns a recommendation with a text preview of each layout: a small ICON in the icon row, a link BUTTON tile, or a full-width INFOBAR call-to-action card. Show the user the message + previews and ask which they want. (2) call again with the same url plus displayAs = 'icon' | 'button' | 'infobar' to place it. You can override title / buttonName / description / style ('solid' | 'glass') for an info bar. Returns a viewUrl to preview the result.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"buttonName": {
"description": "Info-bar button text (e.g. \"Pay\", \"Book\")",
"maxLength": 40,
"type": "string"
},
"description": {
"description": "Info-bar description line",
"maxLength": 300,
"type": "string"
},
"displayAs": {
"description": "Omit first to get a placement suggestion; then set to place it",
"enum": [
"icon",
"button",
"infobar"
],
"type": "string"
},
"smartsiteId": {
"description": "Specific SmartSite id (default: primary)",
"type": "string"
},
"style": {
"description": "Info-bar card style (default solid)",
"enum": [
"solid",
"glass"
],
"type": "string"
},
"title": {
"description": "Override the label/title",
"maxLength": 120,
"type": "string"
},
"url": {
"description": "The link to add (any URL, or mailto:/tel:)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "swop_add_link",
"outputSchema": null
},
{
"description": "Take payment on the seller's own website: creates a checkout for a cart of the linked account's OWN products, so a buyer pays there instead of being sent to Swop. For a single shareable link use swop_get_product_link instead. Prices come from the seller's catalogue and must NOT be sent — a price in the request is rejected. Shipping is charged automatically for physical products, and for those the buyer's name, email and delivery address are REQUIRED (the call is refused otherwise, naming what is missing). Rails: USDC on Solana always; set offerCard when the seller is card-enabled and every item is a physical good — then the response has cardOffered: true and paymentRequest is null until the buyer picks a rail on the seller's page via the public URLs POST /api/v5/checkout-intents/{intentId}/card-payment-intents (Stripe client secret for a Payment Element) or POST .../select-crypto (publishes the Solana Pay request). Otherwise paymentRequest is returned at once (a solana: URL the buyer's wallet opens, also fine as a QR code). Settlement is automatic once the payment lands — nothing to confirm; poll swop_get_checkout for status. Show the buyer the products, quantities and total before creating.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"buyerEmail": {
"description": "Buyer's email, for the receipt (required for physical items)",
"format": "email",
"type": "string"
},
"buyerName": {
"description": "Buyer's name (required for physical items)",
"maxLength": 120,
"type": "string"
},
"buyerPhone": {
"description": "Buyer's phone, for the courier",
"maxLength": 60,
"type": "string"
},
"description": {
"description": "What this checkout is for",
"maxLength": 200,
"type": "string"
},
"items": {
"description": "The cart. Ids only — prices come from the catalogue",
"items": {
"additionalProperties": false,
"properties": {
"productId": {
"description": "Product id from swop_list_my_products",
"type": "string"
},
"quantity": {
"description": "How many",
"exclusiveMinimum": 0,
"maximum": 99,
"type": "integer"
},
"selectedOptions": {
"additionalProperties": {
"type": "string"
},
"description": "Chosen variants, e.g. { \"Color\": \"Black\" }",
"type": "object"
}
},
"required": [
"productId",
"quantity"
],
"type": "object"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
"offerCard": {
"description": "Offer card as well as USDC. Only takes effect when the seller is card-enabled and every item is physical; otherwise the checkout is USDC-only",
"type": "boolean"
},
"shippingAddress": {
"additionalProperties": false,
"description": "Delivery address. Required when any item is a physical product",
"properties": {
"city": {
"maxLength": 120,
"type": "string"
},
"country": {
"maxLength": 80,
"type": "string"
},
"line1": {
"maxLength": 180,
"type": "string"
},
"line2": {
"maxLength": 180,
"type": "string"
},
"postalCode": {
"maxLength": 40,
"type": "string"
},
"state": {
"maxLength": 80,
"type": "string"
}
},
"required": [
"line1",
"city",
"postalCode",
"country"
],
"type": "object"
}
},
"required": [
"items"
],
"type": "object"
},
"name": "swop_create_checkout",
"outputSchema": null
},
{
"description": "Publish a PUBLIC post to the Swop feed as the linked account's SmartSite: a caption plus up to 4 images. Each image may be an https URL, a data:image/...;base64 URI, or bare base64 (PNG/JPEG/GIF/WebP, max 5 MB; keep inline images under ~3 MB total so the request fits). TWO-STEP like swop_send: call WITHOUT confirm to get a preview — Swop hosts the images and returns who it posts as, the exact caption, the hosted image URLs and a previewId. Show the user that exact caption and every image and get an explicit yes. Then call again with the SAME caption and smartsiteId, the `images` array exactly as the preview returned it, the previewId, and confirm: true. Any change after the preview is refused — preview again. Each preview publishes at most once: re-confirming it returns the same post (duplicate: true). Never confirm before the user has seen the preview.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"caption": {
"description": "Post text. Hashtags and @handle.swop.id mentions work as in the app",
"maxLength": 2000,
"type": "string"
},
"confirm": {
"description": "true ONLY after the user explicitly approved the preview",
"type": "boolean"
},
"images": {
"description": "Images: https URLs, data:image/...;base64 URIs, or base64. On confirm, pass the hosted URLs from the preview",
"items": {
"minLength": 1,
"type": "string"
},
"maxItems": 4,
"type": "array"
},
"previewId": {
"description": "From the preview step",
"type": "string"
},
"smartsiteId": {
"description": "Post as this SmartSite (default: primary). Ids from swop_get_my_profile",
"type": "string"
}
},
"type": "object"
},
"name": "swop_create_feed_post",
"outputSchema": null
},
{
"description": "Start selling something in one call: creates a product that people can buy on the linked account's Swop SmartSite and AI agents can buy in USDC over x402, with no store setup, payment processor, or verification needed. To change an existing product use swop_update_product instead. name, description and image are all REQUIRED by the backend. Confirm name and price with the user before creating. Then call swop_feature_product to show it on the SmartSite and swop_get_product_link to share it.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"description": "Product description (required)",
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"digitalDeliveryNote": {
"description": "Digital goods: what the buyer receives after purchase",
"maxLength": 500,
"type": "string"
},
"extraImages": {
"description": "Additional image URLs, shown after the primary one",
"items": {
"format": "uri",
"type": "string"
},
"maxItems": 9,
"type": "array"
},
"image": {
"description": "Primary product image URL (required)",
"format": "uri",
"type": "string"
},
"keywords": {
"description": "Search keywords",
"items": {
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"mintLimit": {
"description": "Inventory available, default 1",
"exclusiveMinimum": 0,
"type": "integer"
},
"name": {
"description": "Product name",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"nftType": {
"description": "Fine-grained type; overrides productType. phygital/menu are physical, the rest digital",
"enum": [
"phygital",
"menu",
"collectible",
"subscription",
"membership",
"coupon"
],
"type": "string"
},
"priceUsd": {
"description": "Price in USD (settles in USDC)",
"exclusiveMinimum": 0,
"type": "number"
},
"productType": {
"description": "physical (ships), digital (default), or in_person_checkout",
"enum": [
"physical",
"digital",
"in_person_checkout"
],
"type": "string"
},
"requiresShipping": {
"description": "Physical goods: collect a shipping address",
"type": "boolean"
},
"royaltyPercentage": {
"description": "Resale royalty percent",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"royaltyRecipient": {
"description": "Wallet receiving royalties",
"type": "string"
},
"shippingCost": {
"description": "Flat shipping cost in USD",
"minimum": 0,
"type": "number"
},
"variants": {
"description": "Buyer-selectable options. Replaces the existing set when given.",
"items": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Variant group, e.g. \"Color\" or \"Size\"",
"minLength": 1,
"type": "string"
},
"options": {
"description": "Choices, e.g. [\"Black\",\"White\"]",
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"options"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"name",
"description",
"priceUsd",
"image"
],
"type": "object"
},
"name": "swop_create_product",
"outputSchema": null
},
{
"description": "Show an existing product on the linked account's SmartSite as a tile visitors can buy from. Pass the templateId returned by swop_create_product (or the id from swop_list_my_products).",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"carouselTitle": {
"description": "Optional heading for the product section",
"maxLength": 80,
"type": "string"
},
"smartsiteId": {
"description": "Specific SmartSite id (default: primary)",
"type": "string"
},
"templateId": {
"description": "The product/template id from swop_create_product",
"type": "string"
}
},
"required": [
"templateId"
],
"type": "object"
},
"name": "swop_feature_product",
"outputSchema": null
},
{
"description": "Read back a checkout created with swop_create_checkout: its status (active, pending_payment, paid, settled, expired, cancelled), the payment request if one is published, and the line items. Poll this after the buyer has been shown the payment to learn when it lands — paid means the buyer's money arrived; settled means the seller has been paid out. Only the linked account's own checkouts are visible.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"intentId": {
"description": "The intentId returned by swop_create_checkout",
"pattern": "^co_[A-Za-z0-9_-]{4,40}$",
"type": "string"
}
},
"required": [
"intentId"
],
"type": "object"
},
"name": "swop_get_checkout",
"outputSchema": null
},
{
"description": "Current wallet balance snapshot for the linked Swop account (total USD and per-asset breakdown). For tokens or merchant Bucks the account has launched, use swop_list_my_tokens instead.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "swop_get_my_balances",
"outputSchema": null
},
{
"description": "Recent marketplace orders for the linked Swop account, both sides: sales of your products and your purchases. Shows payment, escrow/settlement, and fulfillment status.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "swop_get_my_orders",
"outputSchema": null
},
{
"description": "The linked Swop account: name, email, and SmartSites (handle, bio). Requires connecting your Swop account.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "swop_get_my_profile",
"outputSchema": null
},
{
"description": "Get the linked account's current SmartSite so you can see it BEFORE editing: name, bio, appearance (background/theme), the links already on it (icons, buttons, info bars, with their item ids for removal), product tiles, and a viewUrl to preview it. ALWAYS call this before adding or changing things so edits stay additive.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"smartsiteId": {
"description": "Specific SmartSite id (default: primary)",
"type": "string"
}
},
"type": "object"
},
"name": "swop_get_my_smartsite",
"outputSchema": null
},
{
"description": "Get one link that sells to everyone: a person who opens it sees a product page with a Buy button, and an AI agent that requests it gets an x402 USDC payment challenge. Use this to share a product in chat, a social post, or a message.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"handle": {
"description": "Seller swop.id, e.g. \"travis.swop.id\"",
"minLength": 1,
"type": "string"
},
"sku": {
"description": "Product sku/id from swop_get_store",
"minLength": 1,
"type": "string"
}
},
"required": [
"handle",
"sku"
],
"type": "object"
},
"name": "swop_get_product_link",
"outputSchema": null
},
{
"description": "See what any swop.id sells and buy it: lists the products a swop.id sells on their SmartSite, with USDC prices and each product's x402 buyUrl (for the linked account's own catalogue use swop_list_my_products). An agent with an x402-capable wallet purchases by GETting the buyUrl: the first request returns HTTP 402 with payment instructions (exact USDC amount, network, pay-to address), and retrying with a signed X-PAYMENT header completes the purchase and returns a receipt. Always show the user the product, price, and seller and get their confirmation before paying.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"handle": {
"description": "The seller swop.id, e.g. \"travis.swop.id\"",
"minLength": 1,
"type": "string"
}
},
"required": [
"handle"
],
"type": "object"
},
"name": "swop_get_store",
"outputSchema": null
},
{
"description": "Show which websites may currently display the linked account's Swop checkout in a frame. Use before adding or removing one so the user can see what is already allowed.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "swop_list_embed_origins",
"outputSchema": null
},
{
"description": "List the linked account's OWN products (each with its id, name, price, inventory, and status); to browse another seller's products use swop_get_store. Use the id with swop_update_product (to edit or unlist) or swop_feature_product (to show it on the SmartSite).",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "swop_list_my_products",
"outputSchema": null
},
{
"description": "Community tokens and merchant Bucks the linked account has launched on Base, with live balances (for the overall wallet total use swop_get_my_balances). Read-only. Merchant Bucks are STORE CREDIT (isStoreCredit: true, 2 decimals) — never add them into a portfolio or cash total. An empty list means nothing has been launched yet, not an error.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "swop_list_my_tokens",
"outputSchema": null
},
{
"description": "Show the webhook endpoints Swop notifies when the linked account gets paid, and the events available. Two events: checkout.paid (the buyer's money arrived and an order exists) and payout.released (Swop released the seller's money — for a card sale that can be days later). Use before adding or removing one.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "swop_list_webhooks",
"outputSchema": null
},
{
"description": "Resolve an exact swop.id handle (e.g. \"travis.swop.id\") to its profile: display name, avatar, and public EVM/Solana wallet addresses. Case-insensitive exact match; use swop_search_identities for fuzzy search.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"handle": {
"description": "Exact swop.id handle, e.g. \"travis.swop.id\"",
"minLength": 1,
"type": "string"
}
},
"required": [
"handle"
],
"type": "object"
},
"name": "swop_lookup_identity",
"outputSchema": null
},
{
"description": "Allow ONE website to display the linked account's Swop checkout inside a frame. This is a security setting: only registered origins can ever frame the checkout, so a leaked API key still cannot put it on someone else's site. Give a bare origin — scheme and host only, https (http allowed for localhost), no wildcards, no path. Confirm the exact origin with the user first.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"label": {
"description": "A note to recognise it later",
"maxLength": 80,
"type": "string"
},
"origin": {
"description": "Bare origin, e.g. https://acme.com",
"minLength": 1,
"type": "string"
}
},
"required": [
"origin"
],
"type": "object"
},
"name": "swop_register_embed_origin",
"outputSchema": null
},
{
"description": "Get notified the moment the user gets paid. Register an https URL that Swop will POST a signed JSON event to when the linked account gets paid (checkout.paid) and paid out (payout.released). Returns a signing secret ONCE — tell the user to store it now; it cannot be retrieved again. Deliveries carry a Swop-Signature header: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with the secret>; failed deliveries retry for about 15 hours. Confirm the exact URL with the user first.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"events": {
"description": "Which events to send. Default: both",
"items": {
"enum": [
"checkout.paid",
"payout.released"
],
"type": "string"
},
"minItems": 1,
"type": "array"
},
"label": {
"description": "A name for this endpoint",
"maxLength": 80,
"type": "string"
},
"url": {
"description": "https URL to POST events to (http allowed for localhost only)",
"format": "uri",
"maxLength": 2000,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "swop_register_webhook",
"outputSchema": null
},
{
"description": "Remove a website from the list allowed to frame the linked account's checkout. Takes an id from swop_list_embed_origins. Afterwards that site can no longer display the checkout.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "Origin id from swop_list_embed_origins",
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "swop_remove_embed_origin",
"outputSchema": null
},
{
"description": "Remove a link/icon/info-bar/product tile from the SmartSite. Get the item's id and contentType from swop_get_my_smartsite (icons → 'socialTop', buttons → 'socialLarge', info bars → 'infoBar', product tiles → 'marketPlace'). Confirm with the user first.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"contentType": {
"description": "The kind of item to remove",
"enum": [
"socialTop",
"socialLarge",
"infoBar",
"marketPlace"
],
"type": "string"
},
"itemId": {
"description": "The item id from swop_get_my_smartsite",
"type": "string"
},
"smartsiteId": {
"description": "Specific SmartSite id (default: primary)",
"type": "string"
}
},
"required": [
"contentType",
"itemId"
],
"type": "object"
},
"name": "swop_remove_link",
"outputSchema": null
},
{
"description": "Stop sending events to one of the linked account's webhook URLs. Pending deliveries to it are dropped. Confirm with the user first.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "Webhook id from swop_list_webhooks",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "swop_remove_webhook",
"outputSchema": null
},
{
"description": "Search Swop user identities (swop.ids) by handle or display name. Returns handle, display name, avatar, and public EVM/Solana wallet addresses. Use this to find a user or resolve a name to a wallet address.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"limit": {
"description": "Max results, default 8",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "Handle or name fragment, at least 2 characters (e.g. \"travis\")",
"minLength": 2,
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "swop_search_identities",
"outputSchema": null
},
{
"description": "POST a signed 'ping' event to one of the linked account's webhooks right now and report the HTTP status the endpoint returned. Use to confirm an integration before relying on it.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "Webhook id from swop_list_webhooks",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "swop_test_webhook",
"outputSchema": null
},
{
"description": "Edit the linked account's SmartSite: display name, bio, and appearance (background color, a gradient of hex stops, a background image URL, theme/font color, font family, or header layout). Pass only what you want to change. For adding links/buttons/info bars use swop_add_link; for products use swop_create_product / swop_feature_product.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"backgroundColor": {
"description": "Solid background hex, e.g. \"#0b0b0f\"",
"type": "string"
},
"backgroundGradient": {
"description": "Gradient hex stops, e.g. [\"#5b3df5\",\"#0b0b0f\"] (clears the solid color)",
"items": {
"type": "string"
},
"maxItems": 8,
"type": "array"
},
"backgroundImg": {
"description": "Background/wallpaper image URL",
"format": "uri",
"type": "string"
},
"bio": {
"description": "New bio text",
"maxLength": 500,
"type": "string"
},
"fontColor": {
"description": "Primary font hex color",
"type": "string"
},
"fontFamily": {
"description": "Font family name",
"type": "string"
},
"headerFormat": {
"description": "Header layout style",
"enum": [
"centered",
"left",
"cover",
"hero",
"orbit",
"card",
"bar"
],
"type": "string"
},
"name": {
"description": "New display name",
"maxLength": 80,
"type": "string"
},
"smartsiteId": {
"description": "Specific SmartSite id (default: primary)",
"type": "string"
},
"themeColor": {
"description": "Accent/theme hex color",
"type": "string"
}
},
"type": "object"
},
"name": "swop_update_my_smartsite",
"outputSchema": null
},
{
"description": "Edit one of the linked account's products, or unlist it. Pass its productId (from swop_list_my_products) plus ONLY the fields to change — anything omitted keeps its current value. To unlist it, set status to 'archived'. Confirm price and name changes with the user first.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"description": "New description",
"maxLength": 2000,
"type": "string"
},
"digitalDeliveryNote": {
"description": "What a buyer receives",
"maxLength": 500,
"type": "string"
},
"extraImages": {
"description": "Replaces the additional images. Requires image, since the full list is rewritten",
"items": {
"format": "uri",
"type": "string"
},
"maxItems": 9,
"type": "array"
},
"image": {
"description": "New primary image URL",
"format": "uri",
"type": "string"
},
"keywords": {
"description": "Replaces the keywords",
"items": {
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"mintLimit": {
"description": "New inventory available",
"exclusiveMinimum": 0,
"type": "integer"
},
"name": {
"description": "New product name",
"maxLength": 120,
"type": "string"
},
"priceUsd": {
"description": "New price in USD (settles in USDC)",
"exclusiveMinimum": 0,
"type": "number"
},
"productId": {
"description": "The product id from swop_list_my_products",
"type": "string"
},
"requiresShipping": {
"description": "Collect a shipping address",
"type": "boolean"
},
"royaltyPercentage": {
"description": "Resale royalty percent",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"royaltyRecipient": {
"description": "Wallet receiving royalties",
"type": "string"
},
"shippingCost": {
"description": "Flat shipping cost in USD",
"minimum": 0,
"type": "number"
},
"status": {
"description": "Set 'archived' to unlist",
"enum": [
"active",
"archived"
],
"type": "string"
},
"variants": {
"description": "Buyer-selectable options. Replaces the existing set when given.",
"items": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Variant group, e.g. \"Color\" or \"Size\"",
"minLength": 1,
"type": "string"
},
"options": {
"description": "Choices, e.g. [\"Black\",\"White\"]",
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"options"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"productId"
],
"type": "object"
},
"name": "swop_update_product",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:ed297a86571b64ccd5da0b4c46acdfe0271a149ce7bd51ad04d2014f1f54bd2e | sha256sum