{"openapi":"3.1.0","info":{"title":"BUY SIGNAL Portugal","description":"Machine-readable purchasing signals derived from official Portugal 2030 project facts. Inferences are explicitly separated from source facts.","version":"0.6"},"paths":{"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/example":{"get":{"summary":"Example","operationId":"example_example_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/llms.txt":{"get":{"summary":"Agent Instructions","operationId":"agent_instructions_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/.well-known/x402":{"get":{"summary":"Discovery","operationId":"discovery__well_known_x402_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/product":{"get":{"summary":"Product","operationId":"product_product_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/company/{nif}/buy-signal":{"get":{"summary":"Buy Signal","operationId":"buy_signal_company__nif__buy_signal_get","parameters":[{"name":"nif","in":"path","required":true,"schema":{"type":"string","title":"Nif"},"example":"507168216"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required: 0.03 USDC via x402 on Base"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.03"}},"security":[{"X402Payment":[]}]}}},"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"}},"securitySchemes":{"X402Payment":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"x402 v2 signed payment authorization. Use the live HTTP 402 challenge with an x402-compatible client; this is not a reusable API key."}}}}