{"openapi":"3.1.0","info":{"title":"Karpos — API Risques Climatiques","description":"API publique Karpos pour les indices paramétriques de risque gel sur cultures arboricoles (abricotier, cerisier, nectarinier, pommier).\n\n## Volets\n\n- **Sencrop** (`/api/v1/sencrop`) : lecture du réseau physique de stations agricoles (49 stations Drôme + nord Vaucluse, cadence 15 min).\n- **Indices** (`/api/v1/indices`, `/api/v1/triggers`) : déclenchements T10 / T90 par espèce × stade BBCH (legacy Netatmo).\n\n## Sources\n- Sencrop bulk export, S3 Scaleway (`karpos-backtest-data/sencrop`)\n- FAO / Proebsting & Mills (2005) — seuils T10 / T90 par stade\n- Loi n° 2022-298 du 2 mars 2022 — cadre MRC français\n\n## Documentation\n- Swagger UI : `/docs`\n- Redoc : `/redoc`\n- Schéma OpenAPI : `/openapi.json`\n\n## Roadmap (cf. issue #61)\nPhase 2 : push d'indices calibrés Karpos vers Sencrop (échange bi-directionnel).","contact":{"name":"Karpos","url":"https://karpos.pro/","email":"contact@karpos.pro"},"license":{"name":"Proprietary"},"version":"0.3.0"},"paths":{"/api/v1/alerts/stream":{"get":{"tags":["alerts"],"summary":"Alerts Stream","description":"SSE stream — émet `arome:new-run` sur changement de la dernière run.\n\nEvents émis\n-----------\n- `connected`     : ouverture de la connexion, payload = horloge UTC ISO.\n- `arome:new-run` : nouvelle run AROME détectée, payload = `{\"run_date\": \"...\"}`.\n- `keepalive`     : ping toutes les ~25 s, payload = `{}`.","operationId":"alerts_stream_api_v1_alerts_stream_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/alerts/frost":{"get":{"tags":["alerts"],"summary":"Frost Verdict","description":"Verdict gel du domaine dérivé de la run AROME (Tmin nocturne par nuit).\n\nRéutilise le même zarr S3 que `/forecast/arome/*`. 404 si aucune run AROME\ndisponible (le front dégrade en « pas de prévision »).","operationId":"frost_verdict_api_v1_alerts_frost_get","parameters":[{"name":"run","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO datetime de la run (défaut: latest)","title":"Run"},"description":"ISO datetime de la run (défaut: latest)"},{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"lat_min,lat_max,lon_min,lon_max (défaut: Drôme)","title":"Bbox"},"description":"lat_min,lat_max,lon_min,lon_max (défaut: Drôme)"},{"name":"horizon","in":"query","required":false,"schema":{"type":"integer","maximum":51,"minimum":1,"description":"Horizon en heures depuis la run","default":48,"title":"Horizon"},"description":"Horizon en heures depuis la run"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrostVerdictResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/token":{"post":{"tags":["auth"],"summary":"Get Token","description":"Authenticate with email + secret, receive JWT access token.","operationId":"get_token_api_v1_auth_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh Token","description":"Exchange a refresh token for a new access token (token rotation).","operationId":"refresh_token_api_v1_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/revoke":{"post":{"tags":["auth"],"summary":"Revoke Token","description":"Revoke a refresh token (logout).","operationId":"revoke_token_api_v1_auth_revoke_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/me":{"get":{"tags":["auth"],"summary":"Get Me","description":"Return the profile of the currently authenticated client.\n\nUsed by the PWA to hydrate the auth state after a page reload (the\nhttpOnly cookie persists across reloads but the client-side state\nneeds to be rehydrated).","operationId":"get_me_api_v1_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeResponse"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/v1/parcel/{parcel_id}/pheno":{"get":{"tags":["parcels"],"summary":"Données phénologiques précalculées d'une parcelle","description":"Retourne le JSON phénologique précalculé pour une parcelle donnée.\n\nLe fichier est lu depuis\n``s3://karpos-backtest-data/pheno/parcels/{parcel_id}.json``.\n\nChamps attendus (format PoC v1) :\n- ``parcel_id`` : identifiant\n- ``species`` : espèce (ex. \"abricot\")\n- ``station_bucket_id`` : station Sencrop de référence\n- ``spring_year`` : année printanière\n- ``chilling`` : ``{cp_total, yc_bergeron, dormancy_break_date, status}``\n- ``maturation`` : ``{stage_dates: {gonflement, floraison, nouaison}, status}``\n- ``git_sha``, ``source``\n\n**404** si le fichier n'existe pas (parcelle pas encore calibrée).\n**503** si S3 inaccessible.\n\n**Auth requise (role=admin)** — données parcellaires identifiables.","operationId":"get_parcel_pheno_api_v1_parcel__parcel_id__pheno_get","parameters":[{"name":"parcel_id","in":"path","required":true,"schema":{"type":"string","description":"Identifiant de la parcelle (ex. 'poc-nyons-1'). Correspond au nom du fichier JSON sur S3 sans extension.","title":"Parcel Id"},"description":"Identifiant de la parcelle (ex. 'poc-nyons-1'). Correspond au nom du fichier JSON sur S3 sans extension."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parcel/{parcel_id}/observation":{"post":{"tags":["parcels"],"summary":"Déclarer / corriger le stade observé d'une parcelle (retour terrain)","description":"Enregistre une observation de stade et **décale immédiatement** la courbe.\n\nLe retour terrain = donnée de calage (verrou z_c) + moat. On :\n1. ajoute l'observation à ``pheno/observations/{parcel_id}.json`` (survit au\n   recalcul nocturne, qui la ré-appliquera) ;\n2. applique l'offset per-parcelle au record servi (maj instantanée, sans\n   recharger Sencrop). Une seule déclaration suffit pour la DATE.\n\n**Auth admin** (le flux exploitant authentifié viendra avec #137).","operationId":"post_parcel_observation_api_v1_parcel__parcel_id__observation_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"parcel_id","in":"path","required":true,"schema":{"type":"string","description":"Identifiant de la parcelle (ex. 'poc-nyons-1').","title":"Parcel Id"},"description":"Identifiant de la parcelle (ex. 'poc-nyons-1')."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservationIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parcels":{"get":{"tags":["parcels"],"summary":"Parcelles RPG du domaine (géométrie) — layer carte premium","description":"FeatureCollection RPG (premium). Filtre optionnel bbox + vergers.\n\nChaque feature : geometry Polygon/MultiPolygon + properties\n{parcel_id, code_cultu, surf_ha}. `parcel_id` = clé de `/parcel/{id}/pheno`.","operationId":"list_parcels_api_v1_parcels_get","parameters":[{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"lat_min,lat_max,lon_min,lon_max (défaut: tout le domaine)","title":"Bbox"},"description":"lat_min,lat_max,lon_min,lon_max (défaut: tout le domaine)"},{"name":"vergers_only","in":"query","required":false,"schema":{"type":"boolean","description":"Ne renvoyer que les vergers (grp 20) porteurs de risque gel","default":true,"title":"Vergers Only"},"description":"Ne renvoyer que les vergers (grp 20) porteurs de risque gel"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/backtests/":{"get":{"tags":["backtests"],"summary":"List Backtests","description":"List all submitted jobs (newest first). Combines active + DB history.","operationId":"list_backtests_api_v1_backtests__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BacktestResponse"},"type":"array","title":"Response List Backtests Api V1 Backtests  Get"}}}}}},"post":{"tags":["backtests"],"summary":"Create Backtest","description":"Submit a new backtest. Returns immediately with job_id; pipeline runs in background.","operationId":"create_backtest_api_v1_backtests__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/backtests/{job_id}":{"get":{"tags":["backtests"],"summary":"Get Backtest","description":"Get current status of a job.","operationId":"get_backtest_api_v1_backtests__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["backtests"],"summary":"Cancel Backtest","description":"Mark a job as CANCELLED.","operationId":"cancel_backtest_api_v1_backtests__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/backtests/{job_id}/stream":{"get":{"tags":["backtests"],"summary":"Stream Backtest","description":"SSE endpoint — push progress events every 3 s until the job finishes.\n\nEvent format:  {\"status\": \"computing\", \"stage\": \"Bias analysis\", \"pct\": 50}","operationId":"stream_backtest_api_v1_backtests__job_id__stream_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me/etudes":{"get":{"tags":["certificates"],"summary":"List My Studies","operationId":"list_my_studies_api_v1_me_etudes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/StudySummary"},"type":"array","title":"Response List My Studies Api V1 Me Etudes Get"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/v1/me/etudes/{study_id}":{"get":{"tags":["certificates"],"summary":"Get My Study","operationId":"get_my_study_api_v1_me_etudes__study_id__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"study_id","in":"path","required":true,"schema":{"type":"string","title":"Study Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/certificates/{siret}":{"get":{"tags":["certificates"],"summary":"Lookup Certificates B2B","description":"Lookup B2B des certificats valides pour un SIRET donné.\n\nV1 : auth JWT standard, scope client. V2 (A10) ajoutera des API keys B2B\ndédiées (`tenant_id` distinct des clients agriculteurs).\n\nTous les appels sont audités dans `api_audit_log`.","operationId":"lookup_certificates_b2b_api_v1_certificates__siret__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"siret","in":"path","required":true,"schema":{"type":"string","title":"Siret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CertificateB2B"},"title":"Response Lookup Certificates B2B Api V1 Certificates  Siret  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chat/sessions":{"get":{"tags":["chat"],"summary":"List Chat Sessions","operationId":"list_chat_sessions_api_v1_chat_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"tags":["chat"],"summary":"Create Chat Session","operationId":"create_chat_session_api_v1_chat_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/v1/chat/sessions/{session_id}/messages":{"get":{"tags":["chat"],"summary":"Get Chat History","operationId":"get_chat_history_api_v1_chat_sessions__session_id__messages_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chat/sessions/{session_id}":{"delete":{"tags":["chat"],"summary":"Delete Chat Session","operationId":"delete_chat_session_api_v1_chat_sessions__session_id__delete","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chat/sessions/{session_id}/message":{"post":{"tags":["chat"],"summary":"Send Message","description":"Send a user message. Response is an SSE stream.\n\nEvent types streamed:\n  data: {\"type\": \"text_delta\",  \"text\": \"...\"}\n  data: {\"type\": \"tool_start\",  \"name\": \"...\", \"input\": {...}}\n  data: {\"type\": \"tool_end\",    \"name\": \"...\", \"result\": {...}}\n  data: {\"type\": \"done\"}\n  data: {\"type\": \"error\",       \"message\": \"...\"}","operationId":"send_message_api_v1_chat_sessions__session_id__message_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clients/":{"get":{"tags":["clients"],"summary":"List Clients","operationId":"list_clients_api_v1_clients__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ClientResponse"},"type":"array","title":"Response List Clients Api V1 Clients  Get"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"tags":["clients"],"summary":"Create Client","operationId":"create_client_api_v1_clients__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/v1/clients/{client_id}":{"put":{"tags":["clients"],"summary":"Update Client","operationId":"update_client_api_v1_clients__client_id__put","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["clients"],"summary":"Deactivate Client","operationId":"deactivate_client_api_v1_clients__client_id__delete","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clients/{client_id}/rotate-secret":{"post":{"tags":["clients"],"summary":"Rotate Secret","description":"Regenerate API secret. Returns new secret ONCE.","operationId":"rotate_secret_api_v1_clients__client_id__rotate_secret_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/data/{region_slug}/latest-bias":{"get":{"tags":["data"],"summary":"Latest Bias","description":"Presigned URL for the latest bias_yearly parquet for a region.","operationId":"latest_bias_api_v1_data__region_slug__latest_bias_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"region_slug","in":"path","required":true,"schema":{"type":"string","title":"Region Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresignedUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/data/{region_slug}/latest-triggers":{"get":{"tags":["data"],"summary":"Latest Triggers","description":"Presigned URL for the latest frost_triggers parquet for a region.","operationId":"latest_triggers_api_v1_data__region_slug__latest_triggers_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"region_slug","in":"path","required":true,"schema":{"type":"string","title":"Region Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresignedUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/data/{job_id}/files":{"get":{"tags":["data"],"summary":"List Job Files","description":"List S3 keys for all files produced by a job.","operationId":"list_job_files_api_v1_data__job_id__files_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response List Job Files Api V1 Data  Job Id  Files Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/data/{job_id}/presigned/{file_key}":{"get":{"tags":["data"],"summary":"Presigned For Job File","description":"Presigned URL for a specific file from a job's S3 output.","operationId":"presigned_for_job_file_api_v1_data__job_id__presigned__file_key__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"file_key","in":"path","required":true,"schema":{"type":"string","title":"File Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresignedUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/forecast/arome/runs":{"get":{"tags":["forecast"],"summary":"List Arome Runs","description":"Liste les runs AROME disponibles sur S3, plus récent en tête.\n\nNe lève jamais 500 — retourne `runs: []` si S3 vide / inaccessible.\nLe PWA affiche un état \"pas de prévision disponible\" plutôt qu'une\nerreur réseau opaque.","operationId":"list_arome_runs_api_v1_forecast_arome_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/forecast/arome":{"get":{"tags":["forecast"],"summary":"Get Arome Forecast","description":"AROME T2m forecast as GeoJSON FeatureCollection (one Point per grid cell).\n\nPWA `/alerte` consomme cet endpoint avec un slider de leadtime.","operationId":"get_arome_forecast_api_v1_forecast_arome_get","parameters":[{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":51,"minimum":0,"description":"Leadtime in hours from run date","default":0,"title":"Lead"},"description":"Leadtime in hours from run date"},{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"lat_min,lat_max,lon_min,lon_max (default: Drôme)","title":"Bbox"},"description":"lat_min,lat_max,lon_min,lon_max (default: Drôme)"},{"name":"run","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO datetime of target run (default: latest)","title":"Run"},"description":"ISO datetime of target run (default: latest)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/forecast/arome/raster":{"get":{"tags":["forecast"],"summary":"Get Arome Raster","description":"AROME T2m forecast as a colormapped PNG raster.\n\nPensé pour MapLibre `ImageSource` (coordinates = quatre coins bbox).\nLe client charge l'image, MapLibre la projette correctement sur la carte.\n\nHeaders renvoyés :\n- X-Run-Date          ISO 8601 UTC de la run AROME\n- X-Lead-Hours        leadtime effectif (peut différer du `lead` demandé si fallback)\n- X-Bbox-Lat-Min/Max  bornes lat utilisées (utile pour ImageSource.coordinates)\n- X-Bbox-Lon-Min/Max  bornes lon utilisées\n- X-T-Min/Max         min/max t2m du subset (info légende dynamique)","operationId":"get_arome_raster_api_v1_forecast_arome_raster_get","parameters":[{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":51,"minimum":0,"description":"Leadtime in hours from run date","default":0,"title":"Lead"},"description":"Leadtime in hours from run date"},{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"lat_min,lat_max,lon_min,lon_max (default: Drôme)","title":"Bbox"},"description":"lat_min,lat_max,lon_min,lon_max (default: Drôme)"},{"name":"run","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO datetime of target run (default: latest)","title":"Run"},"description":"ISO datetime of target run (default: latest)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/forecast/arome/grid":{"get":{"tags":["forecast"],"summary":"Get Arome Grid","description":"Réseau de mailles AROME — un Point GeoJSON par centre de cellule grille.\n\nPermet d'afficher visuellement la résolution native du modèle\n(AROME 0.025° ≈ 2.5 km) sur la carte, par-dessus le raster T2m. Utile\npour signaler que la donnée est échantillonnée, pas continue.\n\nEndpoint léger : lit juste les coords lat/lon du zarr (pas de t2m),\nretourne FeatureCollection Point avec property `grid_step_deg`.","operationId":"get_arome_grid_api_v1_forecast_arome_grid_get","parameters":[{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"lat_min,lat_max,lon_min,lon_max (default: Drôme)","title":"Bbox"},"description":"lat_min,lat_max,lon_min,lon_max (default: Drôme)"},{"name":"run","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO datetime run cible","title":"Run"},"description":"ISO datetime run cible"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/forecast/arome/isolines":{"get":{"tags":["forecast"],"summary":"Get Arome Isolines","description":"Isolignes T2m AROME en GeoJSON FeatureCollection LineString.\n\nSurcouche vector destinée à être affichée par-dessus le raster\n/arome/raster côté MapLibre (couche `line` avec interpolation couleur\nsur `properties.value`). Quick win visuel #C1 EPIC carto-pro-stack.\n\n`levels` retourné dans metadata pour que le client connaisse les bornes\nsans devoir re-parser le payload (utile pour la légende dynamique).","operationId":"get_arome_isolines_api_v1_forecast_arome_isolines_get","parameters":[{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":51,"minimum":0,"default":0,"title":"Lead"}},{"name":"values","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Liste CSV des isolignes en °C (ex: '-5,-2,0,5,10'). Défaut : -10,-5,-2,0,5,10,15,20,25,30.","title":"Values"},"description":"Liste CSV des isolignes en °C (ex: '-5,-2,0,5,10'). Défaut : -10,-5,-2,0,5,10,15,20,25,30."},{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"lat_min,lat_max,lon_min,lon_max (default: Drôme)","title":"Bbox"},"description":"lat_min,lat_max,lon_min,lon_max (default: Drôme)"},{"name":"run","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO datetime run cible","title":"Run"},"description":"ISO datetime run cible"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/forecast/arome/contours":{"get":{"tags":["forecast"],"summary":"Get Arome Contours","description":"Bandes de température filled contours en GeoJSON MultiPolygon.\n\nCouche vectorielle alternative au raster titiler — zoom-infini, pas de\npixellisation de grille AROME visible. Le client MapLibre l'affiche en\n`fill` avec `fill-color: [\"get\", \"color\"]`.","operationId":"get_arome_contours_api_v1_forecast_arome_contours_get","parameters":[{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":51,"minimum":0,"default":0,"title":"Lead"}},{"name":"values","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Niveaux des bandes (°C, CSV). Défaut : -10,-5,-2,0,5,10,15,20,25,30.","title":"Values"},"description":"Niveaux des bandes (°C, CSV). Défaut : -10,-5,-2,0,5,10,15,20,25,30."},{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"lat_min,lat_max,lon_min,lon_max","title":"Bbox"},"description":"lat_min,lat_max,lon_min,lon_max"},{"name":"run","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO datetime run cible","title":"Run"},"description":"ISO datetime run cible"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/forecast/arome/cities":{"get":{"tags":["forecast"],"summary":"Get Arome Cities","description":"T2m AROME échantillonnée sur les chefs-lieux du domaine.\n\nRenvoie un FeatureCollection Point GeoJSON avec `properties.name` et\n`properties.t2m` (°C arrondi 0.1). Filtré sur la bbox si fournie, sinon\nla liste statique complète (cf. `backtest.api.cities`).\n\nSub-ms côté serveur : ~25 communes × xarray.sel(method='nearest'). Pas\nde calcul, juste un lookup grille.","operationId":"get_arome_cities_api_v1_forecast_arome_cities_get","parameters":[{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":51,"minimum":0,"description":"Leadtime en heures depuis la run","default":0,"title":"Lead"},"description":"Leadtime en heures depuis la run"},{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"lat_min,lat_max,lon_min,lon_max (filtre communes)","title":"Bbox"},"description":"lat_min,lat_max,lon_min,lon_max (filtre communes)"},{"name":"run","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO datetime run cible (défaut : latest)","title":"Run"},"description":"ISO datetime run cible (défaut : latest)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/forecast/arome/parcels-tmin":{"get":{"tags":["forecast"],"summary":"Get Arome Parcels Tmin","description":"Tmin AROME de la nuit prochaine, échantillonnée par parcelle RPG (tooltip /alerte).\n\n« Nuit prochaine » = date locale (Europe/Paris) la plus proche parmi les\nleads `0 < lh <= horizon` (cf. `_next_night_leads`). Le champ t2m est\nréduit (min) sur les leads de cette nuit puis échantillonné à la maille la\nplus proche du centroïde de chaque parcelle RPG (`parcels._load_parcels`,\npas de cycle d'import : parcels.py n'importe pas ce module).\n\n404 si aucune run AROME disponible (même comportement que les autres\nendpoints `/arome/*`). Si aucun lead ne tombe dans l'horizon demandé :\npas d'exception, `tmin={}` et `valid_night=null`.","operationId":"get_arome_parcels_tmin_api_v1_forecast_arome_parcels_tmin_get","parameters":[{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"lat_min,lat_max,lon_min,lon_max (filtre parcelles, défaut: Drôme)","title":"Bbox"},"description":"lat_min,lat_max,lon_min,lon_max (filtre parcelles, défaut: Drôme)"},{"name":"run","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO datetime run cible (défaut: latest)","title":"Run"},"description":"ISO datetime run cible (défaut: latest)"},{"name":"horizon","in":"query","required":false,"schema":{"type":"integer","maximum":51,"minimum":1,"description":"Horizon en heures depuis la run pour définir la nuit prochaine","default":30,"title":"Horizon"},"description":"Horizon en heures depuis la run pour définir la nuit prochaine"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/health/freshness":{"get":{"tags":["system"],"summary":"Freshness","description":"Probe la fraîcheur des flux ingestés. Cf. data-flows-v1.md.\n\nStatut global = pire des statuts par flux. Le status page externe\naggrège ce endpoint pour décider d'alerter ou pas.","operationId":"freshness_api_v1_health_freshness_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreshnessResponse"}}}}}}},"/api/v1/regions/public":{"get":{"tags":["regions"],"summary":"List Regions Public","description":"Public list of active regions (no auth required).","operationId":"list_regions_public_api_v1_regions_public_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RegionPublic"},"type":"array","title":"Response List Regions Public Api V1 Regions Public Get"}}}}}}},"/api/v1/regions/":{"get":{"tags":["regions"],"summary":"List Regions Auth","description":"Regions accessible to the authenticated client.","operationId":"list_regions_auth_api_v1_regions__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RegionPublic"},"type":"array","title":"Response List Regions Auth Api V1 Regions  Get"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"tags":["regions"],"summary":"Create Region","operationId":"create_region_api_v1_regions__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/v1/regions/{slug}":{"get":{"tags":["regions"],"summary":"Get Region","operationId":"get_region_api_v1_regions__slug__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["regions"],"summary":"Update Region","description":"Update region. If bbox changes, automatically enqueue a simple backtest job.","operationId":"update_region_api_v1_regions__slug__put","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["regions"],"summary":"Deactivate Region","operationId":"deactivate_region_api_v1_regions__slug__delete","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sencrop/stations":{"get":{"tags":["sencrop"],"summary":"Catalogue stations Sencrop","description":"Liste des stations Sencrop physiques dans la bbox demandée.\n\nLit `stations_integrated.csv` (catalogue de référence 49 stations).\nFiltrage spatial sur la bbox demandée.\n\n**Auth requise (role=admin)** — coordonnées rattachées à des parcelles\nidentifiables, donnée à caractère personnel (T11 du registre RGPD).","operationId":"get_stations_api_v1_sencrop_stations_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"bbox","in":"query","required":false,"schema":{"type":"string","description":"Preset bbox (ex: 'baronnies')","default":"baronnies","title":"Bbox"},"description":"Preset bbox (ex: 'baronnies')"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sencrop/tmin":{"get":{"tags":["sencrop"],"summary":"Tmin nocturne par station","description":"Tmin nocturne observée par station Sencrop pour la nuit du DATE.\n\n**Convention nuit** : 15h00 UTC du DATE → 09h00 UTC du DATE+1.\n(Couvre le minimum thermique nocturne CET entre ~03h et ~07h locales.)\n\nJoint automatiquement les coordonnées depuis `stations_integrated.csv`.\nFiltre `temperature_source=='station'` (exclut la grille Sencrop).\n\nSeules les stations **ayant des observations** dans la fenêtre sont retournées.","operationId":"get_tmin_api_v1_sencrop_tmin_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string","description":"Date de la nuit (YYYY-MM-DD). Fenêtre : 15h UTC D → 09h UTC D+1.","title":"Date"},"description":"Date de la nuit (YYYY-MM-DD). Fenêtre : 15h UTC D → 09h UTC D+1."},{"name":"bbox","in":"query","required":false,"schema":{"type":"string","description":"Preset bbox (ex: 'baronnies')","default":"baronnies","title":"Bbox"},"description":"Preset bbox (ex: 'baronnies')"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TminResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sencrop/annual":{"get":{"tags":["sencrop"],"summary":"Tmin saison gel par station","description":"Tmin de saison gel par station Sencrop pour une année donnée.\n\nAgrège les minimums nocturnes (fenêtre 18h-9h CET) sur la fenêtre du stade\nphénologique demandé. Retourne par station :\n- `tmin_season` : minimum absolu observé sur toute la fenêtre\n- `n_nights_below_t10` : nombre de nuits < T10 (seuil d'activation produit)\n- `n_nights_below_t90` : nombre de nuits < T90 (dommages majeurs)\n- `n_nights_obs` : nombre de nuits avec au moins une observation\n\n**Lecture à la demande** : aucun cache persistant. Si la partition de l'année\nest absente, retourne 404.\n\nSeuils depuis `phenology.csv` (FAO/Proebsting & Mills 2005) — abricotier\nuniquement pour le MVP Baronnies.\n\nSource : stations Sencrop physiques (`temperature_source=='station'`).\nLa grille recalibrée Sencrop-CERRA sera disponible après Go/No-Go 26 juin.","operationId":"get_annual_api_v1_sencrop_annual_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"year","in":"query","required":true,"schema":{"type":"integer","description":"Année de la saison gel (ex: 2024). Années disponibles : 2022-2026.","title":"Year"},"description":"Année de la saison gel (ex: 2024). Années disponibles : 2022-2026."},{"name":"bbox","in":"query","required":false,"schema":{"type":"string","description":"Preset bbox (ex: 'baronnies')","default":"baronnies","title":"Bbox"},"description":"Preset bbox (ex: 'baronnies')"},{"name":"stage","in":"query","required":false,"schema":{"enum":["flo","bou","nou"],"type":"string","description":"Stade phénologique (abricotier) : flo = floraison BBCH 60-65 (fév-avr, T10=-2.2°C), bou = bouton_rose BBCH 55 (jan-mar, T10=-3.0°C), nou = nouaison BBCH 69-71 (avr-mai, T10=-0.5°C).","default":"flo","title":"Stage"},"description":"Stade phénologique (abricotier) : flo = floraison BBCH 60-65 (fév-avr, T10=-2.2°C), bou = bouton_rose BBCH 55 (jan-mar, T10=-3.0°C), nou = nouaison BBCH 69-71 (avr-mai, T10=-0.5°C)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnualResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/checkout/session":{"post":{"tags":["stripe"],"summary":"Create Checkout Session","operationId":"create_checkout_session_api_v1_checkout_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/v1/stripe/webhook":{"post":{"tags":["stripe"],"summary":"Stripe Webhook","operationId":"stripe_webhook_api_v1_stripe_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/studies":{"post":{"tags":["studies"],"summary":"Create Study","description":"Crée une étude DEP et enqueue le rendu du PDF. Retourne 202 + study_id.","operationId":"create_study_api_v1_studies_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyCreateRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/v1/studies/{study_id}/stade":{"post":{"tags":["studies"],"summary":"Declare Stage","description":"Déclare / corrige le stade phéno du sinistre (retour terrain de l'exploitant).\n\nLa déclaration terrain prime sur le stade modèle : on écrase `stade_observe`,\nmarque `stade_source='corrected'`, efface le verdict + seuil (recalculés depuis\nla Tmin inchangée par le worker), et ré-enqueue le rendu → nouveau PDF, nouveau\nsha256. C'est la donnée de calage (verrou z_c) + moat.","operationId":"declare_stage_api_v1_studies__study_id__stade_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"study_id","in":"path","required":true,"schema":{"type":"string","title":"Study Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageDeclarationRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/studies/{study_id}/pdf":{"get":{"tags":["studies"],"summary":"Get Study Pdf","description":"Sert le PDF : redirige (302) vers l'URL S3 signée (prod), ou renvoie le\nfichier local (dev, clé file://). 404 si absent, 409 si pas prêt.","operationId":"get_study_pdf_api_v1_studies__study_id__pdf_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"study_id","in":"path","required":true,"schema":{"type":"string","title":"Study Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/info":{"get":{"tags":["tiles"],"summary":"Info Endpoint","description":"Return dataset's basic info.","operationId":".api.v1.tiles.getInfo","parameters":[{"name":"show_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Show info about the time dimension","title":"Show Times"},"description":"Show info about the time dimension"},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"}],"responses":{"200":{"description":"Return dataset's basic info.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Info"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/info.geojson":{"get":{"tags":["tiles"],"summary":"Info Geojson","description":"Return dataset's basic info as a GeoJSON feature.","operationId":".api.v1.tiles.getInfoGeoJSON","parameters":[{"name":"show_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Show info about the time dimension","title":"Show Times"},"description":"Show info about the time dimension"},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Coordinate Reference System.","title":"Crs"},"description":"Coordinate Reference System."}],"responses":{"200":{"description":"Return dataset's basic info as a GeoJSON feature.","content":{"application/geo+json":{"schema":{"$ref":"#/components/schemas/Feature_Union_Polygon__MultiPolygon__Info_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/statistics":{"post":{"tags":["tiles"],"summary":"Geojson Statistics","description":"Get Statistics from a geojson feature or featureCollection.","operationId":".api.v1.tiles.postStatisticsForGeoJSON","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"coord_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`.","title":"Coord Crs"},"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`."},{"name":"dst_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Output Coordinate Reference System.","title":"Dst Crs"},"description":"Output Coordinate Reference System."},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."},{"name":"max_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum image size to read onto.","title":"Max Size"}},{"name":"height","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image height.","title":"Height"}},{"name":"width","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image width.","title":"Width"}},{"name":"resampling","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","gauss","rms"],"type":"string"},{"type":"null"}],"description":"RasterIO resampling algorithm. Defaults to `nearest`.","title":"Resampling"},"description":"RasterIO resampling algorithm. Defaults to `nearest`."},{"name":"cover_scale","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1000,"exclusiveMinimum":0},{"type":"null"}],"description":"Scale used when generating coverage estimates of each\n                raster cell by vector feature. Coverage is generated by\n                rasterizing the feature at a finer resolution than the raster then using a summation to aggregate\n                to the raster resolution and dividing by the square of cover_scale\n                to get coverage value for each cell. Increasing cover_scale\n                will increase the accuracy of coverage values; three orders\n                magnitude finer resolution (cover_scale=1000) is usually enough to\n                get coverage estimates with <1% error in individual edge cells coverage\n                estimates, though much smaller values (e.g., cover_scale=10) are often\n                sufficient (<10% error) and require less memory. Defaults to `10`.","title":"Cover Scale"},"description":"Scale used when generating coverage estimates of each\n                raster cell by vector feature. Coverage is generated by\n                rasterizing the feature at a finer resolution than the raster then using a summation to aggregate\n                to the raster resolution and dividing by the square of cover_scale\n                to get coverage value for each cell. Increasing cover_scale\n                will increase the accuracy of coverage values; three orders\n                magnitude finer resolution (cover_scale=1000) is usually enough to\n                get coverage estimates with <1% error in individual edge cells coverage\n                estimates, though much smaller values (e.g., cover_scale=10) are often\n                sufficient (<10% error) and require less memory. Defaults to `10`."},{"name":"algorithm","in":"query","required":false,"schema":{"enum":["hillshade","slope","contours","normalizedIndex","terrarium","terrainrgb","cast","ceil","floor","min","max","median","mean","std","var","sum","grayscale","bitonal"],"type":"string","description":"Algorithm name","title":"Algorithm"},"description":"Algorithm name"},{"name":"algorithm_params","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Algorithm parameter","title":"Algorithm Params"},"description":"Algorithm parameter"},{"name":"categorical","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Return statistics for categorical dataset. Defaults to `False`","title":"Categorical"},"description":"Return statistics for categorical dataset. Defaults to `False`"},{"name":"c","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"integer"}]}},{"type":"null"}],"title":"Pixels values for categories.","description":"List of values for which to report counts.","examples":[1,2,3]},"description":"List of values for which to report counts."},{"name":"p","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Percentile values","description":"List of percentile values (default to [2, 98]).","examples":[2,5,95,98]},"description":"List of percentile values (default to [2, 98])."},{"name":"histogram_bins","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d+(,\\d+)*$"},{"type":"null"}],"title":"Histogram bins.","description":"\nDefines the number of equal-width bins in the given range (10, by default).\n\nIf bins is a sequence (comma `,` delimited values), it defines a monotonically increasing array of bin edges, including the rightmost edge, allowing for non-uniform bin widths.\n\nlink: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html\n            "},"description":"\nDefines the number of equal-width bins in the given range (10, by default).\n\nIf bins is a sequence (comma `,` delimited values), it defines a monotonically increasing array of bin edges, including the rightmost edge, allowing for non-uniform bin widths.\n\nlink: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html\n            ","examples":{"user-provided":{},"simple":{"description":"Defines the number of equal-width bins","value":8},"array":{"description":"Defines custom bin edges (comma `,` delimited values)","value":"0,100,200,300"}}},{"name":"histogram_range","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\s*(-)?\\d+((\\.\\d+)(e\\d+)?)?\\s*,\\s*(-)?\\d+((\\.\\d+)(e\\d+)?)?\\s*$"},{"type":"null"}],"title":"Histogram range","description":"\nComma `,` delimited range of the bins.\n\nThe lower and upper range of the bins. If not provided, range is simply (a.min(), a.max()).\n\nValues outside the range are ignored. The first element of the range must be less than or equal to the second.\nrange affects the automatic bin computation as well.\n\nlink: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html\n            "},"description":"\nComma `,` delimited range of the bins.\n\nThe lower and upper range of the bins. If not provided, range is simply (a.min(), a.max()).\n\nValues outside the range are ignored. The first element of the range must be less than or equal to the second.\nrange affects the automatic bin computation as well.\n\nlink: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html\n            ","examples":{"user-provided":{},"array":{"description":"Defines custom histogram range (comma `,` delimited values)","value":"0,1000"}}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/FeatureCollection"},{"$ref":"#/components/schemas/Feature"}],"description":"GeoJSON Feature or FeatureCollection.","title":"Geojson"}}}},"responses":{"200":{"description":"Return dataset's statistics from feature or featureCollection.","content":{"application/geo+json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/FeatureCollection_Feature_Annotated_Union_Point__MultiPoint__LineString__MultiLineString__Polygon__MultiPolygon__GeometryCollection___FieldInfo_annotation_NoneType__required_True__discriminator__type_____StatisticsInGeoJSON__"},{"$ref":"#/components/schemas/Feature_Annotated_Union_Point__MultiPoint__LineString__MultiLineString__Polygon__MultiPolygon__GeometryCollection___FieldInfo_annotation_NoneType__required_True__discriminator__type____StatisticsInGeoJSON_"}],"title":"Response .Api.V1.Tiles.Poststatisticsforgeojson"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/tiles":{"get":{"tags":["tiles"],"summary":"Retrieve a list of available raster tilesets for the specified dataset.","description":"Retrieve a list of available raster tilesets for the specified dataset.","operationId":".api.v1.tiles.getTileSetList","parameters":[{"name":"f","in":"query","required":false,"schema":{"anyOf":[{"enum":["html","json"],"type":"string"},{"type":"null"}],"description":"Response MediaType. Defaults to endpoint's default or value defined in `accept` header.","title":"F"},"description":"Response MediaType. Defaults to endpoint's default or value defined in `accept` header."},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Coordinate Reference System.","title":"Crs"},"description":"Coordinate Reference System."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TileSetList"}},"text/html":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/tiles/{tileMatrixSetId}":{"get":{"tags":["tiles"],"summary":"Retrieve the raster tileset metadata for the specified dataset and tiling scheme (tile matrix set).","description":"Retrieve the raster tileset metadata for the specified dataset and tiling scheme (tile matrix set).","operationId":".api.v1.tiles.getTileSet","parameters":[{"name":"tileMatrixSetId","in":"path","required":true,"schema":{"enum":["CDB1GlobalGrid","CanadianNAD83_LCC","EuropeanETRS89_LAEAQuad","GNOSISGlobalGrid","LINZAntarticaMapTilegrid","NZTM2000Quad","UPSAntarcticWGS84Quad","UPSArcticWGS84Quad","UTM31WGS84Quad","WGS1984Quad","WebMercatorQuad","WorldCRS84Quad","WorldMercatorWGS84Quad"],"type":"string","description":"Identifier selecting one of the TileMatrixSetId supported.","title":"Tilematrixsetid"},"description":"Identifier selecting one of the TileMatrixSetId supported."},{"name":"minzoom","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Overwrite default minzoom.","title":"Minzoom"},"description":"Overwrite default minzoom."},{"name":"maxzoom","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Overwrite default maxzoom.","title":"Maxzoom"},"description":"Overwrite default maxzoom."},{"name":"f","in":"query","required":false,"schema":{"anyOf":[{"enum":["html","json"],"type":"string"},{"type":"null"}],"description":"Response MediaType. Defaults to endpoint's default or value defined in `accept` header.","title":"F"},"description":"Response MediaType. Defaults to endpoint's default or value defined in `accept` header."},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TileSet"}},"text/html":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/tiles/{tileMatrixSetId}/{z}/{x}/{y}.{format}":{"get":{"tags":["tiles"],"summary":"Tile","description":"Create map tile from a dataset.","operationId":".api.v1.tiles.getTileWithFormat","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","description":"Identifier (Z) selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile.","title":"Z"},"description":"Identifier (Z) selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile."},{"name":"x","in":"path","required":true,"schema":{"type":"integer","description":"Column (X) index of the tile on the selected TileMatrix. It cannot exceed the MatrixHeight-1 for the selected TileMatrix.","title":"X"},"description":"Column (X) index of the tile on the selected TileMatrix. It cannot exceed the MatrixHeight-1 for the selected TileMatrix."},{"name":"y","in":"path","required":true,"schema":{"type":"integer","description":"Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the MatrixWidth-1 for the selected TileMatrix.","title":"Y"},"description":"Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the MatrixWidth-1 for the selected TileMatrix."},{"name":"tileMatrixSetId","in":"path","required":true,"schema":{"enum":["CDB1GlobalGrid","CanadianNAD83_LCC","EuropeanETRS89_LAEAQuad","GNOSISGlobalGrid","LINZAntarticaMapTilegrid","NZTM2000Quad","UPSAntarcticWGS84Quad","UPSArcticWGS84Quad","UTM31WGS84Quad","WGS1984Quad","WebMercatorQuad","WorldCRS84Quad","WorldMercatorWGS84Quad"],"type":"string","description":"Identifier selecting one of the TileMatrixSetId supported.","title":"Tilematrixsetid"},"description":"Identifier selecting one of the TileMatrixSetId supported."},{"name":"format","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/ImageType"},{"type":"null"}],"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg).","title":"Format"}},{"name":"tilesize","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"description":"Tilesize in pixels.","title":"Tilesize"},"description":"Tilesize in pixels."},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."},{"name":"algorithm","in":"query","required":false,"schema":{"enum":["hillshade","slope","contours","normalizedIndex","terrarium","terrainrgb","cast","ceil","floor","min","max","median","mean","std","var","sum","grayscale","bitonal"],"type":"string","description":"Algorithm name","title":"Algorithm"},"description":"Algorithm name"},{"name":"algorithm_params","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Algorithm parameter","title":"Algorithm Params"},"description":"Algorithm parameter"},{"name":"colormap_name","in":"query","required":false,"schema":{"enum":["cividis","rdbu","dense_r","rdgy_r","cubehelix_r","wistia_r","set3","viridis_r","bugn_r","turbo_r","puor","jet_r","terrain_r","thermal_r","greens","prism","puor_r","haline_r","solar_r","reds_r","autumn","oranges_r","autumn_r","spectral_r","gnuplot","tarn","ylorbr","rdylbu","dark2","nipy_spectral","amp_r","gist_stern","magma_r","gist_rainbow","rdpu_r","algae_r","tab10_r","dense","plasma","jet","deep_r","cmrmap_r","paired","ylgnbu","tempo","tab20b","turbid","purd_r","cool","inferno_r","ylorbr_r","greys_r","coolwarm","gnuplot2","rain_r","rainbow_r","set3_r","gnbu_r","bugn","brbg_r","set2_r","seismic_r","gist_yarg","dark2_r","piyg_r","tab20c_r","pastel2_r","rain","ylgn_r","twilight","gist_ncar","seismic","haline","winter","hsv","bwr","magma","solar","twilight_shifted_r","prism_r","gray","pink","schwarzwald","pubugn_r","balance_r","balance","hot","curl","afmhot","rdpu","turbid_r","cubehelix","gist_heat_r","twilight_shifted","bone_r","piyg","oxy_r","orrd","flag","prgn_r","pastel1_r","rplumbo","gist_earth","brbg","afmhot_r","tarn_r","matter","terrain","reds","set1_r","set2","gist_gray","gist_gray_r","topo","paired_r","gist_ncar_r","spring","rdylbu_r","cividis_r","cool_r","rdylgn","copper_r","inferno","brg","ylorrd_r","orrd_r","ice","phase_r","greys","gist_stern_r","binary_r","ocean","cmrmap","bupu","flag_r","pubu","gist_heat","thermal","speed","oxy","gnuplot_r","twilight_r","tab20c","plasma_r","tab20","ylgnbu_r","speed_r","spectral","tempo_r","gist_earth_r","ice_r","prgn","pastel1","brg_r","diff","oranges","wistia","coolwarm_r","pubugn","pastel2","delta_r","hsv_r","accent","gnbu","algae","rdylgn_r","rdbu_r","tab10","greens_r","nipy_spectral_r","ylgn","pubu_r","spring_r","tab20b_r","bwr_r","gray_r","blues","gist_yarg_r","cfastie","blues_r","gnuplot2_r","summer_r","rdgy","rainbow","curl_r","purples","purples_r","amp","pink_r","phase","copper","gist_rainbow_r","summer","hot_r","viridis","bone","tab20_r","topo_r","delta","bupu_r","winter_r","set1","matter_r","binary","turbo","diff_r","ylorrd","deep","accent_r","ocean_r","purd"],"type":"string","description":"Colormap name","title":"Colormap Name"},"description":"Colormap name"},{"name":"colormap","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JSON encoded custom Colormap","title":"Colormap"},"description":"JSON encoded custom Colormap"},{"name":"rescale","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Min/Max data Rescaling","description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands.","examples":["0,2000","0,1000","0,10000"]},"description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands."},{"name":"color_formula","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color Formula","description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},"description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},{"name":"return_mask","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Add mask to the output data. Defaults to `True`","title":"Return Mask"},"description":"Add mask to the output data. Defaults to `True`"}],"responses":{"200":{"description":"Return an image.","content":{"image/png":{},"image/jpeg":{},"image/jpg":{},"image/webp":{},"image/jp2":{},"image/tiff; application=geotiff":{},"application/x-binary":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/tiles/{tileMatrixSetId}/{z}/{x}/{y}":{"get":{"tags":["tiles"],"summary":"Tile","description":"Create map tile from a dataset.","operationId":".api.v1.tiles.getTile","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","description":"Identifier (Z) selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile.","title":"Z"},"description":"Identifier (Z) selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile."},{"name":"x","in":"path","required":true,"schema":{"type":"integer","description":"Column (X) index of the tile on the selected TileMatrix. It cannot exceed the MatrixHeight-1 for the selected TileMatrix.","title":"X"},"description":"Column (X) index of the tile on the selected TileMatrix. It cannot exceed the MatrixHeight-1 for the selected TileMatrix."},{"name":"y","in":"path","required":true,"schema":{"type":"integer","description":"Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the MatrixWidth-1 for the selected TileMatrix.","title":"Y"},"description":"Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the MatrixWidth-1 for the selected TileMatrix."},{"name":"tileMatrixSetId","in":"path","required":true,"schema":{"enum":["CDB1GlobalGrid","CanadianNAD83_LCC","EuropeanETRS89_LAEAQuad","GNOSISGlobalGrid","LINZAntarticaMapTilegrid","NZTM2000Quad","UPSAntarcticWGS84Quad","UPSArcticWGS84Quad","UTM31WGS84Quad","WGS1984Quad","WebMercatorQuad","WorldCRS84Quad","WorldMercatorWGS84Quad"],"type":"string","description":"Identifier selecting one of the TileMatrixSetId supported.","title":"Tilematrixsetid"},"description":"Identifier selecting one of the TileMatrixSetId supported."},{"name":"format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ImageType"},{"type":"null"}],"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg).","title":"Format"}},{"name":"tilesize","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"description":"Tilesize in pixels.","title":"Tilesize"},"description":"Tilesize in pixels."},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."},{"name":"algorithm","in":"query","required":false,"schema":{"enum":["hillshade","slope","contours","normalizedIndex","terrarium","terrainrgb","cast","ceil","floor","min","max","median","mean","std","var","sum","grayscale","bitonal"],"type":"string","description":"Algorithm name","title":"Algorithm"},"description":"Algorithm name"},{"name":"algorithm_params","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Algorithm parameter","title":"Algorithm Params"},"description":"Algorithm parameter"},{"name":"colormap_name","in":"query","required":false,"schema":{"enum":["cividis","rdbu","dense_r","rdgy_r","cubehelix_r","wistia_r","set3","viridis_r","bugn_r","turbo_r","puor","jet_r","terrain_r","thermal_r","greens","prism","puor_r","haline_r","solar_r","reds_r","autumn","oranges_r","autumn_r","spectral_r","gnuplot","tarn","ylorbr","rdylbu","dark2","nipy_spectral","amp_r","gist_stern","magma_r","gist_rainbow","rdpu_r","algae_r","tab10_r","dense","plasma","jet","deep_r","cmrmap_r","paired","ylgnbu","tempo","tab20b","turbid","purd_r","cool","inferno_r","ylorbr_r","greys_r","coolwarm","gnuplot2","rain_r","rainbow_r","set3_r","gnbu_r","bugn","brbg_r","set2_r","seismic_r","gist_yarg","dark2_r","piyg_r","tab20c_r","pastel2_r","rain","ylgn_r","twilight","gist_ncar","seismic","haline","winter","hsv","bwr","magma","solar","twilight_shifted_r","prism_r","gray","pink","schwarzwald","pubugn_r","balance_r","balance","hot","curl","afmhot","rdpu","turbid_r","cubehelix","gist_heat_r","twilight_shifted","bone_r","piyg","oxy_r","orrd","flag","prgn_r","pastel1_r","rplumbo","gist_earth","brbg","afmhot_r","tarn_r","matter","terrain","reds","set1_r","set2","gist_gray","gist_gray_r","topo","paired_r","gist_ncar_r","spring","rdylbu_r","cividis_r","cool_r","rdylgn","copper_r","inferno","brg","ylorrd_r","orrd_r","ice","phase_r","greys","gist_stern_r","binary_r","ocean","cmrmap","bupu","flag_r","pubu","gist_heat","thermal","speed","oxy","gnuplot_r","twilight_r","tab20c","plasma_r","tab20","ylgnbu_r","speed_r","spectral","tempo_r","gist_earth_r","ice_r","prgn","pastel1","brg_r","diff","oranges","wistia","coolwarm_r","pubugn","pastel2","delta_r","hsv_r","accent","gnbu","algae","rdylgn_r","rdbu_r","tab10","greens_r","nipy_spectral_r","ylgn","pubu_r","spring_r","tab20b_r","bwr_r","gray_r","blues","gist_yarg_r","cfastie","blues_r","gnuplot2_r","summer_r","rdgy","rainbow","curl_r","purples","purples_r","amp","pink_r","phase","copper","gist_rainbow_r","summer","hot_r","viridis","bone","tab20_r","topo_r","delta","bupu_r","winter_r","set1","matter_r","binary","turbo","diff_r","ylorrd","deep","accent_r","ocean_r","purd"],"type":"string","description":"Colormap name","title":"Colormap Name"},"description":"Colormap name"},{"name":"colormap","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JSON encoded custom Colormap","title":"Colormap"},"description":"JSON encoded custom Colormap"},{"name":"rescale","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Min/Max data Rescaling","description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands.","examples":["0,2000","0,1000","0,10000"]},"description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands."},{"name":"color_formula","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color Formula","description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},"description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},{"name":"return_mask","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Add mask to the output data. Defaults to `True`","title":"Return Mask"},"description":"Add mask to the output data. Defaults to `True`"}],"responses":{"200":{"description":"Return an image.","content":{"image/png":{},"image/jpeg":{},"image/jpg":{},"image/webp":{},"image/jp2":{},"image/tiff; application=geotiff":{},"application/x-binary":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/{tileMatrixSetId}/map.html":{"get":{"tags":["tiles"],"summary":"Map Viewer","description":"Return TileJSON document for a dataset.","operationId":".api.v1.tiles.getMapViewer","parameters":[{"name":"tileMatrixSetId","in":"path","required":true,"schema":{"enum":["CDB1GlobalGrid","CanadianNAD83_LCC","EuropeanETRS89_LAEAQuad","GNOSISGlobalGrid","LINZAntarticaMapTilegrid","NZTM2000Quad","UPSAntarcticWGS84Quad","UPSArcticWGS84Quad","UTM31WGS84Quad","WGS1984Quad","WebMercatorQuad","WorldCRS84Quad","WorldMercatorWGS84Quad"],"type":"string","description":"Identifier selecting one of the TileMatrixSetId supported.","title":"Tilematrixsetid"},"description":"Identifier selecting one of the TileMatrixSetId supported."},{"name":"tile_format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ImageType"},{"type":"null"}],"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg).","title":"Tile Format"},"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg)."},{"name":"tilesize","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"description":"Tilesize in pixels. Default to 256.","default":256,"title":"Tilesize"},"description":"Tilesize in pixels. Default to 256."},{"name":"minzoom","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Overwrite default minzoom.","title":"Minzoom"},"description":"Overwrite default minzoom."},{"name":"maxzoom","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Overwrite default maxzoom.","title":"Maxzoom"},"description":"Overwrite default maxzoom."},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."},{"name":"algorithm","in":"query","required":false,"schema":{"enum":["hillshade","slope","contours","normalizedIndex","terrarium","terrainrgb","cast","ceil","floor","min","max","median","mean","std","var","sum","grayscale","bitonal"],"type":"string","description":"Algorithm name","title":"Algorithm"},"description":"Algorithm name"},{"name":"algorithm_params","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Algorithm parameter","title":"Algorithm Params"},"description":"Algorithm parameter"},{"name":"colormap_name","in":"query","required":false,"schema":{"enum":["cividis","rdbu","dense_r","rdgy_r","cubehelix_r","wistia_r","set3","viridis_r","bugn_r","turbo_r","puor","jet_r","terrain_r","thermal_r","greens","prism","puor_r","haline_r","solar_r","reds_r","autumn","oranges_r","autumn_r","spectral_r","gnuplot","tarn","ylorbr","rdylbu","dark2","nipy_spectral","amp_r","gist_stern","magma_r","gist_rainbow","rdpu_r","algae_r","tab10_r","dense","plasma","jet","deep_r","cmrmap_r","paired","ylgnbu","tempo","tab20b","turbid","purd_r","cool","inferno_r","ylorbr_r","greys_r","coolwarm","gnuplot2","rain_r","rainbow_r","set3_r","gnbu_r","bugn","brbg_r","set2_r","seismic_r","gist_yarg","dark2_r","piyg_r","tab20c_r","pastel2_r","rain","ylgn_r","twilight","gist_ncar","seismic","haline","winter","hsv","bwr","magma","solar","twilight_shifted_r","prism_r","gray","pink","schwarzwald","pubugn_r","balance_r","balance","hot","curl","afmhot","rdpu","turbid_r","cubehelix","gist_heat_r","twilight_shifted","bone_r","piyg","oxy_r","orrd","flag","prgn_r","pastel1_r","rplumbo","gist_earth","brbg","afmhot_r","tarn_r","matter","terrain","reds","set1_r","set2","gist_gray","gist_gray_r","topo","paired_r","gist_ncar_r","spring","rdylbu_r","cividis_r","cool_r","rdylgn","copper_r","inferno","brg","ylorrd_r","orrd_r","ice","phase_r","greys","gist_stern_r","binary_r","ocean","cmrmap","bupu","flag_r","pubu","gist_heat","thermal","speed","oxy","gnuplot_r","twilight_r","tab20c","plasma_r","tab20","ylgnbu_r","speed_r","spectral","tempo_r","gist_earth_r","ice_r","prgn","pastel1","brg_r","diff","oranges","wistia","coolwarm_r","pubugn","pastel2","delta_r","hsv_r","accent","gnbu","algae","rdylgn_r","rdbu_r","tab10","greens_r","nipy_spectral_r","ylgn","pubu_r","spring_r","tab20b_r","bwr_r","gray_r","blues","gist_yarg_r","cfastie","blues_r","gnuplot2_r","summer_r","rdgy","rainbow","curl_r","purples","purples_r","amp","pink_r","phase","copper","gist_rainbow_r","summer","hot_r","viridis","bone","tab20_r","topo_r","delta","bupu_r","winter_r","set1","matter_r","binary","turbo","diff_r","ylorrd","deep","accent_r","ocean_r","purd"],"type":"string","description":"Colormap name","title":"Colormap Name"},"description":"Colormap name"},{"name":"colormap","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JSON encoded custom Colormap","title":"Colormap"},"description":"JSON encoded custom Colormap"},{"name":"rescale","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Min/Max data Rescaling","description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands.","examples":["0,2000","0,1000","0,10000"]},"description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands."},{"name":"color_formula","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color Formula","description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},"description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},{"name":"return_mask","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Add mask to the output data. Defaults to `True`","title":"Return Mask"},"description":"Add mask to the output data. Defaults to `True`"}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/{tileMatrixSetId}/tilejson.json":{"get":{"tags":["tiles"],"summary":"Tilejson","description":"Return TileJSON document for a dataset.","operationId":".api.v1.tiles.getTileJSON","parameters":[{"name":"tileMatrixSetId","in":"path","required":true,"schema":{"enum":["CDB1GlobalGrid","CanadianNAD83_LCC","EuropeanETRS89_LAEAQuad","GNOSISGlobalGrid","LINZAntarticaMapTilegrid","NZTM2000Quad","UPSAntarcticWGS84Quad","UPSArcticWGS84Quad","UTM31WGS84Quad","WGS1984Quad","WebMercatorQuad","WorldCRS84Quad","WorldMercatorWGS84Quad"],"type":"string","description":"Identifier selecting one of the TileMatrixSetId supported.","title":"Tilematrixsetid"},"description":"Identifier selecting one of the TileMatrixSetId supported."},{"name":"tilesize","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"description":"Tilesize in pixels. Default to 512.","default":512,"title":"Tilesize"},"description":"Tilesize in pixels. Default to 512."},{"name":"tile_format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ImageType"},{"type":"null"}],"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg).","title":"Tile Format"},"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg)."},{"name":"minzoom","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Overwrite default minzoom.","title":"Minzoom"},"description":"Overwrite default minzoom."},{"name":"maxzoom","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Overwrite default maxzoom.","title":"Maxzoom"},"description":"Overwrite default maxzoom."},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."},{"name":"algorithm","in":"query","required":false,"schema":{"enum":["hillshade","slope","contours","normalizedIndex","terrarium","terrainrgb","cast","ceil","floor","min","max","median","mean","std","var","sum","grayscale","bitonal"],"type":"string","description":"Algorithm name","title":"Algorithm"},"description":"Algorithm name"},{"name":"algorithm_params","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Algorithm parameter","title":"Algorithm Params"},"description":"Algorithm parameter"},{"name":"colormap_name","in":"query","required":false,"schema":{"enum":["cividis","rdbu","dense_r","rdgy_r","cubehelix_r","wistia_r","set3","viridis_r","bugn_r","turbo_r","puor","jet_r","terrain_r","thermal_r","greens","prism","puor_r","haline_r","solar_r","reds_r","autumn","oranges_r","autumn_r","spectral_r","gnuplot","tarn","ylorbr","rdylbu","dark2","nipy_spectral","amp_r","gist_stern","magma_r","gist_rainbow","rdpu_r","algae_r","tab10_r","dense","plasma","jet","deep_r","cmrmap_r","paired","ylgnbu","tempo","tab20b","turbid","purd_r","cool","inferno_r","ylorbr_r","greys_r","coolwarm","gnuplot2","rain_r","rainbow_r","set3_r","gnbu_r","bugn","brbg_r","set2_r","seismic_r","gist_yarg","dark2_r","piyg_r","tab20c_r","pastel2_r","rain","ylgn_r","twilight","gist_ncar","seismic","haline","winter","hsv","bwr","magma","solar","twilight_shifted_r","prism_r","gray","pink","schwarzwald","pubugn_r","balance_r","balance","hot","curl","afmhot","rdpu","turbid_r","cubehelix","gist_heat_r","twilight_shifted","bone_r","piyg","oxy_r","orrd","flag","prgn_r","pastel1_r","rplumbo","gist_earth","brbg","afmhot_r","tarn_r","matter","terrain","reds","set1_r","set2","gist_gray","gist_gray_r","topo","paired_r","gist_ncar_r","spring","rdylbu_r","cividis_r","cool_r","rdylgn","copper_r","inferno","brg","ylorrd_r","orrd_r","ice","phase_r","greys","gist_stern_r","binary_r","ocean","cmrmap","bupu","flag_r","pubu","gist_heat","thermal","speed","oxy","gnuplot_r","twilight_r","tab20c","plasma_r","tab20","ylgnbu_r","speed_r","spectral","tempo_r","gist_earth_r","ice_r","prgn","pastel1","brg_r","diff","oranges","wistia","coolwarm_r","pubugn","pastel2","delta_r","hsv_r","accent","gnbu","algae","rdylgn_r","rdbu_r","tab10","greens_r","nipy_spectral_r","ylgn","pubu_r","spring_r","tab20b_r","bwr_r","gray_r","blues","gist_yarg_r","cfastie","blues_r","gnuplot2_r","summer_r","rdgy","rainbow","curl_r","purples","purples_r","amp","pink_r","phase","copper","gist_rainbow_r","summer","hot_r","viridis","bone","tab20_r","topo_r","delta","bupu_r","winter_r","set1","matter_r","binary","turbo","diff_r","ylorrd","deep","accent_r","ocean_r","purd"],"type":"string","description":"Colormap name","title":"Colormap Name"},"description":"Colormap name"},{"name":"colormap","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JSON encoded custom Colormap","title":"Colormap"},"description":"JSON encoded custom Colormap"},{"name":"rescale","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Min/Max data Rescaling","description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands.","examples":["0,2000","0,1000","0,10000"]},"description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands."},{"name":"color_formula","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color Formula","description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},"description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},{"name":"return_mask","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Add mask to the output data. Defaults to `True`","title":"Return Mask"},"description":"Add mask to the output data. Defaults to `True`"}],"responses":{"200":{"description":"Return a tilejson","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TileJSON"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/point/{lon},{lat}":{"get":{"tags":["tiles"],"summary":"Point","description":"Get Point value for a dataset.","operationId":".api.v1.tiles.getDataForPoint","parameters":[{"name":"lon","in":"path","required":true,"schema":{"type":"number","description":"Longitude","title":"Lon"},"description":"Longitude"},{"name":"lat","in":"path","required":true,"schema":{"type":"number","description":"Latitude","title":"Lat"},"description":"Latitude"},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"coord_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`.","title":"Coord Crs"},"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`."},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."}],"responses":{"200":{"description":"Return a value for a point","content":{"application/json":{"schema":{"$ref":"#/components/schemas/titiler__core__models__responses__Point"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/bbox/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}":{"get":{"tags":["tiles"],"summary":"Bbox Image","description":"Create image from a bbox.","operationId":".api.v1.tiles.getDataForBoundingBoxWithSizesAndFormat","parameters":[{"name":"minx","in":"path","required":true,"schema":{"type":"number","description":"Bounding box min X","title":"Minx"},"description":"Bounding box min X"},{"name":"miny","in":"path","required":true,"schema":{"type":"number","description":"Bounding box min Y","title":"Miny"},"description":"Bounding box min Y"},{"name":"maxx","in":"path","required":true,"schema":{"type":"number","description":"Bounding box max X","title":"Maxx"},"description":"Bounding box max X"},{"name":"maxy","in":"path","required":true,"schema":{"type":"number","description":"Bounding box max Y","title":"Maxy"},"description":"Bounding box max Y"},{"name":"format","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/ImageType"},{"type":"null"}],"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg).","title":"Format"}},{"name":"height","in":"path","required":true,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image height.","title":"Height"}},{"name":"width","in":"path","required":true,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image width.","title":"Width"}},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."},{"name":"max_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum image size to read onto.","title":"Max Size"}},{"name":"resampling","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","gauss","rms"],"type":"string"},{"type":"null"}],"description":"RasterIO resampling algorithm. Defaults to `nearest`.","title":"Resampling"},"description":"RasterIO resampling algorithm. Defaults to `nearest`."},{"name":"dst_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Output Coordinate Reference System.","title":"Dst Crs"},"description":"Output Coordinate Reference System."},{"name":"coord_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`.","title":"Coord Crs"},"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`."},{"name":"algorithm","in":"query","required":false,"schema":{"enum":["hillshade","slope","contours","normalizedIndex","terrarium","terrainrgb","cast","ceil","floor","min","max","median","mean","std","var","sum","grayscale","bitonal"],"type":"string","description":"Algorithm name","title":"Algorithm"},"description":"Algorithm name"},{"name":"algorithm_params","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Algorithm parameter","title":"Algorithm Params"},"description":"Algorithm parameter"},{"name":"colormap_name","in":"query","required":false,"schema":{"enum":["cividis","rdbu","dense_r","rdgy_r","cubehelix_r","wistia_r","set3","viridis_r","bugn_r","turbo_r","puor","jet_r","terrain_r","thermal_r","greens","prism","puor_r","haline_r","solar_r","reds_r","autumn","oranges_r","autumn_r","spectral_r","gnuplot","tarn","ylorbr","rdylbu","dark2","nipy_spectral","amp_r","gist_stern","magma_r","gist_rainbow","rdpu_r","algae_r","tab10_r","dense","plasma","jet","deep_r","cmrmap_r","paired","ylgnbu","tempo","tab20b","turbid","purd_r","cool","inferno_r","ylorbr_r","greys_r","coolwarm","gnuplot2","rain_r","rainbow_r","set3_r","gnbu_r","bugn","brbg_r","set2_r","seismic_r","gist_yarg","dark2_r","piyg_r","tab20c_r","pastel2_r","rain","ylgn_r","twilight","gist_ncar","seismic","haline","winter","hsv","bwr","magma","solar","twilight_shifted_r","prism_r","gray","pink","schwarzwald","pubugn_r","balance_r","balance","hot","curl","afmhot","rdpu","turbid_r","cubehelix","gist_heat_r","twilight_shifted","bone_r","piyg","oxy_r","orrd","flag","prgn_r","pastel1_r","rplumbo","gist_earth","brbg","afmhot_r","tarn_r","matter","terrain","reds","set1_r","set2","gist_gray","gist_gray_r","topo","paired_r","gist_ncar_r","spring","rdylbu_r","cividis_r","cool_r","rdylgn","copper_r","inferno","brg","ylorrd_r","orrd_r","ice","phase_r","greys","gist_stern_r","binary_r","ocean","cmrmap","bupu","flag_r","pubu","gist_heat","thermal","speed","oxy","gnuplot_r","twilight_r","tab20c","plasma_r","tab20","ylgnbu_r","speed_r","spectral","tempo_r","gist_earth_r","ice_r","prgn","pastel1","brg_r","diff","oranges","wistia","coolwarm_r","pubugn","pastel2","delta_r","hsv_r","accent","gnbu","algae","rdylgn_r","rdbu_r","tab10","greens_r","nipy_spectral_r","ylgn","pubu_r","spring_r","tab20b_r","bwr_r","gray_r","blues","gist_yarg_r","cfastie","blues_r","gnuplot2_r","summer_r","rdgy","rainbow","curl_r","purples","purples_r","amp","pink_r","phase","copper","gist_rainbow_r","summer","hot_r","viridis","bone","tab20_r","topo_r","delta","bupu_r","winter_r","set1","matter_r","binary","turbo","diff_r","ylorrd","deep","accent_r","ocean_r","purd"],"type":"string","description":"Colormap name","title":"Colormap Name"},"description":"Colormap name"},{"name":"colormap","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JSON encoded custom Colormap","title":"Colormap"},"description":"JSON encoded custom Colormap"},{"name":"rescale","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Min/Max data Rescaling","description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands.","examples":["0,2000","0,1000","0,10000"]},"description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands."},{"name":"color_formula","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color Formula","description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},"description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},{"name":"return_mask","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Add mask to the output data. Defaults to `True`","title":"Return Mask"},"description":"Add mask to the output data. Defaults to `True`"}],"responses":{"200":{"description":"Return an image.","content":{"image/png":{},"image/jpeg":{},"image/jpg":{},"image/webp":{},"image/jp2":{},"image/tiff; application=geotiff":{},"application/x-binary":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/bbox/{minx},{miny},{maxx},{maxy}.{format}":{"get":{"tags":["tiles"],"summary":"Bbox Image","description":"Create image from a bbox.","operationId":".api.v1.tiles.getDataForBoundingBoxWithFormat","parameters":[{"name":"minx","in":"path","required":true,"schema":{"type":"number","description":"Bounding box min X","title":"Minx"},"description":"Bounding box min X"},{"name":"miny","in":"path","required":true,"schema":{"type":"number","description":"Bounding box min Y","title":"Miny"},"description":"Bounding box min Y"},{"name":"maxx","in":"path","required":true,"schema":{"type":"number","description":"Bounding box max X","title":"Maxx"},"description":"Bounding box max X"},{"name":"maxy","in":"path","required":true,"schema":{"type":"number","description":"Bounding box max Y","title":"Maxy"},"description":"Bounding box max Y"},{"name":"format","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/ImageType"},{"type":"null"}],"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg).","title":"Format"}},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."},{"name":"max_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum image size to read onto.","title":"Max Size"}},{"name":"height","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image height.","title":"Height"}},{"name":"width","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image width.","title":"Width"}},{"name":"resampling","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","gauss","rms"],"type":"string"},{"type":"null"}],"description":"RasterIO resampling algorithm. Defaults to `nearest`.","title":"Resampling"},"description":"RasterIO resampling algorithm. Defaults to `nearest`."},{"name":"dst_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Output Coordinate Reference System.","title":"Dst Crs"},"description":"Output Coordinate Reference System."},{"name":"coord_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`.","title":"Coord Crs"},"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`."},{"name":"algorithm","in":"query","required":false,"schema":{"enum":["hillshade","slope","contours","normalizedIndex","terrarium","terrainrgb","cast","ceil","floor","min","max","median","mean","std","var","sum","grayscale","bitonal"],"type":"string","description":"Algorithm name","title":"Algorithm"},"description":"Algorithm name"},{"name":"algorithm_params","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Algorithm parameter","title":"Algorithm Params"},"description":"Algorithm parameter"},{"name":"colormap_name","in":"query","required":false,"schema":{"enum":["cividis","rdbu","dense_r","rdgy_r","cubehelix_r","wistia_r","set3","viridis_r","bugn_r","turbo_r","puor","jet_r","terrain_r","thermal_r","greens","prism","puor_r","haline_r","solar_r","reds_r","autumn","oranges_r","autumn_r","spectral_r","gnuplot","tarn","ylorbr","rdylbu","dark2","nipy_spectral","amp_r","gist_stern","magma_r","gist_rainbow","rdpu_r","algae_r","tab10_r","dense","plasma","jet","deep_r","cmrmap_r","paired","ylgnbu","tempo","tab20b","turbid","purd_r","cool","inferno_r","ylorbr_r","greys_r","coolwarm","gnuplot2","rain_r","rainbow_r","set3_r","gnbu_r","bugn","brbg_r","set2_r","seismic_r","gist_yarg","dark2_r","piyg_r","tab20c_r","pastel2_r","rain","ylgn_r","twilight","gist_ncar","seismic","haline","winter","hsv","bwr","magma","solar","twilight_shifted_r","prism_r","gray","pink","schwarzwald","pubugn_r","balance_r","balance","hot","curl","afmhot","rdpu","turbid_r","cubehelix","gist_heat_r","twilight_shifted","bone_r","piyg","oxy_r","orrd","flag","prgn_r","pastel1_r","rplumbo","gist_earth","brbg","afmhot_r","tarn_r","matter","terrain","reds","set1_r","set2","gist_gray","gist_gray_r","topo","paired_r","gist_ncar_r","spring","rdylbu_r","cividis_r","cool_r","rdylgn","copper_r","inferno","brg","ylorrd_r","orrd_r","ice","phase_r","greys","gist_stern_r","binary_r","ocean","cmrmap","bupu","flag_r","pubu","gist_heat","thermal","speed","oxy","gnuplot_r","twilight_r","tab20c","plasma_r","tab20","ylgnbu_r","speed_r","spectral","tempo_r","gist_earth_r","ice_r","prgn","pastel1","brg_r","diff","oranges","wistia","coolwarm_r","pubugn","pastel2","delta_r","hsv_r","accent","gnbu","algae","rdylgn_r","rdbu_r","tab10","greens_r","nipy_spectral_r","ylgn","pubu_r","spring_r","tab20b_r","bwr_r","gray_r","blues","gist_yarg_r","cfastie","blues_r","gnuplot2_r","summer_r","rdgy","rainbow","curl_r","purples","purples_r","amp","pink_r","phase","copper","gist_rainbow_r","summer","hot_r","viridis","bone","tab20_r","topo_r","delta","bupu_r","winter_r","set1","matter_r","binary","turbo","diff_r","ylorrd","deep","accent_r","ocean_r","purd"],"type":"string","description":"Colormap name","title":"Colormap Name"},"description":"Colormap name"},{"name":"colormap","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JSON encoded custom Colormap","title":"Colormap"},"description":"JSON encoded custom Colormap"},{"name":"rescale","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Min/Max data Rescaling","description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands.","examples":["0,2000","0,1000","0,10000"]},"description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands."},{"name":"color_formula","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color Formula","description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},"description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},{"name":"return_mask","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Add mask to the output data. Defaults to `True`","title":"Return Mask"},"description":"Add mask to the output data. Defaults to `True`"}],"responses":{"200":{"description":"Return an image.","content":{"image/png":{},"image/jpeg":{},"image/jpg":{},"image/webp":{},"image/jp2":{},"image/tiff; application=geotiff":{},"application/x-binary":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/feature/{width}x{height}.{format}":{"post":{"tags":["tiles"],"summary":"Feature Image","description":"Create image from a geojson feature.","operationId":".api.v1.tiles.postDataForGeoJSONWithSizesAndFormat","parameters":[{"name":"format","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/ImageType"},{"type":"null"}],"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg).","title":"Format"}},{"name":"height","in":"path","required":true,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image height.","title":"Height"}},{"name":"width","in":"path","required":true,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image width.","title":"Width"}},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."},{"name":"max_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum image size to read onto.","title":"Max Size"}},{"name":"resampling","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","gauss","rms"],"type":"string"},{"type":"null"}],"description":"RasterIO resampling algorithm. Defaults to `nearest`.","title":"Resampling"},"description":"RasterIO resampling algorithm. Defaults to `nearest`."},{"name":"coord_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`.","title":"Coord Crs"},"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`."},{"name":"dst_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Output Coordinate Reference System.","title":"Dst Crs"},"description":"Output Coordinate Reference System."},{"name":"algorithm","in":"query","required":false,"schema":{"enum":["hillshade","slope","contours","normalizedIndex","terrarium","terrainrgb","cast","ceil","floor","min","max","median","mean","std","var","sum","grayscale","bitonal"],"type":"string","description":"Algorithm name","title":"Algorithm"},"description":"Algorithm name"},{"name":"algorithm_params","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Algorithm parameter","title":"Algorithm Params"},"description":"Algorithm parameter"},{"name":"colormap_name","in":"query","required":false,"schema":{"enum":["cividis","rdbu","dense_r","rdgy_r","cubehelix_r","wistia_r","set3","viridis_r","bugn_r","turbo_r","puor","jet_r","terrain_r","thermal_r","greens","prism","puor_r","haline_r","solar_r","reds_r","autumn","oranges_r","autumn_r","spectral_r","gnuplot","tarn","ylorbr","rdylbu","dark2","nipy_spectral","amp_r","gist_stern","magma_r","gist_rainbow","rdpu_r","algae_r","tab10_r","dense","plasma","jet","deep_r","cmrmap_r","paired","ylgnbu","tempo","tab20b","turbid","purd_r","cool","inferno_r","ylorbr_r","greys_r","coolwarm","gnuplot2","rain_r","rainbow_r","set3_r","gnbu_r","bugn","brbg_r","set2_r","seismic_r","gist_yarg","dark2_r","piyg_r","tab20c_r","pastel2_r","rain","ylgn_r","twilight","gist_ncar","seismic","haline","winter","hsv","bwr","magma","solar","twilight_shifted_r","prism_r","gray","pink","schwarzwald","pubugn_r","balance_r","balance","hot","curl","afmhot","rdpu","turbid_r","cubehelix","gist_heat_r","twilight_shifted","bone_r","piyg","oxy_r","orrd","flag","prgn_r","pastel1_r","rplumbo","gist_earth","brbg","afmhot_r","tarn_r","matter","terrain","reds","set1_r","set2","gist_gray","gist_gray_r","topo","paired_r","gist_ncar_r","spring","rdylbu_r","cividis_r","cool_r","rdylgn","copper_r","inferno","brg","ylorrd_r","orrd_r","ice","phase_r","greys","gist_stern_r","binary_r","ocean","cmrmap","bupu","flag_r","pubu","gist_heat","thermal","speed","oxy","gnuplot_r","twilight_r","tab20c","plasma_r","tab20","ylgnbu_r","speed_r","spectral","tempo_r","gist_earth_r","ice_r","prgn","pastel1","brg_r","diff","oranges","wistia","coolwarm_r","pubugn","pastel2","delta_r","hsv_r","accent","gnbu","algae","rdylgn_r","rdbu_r","tab10","greens_r","nipy_spectral_r","ylgn","pubu_r","spring_r","tab20b_r","bwr_r","gray_r","blues","gist_yarg_r","cfastie","blues_r","gnuplot2_r","summer_r","rdgy","rainbow","curl_r","purples","purples_r","amp","pink_r","phase","copper","gist_rainbow_r","summer","hot_r","viridis","bone","tab20_r","topo_r","delta","bupu_r","winter_r","set1","matter_r","binary","turbo","diff_r","ylorrd","deep","accent_r","ocean_r","purd"],"type":"string","description":"Colormap name","title":"Colormap Name"},"description":"Colormap name"},{"name":"colormap","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JSON encoded custom Colormap","title":"Colormap"},"description":"JSON encoded custom Colormap"},{"name":"rescale","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Min/Max data Rescaling","description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands.","examples":["0,2000","0,1000","0,10000"]},"description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands."},{"name":"color_formula","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color Formula","description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},"description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},{"name":"return_mask","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Add mask to the output data. Defaults to `True`","title":"Return Mask"},"description":"Add mask to the output data. Defaults to `True`"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature","description":"GeoJSON Feature."}}}},"responses":{"200":{"description":"Return an image.","content":{"image/png":{},"image/jpeg":{},"image/jpg":{},"image/webp":{},"image/jp2":{},"image/tiff; application=geotiff":{},"application/x-binary":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/feature.{format}":{"post":{"tags":["tiles"],"summary":"Feature Image","description":"Create image from a geojson feature.","operationId":".api.v1.tiles.postDataForGeoJSONWithFormat","parameters":[{"name":"format","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/ImageType"},{"type":"null"}],"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg).","title":"Format"}},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."},{"name":"max_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum image size to read onto.","title":"Max Size"}},{"name":"height","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image height.","title":"Height"}},{"name":"width","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image width.","title":"Width"}},{"name":"resampling","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","gauss","rms"],"type":"string"},{"type":"null"}],"description":"RasterIO resampling algorithm. Defaults to `nearest`.","title":"Resampling"},"description":"RasterIO resampling algorithm. Defaults to `nearest`."},{"name":"coord_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`.","title":"Coord Crs"},"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`."},{"name":"dst_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Output Coordinate Reference System.","title":"Dst Crs"},"description":"Output Coordinate Reference System."},{"name":"algorithm","in":"query","required":false,"schema":{"enum":["hillshade","slope","contours","normalizedIndex","terrarium","terrainrgb","cast","ceil","floor","min","max","median","mean","std","var","sum","grayscale","bitonal"],"type":"string","description":"Algorithm name","title":"Algorithm"},"description":"Algorithm name"},{"name":"algorithm_params","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Algorithm parameter","title":"Algorithm Params"},"description":"Algorithm parameter"},{"name":"colormap_name","in":"query","required":false,"schema":{"enum":["cividis","rdbu","dense_r","rdgy_r","cubehelix_r","wistia_r","set3","viridis_r","bugn_r","turbo_r","puor","jet_r","terrain_r","thermal_r","greens","prism","puor_r","haline_r","solar_r","reds_r","autumn","oranges_r","autumn_r","spectral_r","gnuplot","tarn","ylorbr","rdylbu","dark2","nipy_spectral","amp_r","gist_stern","magma_r","gist_rainbow","rdpu_r","algae_r","tab10_r","dense","plasma","jet","deep_r","cmrmap_r","paired","ylgnbu","tempo","tab20b","turbid","purd_r","cool","inferno_r","ylorbr_r","greys_r","coolwarm","gnuplot2","rain_r","rainbow_r","set3_r","gnbu_r","bugn","brbg_r","set2_r","seismic_r","gist_yarg","dark2_r","piyg_r","tab20c_r","pastel2_r","rain","ylgn_r","twilight","gist_ncar","seismic","haline","winter","hsv","bwr","magma","solar","twilight_shifted_r","prism_r","gray","pink","schwarzwald","pubugn_r","balance_r","balance","hot","curl","afmhot","rdpu","turbid_r","cubehelix","gist_heat_r","twilight_shifted","bone_r","piyg","oxy_r","orrd","flag","prgn_r","pastel1_r","rplumbo","gist_earth","brbg","afmhot_r","tarn_r","matter","terrain","reds","set1_r","set2","gist_gray","gist_gray_r","topo","paired_r","gist_ncar_r","spring","rdylbu_r","cividis_r","cool_r","rdylgn","copper_r","inferno","brg","ylorrd_r","orrd_r","ice","phase_r","greys","gist_stern_r","binary_r","ocean","cmrmap","bupu","flag_r","pubu","gist_heat","thermal","speed","oxy","gnuplot_r","twilight_r","tab20c","plasma_r","tab20","ylgnbu_r","speed_r","spectral","tempo_r","gist_earth_r","ice_r","prgn","pastel1","brg_r","diff","oranges","wistia","coolwarm_r","pubugn","pastel2","delta_r","hsv_r","accent","gnbu","algae","rdylgn_r","rdbu_r","tab10","greens_r","nipy_spectral_r","ylgn","pubu_r","spring_r","tab20b_r","bwr_r","gray_r","blues","gist_yarg_r","cfastie","blues_r","gnuplot2_r","summer_r","rdgy","rainbow","curl_r","purples","purples_r","amp","pink_r","phase","copper","gist_rainbow_r","summer","hot_r","viridis","bone","tab20_r","topo_r","delta","bupu_r","winter_r","set1","matter_r","binary","turbo","diff_r","ylorrd","deep","accent_r","ocean_r","purd"],"type":"string","description":"Colormap name","title":"Colormap Name"},"description":"Colormap name"},{"name":"colormap","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JSON encoded custom Colormap","title":"Colormap"},"description":"JSON encoded custom Colormap"},{"name":"rescale","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Min/Max data Rescaling","description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands.","examples":["0,2000","0,1000","0,10000"]},"description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands."},{"name":"color_formula","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color Formula","description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},"description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},{"name":"return_mask","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Add mask to the output data. Defaults to `True`","title":"Return Mask"},"description":"Add mask to the output data. Defaults to `True`"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature","description":"GeoJSON Feature."}}}},"responses":{"200":{"description":"Return an image.","content":{"image/png":{},"image/jpeg":{},"image/jpg":{},"image/webp":{},"image/jp2":{},"image/tiff; application=geotiff":{},"application/x-binary":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiles/feature":{"post":{"tags":["tiles"],"summary":"Feature Image","description":"Create image from a geojson feature.","operationId":".api.v1.tiles.postDataForGeoJSON","parameters":[{"name":"format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ImageType"},{"type":"null"}],"description":"Default will be automatically defined if the output image needs a mask (png) or not (jpeg).","title":"Format"}},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Dataset URL","title":"Url"},"description":"Dataset URL"},{"name":"variable","in":"query","required":true,"schema":{"type":"string","description":"Xarray Variable name.","title":"Variable"},"description":"Xarray Variable name."},{"name":"sel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[^=]+=((nearest|pad|ffill|backfill|bfill)::)?([^=:]|:[^:])+$"}},{"type":"null"}],"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`.","title":"Sel"},"description":"Xarray Indexing using dimension names `{dimension}={value}` or `{dimension}={method}::{value}`."},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset.","title":"Group"},"description":"Select a specific zarr group from a zarr hierarchy. Could be associated with a zoom level or dataset."},{"name":"decode_times","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"decode_times","description":"Whether to decode times"},"description":"Whether to decode times"},{"name":"bidx","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Band indexes","description":"Dataset band indexes"},"description":"Dataset band indexes","examples":{"user-provided":{},"one-band":{"value":[1]},"multi-bands":{"value":[1,2,3]}}},{"name":"nodata","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata value","description":"Overwrite internal Nodata value"},"description":"Overwrite internal Nodata value"},{"name":"reproject","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","med","q1","q3","sum","rms"],"type":"string"},{"type":"null"}],"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.","title":"Reproject"},"description":"WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`."},{"name":"max_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum image size to read onto.","title":"Max Size"}},{"name":"height","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image height.","title":"Height"}},{"name":"width","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Force output image width.","title":"Width"}},{"name":"resampling","in":"query","required":false,"schema":{"anyOf":[{"enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","gauss","rms"],"type":"string"},{"type":"null"}],"description":"RasterIO resampling algorithm. Defaults to `nearest`.","title":"Resampling"},"description":"RasterIO resampling algorithm. Defaults to `nearest`."},{"name":"coord_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`.","title":"Coord Crs"},"description":"Coordinate Reference System of the input coords. Default to `epsg:4326`."},{"name":"dst_crs","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Output Coordinate Reference System.","title":"Dst Crs"},"description":"Output Coordinate Reference System."},{"name":"algorithm","in":"query","required":false,"schema":{"enum":["hillshade","slope","contours","normalizedIndex","terrarium","terrainrgb","cast","ceil","floor","min","max","median","mean","std","var","sum","grayscale","bitonal"],"type":"string","description":"Algorithm name","title":"Algorithm"},"description":"Algorithm name"},{"name":"algorithm_params","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Algorithm parameter","title":"Algorithm Params"},"description":"Algorithm parameter"},{"name":"colormap_name","in":"query","required":false,"schema":{"enum":["cividis","rdbu","dense_r","rdgy_r","cubehelix_r","wistia_r","set3","viridis_r","bugn_r","turbo_r","puor","jet_r","terrain_r","thermal_r","greens","prism","puor_r","haline_r","solar_r","reds_r","autumn","oranges_r","autumn_r","spectral_r","gnuplot","tarn","ylorbr","rdylbu","dark2","nipy_spectral","amp_r","gist_stern","magma_r","gist_rainbow","rdpu_r","algae_r","tab10_r","dense","plasma","jet","deep_r","cmrmap_r","paired","ylgnbu","tempo","tab20b","turbid","purd_r","cool","inferno_r","ylorbr_r","greys_r","coolwarm","gnuplot2","rain_r","rainbow_r","set3_r","gnbu_r","bugn","brbg_r","set2_r","seismic_r","gist_yarg","dark2_r","piyg_r","tab20c_r","pastel2_r","rain","ylgn_r","twilight","gist_ncar","seismic","haline","winter","hsv","bwr","magma","solar","twilight_shifted_r","prism_r","gray","pink","schwarzwald","pubugn_r","balance_r","balance","hot","curl","afmhot","rdpu","turbid_r","cubehelix","gist_heat_r","twilight_shifted","bone_r","piyg","oxy_r","orrd","flag","prgn_r","pastel1_r","rplumbo","gist_earth","brbg","afmhot_r","tarn_r","matter","terrain","reds","set1_r","set2","gist_gray","gist_gray_r","topo","paired_r","gist_ncar_r","spring","rdylbu_r","cividis_r","cool_r","rdylgn","copper_r","inferno","brg","ylorrd_r","orrd_r","ice","phase_r","greys","gist_stern_r","binary_r","ocean","cmrmap","bupu","flag_r","pubu","gist_heat","thermal","speed","oxy","gnuplot_r","twilight_r","tab20c","plasma_r","tab20","ylgnbu_r","speed_r","spectral","tempo_r","gist_earth_r","ice_r","prgn","pastel1","brg_r","diff","oranges","wistia","coolwarm_r","pubugn","pastel2","delta_r","hsv_r","accent","gnbu","algae","rdylgn_r","rdbu_r","tab10","greens_r","nipy_spectral_r","ylgn","pubu_r","spring_r","tab20b_r","bwr_r","gray_r","blues","gist_yarg_r","cfastie","blues_r","gnuplot2_r","summer_r","rdgy","rainbow","curl_r","purples","purples_r","amp","pink_r","phase","copper","gist_rainbow_r","summer","hot_r","viridis","bone","tab20_r","topo_r","delta","bupu_r","winter_r","set1","matter_r","binary","turbo","diff_r","ylorrd","deep","accent_r","ocean_r","purd"],"type":"string","description":"Colormap name","title":"Colormap Name"},"description":"Colormap name"},{"name":"colormap","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JSON encoded custom Colormap","title":"Colormap"},"description":"JSON encoded custom Colormap"},{"name":"rescale","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Min/Max data Rescaling","description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands.","examples":["0,2000","0,1000","0,10000"]},"description":"comma (',') delimited Min,Max range. Can set multiple time for multiple bands."},{"name":"color_formula","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color Formula","description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},"description":"rio-color formula (info: https://github.com/mapbox/rio-color)"},{"name":"return_mask","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Add mask to the output data. Defaults to `True`","title":"Return Mask"},"description":"Add mask to the output data. Defaults to `True`"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature","description":"GeoJSON Feature."}}}},"responses":{"200":{"description":"Return an image.","content":{"image/png":{},"image/jpeg":{},"image/jpg":{},"image/webp":{},"image/jp2":{},"image/tiff; application=geotiff":{},"application/x-binary":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/indices/{date_str}":{"get":{"tags":["indices"],"summary":"Get Indices","description":"Minima journaliers + déclenchements pour tous les stades phénologiques.\n\nRetourne toutes les combinaisons station × espèce × stade, que le gel\nsoit déclenché ou non. Seuils T10 (activation) et T90 (dommages majeurs)\ninclus pour chaque stade.","operationId":"get_indices_api_v1_indices__date_str__get","parameters":[{"name":"date_str","in":"path","required":true,"schema":{"type":"string","description":"YYYY-MM-DD ou 'yesterday'","title":"Date Str"},"description":"YYYY-MM-DD ou 'yesterday'"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndicesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/triggers/{date_str}":{"get":{"tags":["indices"],"summary":"Get Triggers","description":"Uniquement les stations et stades avec déclenchement T10 (t_min < t_crit).\n\nFiltre sur triggered=True (seuil d'activation T10). Les champs\ntriggered_t90, severity_t90 et payout_fraction sont inclus pour\nchaque déclenchement.","operationId":"get_triggers_api_v1_triggers__date_str__get","parameters":[{"name":"date_str","in":"path","required":true,"schema":{"type":"string","description":"YYYY-MM-DD ou 'yesterday'","title":"Date Str"},"description":"YYYY-MM-DD ou 'yesterday'"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndicesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"tags":["system"],"summary":"Health","description":"Healthcheck applicatif avec statut des composants critiques.\n\nToujours retourne 200 si FastAPI est up (sinon le LB / curl --fail n'aurait\npas de réponse). Détaille l'état des composants optionnels (DB, Redis, S3) :\n'ok' si reachable, 'down' si pas connecté, 'absent' si jamais initialisé.\n\nUsage CI/CD : ``curl --fail https://api.karpos.pro/healthz`` pour valider\nque l'API répond après deploy. Pour un check strict (DB indispensable),\nparser le JSON et vérifier ``components.db == 'ok'``.","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AnnualResponse":{"properties":{"year":{"type":"integer","title":"Year"},"bbox":{"type":"string","title":"Bbox"},"stage":{"type":"string","title":"Stage"},"window_start":{"type":"string","title":"Window Start"},"window_end":{"type":"string","title":"Window End"},"t10":{"type":"number","title":"T10"},"t90":{"type":"number","title":"T90"},"n_stations":{"type":"integer","title":"N Stations"},"stations":{"items":{"$ref":"#/components/schemas/AnnualStationRecord"},"type":"array","title":"Stations"}},"type":"object","required":["year","bbox","stage","window_start","window_end","t10","t90","n_stations","stations"],"title":"AnnualResponse"},"AnnualStationRecord":{"properties":{"bucket_id":{"type":"integer","title":"Bucket Id"},"city":{"type":"string","title":"City"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"altitude_m":{"type":"number","title":"Altitude M"},"tmin_season":{"type":"number","title":"Tmin Season"},"n_nights_below_t10":{"type":"integer","title":"N Nights Below T10"},"n_nights_below_t90":{"type":"integer","title":"N Nights Below T90"},"n_nights_obs":{"type":"integer","title":"N Nights Obs"}},"type":"object","required":["bucket_id","city","latitude","longitude","altitude_m","tmin_season","n_nights_below_t10","n_nights_below_t90","n_nights_obs"],"title":"AnnualStationRecord"},"BacktestRequest":{"properties":{"pipeline":{"$ref":"#/components/schemas/Pipeline","default":"simple"},"region":{"type":"string","title":"Region","default":"drome"}},"type":"object","title":"BacktestRequest"},"BacktestResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"},"pipeline":{"type":"string","title":"Pipeline"},"region":{"type":"string","title":"Region"},"stage":{"type":"string","title":"Stage"},"pct":{"type":"integer","title":"Pct"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"result_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Path"},"runpod_pod_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runpod Pod Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["job_id","status","pipeline","region","stage","pct","created_at","updated_at"],"title":"BacktestResponse"},"BandStatistics":{"properties":{"min":{"type":"number","title":"Min"},"max":{"type":"number","title":"Max"},"mean":{"type":"number","title":"Mean"},"count":{"type":"number","title":"Count"},"sum":{"type":"number","title":"Sum"},"std":{"type":"number","title":"Std"},"median":{"type":"number","title":"Median"},"majority":{"type":"number","title":"Majority"},"minority":{"type":"number","title":"Minority"},"unique":{"type":"number","title":"Unique"},"histogram":{"items":{"items":{"anyOf":[{"type":"number"},{"type":"integer"}]},"type":"array"},"type":"array","title":"Histogram"},"valid_percent":{"type":"number","title":"Valid Percent"},"masked_pixels":{"type":"number","title":"Masked Pixels"},"valid_pixels":{"type":"number","title":"Valid Pixels"},"description":{"type":"string","title":"Description"}},"additionalProperties":true,"type":"object","required":["min","max","mean","count","sum","std","median","majority","minority","unique","histogram","valid_percent","masked_pixels","valid_pixels","description"],"title":"BandStatistics","description":"Band statistics"},"BaseModel":{"properties":{},"type":"object","title":"BaseModel"},"BoundingBox":{"properties":{"lowerLeft":{"items":{"type":"number"},"type":"array","maxItems":2,"minItems":2,"title":"Lowerleft","description":"A 2D Point in the CRS indicated elsewhere"},"upperRight":{"items":{"type":"number"},"type":"array","maxItems":2,"minItems":2,"title":"Upperright","description":"A 2D Point in the CRS indicated elsewhere"},"crs":{"anyOf":[{"$ref":"#/components/schemas/CRS"},{"type":"null"}],"title":"CRS"},"orderedAxes":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Orderedaxes"}},"type":"object","required":["lowerLeft","upperRight"],"title":"BoundingBox","description":"BoundingBox model.\n\nRef: https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/tms/2DBoundingBox.yaml\n\nCode generated using https://github.com/koxudaxi/datamodel-code-generator/"},"CRS":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/CRSUri"},{"$ref":"#/components/schemas/CRSWKT"},{"$ref":"#/components/schemas/CRSRef"}],"title":"CRS","description":"CRS model.\n\nRef: https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/common-geodata/crs.yaml\n\nCode generated using https://github.com/koxudaxi/datamodel-code-generator/"},"CRSRef":{"properties":{"referenceSystem":{"additionalProperties":true,"type":"object","title":"Referencesystem","description":"A reference system data structure as defined in the MD_ReferenceSystem of the ISO 19115"}},"type":"object","required":["referenceSystem"],"title":"CRSRef","description":"CRS from referenceSystem."},"CRSUri":{"properties":{"uri":{"type":"string","minLength":1,"format":"uri","title":"Uri","description":"Reference to one coordinate reference system (CRS) as URI","exemples":["http://www.opengis.net/def/crs/EPSG/0/3978","urn:ogc:def:crs:EPSG::2193"]}},"type":"object","required":["uri"],"title":"CRSUri","description":"Coordinate Reference System (CRS) from URI."},"CRSWKT":{"properties":{"wkt":{"additionalProperties":true,"type":"object","title":"Wkt","description":"An object defining the CRS using the JSON encoding for Well-known text representation of coordinate reference systems 2.0"}},"type":"object","required":["wkt"],"title":"CRSWKT","description":"Coordinate Reference System (CRS) from WKT encoded as PROJJSON Object."},"CertificateB2B":{"properties":{"cert_id":{"type":"string","title":"Cert Id"},"siret":{"type":"string","title":"Siret"},"cert_type":{"type":"string","title":"Cert Type"},"issue_date":{"type":"string","title":"Issue Date"},"expiry_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry Date"},"pdf_sha256":{"type":"string","title":"Pdf Sha256"},"methodology_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Methodology Version"}},"type":"object","required":["cert_id","siret","cert_type","issue_date","expiry_date","pdf_sha256","methodology_version"],"title":"CertificateB2B"},"CheckoutRequest":{"properties":{"sku":{"type":"string","title":"Sku","description":"cert_dep_baronnies ou etude_historique"},"quantity_ha":{"type":"integer","minimum":1.0,"title":"Quantity Ha","description":"Nombre d'hectares (etude_historique uniquement)","default":1},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret","description":"SIRET de l'exploitation (pour le certificat DEP)"},"parcelles_geojson":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Parcelles Geojson","description":"GeoJSON des parcelles RPG sélectionnées"}},"type":"object","required":["sku"],"title":"CheckoutRequest"},"CheckoutResponse":{"properties":{"checkout_url":{"type":"string","title":"Checkout Url"},"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["checkout_url","session_id"],"title":"CheckoutResponse"},"ClientCreate":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"allowed_regions":{"items":{"type":"string"},"type":"array","title":"Allowed Regions","default":[]},"role":{"type":"string","title":"Role","default":"client"}},"type":"object","required":["name","email"],"title":"ClientCreate"},"ClientCreateResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"allowed_regions":{"items":{"type":"string"},"type":"array","title":"Allowed Regions"},"role":{"type":"string","title":"Role"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","title":"Created At"},"secret":{"type":"string","title":"Secret"}},"type":"object","required":["id","name","email","allowed_regions","role","is_active","created_at","secret"],"title":"ClientCreateResponse"},"ClientResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"allowed_regions":{"items":{"type":"string"},"type":"array","title":"Allowed Regions"},"role":{"type":"string","title":"Role"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","name","email","allowed_regions","role","is_active","created_at"],"title":"ClientResponse"},"ClientUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"allowed_regions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Regions"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"ClientUpdate"},"Feature":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"Feature","title":"Type"},"geometry":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Point-Input"},{"$ref":"#/components/schemas/MultiPoint"},{"$ref":"#/components/schemas/LineString"},{"$ref":"#/components/schemas/MultiLineString"},{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"},{"$ref":"#/components/schemas/GeometryCollection-Input"}],"discriminator":{"propertyName":"type","mapping":{"GeometryCollection":"#/components/schemas/GeometryCollection-Input","LineString":"#/components/schemas/LineString","MultiLineString":"#/components/schemas/MultiLineString","MultiPoint":"#/components/schemas/MultiPoint","MultiPolygon":"#/components/schemas/MultiPolygon","Point":"#/components/schemas/Point-Input","Polygon":"#/components/schemas/Polygon"}}},{"type":"null"}],"title":"Geometry"},"properties":{"anyOf":[{"additionalProperties":true,"type":"object"},{"$ref":"#/components/schemas/BaseModel"},{"type":"null"}],"title":"Properties"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","required":["type","geometry","properties"],"title":"Feature","description":"Feature Model"},"FeatureCollection":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"FeatureCollection","title":"Type"},"features":{"items":{"$ref":"#/components/schemas/Feature"},"type":"array","title":"Features"}},"type":"object","required":["type","features"],"title":"FeatureCollection","description":"FeatureCollection Model"},"FeatureCollection_Feature_Annotated_Union_Point__MultiPoint__LineString__MultiLineString__Polygon__MultiPolygon__GeometryCollection___FieldInfo_annotation_NoneType__required_True__discriminator__type_____StatisticsInGeoJSON__":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"FeatureCollection","title":"Type"},"features":{"items":{"$ref":"#/components/schemas/Feature_Annotated_Union_Point__MultiPoint__LineString__MultiLineString__Polygon__MultiPolygon__GeometryCollection___FieldInfo_annotation_NoneType__required_True__discriminator__type____StatisticsInGeoJSON_"},"type":"array","title":"Features"}},"type":"object","required":["type","features"],"title":"FeatureCollection[Feature[Annotated[Union[Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection], FieldInfo(annotation=NoneType, required=True, discriminator='type')], StatisticsInGeoJSON]]"},"Feature_Annotated_Union_Point__MultiPoint__LineString__MultiLineString__Polygon__MultiPolygon__GeometryCollection___FieldInfo_annotation_NoneType__required_True__discriminator__type____StatisticsInGeoJSON_":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"Feature","title":"Type"},"geometry":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/geojson_pydantic__geometries__Point"},{"$ref":"#/components/schemas/MultiPoint"},{"$ref":"#/components/schemas/LineString"},{"$ref":"#/components/schemas/MultiLineString"},{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"},{"$ref":"#/components/schemas/GeometryCollection-Output"}],"discriminator":{"propertyName":"type","mapping":{"GeometryCollection":"#/components/schemas/GeometryCollection-Output","LineString":"#/components/schemas/LineString","MultiLineString":"#/components/schemas/MultiLineString","MultiPoint":"#/components/schemas/MultiPoint","MultiPolygon":"#/components/schemas/MultiPolygon","Point":"#/components/schemas/geojson_pydantic__geometries__Point","Polygon":"#/components/schemas/Polygon"}}},{"type":"null"}],"title":"Geometry"},"properties":{"anyOf":[{"$ref":"#/components/schemas/StatisticsInGeoJSON"},{"type":"null"}]},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","required":["type","geometry","properties"],"title":"Feature[Annotated[Union[Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection], FieldInfo(annotation=NoneType, required=True, discriminator='type')], StatisticsInGeoJSON]"},"Feature_Union_Polygon__MultiPolygon__Info_":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"Feature","title":"Type"},"geometry":{"anyOf":[{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"},{"type":"null"}],"title":"Geometry"},"properties":{"anyOf":[{"$ref":"#/components/schemas/Info"},{"type":"null"}]},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","required":["type","geometry","properties"],"title":"Feature[Union[Polygon, MultiPolygon], Info]"},"FlowProbe":{"properties":{"name":{"type":"string","title":"Name"},"status":{"type":"string","enum":["ok","warn","down"],"title":"Status"},"age_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age Minutes"},"sla_minutes":{"type":"integer","title":"Sla Minutes"},"last_seen_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen At"},"detail":{"type":"string","title":"Detail"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["name","status","age_minutes","sla_minutes","last_seen_at","detail"],"title":"FlowProbe"},"FreshnessResponse":{"properties":{"status":{"type":"string","enum":["ok","warn","down"],"title":"Status"},"checked_at":{"type":"string","title":"Checked At"},"flows":{"items":{"$ref":"#/components/schemas/FlowProbe"},"type":"array","title":"Flows"}},"type":"object","required":["status","checked_at","flows"],"title":"FreshnessResponse"},"FrostVerdictResponse":{"properties":{"run_date":{"type":"string","title":"Run Date"},"horizon_hours":{"type":"integer","title":"Horizon Hours"},"bbox":{"items":{"type":"number"},"type":"array","title":"Bbox"},"level":{"type":"string","title":"Level"},"tmin_degC":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tmin Degc"},"tmin_valid_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tmin Valid Time"},"thresholds":{"additionalProperties":{"type":"number"},"type":"object","title":"Thresholds"},"nights":{"items":{"$ref":"#/components/schemas/NightVerdict"},"type":"array","title":"Nights"},"source":{"type":"string","title":"Source"}},"type":"object","required":["run_date","horizon_hours","bbox","level","tmin_degC","tmin_valid_time","thresholds","nights","source"],"title":"FrostVerdictResponse"},"GeometryCollection-Input":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"GeometryCollection","title":"Type"},"geometries":{"items":{"oneOf":[{"$ref":"#/components/schemas/Point-Input"},{"$ref":"#/components/schemas/MultiPoint"},{"$ref":"#/components/schemas/LineString"},{"$ref":"#/components/schemas/MultiLineString"},{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"},{"$ref":"#/components/schemas/GeometryCollection-Input"}],"discriminator":{"propertyName":"type","mapping":{"GeometryCollection":"#/components/schemas/GeometryCollection-Input","LineString":"#/components/schemas/LineString","MultiLineString":"#/components/schemas/MultiLineString","MultiPoint":"#/components/schemas/MultiPoint","MultiPolygon":"#/components/schemas/MultiPolygon","Point":"#/components/schemas/Point-Input","Polygon":"#/components/schemas/Polygon"}}},"type":"array","title":"Geometries"}},"type":"object","required":["type","geometries"],"title":"GeometryCollection","description":"GeometryCollection Model"},"GeometryCollection-Output":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"GeometryCollection","title":"Type"},"geometries":{"items":{"oneOf":[{"$ref":"#/components/schemas/geojson_pydantic__geometries__Point"},{"$ref":"#/components/schemas/MultiPoint"},{"$ref":"#/components/schemas/LineString"},{"$ref":"#/components/schemas/MultiLineString"},{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"},{"$ref":"#/components/schemas/GeometryCollection-Output"}],"discriminator":{"propertyName":"type","mapping":{"GeometryCollection":"#/components/schemas/GeometryCollection-Output","LineString":"#/components/schemas/LineString","MultiLineString":"#/components/schemas/MultiLineString","MultiPoint":"#/components/schemas/MultiPoint","MultiPolygon":"#/components/schemas/MultiPolygon","Point":"#/components/schemas/geojson_pydantic__geometries__Point","Polygon":"#/components/schemas/Polygon"}}},"type":"array","title":"Geometries"}},"type":"object","required":["type","geometries"],"title":"GeometryCollection","description":"GeometryCollection Model"},"GeospatialData":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of this tile matrix set, normally used for display to a human"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Brief narrative description of this tile matrix set, normally available for display to a human"},"keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keywords","description":"Unordered list of one or more commonly used or formalized word(s) or phrase(s) used to describe this layer"},"id":{"type":"string","title":"Id","description":"Unique identifier of the Layer. Implementation of 'identifier'"},"dataType":{"type":"string","enum":["map","vector","coverage"],"title":"Datatype","description":"Type of data represented in the tileset"},"geometryDimension":{"anyOf":[{"type":"integer","maximum":3.0,"minimum":0.0},{"type":"null"}],"title":"Geometrydimension","description":"The geometry dimension of the features shown in this layer (0: points, 1: curves, 2: surfaces, 3: solids), unspecified: mixed or unknown"},"featureType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Featuretype","description":"Feature type identifier. Only applicable to layers of datatype 'geometries'"},"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution","description":"Short reference to recognize the author or provider"},"license":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License","description":"License applicable to the tiles"},"pointOfContact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pointofcontact","description":"Useful information to contact the authors or custodians for the layer (e.g. e-mail address, a physical address,  phone numbers, etc)"},"publisher":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publisher","description":"Organization or individual responsible for making the layer available"},"theme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Theme","description":"Category where the layer can be grouped"},"crs":{"anyOf":[{"$ref":"#/components/schemas/CRS"},{"type":"null"}],"title":"CRS"},"epoch":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epoch","description":"Epoch of the Coordinate Reference System (CRS)"},"minScaleDenominator":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minscaledenominator","description":"Minimum scale denominator for usage of the layer"},"maxScaleDenominator":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maxscaledenominator","description":"Maximum scale denominator for usage of the layer"},"minCellSize":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mincellsize","description":"Minimum cell size for usage of the layer"},"maxCellSize":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maxcellsize","description":"Maximum cell size for usage of the layer"},"maxTileMatrix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maxtilematrix","description":"TileMatrix identifier associated with the minScaleDenominator"},"minTileMatrix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mintilematrix","description":"TileMatrix identifier associated with the maxScaleDenominator"},"boundingBox":{"anyOf":[{"$ref":"#/components/schemas/BoundingBox"},{"type":"null"}]},"created":{"anyOf":[{"$ref":"#/components/schemas/TimeStamp"},{"type":"null"}]},"updated":{"anyOf":[{"$ref":"#/components/schemas/TimeStamp"},{"type":"null"}]},"style":{"anyOf":[{"$ref":"#/components/schemas/Style"},{"type":"null"}]},"geoDataClasses":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Geodataclasses","description":"URI identifying a class of data contained in this layer (useful to determine compatibility with styles or processes)"},"propertiesSchema":{"anyOf":[{"$ref":"#/components/schemas/PropertiesSchema"},{"type":"null"}]},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/Link"},"type":"array","minItems":1},{"type":"null"}],"title":"Links","description":"Links related to this layer. Possible link 'rel' values are: 'geodata' for a URL pointing to the collection of geospatial data."}},"type":"object","required":["id","dataType"],"title":"GeospatialData","description":"Geospatial model.\n\nRef: https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/tms/geospatialData.yaml\n\nCode generated using https://github.com/koxudaxi/datamodel-code-generator/"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImageType":{"type":"string","enum":["png","npy","tif","tiff","jpeg","jpg","jp2","webp","pngraw"],"title":"ImageType","description":"Available Output image type."},"IndicesResponse":{"properties":{"date":{"type":"string","title":"Date"},"n_stations":{"type":"integer","title":"N Stations"},"n_triggers":{"type":"integer","title":"N Triggers"},"stations":{"items":{"$ref":"#/components/schemas/StationIndex"},"type":"array","title":"Stations"}},"type":"object","required":["date","n_stations","n_triggers","stations"],"title":"IndicesResponse"},"Info":{"properties":{"bounds":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4,"title":"Bounds"},"crs":{"type":"string","title":"Crs"},"band_metadata":{"items":{"prefixItems":[{"type":"string"},{"additionalProperties":true,"type":"object"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Band Metadata"},"band_descriptions":{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Band Descriptions"},"dtype":{"type":"string","title":"Dtype"},"nodata_type":{"type":"string","enum":["Alpha","Mask","Internal","Nodata","None"],"title":"Nodata Type"},"colorinterp":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Colorinterp"},"scales":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Scales"},"offsets":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Offsets"},"colormap":{"anyOf":[{"additionalProperties":{"prefixItems":[{"type":"integer"},{"type":"integer"},{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":4,"minItems":4},"type":"object"},{"type":"null"}],"title":"Colormap"}},"additionalProperties":true,"type":"object","required":["bounds","crs","band_metadata","band_descriptions","dtype","nodata_type"],"title":"Info","description":"Dataset Info."},"LayerJSON":{"properties":{"id":{"type":"string","title":"Id"},"fields":{"additionalProperties":true,"type":"object","title":"Fields"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"minzoom":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Minzoom"},"maxzoom":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Maxzoom"}},"type":"object","required":["id"],"title":"LayerJSON","description":"https://github.com/mapbox/tilejson-spec/tree/master/3.0.0#33-vector_layers"},"LineString":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"LineString","title":"Type"},"coordinates":{"items":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}]},"type":"array","minItems":2,"title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"LineString","description":"LineString Model"},"Link":{"properties":{"href":{"type":"string","minLength":1,"format":"uri","title":"Href","description":"Supplies the URI to a remote resource (or resource fragment).","examples":["http://data.example.com/buildings/123"]},"rel":{"type":"string","title":"Rel","description":"The type or semantics of the relation.","examples":["alternate"]},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"A hint indicating what the media type of the result of dereferencing the link should be.","examples":["application/geo+json"]},"templated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Templated","description":"This flag set to true if the link is a URL template."},"varBase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Varbase","description":"A base path to retrieve semantic information about the variables used in URL template.","examples":["/ogcapi/vars/"]},"hreflang":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hreflang","description":"A hint indicating what the language of the result of dereferencing the link should be.","examples":["en"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Used to label the destination of a link such that it can be used as a human-readable identifier.","examples":["Trierer Strasse 70, 53115 Bonn"]},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Length"}},"type":"object","required":["href","rel"],"title":"Link","description":"Link model.\n\nRef: https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/common-core/link.yaml\n\nCode generated using https://github.com/koxudaxi/datamodel-code-generator/"},"MeResponse":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"role":{"type":"string","title":"Role"},"allowed_regions":{"items":{"type":"string"},"type":"array","title":"Allowed Regions"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["id","email","role","allowed_regions","is_active"],"title":"MeResponse"},"MessageRequest":{"properties":{"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"MessageRequest"},"MetricIn":{"properties":{"bucket":{"type":"string","title":"Bucket"},"stage":{"type":"string","title":"Stage"},"pod":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pod"},"far":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Far"},"csi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Csi"},"n_events":{"type":"integer","title":"N Events","default":0}},"type":"object","required":["bucket","stage"],"title":"MetricIn"},"MultiLineString":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"MultiLineString","title":"Type"},"coordinates":{"items":{"items":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}]},"type":"array","minItems":2},"type":"array","title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"MultiLineString","description":"MultiLineString Model"},"MultiPoint":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"MultiPoint","title":"Type"},"coordinates":{"items":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}]},"type":"array","title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"MultiPoint","description":"MultiPoint Model"},"MultiPolygon":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"MultiPolygon","title":"Type"},"coordinates":{"items":{"items":{"items":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}]},"type":"array","minItems":4},"type":"array"},"type":"array","title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"MultiPolygon","description":"MultiPolygon Model"},"NightVerdict":{"properties":{"date":{"type":"string","title":"Date"},"tmin_degC":{"type":"number","title":"Tmin Degc"},"level":{"type":"string","title":"Level"},"valid_time_min":{"type":"string","title":"Valid Time Min"},"n_leads":{"type":"integer","title":"N Leads"}},"type":"object","required":["date","tmin_degC","level","valid_time_min","n_leads"],"title":"NightVerdict"},"ObservationIn":{"properties":{"stage":{"type":"string","title":"Stage"},"date":{"type":"string","format":"date","title":"Date"},"source":{"type":"string","title":"Source","default":"exploitant"}},"type":"object","required":["stage","date"],"title":"ObservationIn"},"Pipeline":{"type":"string","enum":["simple","downscaling","tskin"],"title":"Pipeline"},"Point-Input":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"Point","title":"Type"},"coordinates":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}],"title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"Point","description":"Point Model"},"Polygon":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"Polygon","title":"Type"},"coordinates":{"items":{"items":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}]},"type":"array","minItems":4},"type":"array","title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"Polygon","description":"Polygon Model"},"Position2D":{"prefixItems":[{"type":"number","title":"Longitude"},{"type":"number","title":"Latitude"}],"type":"array","maxItems":2,"minItems":2},"Position3D":{"prefixItems":[{"type":"number","title":"Longitude"},{"type":"number","title":"Latitude"},{"type":"number","title":"Altitude"}],"type":"array","maxItems":3,"minItems":3},"PresignedUrlResponse":{"properties":{"url":{"type":"string","title":"Url"},"expires_in":{"type":"integer","title":"Expires In"},"key":{"type":"string","title":"Key"}},"type":"object","required":["url","expires_in","key"],"title":"PresignedUrlResponse"},"Properties":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Implements 'description'"},"type":{"anyOf":[{"type":"string","enum":["array","boolean","integer","null","number","object","string"]},{"type":"null"}],"title":"Type"},"enum":{"anyOf":[{"items":{},"type":"array","minItems":1,"uniqueItems":true},{"type":"null"}],"title":"Enum","description":"Implements 'acceptedValues'"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format","description":"Complements implementation of 'type'"},"contentMediaType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contentmediatype","description":"Implements 'mediaType'"},"maximum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maximum","description":"Implements 'range'"},"exclusiveMaximum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Exclusivemaximum","description":"Implements 'range'"},"minimum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimum","description":"Implements 'range'"},"exclusiveMinimum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Exclusiveminimum","description":"Implements 'range'"},"pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pattern"},"maxItems":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Maxitems","description":"Implements 'upperMultiplicity'"},"minItems":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Minitems","description":"Implements 'lowerMultiplicity'","default":0},"observedProperty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observedproperty"},"observedPropertyURI":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Observedpropertyuri"},"uom":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uom"},"uomURI":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Uomuri"}},"type":"object","title":"Properties","description":"Properties model.\n\nRef: https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/tms/propertiesSchema.yaml\n\nCode generated using https://github.com/koxudaxi/datamodel-code-generator/"},"PropertiesSchema":{"properties":{"type":{"type":"string","const":"object","title":"Type"},"required":{"anyOf":[{"items":{"type":"string"},"type":"array","minItems":1},{"type":"null"}],"title":"Required","description":"Implements 'multiplicity' by citing property 'name' defined as 'additionalProperties'"},"properties":{"additionalProperties":{"$ref":"#/components/schemas/Properties"},"type":"object","title":"Properties"}},"type":"object","required":["type","properties"],"title":"PropertiesSchema","description":"PropertiesSchema model.\n\nRef: https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/tms/propertiesSchema.yaml\n\nCode generated using https://github.com/koxudaxi/datamodel-code-generator/"},"RefreshRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshRequest"},"RegionCreate":{"properties":{"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"lat_min":{"type":"number","title":"Lat Min"},"lat_max":{"type":"number","title":"Lat Max"},"lon_min":{"type":"number","title":"Lon Min"},"lon_max":{"type":"number","title":"Lon Max"},"reanalysis":{"type":"string","title":"Reanalysis","default":"era5land"},"departments":{"items":{"type":"string"},"type":"array","title":"Departments","default":[]},"phenology":{"additionalProperties":true,"type":"object","title":"Phenology","default":{}},"polygon_geojson":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Polygon Geojson"},"period_start":{"type":"string","title":"Period Start","default":"1991-01-01"},"period_end":{"type":"string","title":"Period End","default":"2020-12-31"}},"type":"object","required":["slug","name","lat_min","lat_max","lon_min","lon_max"],"title":"RegionCreate"},"RegionDetail":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"lat_min":{"type":"number","title":"Lat Min"},"lat_max":{"type":"number","title":"Lat Max"},"lon_min":{"type":"number","title":"Lon Min"},"lon_max":{"type":"number","title":"Lon Max"},"reanalysis":{"type":"string","title":"Reanalysis"},"departments":{"items":{"type":"string"},"type":"array","title":"Departments"},"phenology":{"additionalProperties":true,"type":"object","title":"Phenology"},"polygon_geojson":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Polygon Geojson"},"period_start":{"type":"string","title":"Period Start"},"period_end":{"type":"string","title":"Period End"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["id","slug","name","lat_min","lat_max","lon_min","lon_max","reanalysis","departments","phenology","polygon_geojson","period_start","period_end","is_active"],"title":"RegionDetail"},"RegionPublic":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"lat_min":{"type":"number","title":"Lat Min"},"lat_max":{"type":"number","title":"Lat Max"},"lon_min":{"type":"number","title":"Lon Min"},"lon_max":{"type":"number","title":"Lon Max"},"reanalysis":{"type":"string","title":"Reanalysis"},"departments":{"items":{"type":"string"},"type":"array","title":"Departments"}},"type":"object","required":["id","slug","name","lat_min","lat_max","lon_min","lon_max","reanalysis","departments"],"title":"RegionPublic"},"RegionUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"lat_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat Min"},"lat_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat Max"},"lon_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon Min"},"lon_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon Max"},"reanalysis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reanalysis"},"departments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Departments"},"phenology":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Phenology"},"polygon_geojson":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Polygon Geojson"},"period_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Start"},"period_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period End"}},"type":"object","title":"RegionUpdate"},"RevokeRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RevokeRequest"},"RunInfo":{"properties":{"run_date":{"type":"string","title":"Run Date"},"key":{"type":"string","title":"Key"},"last_modified":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Modified"}},"type":"object","required":["run_date","key"],"title":"RunInfo"},"RunsResponse":{"properties":{"bucket":{"type":"string","title":"Bucket"},"runs":{"items":{"$ref":"#/components/schemas/RunInfo"},"type":"array","title":"Runs"}},"type":"object","required":["bucket","runs"],"title":"RunsResponse"},"SessionCreate":{"properties":{"persona":{"type":"string","title":"Persona","default":"agriculteur"},"region_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region Slug"}},"type":"object","title":"SessionCreate"},"SinistreIn":{"properties":{"assureur":{"type":"string","title":"Assureur"},"sinistre_ref":{"type":"string","title":"Sinistre Ref"},"event_date":{"type":"string","format":"date","title":"Event Date"},"tmin_c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tmin C"},"stade_observe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stade Observe"},"seuil_c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seuil C"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verdict"}},"type":"object","required":["assureur","sinistre_ref","event_date"],"title":"SinistreIn"},"StageDeclarationRequest":{"properties":{"stade":{"type":"string","title":"Stade"}},"type":"object","required":["stade"],"title":"StageDeclarationRequest"},"StationIndex":{"properties":{"station_id":{"type":"string","title":"Station Id"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"},"t_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Min"},"t_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Max"},"t_mean":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Mean"},"n_obs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Obs"},"triggers":{"items":{"$ref":"#/components/schemas/Trigger"},"type":"array","title":"Triggers"}},"type":"object","required":["station_id","city","lat","lon","t_min","t_max","t_mean","n_obs","triggers"],"title":"StationIndex"},"StationRecord":{"properties":{"bucket_id":{"type":"integer","title":"Bucket Id"},"device_id":{"type":"integer","title":"Device Id"},"city":{"type":"string","title":"City"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"altitude_m":{"type":"number","title":"Altitude M"}},"type":"object","required":["bucket_id","device_id","city","latitude","longitude","altitude_m"],"title":"StationRecord"},"StationsResponse":{"properties":{"bbox":{"type":"string","title":"Bbox"},"n_stations":{"type":"integer","title":"N Stations"},"stations":{"items":{"$ref":"#/components/schemas/StationRecord"},"type":"array","title":"Stations"}},"type":"object","required":["bbox","n_stations","stations"],"title":"StationsResponse"},"StatisticsInGeoJSON":{"properties":{"statistics":{"additionalProperties":{"$ref":"#/components/schemas/BandStatistics"},"type":"object","title":"Statistics"}},"additionalProperties":true,"type":"object","required":["statistics"],"title":"StatisticsInGeoJSON","description":"Statistics model in geojson response."},"StudyCreateRequest":{"properties":{"siret":{"type":"string","title":"Siret"},"espece":{"type":"string","title":"Espece"},"parcelle_label":{"type":"string","title":"Parcelle Label"},"periode_start":{"type":"string","format":"date","title":"Periode Start"},"periode_end":{"type":"string","format":"date","title":"Periode End"},"parcel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parcel Id"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"},"sku":{"type":"string","title":"Sku","default":"cert_dep"},"metrics":{"items":{"$ref":"#/components/schemas/MetricIn"},"type":"array","title":"Metrics"},"sinistre":{"anyOf":[{"$ref":"#/components/schemas/SinistreIn"},{"type":"null"}]},"model_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Tier"},"methodology_version":{"type":"string","title":"Methodology Version","default":""},"upstream_manifest_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upstream Manifest Ref"},"workflow_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Run Id"}},"type":"object","required":["siret","espece","parcelle_label","periode_start","periode_end"],"title":"StudyCreateRequest"},"StudyCreateResponse":{"properties":{"study_id":{"type":"string","title":"Study Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["study_id","status"],"title":"StudyCreateResponse"},"StudyDetail":{"properties":{"id":{"type":"string","title":"Id"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret"},"sku":{"type":"string","title":"Sku"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"methodology_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Methodology Version"},"metrics_pod_far_csi":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metrics Pod Far Csi"},"pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Url"},"pdf_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Sha256"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"}},"type":"object","required":["id","siret","sku","status","created_at","completed_at","methodology_version","metrics_pod_far_csi","pdf_url","pdf_sha256","error_message"],"title":"StudyDetail"},"StudySummary":{"properties":{"id":{"type":"string","title":"Id"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret"},"sku":{"type":"string","title":"Sku"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id","siret","sku","status","created_at","completed_at"],"title":"StudySummary"},"Style":{"properties":{"id":{"type":"string","title":"Id","description":"An identifier for this style. Implementation of 'identifier'"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"A title for this style"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Brief narrative description of this style"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","description":"keywords about this style"},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/Link"},"type":"array","minItems":1},{"type":"null"}],"title":"Links","description":"Links to style related resources. Possible link 'rel' values are: 'style' for a URL pointing to the style description, 'styleSpec' for a URL pointing to the specification or standard used to define the style."}},"type":"object","required":["id"],"title":"Style","description":"Style model.\n\nRef: https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/tms/style.yaml\n\nCode generated using https://github.com/koxudaxi/datamodel-code-generator/"},"TileJSON":{"properties":{"tilejson":{"type":"string","title":"Tilejson","default":"3.0.0"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"string","title":"Version","default":"1.0.0"},"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution"},"template":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template"},"legend":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legend"},"scheme":{"type":"string","enum":["xyz","tms"],"title":"Scheme","default":"xyz"},"tiles":{"items":{"type":"string"},"type":"array","title":"Tiles"},"vector_layers":{"anyOf":[{"items":{"$ref":"#/components/schemas/LayerJSON"},"type":"array"},{"type":"null"}],"title":"Vector Layers"},"grids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Grids"},"data":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Data"},"minzoom":{"type":"integer","title":"Minzoom","default":0},"maxzoom":{"type":"integer","title":"Maxzoom","default":30},"fillzoom":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fillzoom"},"bounds":{"items":{"type":"number"},"type":"array","title":"Bounds","default":[-180,-85.0511287798066,180,85.0511287798066]},"center":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"integer"}],"type":"array","maxItems":3,"minItems":3},{"type":"null"}],"title":"Center"}},"additionalProperties":true,"type":"object","required":["tiles"],"title":"TileJSON","description":"TileJSON model.\n\nBased on https://github.com/mapbox/tilejson-spec/tree/master/3.0.0"},"TileMatrixLimits":{"properties":{"tileMatrix":{"type":"string","title":"Tilematrix"},"minTileRow":{"type":"integer","minimum":0.0,"title":"Mintilerow"},"maxTileRow":{"type":"integer","minimum":0.0,"title":"Maxtilerow"},"minTileCol":{"type":"integer","minimum":0.0,"title":"Mintilecol"},"maxTileCol":{"type":"integer","minimum":0.0,"title":"Maxtilecol"}},"type":"object","required":["tileMatrix","minTileRow","maxTileRow","minTileCol","maxTileCol"],"title":"TileMatrixLimits","description":"The limits for an individual tile matrix of a TileSet's TileMatrixSet, as defined in the OGC 2D TileMatrixSet and TileSet Metadata Standard\n\nBased on https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/tms/tileMatrixLimits.yaml"},"TilePoint":{"properties":{"coordinates":{"items":{"type":"number"},"type":"array","maxItems":2,"minItems":2,"title":"Coordinates"},"crs":{"anyOf":[{"$ref":"#/components/schemas/CRS"},{"type":"null"}],"title":"CRS"},"tileMatrix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tilematrix","description":"TileMatrix identifier associated with the scaleDenominator"},"scaleDenominator":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaledenominator","description":"Scale denominator of the tile matrix selected"},"cellSize":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cellsize","description":"Cell size of the tile matrix selected"}},"type":"object","required":["coordinates","crs"],"title":"TilePoint","description":"TilePoint model.\n\nRef: https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/tms/tilePoint.yaml\n\nCode generated using https://github.com/koxudaxi/datamodel-code-generator/"},"TileSet":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"A title for this tileset"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Brief narrative description of this tile set"},"dataType":{"type":"string","enum":["map","vector","coverage"],"title":"Datatype","description":"Type of data represented in the tileset"},"crs":{"$ref":"#/components/schemas/CRS"},"tileMatrixSetURI":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Tilematrixseturi","description":"Reference to a Tile Matrix Set on an official source for Tile Matrix Sets"},"links":{"items":{"$ref":"#/components/schemas/Link"},"type":"array","title":"Links","description":"Links to related resources"},"tileMatrixSetLimits":{"anyOf":[{"items":{"$ref":"#/components/schemas/TileMatrixLimits"},"type":"array"},{"type":"null"}],"title":"Tilematrixsetlimits","description":"Limits for the TileRow and TileCol values for each TileMatrix in the tileMatrixSet. If missing, there are no limits other that the ones imposed by the TileMatrixSet. If present the TileMatrices listed are limited and the rest not available at all"},"epoch":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Epoch","description":"Epoch of the Coordinate Reference System (CRS)"},"layers":{"anyOf":[{"items":{"$ref":"#/components/schemas/GeospatialData"},"type":"array","minItems":1},{"type":"null"}],"title":"Layers"},"boundingBox":{"anyOf":[{"$ref":"#/components/schemas/BoundingBox"},{"type":"null"}]},"centerPoint":{"anyOf":[{"$ref":"#/components/schemas/TilePoint"},{"type":"null"}]},"style":{"anyOf":[{"$ref":"#/components/schemas/Style"},{"type":"null"}]},"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution","description":"Short reference to recognize the author or provider"},"license":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License","description":"License applicable to the tiles"},"accessConstraints":{"anyOf":[{"type":"string","enum":["unclassified","restricted","confidential","secret","topSecret"]},{"type":"null"}],"title":"Accessconstraints","description":"Restrictions on the availability of the Tile Set that the user needs to be aware of before using or redistributing the Tile Set","default":"unclassified"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","description":"keywords about this tileset"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version","description":"Version of the Tile Set. Changes if the data behind the tiles has been changed"},"created":{"anyOf":[{"$ref":"#/components/schemas/TimeStamp"},{"type":"null"}]},"updated":{"anyOf":[{"$ref":"#/components/schemas/TimeStamp"},{"type":"null"}]},"pointOfContact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pointofcontact","description":"Useful information to contact the authors or custodians for the Tile Set"},"mediaTypes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Mediatypes","description":"Media types available for the tiles"}},"type":"object","required":["dataType","crs","links"],"title":"TileSet","description":"TileSet model.\n\nBased on https://github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/tms/tileSet.yaml"},"TileSetList":{"properties":{"tilesets":{"items":{"$ref":"#/components/schemas/TileSet"},"type":"array","title":"Tilesets"}},"type":"object","required":["tilesets"],"title":"TileSetList","description":"TileSetList model.\n\nBased on https://docs.ogc.org/is/20-057/20-057.html#toc34"},"TimeStamp":{"type":"string","format":"date-time","title":"TimeStamp","description":"This property indicates the time and date when the response was generated using RFC 3339 notation.","examples":["2017-08-17T08:05:32Z"]},"TminRecord":{"properties":{"bucket_id":{"type":"integer","title":"Bucket Id"},"device_id":{"type":"integer","title":"Device Id"},"city":{"type":"string","title":"City"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"altitude_m":{"type":"number","title":"Altitude M"},"tmin":{"type":"number","title":"Tmin"},"n_obs":{"type":"integer","title":"N Obs"}},"type":"object","required":["bucket_id","device_id","city","latitude","longitude","altitude_m","tmin","n_obs"],"title":"TminRecord"},"TminResponse":{"properties":{"date":{"type":"string","title":"Date"},"night_utc_start":{"type":"string","title":"Night Utc Start"},"night_utc_end":{"type":"string","title":"Night Utc End"},"bbox":{"type":"string","title":"Bbox"},"n_stations":{"type":"integer","title":"N Stations"},"stations":{"items":{"$ref":"#/components/schemas/TminRecord"},"type":"array","title":"Stations"}},"type":"object","required":["date","night_utc_start","night_utc_end","bbox","n_stations","stations"],"title":"TminResponse"},"TokenRequest":{"properties":{"email":{"type":"string","title":"Email"},"secret":{"type":"string","title":"Secret"},"grant_type":{"type":"string","title":"Grant Type","default":"password"}},"type":"object","required":["email","secret"],"title":"TokenRequest"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"expires_in":{"type":"integer","title":"Expires In"},"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"},"role":{"type":"string","title":"Role"},"allowed_regions":{"items":{"type":"string"},"type":"array","title":"Allowed Regions"}},"type":"object","required":["access_token","expires_in","role","allowed_regions"],"title":"TokenResponse"},"Trigger":{"properties":{"espece":{"type":"string","title":"Espece"},"stade":{"type":"string","title":"Stade"},"baggiolini":{"type":"string","title":"Baggiolini"},"bbch":{"type":"string","title":"Bbch"},"t_crit":{"type":"number","title":"T Crit"},"t_crit_t90":{"type":"number","title":"T Crit T90"},"triggered":{"type":"boolean","title":"Triggered"},"severity_c":{"type":"number","title":"Severity C"},"triggered_t90":{"type":"boolean","title":"Triggered T90"},"severity_t90":{"type":"number","title":"Severity T90"},"payout_fraction":{"type":"number","title":"Payout Fraction"}},"type":"object","required":["espece","stade","baggiolini","bbch","t_crit","t_crit_t90","triggered","severity_c","triggered_t90","severity_t90","payout_fraction"],"title":"Trigger","description":"Déclenchement paramétrique pour une espèce × stade phénologique.\n\nAttributes\n----------\nespece : str\n    Espèce fruitière (abricotier, cerisier, nectarinier, pommier).\nstade : str\n    Stade phénologique (floraison, bouton_rose, etc.).\nbaggiolini : str\n    Code Baggiolini du stade (ex : 'E-F').\nbbch : str\n    Code BBCH du stade (ex : '60-65').\nt_crit : float\n    Seuil T10 (°C) — activation produit (10% des organes floraux détruits).\n    Source : FAO/Proebsting & Mills (2005).\nt_crit_t90 : float\n    Seuil T90 (°C) — dommages majeurs (90% des organes floraux détruits).\n    Source : FAO/Proebsting & Mills (2005).\ntriggered : bool\n    True si Tmin < T10 — le produit est déclenché.\nseverity_c : float\n    Sévérité T10 = max(0, T10 − Tmin) en °C.\ntriggered_t90 : bool\n    True si Tmin < T90 — dommages majeurs constatés.\nseverity_t90 : float\n    Sévérité T90 = max(0, T90 − Tmin) en °C.\npayout_fraction : float\n    Fraction de paiement [0, 1] interpolée linéairement entre T10 et T90.\n    payout = min(1, severity_t10 / |T10 − T90|)"},"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"},"geojson_pydantic__geometries__Point":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"Point","title":"Type"},"coordinates":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}],"title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"Point","description":"Point Model"},"titiler__core__models__responses__Point":{"properties":{"coordinates":{"items":{"type":"number"},"type":"array","title":"Coordinates"},"values":{"items":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"array","title":"Values"},"band_names":{"items":{"type":"string"},"type":"array","title":"Band Names"},"band_descriptions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Band Descriptions"}},"type":"object","required":["coordinates","values","band_names"],"title":"Point","description":"Point model.\n\nresponse model for `/point` endpoints"}},"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"/api/v1/auth/token"}}}}},"tags":[{"name":"sencrop","description":"Endpoints de lecture du réseau Sencrop physique (49 stations Drôme + nord Vaucluse). Catalogue (`/stations`), Tmin nocturne (`/tmin`), Tmin saison gel par stade BBCH (`/annual`). Source : bulk Sencrop S3 (`temperature_source=='station'`).","externalDocs":{"description":"Documentation interne Karpos","url":"https://karpos.pro/"}},{"name":"indices","description":"Indices de gel paramétriques par espèce × stade phénologique. Seuils T10 / T90 (FAO/Proebsting & Mills 2005). Backend Netatmo (legacy V1, dérive vers Sencrop)."},{"name":"system","description":"Health, racine, docs."}]}