{"openapi":"3.1.0","info":{"title":"StockDonator Public AI Tools API","version":"1.1.0"},"servers":[{"url":"https:\/\/stockdonator.com\/wp-json\/stockdonator-ai\/v1"}],"paths":{"\/health":{"get":{"summary":"Health check","responses":{"200":{"description":"OK"}}}},"\/tool-manifest":{"get":{"summary":"Tool manifest for AI systems","responses":{"200":{"description":"Tool manifest"}}}},"\/openapi.json":{"get":{"summary":"OpenAPI schema","responses":{"200":{"description":"OpenAPI schema"}}}},"\/next-steps":{"get":{"summary":"StockDonator next steps","responses":{"200":{"description":"Next steps"}}}},"\/compare-stock-vs-cash":{"post":{"summary":"Compare stock donation vs cash donation","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"ticker":{"type":"string"},"shares":{"type":"number"},"fair_market_value_per_share":{"type":"number"},"current_value":{"type":"number"},"cost_basis_per_share":{"type":"number"},"cost_basis":{"type":"number"},"acquisition_date":{"type":"string","format":"date"},"receiving_organization":{"type":"string"},"brokerage_firm":{"type":"string"},"ordinary_income_tax_rate":{"type":"number"},"state_marginal_tax_rate":{"type":"number"},"long_term_capital_gains_rate":{"type":"number"},"niit_rate":{"type":"number"}}}}}},"responses":{"200":{"description":"Comparison result"}}}},"\/check-readiness":{"post":{"summary":"Check donation readiness","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"ticker":{"type":"string"},"shares":{"type":"number"},"fair_market_value_per_share":{"type":"number"},"current_value":{"type":"number"},"cost_basis_per_share":{"type":"number"},"cost_basis":{"type":"number"},"acquisition_date":{"type":"string","format":"date"},"receiving_organization":{"type":"string"},"brokerage_firm":{"type":"string"},"ordinary_income_tax_rate":{"type":"number"},"state_marginal_tax_rate":{"type":"number"},"long_term_capital_gains_rate":{"type":"number"},"niit_rate":{"type":"number"}}}}}},"responses":{"200":{"description":"Readiness result"}}}},"\/rank-lots":{"post":{"summary":"Rank candidate stock lots","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"lots":{"type":"array","items":{"type":"object"}}}}}}},"responses":{"200":{"description":"Ranked lots"}}}}}}