{"components":{"schemas":{"Regulation":{"properties":{"categories":{"items":{"type":"string"},"type":"array"},"deadlines":{"type":"array"},"description":{"type":"string"},"geographicScope":{"items":{"type":"string"},"type":"array"},"hasDeadlines":{"type":"boolean"},"impact":{"enum":["HIGH","MEDIUM","LOW"],"type":"string"},"link":{"format":"uri","type":"string"},"pubDate":{"format":"date-time","type":"string"},"source":{"type":"string"},"title":{"type":"string"}},"type":"object"}}},"info":{"contact":{"email":"info@heal.capital","name":"Heal Capital","url":"https://heal.capital"},"description":"European health regulation monitoring platform API","title":"HealthSignal API","version":"1.0.0"},"openapi":"3.0.0","paths":{"/api/active-countries":{"get":{"description":"Returns list of countries with active regulation content","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"countries":{"items":{"properties":{"code":{"type":"string"},"label":{"type":"string"},"order":{"type":"integer"},"value":{"type":"string"}},"type":"object"},"type":"array"},"status":{"type":"string"},"total":{"type":"integer"}},"type":"object"}}},"description":"List of active countries"}},"summary":"Get active countries"}},"/api/ai/content":{"get":{"description":"Returns structured data optimized for AI/LLM consumption","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"categories":{"items":{"type":"string"},"type":"array"},"data_sources":{"type":"object"},"description":{"type":"string"},"geographic_coverage":{"items":{"type":"string"},"type":"array"},"last_updated":{"type":"string"},"platform":{"type":"string"},"recent_regulations":{"type":"array"},"upcoming_deadlines":{"type":"array"}},"type":"object"}}},"description":"AI-formatted content"}},"summary":"AI-optimized content endpoint"}},"/api/health":{"get":{"description":"Check the health status of the API and database connection","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"collections":{"type":"object"},"database":{"type":"string"},"status":{"enum":["healthy","unhealthy"],"type":"string"},"timestamp":{"type":"string"}},"type":"object"}}},"description":"System is healthy"},"503":{"description":"System is unhealthy"}},"summary":"Health check endpoint"}},"/api/regulations":{"get":{"description":"Retrieve regulations with optional filters for impact, category, region, and date range","parameters":[{"description":"Search query for title and description","in":"query","name":"search","schema":{"type":"string"}},{"description":"Filter by impact levels","explode":true,"in":"query","name":"impact[]","schema":{"items":{"enum":["HIGH","MEDIUM","LOW"],"type":"string"},"type":"array"},"style":"form"},{"description":"Filter by categories","explode":true,"in":"query","name":"category[]","schema":{"items":{"enum":["Pharmaceuticals","Medical Devices","Digital Health & AI","Clinical Trials","Health Data & Privacy","Market Access & Reimbursement","General Regulatory"],"type":"string"},"type":"array"},"style":"form"},{"description":"Filter by geographic regions","explode":true,"in":"query","name":"region[]","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Date range filter","in":"query","name":"dateRange","schema":{"enum":["today","week","month","3months","6months","year"],"type":"string"}},{"description":"Only show regulations with deadlines","in":"query","name":"hasDeadlines","schema":{"type":"boolean"}},{"description":"Page number (default: 1)","in":"query","name":"page","schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"Results per page (max: 100)","in":"query","name":"limit","schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"properties":{"categories":{"items":{"type":"string"},"type":"array"},"deadlines":{"items":{"properties":{"date":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"}},"type":"object"},"type":"array"},"description":{"type":"string"},"geographicScope":{"items":{"type":"string"},"type":"array"},"hasDeadlines":{"type":"boolean"},"impact":{"type":"string"},"link":{"type":"string"},"pubDate":{"type":"string"},"source":{"type":"string"},"title":{"type":"string"}},"type":"object"},"type":"array"},"limit":{"type":"integer"},"page":{"type":"integer"},"status":{"type":"string"},"total":{"type":"integer"}},"type":"object"}}},"description":"Successful response"}},"summary":"Get filtered regulations"}}},"servers":[{"description":"Production server","url":"https://www.health-signal.com"},{"description":"Development server","url":"http://localhost:5002"}],"tags":[{"description":"Access to regulation data","name":"Regulations"},{"description":"System status and health checks","name":"System"},{"description":"AI-optimized endpoints","name":"AI"}]}
