{"openapi":"3.1.0","info":{"title":"aviation-intel Calendar API","description":"Calendar endpoints for unified calendar intel.","version":"1.0.0"},"paths":{"/api/calendar-intel/meta":{"get":{"tags":["calendar-intel"],"summary":"Api Calendar Intel Meta","operationId":"api_calendar_intel_meta_api_calendar_intel_meta_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Api Calendar Intel Meta Api Calendar Intel Meta Get"}}}}}}},"/api/calendar-intel/example":{"get":{"tags":["calendar-intel"],"summary":"Api Calendar Intel Example","operationId":"api_calendar_intel_example_api_calendar_intel_example_get","parameters":[{"name":"market","in":"query","required":false,"schema":{"type":"string","description":"Market code used for the example payload.","default":"PL","title":"Market"},"description":"Market code used for the example payload."},{"name":"year","in":"query","required":false,"schema":{"type":"integer","description":"Year used for the example payload.","default":2026,"title":"Year"},"description":"Year used for the example payload."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Api Calendar Intel Example Api Calendar Intel Example Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar-intel/example/events":{"get":{"tags":["calendar-intel"],"summary":"Api Calendar Intel Example Events","operationId":"api_calendar_intel_example_events_api_calendar_intel_example_events_get","parameters":[{"name":"market","in":"query","required":false,"schema":{"type":"string","description":"Market code used for the example event list.","default":"PL","title":"Market"},"description":"Market code used for the example event list."},{"name":"year","in":"query","required":false,"schema":{"type":"integer","description":"Year used for the example event list.","default":2026,"title":"Year"},"description":"Year used for the example event list."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Maximum number of example events.","default":10,"title":"Limit"},"description":"Maximum number of example events."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Api Calendar Intel Example Events Api Calendar Intel Example Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar-intel/{market}/{year}":{"get":{"tags":["calendar-intel"],"summary":"Api Calendar Intel","description":"Return full unified calendar intel for a given market and year.\nIncludes events, week_index, month_index, and summary stats.","operationId":"api_calendar_intel_api_calendar_intel__market___year__get","parameters":[{"name":"market","in":"path","required":true,"schema":{"type":"string","title":"Market"}},{"name":"year","in":"path","required":true,"schema":{"type":"integer","title":"Year"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Api Calendar Intel Api Calendar Intel  Market   Year  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar-intel/{market}/{year}/events":{"get":{"tags":["calendar-intel"],"summary":"Api Calendar Intel Events","description":"Return filtered list of unified events.","operationId":"api_calendar_intel_events_api_calendar_intel__market___year__events_get","parameters":[{"name":"market","in":"path","required":true,"schema":{"type":"string","title":"Market"}},{"name":"year","in":"path","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"long_weekend_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Long Weekend Only"}},{"name":"min_travel_score","in":"query","required":false,"schema":{"type":"number","default":0.0,"title":"Min Travel Score"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Api Calendar Intel Events Api Calendar Intel  Market   Year  Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar-intel/cache/clear":{"post":{"tags":["calendar-intel"],"summary":"Api Clear Cache","operationId":"api_clear_cache_api_calendar_intel_cache_clear_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Api Clear Cache Api Calendar Intel Cache Clear Post"}}}}}}}},"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"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}