{
  "openapi": "3.1.0",
  "info": {
    "title": "RWA Risk",
    "version": "1.0.0",
    "x-guidance": "Per-vault RWA risk (admin/freeze control + secondary-exit liquidity) for tokenized real-world assets on Base. $0.10 via x402. Full catalog: lonestaroracle.xyz",
    "description": "Risk scoring for tokenized real-world-asset vaults and protocols. Pass ?vault= or ?protocol=.",
    "contact": {
      "email": "jay@lonestaroracle.xyz"
    },
    "x-x402-proof": "https://rwa.lonestaroracle.xyz/.well-known/x402-proof"
  },
  "externalDocs": {
    "url": "https://docs.lonestaroracle.xyz",
    "description": "LoneStarOracle API & integration docs"
  },
  "paths": {
    "/rwa-risk": {
      "get": {
        "summary": "Real-World-Asset (RWA) Risk",
        "operationId": "rwa_risk_rwa_risk_get",
        "parameters": [
          {
            "name": "vault",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "title": "Vault"
            }
          },
          {
            "name": "protocol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "title": "Protocol"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "security": [
            {
              "x402": {}
            }
          ]
        },
        "description": "Risk scoring for tokenized real-world-asset vaults and protocols. Pass ?vault= or ?protocol=.",
        "tags": [
          "rwa",
          "tokenized",
          "risk",
          "defi",
          "treasuries",
          "credit"
        ]
      }
    },
    "/health": {
      "get": {
        "summary": "Health",
        "operationId": "health_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-payment-info": {
          "authMode": "free"
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    }
  }
}