{
    "openapi": "3.0.3",
    "info": {
        "title": "Paw & Claw Platform API",
        "description": "Public API for Paw & Claw Veterinary Clinics and Pet Care Platform.",
        "version": "1.0.0"
    },
    "x-service-info": {
        "title": "Paw & Claw Veterinary Platform",
        "description": "Veterinary clinic appointment booking and pet telehealth services for AI agents",
        "categories": [
            "veterinary",
            "telehealth",
            "pet-care",
            "booking"
        ]
    },
    "servers": [
        {
            "url": "https://paw-n-claw.com",
            "description": "Paw & Claw Production Server"
        },
        {
            "url": "https://paw-n-claw.com/api",
            "description": "Paw & Claw API Gateway"
        }
    ],
    "paths": {
        "/up": {
            "get": {
                "summary": "System Health Check",
                "responses": {
                    "200": {
                        "description": "Service healthy"
                    }
                }
            }
        },
        "/{locale}/home": {
            "get": {
                "summary": "Homepage content and highlights",
                "parameters": [
                    {
                        "name": "locale",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "en",
                                "ar"
                            ],
                            "default": "en"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Homepage data successfully retrieved"
                    }
                }
            }
        },
        "/{locale}/blogs": {
            "get": {
                "summary": "List articles and blog posts",
                "parameters": [
                    {
                        "name": "locale",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "en",
                                "ar"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Blog posts retrieved"
                    }
                }
            }
        },
        "/{locale}/countries": {
            "get": {
                "summary": "List supported countries",
                "responses": {
                    "200": {
                        "description": "Country list"
                    }
                }
            }
        },
        "/{locale}/cities": {
            "get": {
                "summary": "List supported cities",
                "responses": {
                    "200": {
                        "description": "City list"
                    }
                }
            }
        },
        "/v1/mpp/charge": {
            "get": {
                "summary": "Execute agent micropayment charge for instant veterinary record lookup",
                "x-payment-info": {
                    "intent": "charge",
                    "method": "tempo",
                    "amount": "0.01",
                    "currency": "USD",
                    "description": "Per-request fee for Paw & Claw veterinary API agent consultation"
                },
                "responses": {
                    "200": {
                        "description": "Micropayment settled successfully"
                    },
                    "402": {
                        "description": "Payment Required - Machine Payment Protocol challenge"
                    }
                }
            },
            "post": {
                "summary": "Execute agent micropayment charge for instant veterinary appointment booking or action",
                "x-payment-info": {
                    "intent": "charge",
                    "method": "tempo",
                    "amount": "0.01",
                    "currency": "USD",
                    "description": "Per-request fee for Paw & Claw veterinary API agent booking action"
                },
                "responses": {
                    "200": {
                        "description": "Micropayment settled successfully"
                    },
                    "402": {
                        "description": "Payment Required - Machine Payment Protocol challenge"
                    }
                }
            }
        },
        "/v1/mpp/session": {
            "post": {
                "summary": "Create an active payment session for continuous agent telehealth consultation",
                "x-payment-info": {
                    "intent": "session",
                    "method": "stripe",
                    "amount": "1.00",
                    "currency": "USD",
                    "description": "Session access fee for continuous agent veterinary consultation"
                },
                "responses": {
                    "200": {
                        "description": "Payment session established"
                    },
                    "402": {
                        "description": "Payment Required - MPP session payment challenge"
                    }
                }
            }
        },
        "/v1/mpp/lightning": {
            "post": {
                "summary": "Instant satoshi micropayment via Lightning Network for pet vitals telemetry",
                "x-payment-info": {
                    "intent": "charge",
                    "method": "lightning",
                    "amount": "0.005",
                    "currency": "USD",
                    "description": "Lightning micropayment settlement for pet telemetry data"
                },
                "responses": {
                    "200": {
                        "description": "Lightning invoice paid and verified"
                    },
                    "402": {
                        "description": "Payment Required - Lightning invoice generated"
                    }
                }
            }
        },
        "/v1/mpp/card": {
            "post": {
                "summary": "Card delegated charge for veterinary clinic appointment reservation",
                "x-payment-info": {
                    "intent": "charge",
                    "method": "card",
                    "amount": "0.05",
                    "currency": "USD",
                    "description": "Card authorization charge for appointment booking guarantee"
                },
                "responses": {
                    "200": {
                        "description": "Card authorization confirmed"
                    },
                    "402": {
                        "description": "Payment Required - Card authorization required"
                    }
                }
            }
        },
        "/v1/x402": {
            "get": {
                "summary": "x402 payment protocol discovery metadata",
                "responses": {
                    "200": {
                        "description": "x402 protocol configuration and facilitator details"
                    }
                }
            }
        },
        "/v1/x402/sample": {
            "get": {
                "summary": "Sample protected endpoint requiring agent HTTP payment via x402 / MPP protocol",
                "x-payment-info": {
                    "intent": "charge",
                    "method": "tempo",
                    "amount": "0.01",
                    "currency": "USD",
                    "description": "Per-request fee for Paw & Claw telehealth queue access"
                },
                "responses": {
                    "200": {
                        "description": "Resource accessed after settling payment signature"
                    },
                    "402": {
                        "description": "Payment Required - Agent must fulfill x402 or MPP payment requirement"
                    }
                }
            }
        },
        "/x402": {
            "get": {
                "summary": "Direct x402 protected resource requiring agent micropayment",
                "x-payment-info": {
                    "intent": "charge",
                    "method": "tempo",
                    "amount": "0.01",
                    "currency": "USD",
                    "description": "Direct x402 agent micropayment for Paw & Claw API service"
                },
                "responses": {
                    "200": {
                        "description": "Resource accessed after settling payment signature"
                    },
                    "402": {
                        "description": "Payment Required - Agent must fulfill x402 payment requirement"
                    }
                }
            }
        },
        "/api/v1/x402/sample": {
            "get": {
                "summary": "Sample protected endpoint requiring agent HTTP payment via x402 protocol (API Gateway)",
                "x-payment-info": {
                    "intent": "charge",
                    "method": "tempo",
                    "amount": "0.01",
                    "currency": "USD",
                    "description": "Per-request fee for Paw & Claw telehealth queue access via API gateway"
                },
                "responses": {
                    "200": {
                        "description": "Resource accessed after settling payment signature"
                    },
                    "402": {
                        "description": "Payment Required - Agent must fulfill x402 payment requirement"
                    }
                }
            }
        },
        "/api/v1/mpp/charge": {
            "get": {
                "summary": "Execute agent micropayment charge for instant veterinary record lookup (API Gateway)",
                "x-payment-info": {
                    "intent": "charge",
                    "method": "tempo",
                    "amount": "0.01",
                    "currency": "USD",
                    "description": "Per-request fee for Paw & Claw veterinary API agent consultation"
                },
                "responses": {
                    "200": {
                        "description": "Micropayment settled successfully"
                    },
                    "402": {
                        "description": "Payment Required - Machine Payment Protocol challenge"
                    }
                }
            }
        },
        "/v1/ucp": {
            "get": {
                "summary": "Universal Commerce Protocol profile and capability discovery",
                "responses": {
                    "200": {
                        "description": "UCP commerce services and supported payment handlers"
                    }
                }
            }
        },
        "/v1/ucp/catalog": {
            "get": {
                "summary": "Search and browse pet care catalog for AI agents via UCP",
                "responses": {
                    "200": {
                        "description": "List of catalog items matching query"
                    }
                }
            }
        },
        "/v1/ucp/cart": {
            "post": {
                "summary": "Create or update shopping cart for autonomous agents",
                "responses": {
                    "200": {
                        "description": "Cart initialized or updated with checkout link"
                    }
                }
            }
        },
        "/v1/ucp/checkout": {
            "post": {
                "summary": "Execute checkout and settle payment via UCP payment handler",
                "responses": {
                    "200": {
                        "description": "Order created and paid"
                    }
                }
            }
        },
        "/v1/ucp/orders/{id}": {
            "get": {
                "summary": "Retrieve order fulfillment and tracking details",
                "responses": {
                    "200": {
                        "description": "Order status and details"
                    }
                }
            }
        },
        "/v1/acp": {
            "get": {
                "summary": "Agentic Commerce Protocol (ACP) service info and capabilities",
                "responses": {
                    "200": {
                        "description": "ACP service configuration and discovery payload"
                    }
                }
            }
        },
        "/v1/acp/checkout_sessions": {
            "post": {
                "summary": "Create an ACP checkout session for an AI agent",
                "responses": {
                    "201": {
                        "description": "ACP checkout session created"
                    }
                }
            }
        },
        "/v1/acp/checkout_sessions/{id}": {
            "get": {
                "summary": "Retrieve an ACP checkout session by ID",
                "responses": {
                    "200": {
                        "description": "ACP checkout session details"
                    }
                }
            }
        },
        "/v1/acp/carts": {
            "post": {
                "summary": "Create or modify an ACP cart",
                "responses": {
                    "201": {
                        "description": "ACP cart created or updated"
                    }
                }
            }
        },
        "/v1/acp/orders/{id}": {
            "get": {
                "summary": "Retrieve ACP order details and status",
                "responses": {
                    "200": {
                        "description": "ACP order details"
                    }
                }
            }
        }
    }
}