{"openapi":"3.1.0","info":{"title":"FastFuels API","summary":"3D fuels for next-generation fire behavior models.","description":"\nA JSON API for generating high-resolution 3D fuel inputs for physics-based\nwildfire simulation models such as **QUIC-Fire**, **FIRETEC**, and **FDS**.\n\n> **Release candidate.** v2 is a ground-up redesign of the FastFuels API.\n> Endpoints, request/response schemas, and resource semantics may still change\n> before the 2.0.0 release.\n\n## What's here\n\n- **Domains** — geographic areas of interest that anchor all other resources.\n- **Features** — vector layers (roads, water, etc.) attached to a domain.\n- **Inventories** — tree / fuel inventories sampled within a domain.\n- **Grids** — rasterized surface, canopy, and topography fields aligned to a\n  domain's grid.\n- **Exports** — packaged outputs (Zarr, NetCDF, QUIC-Fire inputs, …) generated\n  from a domain's inventories and grids.\n\n## Design\n\nRead the design philosophy and resource guides in the\n[FastFuels-API-v2 repository](https://github.com/silvxlabs/FastFuels-API-v2)\nbefore integrating — v2 favors explicit, reproducible primitives over the\nconvenience helpers that shipped in v1.\n\n## Input requirements\n\nA request that names input resources publishes what each input must hold, as\na list under `x-input-requirements` on the request schema, or on a nested\nschema for fields relative to it. Each entry names a `field` (a dotted path\nfor a nested field) and the requirements its input must meet. A field can have\nseveral entries; the input must meet all of them.\n\n| Key | Meaning |\n|---|---|\n| `field` | The request field the entry applies to, e.g. `source_grid_id` or `crown_geometry_source.feature_id`. `*` stands for every item of a list, e.g. `inputs.*.grid_id`. |\n| `resource` | `grid`, `inventory`, `feature`, `point_cloud`, `application`, or `band` (a band key of another input grid). |\n| `bands` | Band keys the grid must have. |\n| `dims` | `2` (y, x) or `3` (z, y, x). |\n| `source` | The `source.name` the grid must come from, e.g. `pim`. |\n| `same_lattice_as` | Another grid field whose horizontal lattice (CRS, y/x shape, transform) this grid must share. A 3D grid may share a 2D grid's lattice. A `*` field naming itself means every item's grid shares one lattice. |\n| `of`, `quantity` | For `band`: a band of grid field `of` whose key has quantity `quantity`. |\n| `columns` | Columns the inventory must have, with a value in every row (`columns[].summary.null_count == 0`). |\n| `type` | The feature's or point cloud's `type`, e.g. `crown` or `als`. |\n| `derived_from` | Another field naming the resource this input was created from: the input's `source.<derived_from>` must equal that field's value. |\n| `when` | Applies only when the request has these values: `{\"<dotted path>\": <value>}`. |\n\nBand keys are `<quantity>` or `<quantity>.<label>`; `x-band-quantities` on the\n`Band` schema lists the quantities.\n\nEvery grid, inventory, feature and point cloud input must also be completed and\nin the same domain; an application must be yours. A request can still fail\nother checks, which the operation's description lists.\n\n## Band metadata\n\nEvery band-key enum (e.g. `UniformBand`, `Fbfm40LookupBand`) publishes a label\nfor each of its values under `x-enum-metadata`:\n`{\"<value>\": {\"name\", \"description\", \"unit\", \"type\"}}`. `unit` is left out for\nbands without one. These are the same values the API writes to the resulting\ngrid's `bands[]`.\n\nThe `Band` schema publishes the band quantities under `x-band-quantities`:\n`{\"<quantity>\": {\"type\", \"unit\"}}`. Any band key `<quantity>.<label>` has its\nquantity's type and unit, so a client can label keys that no enum lists, such\nas uploaded bands.\n\n## Feedback\n\nFound a bug or have a request? Open an issue on\n[GitHub](https://github.com/silvxlabs/FastFuels-API-v2/issues).\n","license":{"name":"MIT","url":"https://github.com/silvxlabs/FastFuels-API-v2/blob/main/LICENSE"},"version":"2.0.0-rc.1"},"paths":{"/v2":{"get":{"tags":["Index"],"summary":"Welcome / service metadata","description":"Returns service metadata, documentation links, and the current deployment status. Useful as a liveness check and as a starting point for discovering the API.","operationId":"index","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v2/domains":{"post":{"tags":["Domains"],"summary":"Create a new domain","description":"# Create Domain Endpoint\n\nThis endpoint creates a new domain resource based on a spatial extent and\nadditional details provided by the user. The domain resource acts as the\nspatial container for all other resources that create data within the system.\n\n## What is a Domain Resource?\n\nA domain resource is a spatial container that represents a specific geographical\narea. It includes metadata such as the name, description, creation date, and the\nspatial extent defined by geographic coordinates. Domains are used to organize\nand manage spatial data and operations within a defined area.\n\n## Request Body\n\nThe request body must be a GeoJSON FeatureCollection as defined by the\n[GeoJSON specification (RFC 7946)](https://datatracker.ietf.org/doc/html/rfc7946).\n\n### Required Fields\n\n- **type**: (string) Must be \"FeatureCollection\".\n- **features**: (array) An array of Feature objects. Each Feature must have:\n  - **type**: (string) Must be \"Feature\".\n  - **geometry**: (GeoJSON Geometry) A geometry object (typically Polygon).\n    - **type**: (string) Must be a valid GeoJSON type, e.g., \"Polygon\".\n    - **coordinates**: (array) An array of coordinates defining the geometry.\n\n### Optional Fields\n\n- **name**: (string) The name of the domain. Default: empty string.\n- **description**: (string) A brief description of the domain. Default: empty string.\n- **tags**: (array of strings) Tags for organizing and filtering domains.\n- **crs**: (object) The coordinate reference system. Default: EPSG:4326 (WGS84).\n  - **type**: (string) Must be \"name\".\n  - **properties**: (object) Contains the CRS details.\n    - **name**: (string) The CRS identifier, e.g., \"EPSG:4326\", \"EPSG:5070\",\n      or URN format \"urn:ogc:def:crs:EPSG::32611\".\n- **pad_to_resolution**: (number) Optional resolution in meters to snap the\n  domain bounding box to. When set, the bounding box (the \"domain\" feature)\n  is snapped outward to the nearest multiple of this value. Grids whose\n  resolutions divide evenly into this value will produce identical, aligned\n  footprints on this domain. Useful for compositional workflows where\n  multiple grids at different resolutions need to share an extent.\n- **style**: (object) Optional visual style for rendering the domain on a\n  map. Sub-fields: `stroke_color`, `stroke_opacity` (0-1), `stroke_width`\n  (>= 0), `fill_color`, `fill_opacity` (0-1). Color strings accept any\n  format the renderer understands (hex, named, `rgb()`, ...) and are\n  capped at 64 characters.\n\n## Response\n\nOn successful creation, returns the domain resource with:\n\n- **id**: (string) A unique 32-character hex identifier for the domain.\n- **type**: (string) Always \"FeatureCollection\".\n- **name**: (string) The name of the domain.\n- **description**: (string) The description of the domain.\n- **created_on**: (datetime) When the domain was created.\n- **modified_on**: (datetime) When the domain was last modified.\n- **tags**: (array) The tags associated with the domain.\n- **crs**: (object) The coordinate reference system (always projected).\n- **features**: (array) A single feature named `\"domain\"` — a polygon\n  covering the working extent (bounding box of the input, possibly\n  padded). This is what griddle, standgen, and exporter use as the\n  authoritative spatial extent.\n- **bbox**: (array) Standard GeoJSON bbox `[minx, miny, maxx, maxy]` in the\n  domain's projected CRS. Equals the bounds of the \"domain\" feature.\n- **pad_to_resolution**: (number, optional) The padding value, if set.\n\n## CRS Handling\n\nThe API handles coordinate reference systems as follows:\n\n1. **Geographic CRS (e.g., EPSG:4326)**: Automatically projected to the\n   appropriate UTM zone based on the geometry's centroid. The response CRS\n   will be the UTM zone (e.g., EPSG:32611 for UTM Zone 11N).\n\n2. **Projected CRS (e.g., EPSG:5070, EPSG:32611)**: Used as-is without\n   reprojection. The response CRS will match the input CRS.\n\n## Validation\n\nThe following validations are performed:\n\n1. **CRS Validation**: Must be a valid EPSG code or URN format.\n2. **Area Validation**: Geometry must have non-zero area (no points or lines).\n3. **Location**: Geometry must be entirely within CONUS (Continental US).\n   Validated against the original input polygon (not the padded bbox).\n4. **Size Limit**: The working extent (possibly padded bbox) must be less\n   than 16 square kilometers.\n\n## Important Notes\n\n1. **FeatureCollection Only**: Unlike v1, this endpoint only accepts\n   FeatureCollection input, not individual Feature objects. Wrap single\n   features in a FeatureCollection.\n\n2. **Working-Extent Output**: The created domain stores a single \"domain\"\n   feature — the bounding box of the input geometry, which is the working\n   extent used by all downstream services. The submitted geometry itself\n   is not stored.\n\n3. **Projection**: Geographic coordinates are always projected to a suitable\n   UTM zone for accurate area calculations and grid operations.\n\n4. **Maximum Area**: The 16 sq km limit ensures reasonable processing times.\n   Contact support if you need larger domains.\n\n## Error Responses\n\n- **422 Unprocessable Entity**:\n  - \"Invalid CRS '{crs}'. Must be a valid authority string (e.g., 'EPSG:4326').\"\n  - \"Invalid geometry. The feature must have an area greater than zero.\"\n  - \"Invalid spatial extent. Area must be less than 16 square kilometers.\"\n  - \"Invalid spatial extent. The domain must be entirely within CONUS.\"","operationId":"create_domain","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDomainRequestBody"},"examples":{"wgs84_default":{"value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-114.09545796676623,46.8324794598619],[-114.11217537297199,46.8324794598619],[-114.11217537297199,46.82496749915157],[-114.09545796676623,46.82496749915157],[-114.09545796676623,46.8324794598619]]]}}],"name":"Blue Mountain Recreation Area","description":"Approximately 1 square kilometer in the Blue Mountain Recreation Area near Missoula, Montana."},"summary":"WGS84 FeatureCollection (Default CRS)","description":"Creates a domain from a FeatureCollection in WGS84 coordinates (EPSG:4326). When no CRS is specified, the API assumes WGS84. The geometry is automatically reprojected to an appropriate UTM zone for accurate area calculations."},"wgs84_explicit":{"value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-114.19991252294375,46.7747518267752],[-114.19991252294375,46.77023218168779],[-114.19133479742844,46.77023218168779],[-114.19133479742844,46.7747518267752],[-114.19991252294375,46.7747518267752]]]}}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}},"name":"3DEP Example Area","description":"Small domain behind Blue Mountain, suitable for 3DEP point cloud testing."},"summary":"WGS84 FeatureCollection (Explicit CRS)","description":"Creates a domain from a FeatureCollection with explicitly specified WGS84 CRS. Functionally equivalent to omitting the CRS, but demonstrates the explicit format."},"epsg5070":{"value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-1377797.8087433458,2780720.35945401],[-1379055.2389321132,2780962.840146559],[-1379212.7978295316,2780146.1745799617],[-1377955.2239776908,2779903.6661836714],[-1377797.8087433458,2780720.35945401]]]}}],"crs":{"type":"name","properties":{"name":"EPSG:5070"}},"name":"EPSG:5070 Example","description":"Domain using CONUS Albers Equal Area projection coordinates."},"summary":"EPSG:5070 FeatureCollection (Albers)","description":"Creates a domain from a FeatureCollection in EPSG:5070 (CONUS Albers Equal Area). Since this is already a projected coordinate system, the API uses it directly without reprojection to UTM."},"utm":{"value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[721502.7544906491,5190645.048516054],[720227.9398802927,5190598.00908098],[720258.6480286171,5189763.323999467],[721533.6406826023,5189810.364218195],[721502.7544906491,5190645.048516054]]]}}],"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::32611"}},"name":"UTM Zone 11N Example","description":"Domain using UTM Zone 11N coordinates (Montana/Idaho region)."},"summary":"UTM FeatureCollection (EPSG:32611)","description":"Creates a domain from a FeatureCollection in UTM Zone 11N (EPSG:32611). Demonstrates using URN format for CRS specification. UTM coordinates are already projected, so no reprojection is performed."},"blackfoot":{"value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-113.70402605601585,46.91933213469031],[-113.70402605601585,46.91262776084295],[-113.69531269250463,46.91262776084295],[-113.69531269250463,46.91933213469031],[-113.70402605601585,46.91933213469031]]]}}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}},"name":"Blackfoot River Area","description":"Domain near the Blackfoot River containing 3DEP, road, and water features."},"summary":"Blackfoot River FeatureCollection","description":"Creates a domain near the Blackfoot River in Montana. This area contains diverse feature types including 3DEP point cloud data, roads, and water bodies."},"bondurant":{"value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-110.72191134418632,42.635711976574456],[-110.71581298102096,42.63569701132406],[-110.71579249057953,42.64019978690923],[-110.72189129343488,42.64021475450427],[-110.72191134418632,42.635711976574456]]]}}],"name":"Bondurant, Wyoming","description":"Small domain in western Wyoming with known 3DEP S1M 1-meter coverage."},"summary":"Bondurant, Wyoming (S1M 1m Coverage)","description":"Creates a domain in western Wyoming with known 3DEP Seamless 1-Meter (S1M) coverage. Use this area to test 1m resolution topography grid requests."},"padded":{"value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-114.09545796676623,46.8324794598619],[-114.11217537297199,46.8324794598619],[-114.11217537297199,46.82496749915157],[-114.09545796676623,46.82496749915157],[-114.09545796676623,46.8324794598619]]]}}],"name":"Padded Domain Example","description":"Domain with pad_to_resolution=30 for cross-resolution grid alignment.","pad_to_resolution":30},"summary":"Padded Domain (pad_to_resolution=30)","description":"Creates a domain with pad_to_resolution=30. The domain bounding box is snapped to multiples of 30 meters, so grids at 30m, 10m, 5m, 2m, 1m (any divisor of 30) on this domain will share an aligned extent. Use this pattern when you need to compare or compose grids at multiple resolutions."},"styled":{"value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-114.09545796676623,46.8324794598619],[-114.11217537297199,46.8324794598619],[-114.11217537297199,46.82496749915157],[-114.09545796676623,46.82496749915157],[-114.09545796676623,46.8324794598619]]]}}],"name":"Styled Domain Example","description":"Domain with explicit map render style (auxiliary metadata).","style":{"stroke_color":"#70e2ff","stroke_opacity":1.0,"stroke_width":2,"fill_color":"#70e2ff","fill_opacity":0.4}},"summary":"Styled Domain (custom map render style)","description":"Creates a domain with an explicit `style` block. Sub-fields: `stroke_color`, `stroke_opacity` (0-1), `stroke_width` (>= 0), `fill_color`, `fill_opacity` (0-1). Color strings accept any format the renderer understands (hex, named colors, `rgb()`, ...). The field is optional — omit it to store no style."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Domains"],"summary":"List all domains","description":"# List Domains Endpoint\n\nThis endpoint retrieves a paginated list of all domains belonging to the\nauthenticated user.\n\n## Query Parameters\n\n- **page**: (integer, optional) The page number to retrieve. Zero-indexed,\n  meaning the first page is `0`. Default: 0.\n- **size**: (integer, optional) The number of domains to retrieve per page.\n  Must be between 1 and 1000. Default: 100.\n- **sort_by**: (string, optional) The field to sort results by. Valid values:\n  - `created_on`: Sort by creation date.\n  - `modified_on`: Sort by last modification date.\n  - `name`: Sort alphabetically by name.\n- **sort_order**: (string, optional) The order to sort results. Valid values:\n  - `ascending`: Sort in ascending order (A-Z, oldest first).\n  - `descending`: Sort in descending order (Z-A, newest first).\n  Default: descending when sort_by is specified.\n\n## Response\n\nReturns a paginated list of domains with metadata:\n\n- **domains**: (array) List of domain resources for the current page.\n  Each domain includes:\n  - **id**: (string) The unique identifier for the domain.\n  - **type**: (string) Always \"FeatureCollection\".\n  - **name**: (string) The name of the domain.\n  - **description**: (string) The description of the domain.\n  - **created_on**: (datetime) When the domain was created.\n  - **modified_on**: (datetime) When the domain was last modified.\n  - **tags**: (array) The tags associated with the domain.\n  - **crs**: (object) The coordinate reference system.\n  - **features**: (array) The domain geometry features.\n- **current_page**: (integer) The current page number (zero-indexed).\n- **page_size**: (integer) The number of domains per page.\n- **total_items**: (integer) The total number of domains owned by the user.\n\n## Pagination\n\nUse `page` and `size` parameters to navigate through large result sets:\n\n- First page: `?page=0&size=10`\n- Second page: `?page=1&size=10`\n- Calculate total pages: `ceil(total_items / page_size)`\n\n## Sorting\n\nCombine `sort_by` and `sort_order` for custom ordering:\n\n- Newest first: `?sort_by=created_on&sort_order=descending`\n- Alphabetical: `?sort_by=name&sort_order=ascending`\n- Recently modified: `?sort_by=modified_on&sort_order=descending`\n\n## Example Request\n\n```http\nGET /v2/domains?page=0&size=10&sort_by=created_on&sort_order=descending\n```\n\n## Example Response\n\n```json\n{\n  \"domains\": [\n    {\n      \"id\": \"abc123...\",\n      \"type\": \"FeatureCollection\",\n      \"name\": \"My Domain\",\n      \"description\": \"A test domain\",\n      \"created_on\": \"2024-01-15T10:30:00\",\n      \"modified_on\": \"2024-01-15T10:30:00\",\n      \"tags\": [\"test\"],\n      \"crs\": {\"type\": \"name\", \"properties\": {\"name\": \"EPSG:32611\"}},\n      \"features\": [...]\n    }\n  ],\n  \"current_page\": 0,\n  \"page_size\": 10,\n  \"total_items\": 42\n}\n```\n\n## Error Responses\n\n- **422 Unprocessable Entity**: Invalid query parameters.\n  - Page must be a non-negative integer.\n  - Size must be between 1 and 1000.\n  - Invalid sort_by or sort_order values.","operationId":"list_domains","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"The page number to retrieve (zero-indexed).","default":0,"title":"Page"},"description":"The page number to retrieve (zero-indexed)."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"The number of domains to retrieve per page.","default":100,"title":"Size"},"description":"The number of domains to retrieve per page."},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/DomainSortField"},{"type":"null"}],"description":"The field to sort results by.","title":"Sort By"},"description":"The field to sort results by."},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/DomainSortOrder"},{"type":"null"}],"description":"The order to sort results (ascending or descending).","title":"Sort Order"},"description":"The order to sort results (ascending or descending)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDomainsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/preview":{"post":{"tags":["Domains"],"summary":"Preview a domain without persisting it","description":"# Preview Domain Endpoint\n\nRuns the same validation and projection pipeline as `POST /v2/domains` but\nreturns the resulting `Domain` resource without writing to Firestore. Use\nthis to let users inspect the projected, padded bounding box before committing\nto a create.\n\n## Request Body\n\nIdentical to `POST /v2/domains`. See that endpoint for full documentation.\n\n## Response\n\nReturns the same `Domain` response model as create, with:\n\n- **id**: Always `\"preview\"` — not a real domain identifier.\n- **created_on** / **modified_on**: Set to the current request time (not persisted).\n- **features**: A single `\"domain\"` feature (the working extent),\n  identical to what create would return.\n- **bbox**: Bounding box of the `\"domain\"` feature.\n- **crs**: Projected CRS, identical to what create would return.\n\n## Error Responses\n\nSame 422 error responses as `POST /v2/domains`:\n\n- \"Invalid CRS '{crs}'. Must be a valid authority string (e.g., 'EPSG:4326').\"\n- \"Invalid geometry. The feature must have an area greater than zero.\"\n- \"Invalid spatial extent. Area must be less than 16 square kilometers.\"\n- \"Invalid spatial extent. The domain must be entirely within CONUS.\"","operationId":"preview_domain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDomainRequestBody"},"examples":{"wgs84_default":{"summary":"WGS84 FeatureCollection (Default CRS)","description":"Creates a domain from a FeatureCollection in WGS84 coordinates (EPSG:4326). When no CRS is specified, the API assumes WGS84. The geometry is automatically reprojected to an appropriate UTM zone for accurate area calculations.","value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-114.09545796676623,46.8324794598619],[-114.11217537297199,46.8324794598619],[-114.11217537297199,46.82496749915157],[-114.09545796676623,46.82496749915157],[-114.09545796676623,46.8324794598619]]]}}],"name":"Blue Mountain Recreation Area","description":"Approximately 1 square kilometer in the Blue Mountain Recreation Area near Missoula, Montana."}},"wgs84_explicit":{"summary":"WGS84 FeatureCollection (Explicit CRS)","description":"Creates a domain from a FeatureCollection with explicitly specified WGS84 CRS. Functionally equivalent to omitting the CRS, but demonstrates the explicit format.","value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-114.19991252294375,46.7747518267752],[-114.19991252294375,46.77023218168779],[-114.19133479742844,46.77023218168779],[-114.19133479742844,46.7747518267752],[-114.19991252294375,46.7747518267752]]]}}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}},"name":"3DEP Example Area","description":"Small domain behind Blue Mountain, suitable for 3DEP point cloud testing."}},"epsg5070":{"summary":"EPSG:5070 FeatureCollection (Albers)","description":"Creates a domain from a FeatureCollection in EPSG:5070 (CONUS Albers Equal Area). Since this is already a projected coordinate system, the API uses it directly without reprojection to UTM.","value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-1377797.8087433458,2780720.35945401],[-1379055.2389321132,2780962.840146559],[-1379212.7978295316,2780146.1745799617],[-1377955.2239776908,2779903.6661836714],[-1377797.8087433458,2780720.35945401]]]}}],"crs":{"type":"name","properties":{"name":"EPSG:5070"}},"name":"EPSG:5070 Example","description":"Domain using CONUS Albers Equal Area projection coordinates."}},"utm":{"summary":"UTM FeatureCollection (EPSG:32611)","description":"Creates a domain from a FeatureCollection in UTM Zone 11N (EPSG:32611). Demonstrates using URN format for CRS specification. UTM coordinates are already projected, so no reprojection is performed.","value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[721502.7544906491,5190645.048516054],[720227.9398802927,5190598.00908098],[720258.6480286171,5189763.323999467],[721533.6406826023,5189810.364218195],[721502.7544906491,5190645.048516054]]]}}],"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::32611"}},"name":"UTM Zone 11N Example","description":"Domain using UTM Zone 11N coordinates (Montana/Idaho region)."}},"blackfoot":{"summary":"Blackfoot River FeatureCollection","description":"Creates a domain near the Blackfoot River in Montana. This area contains diverse feature types including 3DEP point cloud data, roads, and water bodies.","value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-113.70402605601585,46.91933213469031],[-113.70402605601585,46.91262776084295],[-113.69531269250463,46.91262776084295],[-113.69531269250463,46.91933213469031],[-113.70402605601585,46.91933213469031]]]}}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}},"name":"Blackfoot River Area","description":"Domain near the Blackfoot River containing 3DEP, road, and water features."}},"bondurant":{"summary":"Bondurant, Wyoming (S1M 1m Coverage)","description":"Creates a domain in western Wyoming with known 3DEP Seamless 1-Meter (S1M) coverage. Use this area to test 1m resolution topography grid requests.","value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-110.72191134418632,42.635711976574456],[-110.71581298102096,42.63569701132406],[-110.71579249057953,42.64019978690923],[-110.72189129343488,42.64021475450427],[-110.72191134418632,42.635711976574456]]]}}],"name":"Bondurant, Wyoming","description":"Small domain in western Wyoming with known 3DEP S1M 1-meter coverage."}},"padded":{"summary":"Padded Domain (pad_to_resolution=30)","description":"Creates a domain with pad_to_resolution=30. The domain bounding box is snapped to multiples of 30 meters, so grids at 30m, 10m, 5m, 2m, 1m (any divisor of 30) on this domain will share an aligned extent. Use this pattern when you need to compare or compose grids at multiple resolutions.","value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-114.09545796676623,46.8324794598619],[-114.11217537297199,46.8324794598619],[-114.11217537297199,46.82496749915157],[-114.09545796676623,46.82496749915157],[-114.09545796676623,46.8324794598619]]]}}],"name":"Padded Domain Example","description":"Domain with pad_to_resolution=30 for cross-resolution grid alignment.","pad_to_resolution":30}},"styled":{"summary":"Styled Domain (custom map render style)","description":"Creates a domain with an explicit `style` block. Sub-fields: `stroke_color`, `stroke_opacity` (0-1), `stroke_width` (>= 0), `fill_color`, `fill_opacity` (0-1). Color strings accept any format the renderer understands (hex, named colors, `rgb()`, ...). The field is optional — omit it to store no style.","value":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-114.09545796676623,46.8324794598619],[-114.11217537297199,46.8324794598619],[-114.11217537297199,46.82496749915157],[-114.09545796676623,46.82496749915157],[-114.09545796676623,46.8324794598619]]]}}],"name":"Styled Domain Example","description":"Domain with explicit map render style (auxiliary metadata).","style":{"stroke_color":"#70e2ff","stroke_opacity":1.0,"stroke_width":2,"fill_color":"#70e2ff","fill_opacity":0.4}}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v2/domains/reproject":{"post":{"tags":["Domains"],"summary":"Reproject a FeatureCollection to a target CRS","description":"# Reproject Domain Endpoint\n\nStateless utility that reprojects a GeoJSON `FeatureCollection` from one\ncoordinate reference system to another. No resource is created; the\nreprojected `FeatureCollection` is returned immediately.\n\n## Query Parameters\n\n- **target_epsg**: (integer, required) EPSG code of the target CRS\n  (e.g., `4326` for WGS84, `32611` for UTM zone 11N).\n\n## Request Body\n\nA GeoJSON `FeatureCollection`. The source CRS is read from the\n`crs.properties.name` field if present; otherwise EPSG:4326 is assumed.\n\n## Response\n\nReturns the reprojected `FeatureCollection` with:\n\n- **features**: All input features reprojected to the target CRS, with\n  original feature properties preserved.\n- **crs**: Set to the target EPSG code.\n\n## Error Responses\n\n- **422**: Invalid source CRS, invalid target EPSG, or geometry that\n  cannot be reprojected.","operationId":"reproject_domain","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"target_epsg","in":"query","required":true,"schema":{"type":"integer","description":"EPSG code of the target CRS.","title":"Target Epsg"},"description":"EPSG code of the target CRS."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDomainRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDomainRequestBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}":{"get":{"tags":["Domains"],"summary":"Get a domain by ID","description":"# Get Domain Endpoint\n\nThis endpoint retrieves a specific domain resource by its unique identifier.\n\n## Path Parameters\n\n- **domain_id**: (string) The unique 32-character hex identifier of the domain.\n\n## Response\n\nOn success, returns the domain resource with:\n\n- **id**: (string) The unique identifier for the domain.\n- **type**: (string) Always \"FeatureCollection\".\n- **name**: (string) The name of the domain.\n- **description**: (string) The description of the domain.\n- **created_on**: (datetime) When the domain was created.\n- **modified_on**: (datetime) When the domain was last modified.\n- **tags**: (array) The tags associated with the domain.\n- **crs**: (object) The coordinate reference system (always projected).\n- **features**: (array) The domain geometry features.\n\n## Error Responses\n\n- **404 Not Found**: The domain does not exist or the user does not have access.\n  - Returns 404 for both missing documents and ownership mismatches to avoid\n    leaking information about document existence.","operationId":"get_domain","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Domains"],"summary":"Update a domain","description":"# Update Domain Endpoint\n\nThis endpoint updates the metadata of an existing domain resource. Only the\nfields provided in the request body will be modified; other fields remain\nunchanged.\n\n## Path Parameters\n\n- **domain_id**: (string) The unique 32-character hex identifier of the domain.\n\n## Request Body\n\nAll fields are optional. Only provided fields will be updated.\n\n- **name**: (string, optional) The new name for the domain.\n- **description**: (string, optional) The new description for the domain.\n- **tags**: (array of strings, optional) The new tags for the domain.\n  This replaces the existing tags array entirely.\n\n## What Cannot Be Updated\n\nThe following fields are immutable after domain creation:\n\n- **id**: The domain identifier is permanent.\n- **features**: Geometry cannot be modified. Create a new domain instead.\n- **crs**: Coordinate reference system is tied to the geometry.\n- **created_on**: Creation timestamp is permanent.\n\nThe **modified_on** field is automatically updated to the current time.\n\n## Response\n\nOn success, returns the updated domain resource with all fields,\nincluding the new `modified_on` timestamp.\n\n## Example Request\n\n```http\nPATCH /v2/domains/abc123def456...\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Domain Name\",\n  \"tags\": [\"production\", \"verified\"]\n}\n```\n\n## Error Responses\n\n- **404 Not Found**: The domain does not exist or the user does not have access.\n- **422 Unprocessable Entity**: Invalid request body.","operationId":"update_domain","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDomainRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Domains"],"summary":"Delete a domain","description":"# Delete Domain Endpoint\n\nThis endpoint permanently deletes a domain resource by its unique identifier.\nThis action cannot be undone.\n\n## Path Parameters\n\n- **domain_id**: (string) The unique 32-character hex identifier of the domain.\n\n## Query Parameters\n\n- **force**: (boolean, optional) If true, cascade-deletes all child resources\n  (grids, etc.) before deleting the domain. Default: false.\n\n## Response\n\nOn success, returns HTTP 204 No Content with an empty response body.\n\n## Cascade Behavior (AIP-135)\n\n- **Without `force`**: If the domain has child grids, returns 412 Precondition\n  Failed. Delete child resources first, or use `force=true`.\n- **With `force=true`**: Deletes the domain and all child grids in a single\n  operation.\n\n## Error Responses\n\n- **404 Not Found**: The domain does not exist or the user does not have access.\n- **412 Precondition Failed**: The domain has child resources and `force` was\n  not set to true.","operationId":"delete_domain","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","description":"Force cascade delete of all child resources (grids, etc.). Without this, returns 412 if child resources exist.","default":false,"title":"Force"},"description":"Force cascade delete of all child resources (grids, etc.). Without this, returns 412 if child resources exist."}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/lattice":{"get":{"tags":["Domains"],"summary":"Get the pixel lattice for a domain at a given resolution","description":"# Get Domain Lattice Endpoint\n\nReturns the pixel lattice (transform + shape) for the domain at the\nrequested resolution. Use this to align a GeoTIFF before uploading it\nvia `POST /domains/{domain_id}/grids/upload`.\n\n## Query Parameters\n\n- **resolution** (required): Pixel size in meters.\n- **num_buffer_cells** (optional, default 0): Expand the lattice by\n  `N * resolution` meters on each side.\n\n## Response\n\n- **crs**: The domain CRS (always projected).\n- **resolution**: Echoes the input.\n- **num_buffer_cells**: Echoes the input.\n- **transform**: Affine coefficients `[a, b, c, d, e, f]` (rasterio\n  convention).\n- **shape**: `[height, width]` in pixels.\n\n## Error Responses\n\n- **404 Not Found**: The domain does not exist or the user does not\n  have access.\n- **422 Unprocessable Entity**: `resolution` is missing or\n  non-positive, or `num_buffer_cells` is negative.","operationId":"get_domain_lattice","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"resolution","in":"query","required":true,"schema":{"type":"number","exclusiveMinimum":0,"description":"Pixel size in meters (domain CRS units, always projected).","title":"Resolution"},"description":"Pixel size in meters (domain CRS units, always projected)."},{"name":"num_buffer_cells","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Expand the lattice by N cells on each side. Mirrors the buffer semantics of POST /domains/{domain_id}/grids/upload and the LANDFIRE/3DEP grid creation endpoints.","default":0,"title":"Num Buffer Cells"},"description":"Expand the lattice by N cells on each side. Mirrors the buffer semantics of POST /domains/{domain_id}/grids/upload and the LANDFIRE/3DEP grid creation endpoints."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainLattice"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/exports":{"get":{"tags":["Exports"],"summary":"List all exports","description":"# List Exports Endpoint\n\nRetrieves a paginated list of all exports belonging to the authenticated user.\n\n## Query Parameters\n\n- **page**: (integer, optional) Page number (zero-indexed). Default: 0.\n- **size**: (integer, optional) Items per page (1-1000). Default: 100.\n- **sort_by**: (string, optional) Field to sort by: `created_on`, `modified_on`, `name`.\n- **sort_order**: (string, optional) Sort direction: `ascending`, `descending`.\n- **domain_id**: (string, optional) Filter by source domain.\n- **source_name**: (string, optional) Filter by export format (e.g., `geotiff`).\n- **tag**: (string, optional) Filter exports that contain this tag.\n\n## Response\n\nReturns a paginated list of exports with metadata.","operationId":"list_exports","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"The page number to retrieve (zero-indexed).","default":0,"title":"Page"},"description":"The page number to retrieve (zero-indexed)."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"The number of exports to retrieve per page.","default":100,"title":"Size"},"description":"The number of exports to retrieve per page."},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ExportSortField"},{"type":"null"}],"description":"The field to sort results by.","title":"Sort By"},"description":"The field to sort results by."},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortOrder"},{"type":"null"}],"description":"The order to sort results (ascending or descending).","title":"Sort Order"},"description":"The order to sort results (ascending or descending)."},{"name":"domain_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter exports by domain ID.","title":"Domain Id"},"description":"Filter exports by domain ID."},{"name":"source_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter exports by source format (e.g., 'geotiff').","title":"Source Name"},"description":"Filter exports by source format (e.g., 'geotiff')."},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter exports that contain this tag.","title":"Tag"},"description":"Filter exports that contain this tag."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListExportsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/exports/{export_id}":{"get":{"tags":["Exports"],"summary":"Get an export by ID","description":"# Get Export Endpoint\n\nRetrieves a specific export resource by its unique identifier.\nWhen the export is completed, the response includes a signed_url.\n\n## Path Parameters\n\n- **export_id**: (string) The unique identifier of the export.\n\n## Response\n\nReturns the export resource.\n\n## Error Responses\n\n- **404 Not Found**: The export does not exist or the user does not have access.","operationId":"get_export","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Export"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Exports"],"summary":"Update an export","description":"# Update Export Endpoint\n\nUpdates the metadata of an existing export resource. Only the fields provided\nin the request body will be modified.\n\n## Path Parameters\n\n- **export_id**: (string) The unique identifier of the export.\n\n## Request Body\n\nAll fields are optional:\n\n- **name**: (string) New name for the export.\n- **description**: (string) New description.\n- **tags**: (array of strings) New tags (replaces existing).\n\n## Response\n\nReturns the updated export resource.","operationId":"update_export","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateExportRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Export"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Exports"],"summary":"Delete an export","description":"# Delete Export Endpoint\n\nPermanently deletes an export resource by its unique identifier.\nThis action cannot be undone.\n\n## Path Parameters\n\n- **export_id**: (string) The unique identifier of the export.\n\n## Response\n\nReturns HTTP 204 No Content with an empty response body.\n\n## Error Responses\n\n- **404 Not Found**: The export does not exist or the user does not have access.","operationId":"delete_export","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/-/grids":{"get":{"tags":["Grids"],"summary":"List grids across all domains","description":"# List Grids Across All Domains Endpoint\n\nRetrieves a paginated list of all grids across all domains belonging to the\nauthenticated user.\n\n## Query Parameters\n\n- **page**: (integer, optional) Page number (zero-indexed). Default: 0.\n- **size**: (integer, optional) Items per page (1-1000). Default: 100.\n- **sort_by**: (string, optional) Field to sort by: `created_on`, `modified_on`, `name`.\n- **sort_order**: (string, optional) Sort direction: `ascending`, `descending`.\n- **source**: (string, optional) Filter grids by source name (e.g., `landfire`, `3dep`).\n- **product**: (string, optional) Filter grids by source product (e.g., `fbfm40`, `topography`).\n- **tag**: (string, optional) Filter grids that contain this tag.\n\n## Response\n\nReturns a paginated list of grids with metadata.","operationId":"list_grids_cross_domain","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"The page number to retrieve (zero-indexed).","default":0,"title":"Page"},"description":"The page number to retrieve (zero-indexed)."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"The number of grids to retrieve per page.","default":100,"title":"Size"},"description":"The number of grids to retrieve per page."},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/GridSortField"},{"type":"null"}],"description":"The field to sort results by.","title":"Sort By"},"description":"The field to sort results by."},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortOrder"},{"type":"null"}],"description":"The order to sort results (ascending or descending).","title":"Sort Order"},"description":"The order to sort results (ascending or descending)."},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter grids by source name (e.g., 'landfire', '3dep').","title":"Source"},"description":"Filter grids by source name (e.g., 'landfire', '3dep')."},{"name":"product","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter grids by source product (e.g., 'fbfm40', 'topography'). Requires source filter.","title":"Product"},"description":"Filter grids by source product (e.g., 'fbfm40', 'topography'). Requires source filter."},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter grids that contain this tag.","title":"Tag"},"description":"Filter grids that contain this tag."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListGridsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids":{"get":{"tags":["Grids"],"summary":"List all grids","description":"# List Grids Endpoint\n\nRetrieves a paginated list of all grids within a domain belonging to the\nauthenticated user.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain to list grids for.\n\n## Query Parameters\n\n- **page**: (integer, optional) Page number (zero-indexed). Default: 0.\n- **size**: (integer, optional) Items per page (1-1000). Default: 100.\n- **sort_by**: (string, optional) Field to sort by: `created_on`, `modified_on`, `name`.\n- **sort_order**: (string, optional) Sort direction: `ascending`, `descending`.\n- **source**: (string, optional) Filter grids by source name (e.g., `landfire`, `3dep`).\n- **product**: (string, optional) Filter grids by source product (e.g., `fbfm40`, `topography`).\n- **tag**: (string, optional) Filter grids that contain this tag.\n\n## Response\n\nReturns a paginated list of grids with metadata.","operationId":"list_grids","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"The page number to retrieve (zero-indexed).","default":0,"title":"Page"},"description":"The page number to retrieve (zero-indexed)."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"The number of grids to retrieve per page.","default":100,"title":"Size"},"description":"The number of grids to retrieve per page."},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/GridSortField"},{"type":"null"}],"description":"The field to sort results by.","title":"Sort By"},"description":"The field to sort results by."},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortOrder"},{"type":"null"}],"description":"The order to sort results (ascending or descending).","title":"Sort Order"},"description":"The order to sort results (ascending or descending)."},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter grids by source name (e.g., 'landfire', '3dep').","title":"Source"},"description":"Filter grids by source name (e.g., 'landfire', '3dep')."},{"name":"product","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter grids by source product (e.g., 'fbfm40', 'topography'). Requires source filter.","title":"Product"},"description":"Filter grids by source product (e.g., 'fbfm40', 'topography'). Requires source filter."},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter grids that contain this tag.","title":"Tag"},"description":"Filter grids that contain this tag."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListGridsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/{grid_id}":{"get":{"tags":["Grids"],"summary":"Get a grid by ID","description":"# Get Grid Endpoint\n\nRetrieves a specific grid resource by its unique identifier.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain the grid belongs to.\n- **grid_id**: (string) The unique 32-character hex identifier of the grid.\n\n## Response\n\nReturns the grid resource.\n\n## Error Responses\n\n- **404 Not Found**: The grid does not exist or the user does not have access.","operationId":"get_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"grid_id","in":"path","required":true,"schema":{"type":"string","title":"Grid Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Grids"],"summary":"Update a grid","description":"# Update Grid Endpoint\n\nUpdates the metadata of an existing grid resource. Only the fields provided\nin the request body will be modified.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain the grid belongs to.\n- **grid_id**: (string) The unique identifier of the grid.\n\n## Request Body\n\nAll fields are optional:\n\n- **name**: (string) New name for the grid.\n- **description**: (string) New description.\n- **tags**: (array of strings) New tags (replaces existing).\n\n## What Cannot Be Updated\n\nThe following fields are immutable:\n\n- **id**, **domain_id**, **source**, **modifications**, **bands**, **georeference**\n- **created_on** (creation timestamp is permanent)\n- **checksum** (changes only when the grid's content is rebuilt, never via\n  metadata updates)\n\nThe **modified_on** field is automatically updated.\n\n## Response\n\nReturns the updated grid resource.","operationId":"update_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"grid_id","in":"path","required":true,"schema":{"type":"string","title":"Grid Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGridRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Grids"],"summary":"Delete a grid","description":"# Delete Grid Endpoint\n\nPermanently deletes a grid resource by its unique identifier.\nThis action cannot be undone.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain the grid belongs to.\n- **grid_id**: (string) The unique identifier of the grid.\n\n## Response\n\nReturns HTTP 204 No Content with an empty response body.\n\n## Error Responses\n\n- **404 Not Found**: The grid does not exist or the user does not have access.","operationId":"delete_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"grid_id","in":"path","required":true,"schema":{"type":"string","title":"Grid Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/{grid_id}/chunks/{chunk_index}":{"get":{"tags":["Grids"],"summary":"Get chunk metadata","description":"# Get Chunk Metadata Endpoint\n\nRetrieves the shape, pixel offset, and affine transform for a single 2D or\n3D chunk of a completed grid. This is a lightweight call — no raster data\nis read.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain the grid belongs to.\n- **grid_id**: (string) The unique identifier of the grid.\n- **chunk_index**: (integer) Zero-based flat chunk index. 2D grids use\n  y,x order. 3D grids use z,y,x order.\n\n## Response\n\nReturns chunk metadata:\n\n- **index**: The chunk index.\n- **shape**: 2D `(height, width)` or 3D `(z, height, width)`. Edge chunks\n  may be smaller than the grid's chunk shape.\n- **offset**: 2D `(row, column)` or 3D `(z, row, column)` pixel offset of\n  the chunk within the full grid.\n- **transform**: Six-element affine transform for the chunk's spatial extent.\n- **z_origin**, **z_resolution**: Present only for 3D grids.\n\n## Error Responses\n\n- **404 Not Found**: The grid does not exist, is not completed, or the user\n  does not have access.\n- **422 Unprocessable Entity**: The chunk index is out of range.","operationId":"get_chunk_metadata","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"grid_id","in":"path","required":true,"schema":{"type":"string","title":"Grid Id"}},{"name":"chunk_index","in":"path","required":true,"schema":{"type":"integer","title":"Chunk Index"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GridDataChunkMetadata"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/{grid_id}/data/{band}/{chunk_index}":{"get":{"tags":["Grids"],"summary":"Get band data for a chunk (JSON)","description":"# Get Grid Data (JSON)\n\nReturns the values of a single band within a single chunk of a completed\ngrid as a JSON payload — either dense values or a sparse representation,\nselected via `array_format`.\n\nFor raw bytes (smaller, faster to parse), use the `/binary` variant of\nthis endpoint.\n\n## Path Parameters\n\n- **domain_id**: The domain the grid belongs to.\n- **grid_id**: The grid identifier.\n- **band**: Band key to read (must be present in the grid's `bands`).\n- **chunk_index**: Zero-based flat chunk index. 2D grids index in (y, x);\n  3D grids index in (z, y, x). The chunk's shape, offset, and affine\n  transform are returned alongside the data — no separate metadata call\n  is required. (`GET …/chunks/{chunk_index}` is still available for\n  clients that want to lay out chunks before fetching data.)\n\n## Query Parameters\n\n- **array_format**: `dense` (default) or `sparse`. Sparse compresses out\n  cells equal to the band's fill value, returning only the non-fill\n  entries.\n- **order**: Flattening order — `C` (row-major, default) or `F`\n  (column-major).\n\n## Response\n\nBoth variants share `shape` (chunk dimensions), `order` (flattening\norder used for the values), and `metadata` (the chunk's index, shape,\noffset, and affine transform — and `z_origin`/`z_resolution` for 3D\ngrids). The CRS does not vary per chunk; read it from the grid's\n`georeference.crs`.\n\n**Dense** (`array_format=dense`): `data.format = \"dense\"`, `data.values`\nis a flat list of all cells.\n\n**Sparse** (`array_format=sparse`): `data.format = \"sparse\"`,\n`data.indices` are flat positions of non-fill cells, `data.values` are\ntheir values. `data.fill_value` is the band's fill value, or `null` if\nthe band's missing cells are nodata (see below) or it defines no fill at\nall — in the latter case every cell is listed and no compression has been\napplied.\n\n## Missing Cells\n\nA cell with no data reads back as `null`. Float bands store missing cells\nas NaN, which JSON cannot represent — a canopy height model, for instance,\nis NaN wherever no lidar return landed. Bands that mark missing cells with\na sentinel value instead (the band's `nodata`) return that value as-is.\n\nA sparse read of such a band compresses the missing cells out: they are\nabsent from `indices`, and `fill_value` is `null`. Reconstruct the chunk\nby filling every position not named in `indices` with `null`.\n\nThe `/binary` variant is unaffected — it returns the raw NaN bit patterns.\n\n## Errors\n\n- **404**: Grid not found, not completed, or not accessible.\n- **422**: Band does not exist on this grid, or chunk index out of range.\n- **413**: Response would exceed the size limit. Try `array_format=sparse`,\n  the `/binary` variant, or a smaller chunk.","operationId":"get_grid_data_json","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"grid_id","in":"path","required":true,"schema":{"type":"string","title":"Grid Id"}},{"name":"chunk_index","in":"path","required":true,"schema":{"type":"integer","title":"Chunk Index"}},{"name":"band","in":"path","required":true,"schema":{"type":"string","title":"Band"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"array_format","in":"query","required":false,"schema":{"$ref":"#/components/schemas/GridDataArrayFormat","description":"Array format: dense values or sparse COO flat indices.","default":"dense"},"description":"Array format: dense values or sparse COO flat indices."},{"name":"order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/GridDataOrder","description":"Array memory order for flattening.","default":"C"},"description":"Array memory order for flattening."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GridDataResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/{grid_id}/data/{band}/{chunk_index}/binary":{"get":{"tags":["Grids"],"summary":"Get band data for a chunk (binary)","description":"# Get Grid Data (binary)\n\nReturns the values of a single band within a single chunk of a completed\ngrid as raw bytes, with shape and type metadata in `X-Data-*` response\nheaders. Use this when you need the most compact wire format and intend\nto deserialize into a typed array on the client.\n\nFor a structured JSON payload, use the JSON variant of this endpoint\n(drop the trailing `/binary`).\n\n## Path Parameters\n\n- **domain_id**: The domain the grid belongs to.\n- **grid_id**: The grid identifier.\n- **band**: Band key to read (must be present in the grid's `bands`).\n- **chunk_index**: Zero-based flat chunk index. 2D grids index in (y, x);\n  3D grids index in (z, y, x). The chunk's shape, offset, and affine\n  transform are returned alongside the data — no separate metadata call\n  is required. (`GET …/chunks/{chunk_index}` is still available for\n  clients that want to lay out chunks before fetching data.)\n\n## Query Parameters\n\n- **array_format**: `dense` (default) or `sparse`. Sparse compresses out\n  cells equal to the band's fill value, returning only the non-fill\n  entries.\n- **order**: Flattening order — `C` (row-major, default) or `F`\n  (column-major).\n\n## Response\n\nAll variants return `application/octet-stream` with these common headers:\n\n- `X-Data-Shape`: comma-separated chunk dimensions (e.g., `47,61`).\n- `X-Data-Order`: flattening order used (`C` or `F`).\n- `X-Data-Format`: `dense` or `sparse`.\n- `X-Data-Offset`: comma-separated pixel offset of this chunk within\n  the full grid (2D: `row,col`; 3D: `z,row,col`).\n- `X-Data-Transform`: comma-separated six-element affine transform for\n  the chunk's spatial extent.\n- `X-Data-Z-Origin`, `X-Data-Z-Resolution`: present only for 3D grids.\n\n**Dense** (`array_format=dense`): body is the flattened cells as raw\nbytes.\n\n- `X-Data-Dtype`: numeric type of the cells (e.g., `float32`).\n\n**Sparse** (`array_format=sparse`): body is the index array bytes\nimmediately followed by the value array bytes.\n\n- `X-Data-NNZ`: number of non-fill entries (length of both arrays).\n- `X-Data-Index-Dtype`: numeric type of the index array (`int32`).\n- `X-Data-Value-Dtype`: numeric type of the value array.\n- `X-Data-Fill-Value`: the band's fill value (stringified). Omitted when\n  the band does not define a fill value, in which case every cell is\n  listed and no compression has been applied.\n\nSlice the response body at `NNZ * sizeof(index_dtype)` to separate\nindices from values.\n\n## Errors\n\n- **404**: Grid not found, not completed, or not accessible.\n- **422**: Band does not exist on this grid, or chunk index out of range.\n- **413**: Response would exceed the size limit. Try `array_format=sparse`\n  or a smaller chunk.","operationId":"get_grid_data_binary","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"grid_id","in":"path","required":true,"schema":{"type":"string","title":"Grid Id"}},{"name":"chunk_index","in":"path","required":true,"schema":{"type":"integer","title":"Chunk Index"}},{"name":"band","in":"path","required":true,"schema":{"type":"string","title":"Band"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"array_format","in":"query","required":false,"schema":{"$ref":"#/components/schemas/GridDataArrayFormat","description":"Array format: dense values or sparse COO flat indices.","default":"dense"},"description":"Array format: dense values or sparse COO flat indices."},{"name":"order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/GridDataOrder","description":"Array memory order for flattening.","default":"C"},"description":"Array memory order for flattening."}],"responses":{"200":{"description":"Successful Response","content":{"application/octet-stream":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/{grid_id}/exports/{format}":{"post":{"tags":["Grids","Grids - Exports"],"summary":"Export a grid","description":"Export a grid to the specified format.\n\nSupported formats: `geotiff`, `zarr` (zipped), `netcdf` (CF-1.13).\n`geotiff` supports 2D grids only; use `netcdf` or `zarr` for 3D voxel\ngrids.\n\nThe grid must belong to this domain and have status `completed`.\nIf `bands` is specified, only those bands are included; otherwise\nall bands are exported.\n\nReturns an Export resource with status `pending`. Poll\n`GET /exports/{export_id}` until status is `completed` to get the\nsigned download URL.","operationId":"create_grid_export","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"grid_id","in":"path","required":true,"schema":{"type":"string","title":"Grid Id"}},{"name":"format","in":"path","required":true,"schema":{"$ref":"#/components/schemas/GridExportFormat"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportGridRequest"},"examples":{"all_bands":{"value":{"name":"Surface fuels export","tags":["surface-fuel"]},"summary":"Export all bands","description":"Exports all bands from the grid."},"band_subset":{"value":{"bands":["fuel_load.1hr","fuel_load.10hr","fuel_depth"],"name":"Fuel loads only","description":"Subset of surface fuel bands for analysis","tags":["surface-fuel","analysis"]},"summary":"Export specific bands","description":"Exports only the specified bands from the grid."},"minimal":{"value":{},"summary":"Minimal request","description":"Exports all bands with no name or tags. The request body can be empty."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Export"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/{grid_id}/duplicate":{"post":{"tags":["Grids"],"summary":"Duplicate a grid","description":"# Duplicate a Grid\n\nCreates an independent **copy** of a completed grid under a new ID. Use\nthis to branch a scenario: duplicate, then edit the copy while the\noriginal stays untouched.\n\nThis is a true clone, not a re-derivation. The finished data is\nbyte-copied; no regeneration is performed and the upstream source is never\nre-fetched, so the copy is exact even if the upstream product has been\nupdated since the original was built. The copy carries over the source's\n`source`, `modifications`, `bands`, `georeference`, `chunks`, and\n`checksum` verbatim — only its `id` and timestamps differ.\n\n## Request Body (optional)\n\nAll fields are optional. Any field omitted is carried over from the source.\n\n- **name**: Name for the copy.\n- **description**: Description for the copy.\n- **tags**: Tags for the copy.\n\nSend no body at all to copy the metadata unchanged.\n\n## Response\n\nReturns the new Grid with status `\"pending\"`. The data is copied in the\nbackground; the status transitions to `\"completed\"` once the copy finishes\n(or `\"failed\"` if it does not). Data endpoints (`/chunks`, `/data`) become\navailable only after the copy completes. The source grid is unchanged.\n\n## Error Responses\n\n- **404 Not Found**: The source grid does not exist, is not owned by the\n  caller, or is not in this domain.\n- **422 Unprocessable Content**: The source grid exists but is not yet\n  `completed`, so there is no finished artifact to copy.\n- **429 Too Many Requests**: You have too many active grid jobs in progress\n  (your `max_active_grids` quota). Wait for jobs to complete or delete\n  unneeded grids, then retry. The response detail names the exact `quota`\n  and includes a `Retry-After` header.","operationId":"duplicate_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"grid_id","in":"path","required":true,"schema":{"type":"string","title":"Grid Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DuplicateGridRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/{grid_id}/modifications":{"post":{"tags":["Grids","Grids - Modifications"],"summary":"Apply modifications to a grid in place","description":"# Apply Modifications to a Grid (in place)\n\nApplies modification rules to **this** grid in place — the grid keeps its\nID and the submitted rules are applied on top of its current data\nasynchronously. To keep the original data instead, duplicate the grid\nfirst (`POST .../{grid_id}/duplicate`) and modify the copy.\n\nThe grid's stored data is updated directly; the upstream source (LANDFIRE,\n3DEP, ...) is **not** re-fetched, so cells your rules don't touch are\nbyte-for-byte unchanged — even if the upstream product has been updated\nsince the grid was built.\n\nModifications select cells by conditions and apply actions to the matching\ncells.\n\n## Combining conditions: AND within a rule, OR across rules\n\nEach rule's `conditions` are **ANDed** — a cell is selected only when it\nsatisfies *every* condition in that rule. Adding a condition to a rule\ntherefore **narrows** the selection (the intersection). Example: a feature\ncondition plus an attribute condition matches cells inside the feature\n**and** above a value threshold.\n\nThere is **no OR within a rule**. To act on a **union** — \"roads *or*\nwater bodies\", \"GR1 *or* GR2 cells\" — use **multiple rules**. Rules are\napplied independently and in order, so a cell matched by *any* rule is\naffected. Adding a rule therefore **widens** the overall selection.\n\nPutting two mutually exclusive conditions in one rule (e.g. a road feature\nAND a water feature) is the classic mistake: it selects cells that are\nboth at once — usually none. Split them into one rule per feature instead.\n\n## Conditions\n\nA rule with an **empty `conditions` list applies its actions to the whole\ngrid** — every cell. Use it for a blanket adjustment (e.g. subtract a\nconstant from every cell); add conditions to narrow the selection.\n\n**Attribute conditions** compare a band's cell values against a value:\n- `band`: dot-notation band key (e.g., `fbfm`, `fuel_load.1hr`)\n- `operator`: `eq`, `ne`, `gt`, `lt`, `ge`, `le`\n  (`eq`/`ne` also accept a list of values)\n- `value`: number or list for `eq`/`ne`. For `fbfm` bands you may use the\n  human-readable Scott-Burgan labels (`\"GR1\"`) or the numeric codes (`101`)\n  interchangeably — labels are resolved to codes when the rule is stored.\n\n**Spatial conditions** test each cell's location against a geometry. Two\nvariants discriminated by the required `source` field:\n\n- `source: \"geometry\"` — supply GeoJSON directly via `geometry` (plus\n  optional `crs`; defaults to the domain CRS).\n- `source: \"feature\"` — reference a persisted Feature resource by\n  `feature_id` (road, water, building, layerset). The Feature must belong to the\n  same domain as this grid and be in `completed` status; cross-domain,\n  missing, or unfinished references are rejected with 422. A Feature with\n  no geometry (e.g. OSM water over a domain with none) matches no cells\n  with `within` or `intersects` and every cell with `outside`.\n\nBoth spatial variants accept:\n- `operator`: `within`, `outside`, or `intersects`\n- `buffer_m`: (optional, meters) expands the geometry outward in the\n  domain's projected CRS before testing.\n- `target`: `centroid` (default) tests the cell center; `cell` tests the\n  cell's full footprint — use it with `intersects` so every cell a\n  geometry touches matches (e.g. narrow road polygons on a coarse grid).\n\n## Actions\n\n- `{\"band\": \"...\", \"modifier\": \"replace|multiply|divide|add|subtract\", \"value\": ...}`\n- Non-`replace` results are clamped at zero (grid bands are physical\n  quantities), except on `elevation`, which can be negative.\n\n## Response\n\nReturns this grid (same ID) with status `\"pending\"`. Its `checksum`\nchanges immediately, so any resource derived from it (resample, lookup,\nexports) can detect that the source has changed. The submitted rules\nappear in the grid's `modifications` list once processing completes —\npoll the grid until status returns to `\"completed\"`.\n\nIf processing fails, the grid's status becomes `\"failed\"` with error\ndetails, the stored data is unchanged, and the queued rules are retained —\nsubmit another POST to retry (the new rules are applied together with the\nretained ones).\n\n## Error Responses\n\n- **404 Not Found**: The grid does not exist, is not owned by the caller,\n  or is not in this domain.\n- **422 Unprocessable Content**: The grid is not in `completed` status\n  (and is not a retryable failed modification); the grid is a 3D voxel\n  grid (apply modifications to the source tree inventory and re-voxelize\n  instead); a referenced `feature_id` is missing, cross-domain, or not\n  completed; or a referenced band does not exist on this grid.\n- **429 Too Many Requests**: You have too many active grid jobs in progress\n  (your `max_active_grids` quota). Wait for jobs to complete or delete\n  unneeded grids, then retry. The response detail names the exact `quota`\n  and includes a `Retry-After` header.","operationId":"apply_grid_modifications","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"grid_id","in":"path","required":true,"schema":{"type":"string","title":"Grid Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyGridModificationsRequest"},"examples":{"replace_gr1_with_gr2":{"summary":"Replace all GR1 fuel models with GR2","description":"Reclassify every GR1 cell to GR2 on an FBFM40 grid. The `fbfm` band stores numeric Scott-Burgan codes (GR1 = 101, GR2 = 102), so the condition matches code 101 and the action replaces it with 102.","value":{"modifications":[{"conditions":[{"band":"fbfm","operator":"eq","value":101}],"actions":[{"band":"fbfm","modifier":"replace","value":102}]}]}},"replace_gr1_with_gr2_in_polygon":{"summary":"Replace GR1 with GR2 only inside a polygon","description":"Conditions in one rule are ANDed: the attribute condition matches GR1 cells (code 101) and the spatial condition limits the rule to cells whose centroid falls inside the supplied polygon, so only GR1 cells inside the polygon become GR2 (102).","value":{"modifications":[{"conditions":[{"band":"fbfm","operator":"eq","value":101},{"source":"geometry","operator":"within","geometry":{"type":"Polygon","coordinates":[[[-120.0,38.0],[-119.5,38.0],[-119.5,38.5],[-120.0,38.5],[-120.0,38.0]]]},"crs":{"type":"name","properties":{"name":"EPSG:4326"}}}],"actions":[{"band":"fbfm","modifier":"replace","value":102}]}]}},"zero_fuel_on_road":{"summary":"Zero surface fuel on a road feature","description":"The simplest spatial rule: one rule, one condition. Wipe the 1/10/100-hour fuel loads in every cell a road Feature touches. Roads are narrow polygons, so `intersects` with `target=cell` catches cells the road merely clips (the default `centroid` test would miss them).","value":{"modifications":[{"conditions":[{"source":"feature","operator":"intersects","feature_id":"feat_road_abc","target":"cell"}],"actions":[{"band":"fuel_load.1hr","modifier":"replace","value":0},{"band":"fuel_load.10hr","modifier":"replace","value":0},{"band":"fuel_load.100hr","modifier":"replace","value":0}]}]}},"zero_fuel_on_roads_and_water":{"summary":"Zero surface fuel on roads OR water (a union → two rules)","description":"Wipe surface fuel inside a road Feature **or** a water Feature. This is a **union**, and unions take multiple rules. Conditions *within* one rule are **ANDed** (a cell must satisfy all of them), so putting both features in one rule would select cells that are road **and** water simultaneously — essentially none. Instead each Feature gets its own rule, and rules are applied independently, so a cell matched by **either** rule is cleared. Rule of thumb: extra conditions in one rule **narrow** the selection (AND); extra rules **widen** it (OR).","value":{"modifications":[{"conditions":[{"source":"feature","operator":"intersects","feature_id":"feat_road_abc","target":"cell"}],"actions":[{"band":"fuel_load.1hr","modifier":"replace","value":0},{"band":"fuel_load.10hr","modifier":"replace","value":0},{"band":"fuel_load.100hr","modifier":"replace","value":0}]},{"conditions":[{"source":"feature","operator":"intersects","feature_id":"feat_water_xyz"}],"actions":[{"band":"fuel_load.1hr","modifier":"replace","value":0},{"band":"fuel_load.10hr","modifier":"replace","value":0},{"band":"fuel_load.100hr","modifier":"replace","value":0}]}]}},"zero_heavy_fuel_near_road":{"summary":"Multiple conditions in one rule (AND → intersection)","description":"A single rule with two conditions, which are **ANDed**: zero the 100-hour load only in cells that fall within 10 m of a road **and** whose 100-hour load already exceeds 2.0. Both must hold in the same cell. Contrast with the roads-or-water example above: more conditions in one rule narrows to the intersection, whereas more rules widens to the union.","value":{"modifications":[{"conditions":[{"source":"feature","operator":"intersects","feature_id":"feat_road_abc","buffer_m":10},{"band":"fuel_load.100hr","operator":"gt","value":2.0}],"actions":[{"band":"fuel_load.100hr","modifier":"replace","value":0}]}]}},"reduce_fuel_along_road_buffer":{"summary":"Reduce fuel 90% along a buffered road","description":"Buffer the road Feature by 4 m in the domain CRS, then multiply the surface fuel loads by 0.1 inside the buffer.","value":{"modifications":[{"conditions":[{"source":"feature","operator":"intersects","feature_id":"feat_road_abc","buffer_m":4}],"actions":[{"band":"fuel_load.1hr","modifier":"multiply","value":0.1},{"band":"fuel_load.10hr","modifier":"multiply","value":0.1},{"band":"fuel_load.100hr","modifier":"multiply","value":0.1}]}]}},"zero_fuel_in_polygon":{"summary":"Zero fuel inside an inline polygon","description":"Supply GeoJSON directly instead of referencing a Feature; the polygon is buffered 5 m before testing cell centroids.","value":{"modifications":[{"conditions":[{"source":"geometry","operator":"within","geometry":{"type":"Polygon","coordinates":[[[-120.0,38.0],[-119.5,38.0],[-119.5,38.5],[-120.0,38.5],[-120.0,38.0]]]},"crs":{"type":"name","properties":{"name":"EPSG:4326"}},"buffer_m":5}],"actions":[{"band":"fuel_load.1hr","modifier":"replace","value":0}]}]}},"halve_nonzero_fuel":{"summary":"Halve all non-zero 1-hour fuel load","description":"Attribute condition with no spatial component: every cell whose 1-hour load is positive is multiplied by 0.5.","value":{"modifications":[{"conditions":[{"band":"fuel_load.1hr","operator":"gt","value":0}],"actions":[{"band":"fuel_load.1hr","modifier":"multiply","value":0.5}]}]}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/exports/landscape":{"post":{"tags":["Grids","Grids - Exports"],"summary":"Export terrain + fuel + canopy grids to a landscape GeoTIFF","description":"Assemble terrain, surface fuel model, and canopy grids into an\n8-band LANDFIRE-style landscape GeoTIFF for operational fire behavior\ntools (FlamMap, IFTDSS, WFDSS).\n\nThe output `landscape.tif` carries the standard LANDFIRE band order —\nelevation, slope, aspect, fuel model, canopy cover, canopy height,\ncanopy base height, canopy bulk density — with LANDFIRE's int16 scaled\nencodings, embedded CRS, and per-band name/unit metadata. This is the\nformat LANDFIRE distributes and IFTDSS accepts for upload.\n\nReturns an Export resource with status `pending`. Poll\n`GET /exports/{export_id}` until status is `completed` to retrieve the\nsigned download URL.","operationId":"create_landscape_export","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandscapeExportRequest"},"examples":{"minimal":{"value":{"fire_behavior_fuel_model":"fbfm40","elevation":{"grid_id":"topo_abc","band":"elevation"},"slope":{"grid_id":"topo_abc","band":"slope"},"aspect":{"grid_id":"topo_abc","band":"aspect"},"fuel_model":{"grid_id":"fbfm_def","band":"fbfm"},"canopy_cover":{"grid_id":"canopy_xyz","band":"cc"},"canopy_height":{"grid_id":"canopy_xyz","band":"chm"},"canopy_base_height":{"grid_id":"canopy_xyz","band":"cbh"},"canopy_bulk_density":{"grid_id":"canopy_xyz","band":"cbd"},"name":"Landscape"},"summary":"Minimal: 8-band landscape (default 30 m domain lattice)","description":"The smallest valid landscape export request: elevation, slope, and aspect from a topography grid; fuel model codes from an FBFM40 grid; canopy cover, height, base height, and bulk density from a canopy grid. Alignment defaults to Domain-anchored at 30 m."},"custom_resolution":{"value":{"fire_behavior_fuel_model":"fbfm40","elevation":{"grid_id":"topo_abc","band":"elevation"},"slope":{"grid_id":"topo_abc","band":"slope"},"aspect":{"grid_id":"topo_abc","band":"aspect"},"fuel_model":{"grid_id":"fbfm_def","band":"fbfm"},"canopy_cover":{"grid_id":"canopy_xyz","band":"cc"},"canopy_height":{"grid_id":"canopy_xyz","band":"chm"},"canopy_base_height":{"grid_id":"canopy_xyz","band":"cbh"},"canopy_bulk_density":{"grid_id":"canopy_xyz","band":"cbd"},"name":"Landscape (10 m)","alignment":{"target":"domain","resolution":10.0}},"summary":"Custom landscape resolution","description":"Tile the Domain bbox at 10 m instead of the default 30 m. Every role grid must already be built at 10 m on the domain lattice — the exporter never resamples. Use `POST .../grids/{grid_id}/resample` to bring grids onto the target lattice first."},"grid_aligned":{"value":{"fire_behavior_fuel_model":"fbfm40","elevation":{"grid_id":"topo_abc","band":"elevation"},"slope":{"grid_id":"topo_abc","band":"slope"},"aspect":{"grid_id":"topo_abc","band":"aspect"},"fuel_model":{"grid_id":"fbfm_def","band":"fbfm"},"canopy_cover":{"grid_id":"canopy_xyz","band":"cc"},"canopy_height":{"grid_id":"canopy_xyz","band":"chm"},"canopy_base_height":{"grid_id":"canopy_xyz","band":"cbh"},"canopy_bulk_density":{"grid_id":"canopy_xyz","band":"cbd"},"name":"Landscape (aligned to master grid)","alignment":{"target":"grid","grid_id":"master_native_fbfm40"}},"summary":"Aligned to an existing grid's lattice","description":"Use `alignment.target='grid'` to anchor the landscape to an existing grid's CRS/transform/shape instead of the Domain bbox. Useful when role grids share a non-Domain-anchored lattice (e.g. all chained off a `target='native'` master grid)."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Export"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/exports/quicfire":{"post":{"tags":["Grids","Grids - Exports"],"summary":"Export combined fuel + topography grids to QUIC-Fire format","description":"Bundle surface fuel + canopy fuel + (optional) topography grids into a\nQUIC-Fire-loadable zip archive.\n\nThe output zip contains `treesrhof.dat`, `treesmoist.dat`,\n`treesfueldepth.dat`, `metadata.json`, and `domain.geojson` always; plus\n`topo.dat` when a topography role is provided, plus `treesss.dat` when\nboth canopy and surface SAVR roles are provided.\n\nReturns an Export resource with status `pending`. Poll\n`GET /exports/{export_id}` until status is `completed` to retrieve the\nsigned download URL.","operationId":"create_quicfire_export","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuicfireExportRequest"},"examples":{"minimal":{"value":{"canopy_bulk_density":{"grid_id":"tree_xyz","band":"bulk_density.foliage.live"},"canopy_moisture":{"grid_id":"tree_xyz","band":"fuel_moisture.live"},"surface_fuel_load":{"grid_id":"lookup_abc","band":"fuel_load.1hr"},"surface_fuel_depth":{"grid_id":"lookup_abc","band":"fuel_depth"},"surface_moisture":{"grid_id":"uniform_def","band":"fuel_moisture.1hr"},"name":"QUIC-Fire inputs"},"summary":"Minimal: surface + canopy fuel only (default 2 m / 1 m fire grid)","description":"The smallest valid QUIC-Fire export request. Alignment defaults to Domain-anchored at QUIC-Fire's recommended values (dx=dy=2 m, dz=1 m). Produces treesrhof.dat, treesmoist.dat, treesfueldepth.dat, metadata.json, and domain.geojson."},"explicit_domain":{"value":{"canopy_bulk_density":{"grid_id":"tree_xyz","band":"bulk_density.foliage.live"},"canopy_moisture":{"grid_id":"tree_xyz","band":"fuel_moisture.live"},"surface_fuel_load":{"grid_id":"lookup_abc","band":"fuel_load.1hr"},"surface_fuel_depth":{"grid_id":"lookup_abc","band":"fuel_depth"},"surface_moisture":{"grid_id":"uniform_def","band":"fuel_moisture.1hr"},"name":"QUIC-Fire inputs (1m horizontal, 1m vertical)","alignment":{"target":"domain","dx":1.0,"dy":1.0,"dz":1}},"summary":"Explicit Domain alignment with custom resolution","description":"Override the default 2 m / 1 m fire grid. Useful for coarser simulations (e.g. dx=4 m) or finer vertical resolution (e.g. dz=0.5 m, which requires voxelizing the tree grid at resolution.vertical=0.5). All role grids must still be lattice-aligned, built at the fire-grid resolution, and cover the resulting fire-grid extent."},"short_domain":{"value":{"canopy_bulk_density":{"grid_id":"tree_xyz","band":"bulk_density.foliage.live"},"canopy_moisture":{"grid_id":"tree_xyz","band":"fuel_moisture.live"},"surface_fuel_load":{"grid_id":"lookup_abc","band":"fuel_load.1hr"},"surface_fuel_depth":{"grid_id":"lookup_abc","band":"fuel_depth"},"surface_moisture":{"grid_id":"uniform_def","band":"fuel_moisture.1hr"},"name":"QUIC-Fire inputs (1m, target omitted)","alignment":{"dx":1.0,"dy":1.0}},"summary":"1 m fire grid, target omitted (shorthand)","description":"`alignment.target` defaults to `'domain'`, so you can pass just `{\"dx\": 1, \"dy\": 1}` without repeating the target. Every role grid must be built at 1 m."},"with_topography":{"value":{"canopy_bulk_density":{"grid_id":"tree_xyz","band":"bulk_density.foliage.live"},"canopy_moisture":{"grid_id":"tree_xyz","band":"fuel_moisture.live"},"surface_fuel_load":{"grid_id":"lookup_abc","band":"fuel_load.1hr"},"surface_fuel_depth":{"grid_id":"lookup_abc","band":"fuel_depth"},"surface_moisture":{"grid_id":"uniform_def","band":"fuel_moisture.1hr"},"name":"QUIC-Fire inputs (with terrain)","topography":{"grid_id":"topo_xyz","band":"elevation"}},"summary":"With terrain","description":"Adds topo.dat to the output zip."},"with_savr":{"value":{"canopy_bulk_density":{"grid_id":"tree_xyz","band":"bulk_density.foliage.live"},"canopy_moisture":{"grid_id":"tree_xyz","band":"fuel_moisture.live"},"surface_fuel_load":{"grid_id":"lookup_abc","band":"fuel_load.1hr"},"surface_fuel_depth":{"grid_id":"lookup_abc","band":"fuel_depth"},"surface_moisture":{"grid_id":"uniform_def","band":"fuel_moisture.1hr"},"name":"QUIC-Fire inputs (with terrain and SAVR)","topography":{"grid_id":"topo_xyz","band":"elevation"},"canopy_savr":{"grid_id":"tree_xyz","band":"savr.foliage"},"surface_savr":{"grid_id":"lookup_abc","band":"savr.1hr"}},"summary":"With terrain and SAVR","description":"Adds treesss.dat to the output zip. Requires both canopy_savr and surface_savr to be provided together."},"explicit_merge":{"value":{"canopy_bulk_density":{"grid_id":"tree_xyz","band":"bulk_density.foliage.live"},"canopy_moisture":{"grid_id":"tree_xyz","band":"fuel_moisture.live"},"surface_fuel_load":{"grid_id":"lookup_abc","band":"fuel_load.1hr"},"surface_fuel_depth":{"grid_id":"lookup_abc","band":"fuel_depth"},"surface_moisture":{"grid_id":"uniform_def","band":"fuel_moisture.1hr"},"name":"QUIC-Fire inputs (explicit merge fields)","topography":{"grid_id":"topo_xyz","band":"elevation"},"canopy_savr":{"grid_id":"tree_xyz","band":"savr.foliage"},"surface_savr":{"grid_id":"lookup_abc","band":"savr.1hr"},"rhof_merge":"sum","moist_merge":"weighted_avg","savr_merge":"weighted_avg"},"summary":"With explicit merge fields","description":"Same as 'with_savr' but with the surface/canopy stitching fields set explicitly. `moist_merge='weighted_avg'` opts into mass-weighted moisture at k=0 (default is `'max'`, which matches v1)."},"grid_aligned":{"value":{"canopy_bulk_density":{"grid_id":"tree_xyz","band":"bulk_density.foliage.live"},"canopy_moisture":{"grid_id":"tree_xyz","band":"fuel_moisture.live"},"surface_fuel_load":{"grid_id":"lookup_abc","band":"fuel_load.1hr"},"surface_fuel_depth":{"grid_id":"lookup_abc","band":"fuel_depth"},"surface_moisture":{"grid_id":"uniform_def","band":"fuel_moisture.1hr"},"name":"QUIC-Fire inputs (aligned to master grid)","alignment":{"target":"grid","grid_id":"master_native_fbfm40"}},"summary":"Aligned to an existing grid's lattice","description":"Use `alignment.target='grid'` to anchor the fire grid to an existing grid's CRS/transform/shape instead of the Domain bbox. Useful when role grids share a non-Domain-anchored lattice (e.g. all chained off a `target='native'` master grid)."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Export"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/disturbance/annual/landfire":{"post":{"tags":["Grids","Grids - Disturbance"],"summary":"Create a grid from LANDFIRE Limited Annual Disturbance","description":"# Create LANDFIRE Limited Annual Disturbance Grid\n\nCreates a grid with LANDFIRE Limited Annual Disturbance (LDist) codes,\nalways fetched on demand from LANDFIRE Product Service at 30m resolution.\n\nThe grid contains a single categorical band (`annual_disturbance`) with\nraw LDist codes.\n\nLDist is a single annual release with a \"first look\" at the disturbance and\ntreatment events (fire, mechanical treatment, insects/disease), from that\nversion's fiscal year, released the following January/February. See\nhttps://landfire.gov/disturbance/annualdisturbance for details.\n\nLANDFIRE's current-year fuels layers (FBFM40, FBFM13, FCCS) roll out\nregion by region, with disturbance already incorporated wherever they've\nlanded. LDist covers all of CONUS, so in regions where the rollout\nhasn't reached yet, you can pair LDist with the last complete  national\nfuels release to incorporate more recent disturbances. For example,\nif your region is still on LF2024 fuels because LF2025 hasn't reached it yet,\npair LF2024 with LDist25 for a better estimate of current conditons.\n\n## Request Body\n\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n- **version**: (optional) LANDFIRE version. Default: \"2025\".\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nfetch the data and update status to \"completed\" when ready.","operationId":"create_landfire_disturbance","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLandfireDisturbanceRequest"},"examples":{"minimal":{"value":{},"summary":"Minimal request","description":"Creates a grid with default settings. Returns LANDFIRE Limited Annual Disturbance codes at 30m resolution, fetched on demand from LANDFIRE Product Service."},"with_metadata":{"value":{"name":"Limited Annual Disturbance codes","description":"Recent disturbance codes for scenario comparison","tags":["baseline","disturbance"]},"summary":"With name and tags","description":"Creates a named grid with tags for organization. Useful when maintaining multiple grids for scenario comparison."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/fbfm13/landfire":{"post":{"tags":["Grids","Grids - FBFM13"],"summary":"Create a grid from LANDFIRE FBFM13","description":"# Create LANDFIRE FBFM13 Grid\n\nCreates a grid with FBFM13 fuel model codes from LANDFIRE at 30m resolution.\n\nThe grid contains a single categorical band (`fbfm13`) with Anderson 13\nfuel model codes (1-13).\n\nTo convert fuel model codes to fuel parameters (fuel loads, SAV,\ndepth), use the `/grids/lookup/fbfm13` endpoint.\n\n## Request Body\n\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n- **version**: (optional) LANDFIRE version. Default: \"2024\".\n- **disturbance**: (optional) Update for recent LANDFIRE disturbance.\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nfetch the data and update status to \"completed\" when ready.","operationId":"create_landfire_fbfm13","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLandfireFbfm13Request"},"examples":{"minimal":{"value":{},"summary":"Minimal request","description":"Creates a grid with default settings. Returns FBFM13 fuel model codes at 30m resolution. Use /grids/lookup/fbfm13 to convert codes to fuel parameters."},"with_metadata":{"value":{"name":"FBFM13 fuel model codes","description":"Baseline fuel model codes for scenario comparison","tags":["baseline","surface-fuel"],"version":"2024"},"summary":"With name and tags","description":"Creates a named grid with tags for organization. Useful when maintaining multiple grids for scenario comparison."},"remove_non_burnable":{"value":{"name":"FBFM13 with non-burnable removal","remove_non_burnable":["NB1","NB2","NB8","NB9"]},"summary":"Remove non-burnable blocks","description":"Removes coarse 30m-resolution non-burnable blocks (urban, snow/ice, water, bare ground) by replacing them with the most frequent neighboring burnable fuel model. This clears the way for masking in high-resolution 1-2m road, water, and building features from sources such as OpenStreetMap."},"with_buffer":{"value":{"name":"FBFM13 with buffer","extent_buffer_cells":8},"summary":"With output buffer","description":"Includes 8 result-grid cells of buffer beyond the domain extent. Useful when the grid will later be resampled, reprojected, or processed by focal filters / derivative calculations that are sensitive to edges."},"domain_aligned_2m":{"value":{"name":"FBFM13 at 2m on domain origin","alignment":{"target":"domain","resolution":2.0,"method":"mode"}},"summary":"2m output anchored to the domain origin","description":"Reprojects the 30m source FBFM13 to a 2m grid anchored at the domain origin using mode aggregation. Composes with other 2m domain-anchored grids."},"native_anchor":{"value":{"name":"FBFM13 at native source pixel anchor","alignment":{"target":"native"}},"summary":"Preserve source pixel anchor","description":"Disables the default domain anchor. Output preserves the source raster's pixel grid; will not compose with domain-anchored grids without further alignment."},"latest_release":{"value":{"name":"FBFM13 latest release","version":"2025"},"summary":"Latest release","description":"Fetches the latest FBFM13 release on demand from LANDFIRE Product Service as it becomes available region by region — more current landscape conditions than the staged national release. See https://landfire.gov/data for the delivery schedule."},"with_disturbance":{"value":{"name":"FBFM13 with recent disturbance","disturbance":{"source":"landfire"}},"summary":"Updated for recent disturbance","description":"For domains the newest LANDFIRE release doesn't fully cover yet, updates the previous release's fuel model for recent LANDFIRE disturbance. Rejected with 422 where the newest release already fully covers the domain. Check coverage first with /grids/fbfm13/landfire/coverage."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/fbfm13/landfire/coverage":{"get":{"tags":["Grids","Grids - FBFM13"],"summary":"Check LANDFIRE FBFM13 release coverage for a domain","description":"# Check LANDFIRE FBFM13 Coverage\n\nImmediate pre-flight check reporting every FBFM13 release the API serves\nand how much of this domain each one covers. Staged annual releases are\nnational; the current-year release is served by LANDFIRE Product Service\nregion by region, so its coverage depends on where the domain is.\n\n## Response\n\n`latest` is the release representing the most recent point in time that\nfully covers the domain. `releases` lists every release, newest first.\nEach release that covers the domain carries a `links.create` request:\nsend its `body` to its `href`, the endpoint's path on the API host, to\ncreate the grid.","operationId":"check_landfire_fbfm13_coverage","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandfireCoverageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/fbfm40/landfire":{"post":{"tags":["Grids","Grids - FBFM40"],"summary":"Create a grid from LANDFIRE FBFM40","description":"# Create LANDFIRE FBFM40 Grid\n\nCreates a grid with FBFM40 fuel model codes from LANDFIRE at 30m resolution.\n\nThe grid contains a single categorical band (`fbfm`) with Scott-Burgan 40\nfuel model codes (e.g., GR1, TL3, SH5).\n\nTo convert fuel model codes to fuel parameters (fuel loads, SAV, depth),\nuse the `/grids/lookup/fbfm40` endpoint.\n\n## Request Body\n\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n- **version**: (optional) LANDFIRE version. Default: \"2024\".\n- **disturbance**: (optional) Update for recent LANDFIRE disturbance.\n- **season**: (optional) LANDFIRE Seasonal Fuels release: \"ES\" (early\n  spring), \"SP\" (spring), \"SU\" (summer), or \"FA\" (fall).\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nfetch the data and update status to \"completed\" when ready.\n\nThe response `source` reports `year`: the calendar year the fuel data\nrepresents. For an annual grid this is the landscape vintage (same as\n`version`); for a seasonal grid it is the projected season year (e.g.\n`version` 2025 + `season` \"SP\" is spring 2026).","operationId":"create_landfire_fbfm40","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLandfireFbfm40Request"},"examples":{"minimal":{"value":{},"summary":"Minimal request","description":"Creates a grid with default settings. Returns FBFM40 fuel model codes at 30m resolution. Use /grids/lookup/fbfm40 to convert codes to fuel parameters."},"with_metadata":{"value":{"name":"FBFM40 fuel model codes","description":"Baseline fuel model codes for scenario comparison","tags":["baseline","surface-fuel"],"version":"2022"},"summary":"With name and tags","description":"Creates a named grid with tags for organization. Useful when maintaining multiple grids for scenario comparison."},"remove_non_burnable":{"value":{"name":"FBFM40 with non-burnable removal","remove_non_burnable":["NB1","NB2","NB8","NB9"]},"summary":"Remove non-burnable blocks","description":"Removes coarse 30m-resolution non-burnable blocks (urban, snow/ice, water, bare ground) by replacing them with the most frequent neighboring burnable fuel model. This clears the way for masking in high-resolution 1-2m road, water, and building features from sources such as OpenStreetMap."},"with_buffer":{"value":{"name":"FBFM40 with buffer","extent_buffer_cells":8},"summary":"With output buffer","description":"Includes 8 result-grid cells of buffer beyond the domain extent. Useful when the grid will later be resampled, reprojected, or processed by focal filters / derivative calculations that are sensitive to edges."},"domain_aligned_2m":{"value":{"name":"FBFM40 at 2m on domain origin","alignment":{"target":"domain","resolution":2.0,"method":"mode"}},"summary":"2m output anchored to the domain origin","description":"Reprojects the 30m source FBFM40 to a 2m grid anchored at the domain origin using mode aggregation. Composes with other 2m domain-anchored grids."},"boundary_scatter":{"value":{"name":"FBFM40 at 2m with boundary scatter","alignment":{"target":"domain","resolution":2.0},"boundary_scatter":{}},"summary":"2m output with boundary scatter","description":"Reprojects to 2m and applies stochastic boundary scattering. Creates ragged, natural-looking transitions between fuel model types instead of staircase edges. Non-burnable codes are protected. Pass depth and seed inside boundary_scatter for fine-grained control."},"native_anchor":{"value":{"name":"FBFM40 at native source pixel anchor","alignment":{"target":"native"}},"summary":"Preserve source pixel anchor","description":"Disables the default domain anchor. Output preserves the source raster's pixel grid; will not compose with domain-anchored grids without further alignment."},"seasonal":{"value":{"name":"FBFM40 early spring seasonal fuels","version":"2025","season":"ES"},"summary":"Seasonal Fuels release","description":"Fetches an on-demand Seasonal Fuels FBFM40 layer from LANDFIRE Product Service for the given season, instead of the staged annual release. `version` must be one of the versions LFPS currently serves on-demand."},"latest_release":{"value":{"name":"FBFM40 latest release","version":"2025"},"summary":"Latest release","description":"Fetches the latest FBFM40 release on demand from LANDFIRE Product Service as it becomes available region by region — more current landscape conditions than the staged national release. See https://landfire.gov/data for the delivery schedule."},"with_disturbance":{"value":{"name":"FBFM40 with recent disturbance","disturbance":{"source":"landfire"}},"summary":"Updated for recent disturbance","description":"For domains the newest LANDFIRE release doesn't fully cover yet, updates the previous release's fuel model for recent LANDFIRE disturbance. Rejected with 422 where the newest release already fully covers the domain. Check coverage first with /grids/fbfm40/landfire/coverage."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/fbfm40/landfire/coverage":{"get":{"tags":["Grids","Grids - FBFM40"],"summary":"Check LANDFIRE FBFM40 release coverage for a domain","description":"# Check LANDFIRE FBFM40 Coverage\n\nImmediate pre-flight check reporting every FBFM40 release the API serves\nand how much of this domain each one covers. Staged annual releases are\nnational; the current-year release and the Seasonal Fuels windows are\nserved by LANDFIRE Product Service region by region, so coverage depends\non where the domain is and on what LANDFIRE has published so far.\n\n## Response\n\n`latest` is the release representing the most recent point in time that\nfully covers the domain. `releases` lists every release, newest first.\nEach release that covers the domain carries a `links.create` request:\nsend its `body` to its `href`, the endpoint's path on the API host, to\ncreate the grid.","operationId":"check_landfire_fbfm40_coverage","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandfireCoverageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/fccs/landfire":{"post":{"tags":["Grids","Grids - FCCS"],"summary":"Create a grid from LANDFIRE FCCS","description":"# Create LANDFIRE FCCS Grid\n\nCreates a grid with FCCS fuelbed IDs from LANDFIRE at 30m resolution.\n\nThe grid contains a single categorical band (`fccs`) with fuel\nclassification system fuelbed IDs (e.g., 26, 598, 34721).\n\nTo convert fuelbed IDs to fuel parameters (fuel loads, SAV, depth),\nuse the `/grids/lookup/fccs` endpoint.\n\n## Request Body\n\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n- **version**: (optional) LANDFIRE version. Default: \"2023\".\n- **disturbance**: (optional) Update for recent LANDFIRE disturbance.\n- **remove_bare_ground**: (optional) Remove bare ground cells (fuelbed ID 0),\n                          replaced by neighboring majority. Default: False.\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nfetch the data and update status to \"completed\" when ready.","operationId":"create_landfire_fccs","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLandfireFccsRequest"},"examples":{"minimal":{"value":{},"summary":"Minimal request","description":"Creates a grid with default settings. Returns FCCS fuelbed IDs at 30m resolution. Use /grids/lookup/fccs to convert codes to fuel parameters."},"with_metadata":{"value":{"name":"FCCS fuelbed IDs","description":"Baseline fuelbed IDs for scenario comparison","tags":["baseline","surface-fuel"],"version":"2023"},"summary":"With name and tags","description":"Creates a named grid with tags for organization. Useful when maintaining multiple grids for scenario comparison."},"remove_bare_ground":{"value":{"name":"FCCS with bare ground removal","remove_bare_ground":true},"summary":"Remove bare ground blocks","description":"Removes coarse 30m-resolution bare ground blocks by replacing them with the most frequent neighboring burnable fuel model. This clears the way for masking in high-resolution 1-2m road, water, and building features from sources such as OpenStreetMap."},"with_buffer":{"value":{"name":"FCCS with buffer","extent_buffer_cells":8},"summary":"With output buffer","description":"Includes 8 result-grid cells of buffer beyond the domain extent. Useful when the grid will later be resampled, reprojected, or processed by focal filters / derivative calculations that are sensitive to edges."},"domain_aligned_2m":{"value":{"name":"FCCS at 2m on domain origin","alignment":{"target":"domain","resolution":2.0,"method":"mode"}},"summary":"2m output anchored to the domain origin","description":"Reprojects the 30m source FCCS to a 2m grid anchored at the domain origin using mode aggregation. Composes with other 2m domain-anchored grids."},"native_anchor":{"value":{"name":"FCCS at native source pixel anchor","alignment":{"target":"native"}},"summary":"Preserve source pixel anchor","description":"Disables the default domain anchor. Output preserves the source raster's pixel grid; will not compose with domain-anchored grids without further alignment."},"latest_release":{"value":{"name":"FCCS latest release","version":"2025"},"summary":"Latest release","description":"Fetches the latest FCCS release on demand from LANDFIRE Product Service as it becomes available region by region — more current landscape conditions than the staged national release. See https://landfire.gov/data for the delivery schedule."},"with_disturbance":{"value":{"name":"FCCS with recent disturbance","disturbance":{"source":"landfire"}},"summary":"Updated for recent disturbance","description":"For domains the newest LANDFIRE release doesn't fully cover yet, updates the previous release's fuelbed IDs for recent LANDFIRE disturbance. Rejected with 422 where the newest release already fully covers the domain. Check coverage first with /grids/fccs/landfire/coverage."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/fccs/landfire/coverage":{"get":{"tags":["Grids","Grids - FCCS"],"summary":"Check LANDFIRE FCCS release coverage for a domain","description":"# Check LANDFIRE FCCS Coverage\n\nImmediate pre-flight check reporting every FCCS release the API serves\nand how much of this domain each one covers. Staged annual releases are\nnational; the current-year release is served by LANDFIRE Product Service\nregion by region, so its coverage depends on where the domain is.\n\n## Response\n\n`latest` is the release representing the most recent point in time that\nfully covers the domain. `releases` lists every release, newest first.\nEach release that covers the domain carries a `links.create` request:\nsend its `body` to its `href`, the endpoint's path on the API host, to\ncreate the grid.","operationId":"check_landfire_fccs_coverage","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandfireCoverageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/fuel-moisture/dead/fosberg":{"post":{"tags":["Grids","Grids - Fuel Moisture"],"summary":"Create a Fosberg 1-hour dead fuel moisture grid","description":"# Create Fosberg 1-hour Dead Fuel Moisture Grid\n\nCreates a grid with a single continuous band, `fuel_moisture.1hr`\n(percent), computed with the Fosberg & Deeming (1971) 1-hour dead fuel\nmoisture model.\n\nThe grid is derived from two completed source grids in the same domain:\n\n- **Topography** — supplies the `slope` and `aspect` bands (both degrees).\n- **Leaflux irradiance** — supplies `irradiance.surface.relative`, from\n  which per-cell shading is derived as `1 - irradiance.surface.relative`.\n\nThe remaining inputs are scalar weather/scenario parameters:\n`dry_bulb_temp` (°F), `relative_humidity` (%), `time` (local HHMM,\n0800-1959), `month`, and `elevation` (site position relative to the\nreference weather station).\n\nThe output inherits the topography grid's domain, CRS, transform, and\ngeoreference. Keeping `time`/`month` consistent with the sun position that\nproduced the irradiance grid is the caller's responsibility.\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend\ncomputes the moisture surface and updates status to \"completed\".","operationId":"create_fosberg_fuel_moisture_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFosbergFuelMoistureRequest"},"examples":{"minimal":{"value":{"source_topography_grid_id":"TOPOGRAPHY_GRID_ID","source_irradiance_grid_id":"IRRADIANCE_GRID_ID","dry_bulb_temp":75,"relative_humidity":30,"time":1200,"month":"June"},"summary":"Minimal request","description":"Computes midday June 1-hr dead fuel moisture from a topography grid (slope + aspect) and a leaflux irradiance grid. Elevation defaults to `near` (no station correction)."},"full":{"value":{"name":"Peak burn-period 1-hr DFMC","description":"Midday June dead fuel moisture for the burn window.","tags":["fuel-moisture","surface-fuel"],"source_topography_grid_id":"TOPOGRAPHY_GRID_ID","source_irradiance_grid_id":"IRRADIANCE_GRID_ID","dry_bulb_temp":82,"relative_humidity":20,"time":1400,"month":"August","elevation":"above"},"summary":"With metadata and elevation correction","description":"A named, tagged grid for a hot, dry August afternoon on a site above the reference weather station."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/topography/landfire":{"post":{"tags":["Grids","Grids - Topography"],"summary":"Create a grid from LANDFIRE topographic data","description":"# Create LANDFIRE Topography Grid\n\nCreates a grid with topographic data from LANDFIRE at 30m resolution.\n\nAvailable bands:\n- **elevation**: meters above sea level\n- **slope**: degrees (0-90)\n- **aspect**: degrees clockwise from north (0-360); flat cells are 0\n\nBy default all three bands are included. Use the `bands` field to select\na subset.\n\n## Request Body\n\n- **bands**: (optional) Which bands to include. Default: all three.\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n- **version**: (optional) LANDFIRE version. Default: \"2020\".\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nfetch the data and update status to \"completed\" when ready.","operationId":"create_landfire_topography","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLandfireTopographyRequest"},"examples":{"minimal":{"value":{},"summary":"Minimal request (all bands)","description":"Creates a grid with default settings. Returns all three topography bands (elevation, slope, aspect) at 30m resolution."},"elevation_only":{"value":{"bands":["elevation"]},"summary":"Elevation only","description":"Creates a grid with only the elevation band. Useful when slope and aspect are not needed."},"with_metadata":{"value":{"name":"Terrain data","description":"Elevation, slope, and aspect for fire behavior modeling","tags":["topography","terrain"],"version":"2020","bands":["elevation","slope","aspect"]},"summary":"With name and tags","description":"Creates a named grid with all topography bands and tags for organization."},"with_buffer":{"value":{"bands":["elevation","slope","aspect"],"extent_buffer_cells":8},"summary":"With output buffer","description":"Includes 8 result-grid cells of buffer beyond the domain extent. Useful when downstream resampling, reprojection, or derivative recomputation needs context beyond the domain edge."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/topography/3dep":{"post":{"tags":["Grids","Grids - Topography"],"summary":"Create a grid from 3DEP topographic data","description":"# Create 3DEP Topography Grid\n\nCreates a grid with topographic data from USGS 3DEP at selectable resolution.\n\nAvailable resolutions:\n- **1m**: Seamless 1-meter (S1M). Where S1M has no tiles, the 1 m lidar\n  project tiles. Areas with neither return a COVERAGE_ERROR.\n- **2m**: 1 m lidar project tiles, read at their 2 m overview. Areas\n  without lidar project tiles return a COVERAGE_ERROR.\n- **10m**: 1/3 arc-second seamless (default)\n- **30m**: 1 arc-second seamless\n\nWhere lidar project tiles overlap (repeat flights, UTM zone edges), the\nmost recently published tile is used.\n\nAvailable bands:\n- **elevation**: meters above sea level (default)\n- **slope**: degrees (0-90)\n- **aspect**: degrees clockwise from north (0-360); flat cells are 0\n\nSlope and aspect are computed locally from the DEM using Horn's method.\n\n## Request Body\n\n- **source_resolution**: (optional) Source product in meters:\n  1, 2, 10, or 30. Default: 10. To change the *output* cell size, set\n  ``alignment.resolution``.\n- **bands**: (optional) Which bands to include. Default: elevation only.\n- **alignment**: (optional) Output alignment target. See alignment docs.\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nfetch the data and update status to \"completed\" when ready.","operationId":"create_3dep_topography","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThreeDepTopographyRequest"},"examples":{"minimal":{"value":{},"summary":"Minimal request (10m elevation)","description":"Creates a grid with default settings. Returns elevation at 10m resolution."},"all_bands":{"value":{"bands":["elevation","slope","aspect"]},"summary":"All bands","description":"Creates a grid with elevation, slope, and aspect at default 10m resolution."},"1m_elevation":{"value":{"source_resolution":1,"bands":["elevation"]},"summary":"1m elevation","description":"Creates a grid with 1m elevation data from the 3DEP Seamless 1-Meter DEM (S1M), or from the 1m lidar project tiles where S1M has no tiles."},"2m_terrain":{"value":{"source_resolution":2,"bands":["elevation","slope","aspect"]},"summary":"2m elevation, slope, and aspect","description":"Creates a grid from the 3DEP 1m lidar project tiles, read at their 2m overview."},"with_metadata":{"value":{"name":"High-res terrain","description":"10m elevation for wind flow modeling","tags":["topography","3dep"],"source_resolution":10,"bands":["elevation","slope","aspect"]},"summary":"With name and tags","description":"Creates a named 10m grid with all topography bands and tags."},"with_buffer":{"value":{"source_resolution":10,"bands":["elevation","slope","aspect"],"extent_buffer_cells":10},"summary":"With output buffer for derivatives","description":"Includes 10 result-grid cells of buffer around the domain. Helps reduce edge artifacts in slope/aspect computed from the DEM."},"domain_aligned_2m":{"value":{"source_resolution":1,"bands":["elevation"],"alignment":{"target":"domain","resolution":2.0},"name":"1m 3DEP downsampled to 2m at domain origin","description":"Composes with other 2m grids on the same domain."},"summary":"1m source resampled to 2m at the domain origin","description":"Picks the 1m source product, then aligns the output to the domain origin at a 2m cell size. Composes with other 2m domain-anchored grids."},"native_anchor":{"value":{"source_resolution":1,"bands":["elevation"],"alignment":{"target":"native"},"name":"1m elevation at native source pixel anchor"},"summary":"Preserve source pixel anchor","description":"Disables the default domain anchor. Output preserves the source raster's pixel grid; will not compose with domain-anchored grids without further alignment."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/topography/3dep/coverage":{"get":{"tags":["Grids","Grids - Topography"],"summary":"Check 3DEP tile coverage for a domain","description":"# Check 3DEP Tile Coverage\n\nImmediate pre-flight check that reports which 3DEP tiles are available\nfor the domain at the requested resolution. Use this before creating a\n3DEP grid to avoid waiting for async processing only to discover a\ncoverage gap — especially useful for 1m and 2m data, where coverage is\nregional.\n\n## Query Parameters\n\n- **resolution**: Resolution in meters: 1, 2, 10, or 30. Default: 1.\n\n## Response\n\nReturns tile availability, count, URLs, and (for 1m and 2m) acquisition\ndates. For lidar project tiles these are publication dates.\n\n1m and 2m coverage from the lidar project tiles is available where USGS\ncollected lidar over the domain and has published DEM tiles there. For\n1m and 2m, `coverage_fraction` is the share of the domain where lidar was\ncollected; grid cells outside it are nodata. If\neither USGS service does not respond, the response is still 200, with\n`available` set to null and `unavailable_reason` explaining why. Try\nagain shortly.","operationId":"check_3dep_coverage","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"resolution","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ThreeDepResolution","description":"3DEP source product, in meters. 1: Seamless 1-Meter DEM (S1M), falling back to the 1 m lidar project DEM tiles where S1M has no tiles. 2: the 1 m lidar project DEM tiles, read at their 2 m overview. 10: 1/3 arc-second seamless DEM. 30: 1 arc-second seamless DEM.","default":1},"description":"3DEP source product, in meters. 1: Seamless 1-Meter DEM (S1M), falling back to the 1 m lidar project DEM tiles where S1M has no tiles. 2: the 1 m lidar project DEM tiles, read at their 2 m overview. 10: 1/3 arc-second seamless DEM. 30: 1 arc-second seamless DEM."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreeDepCoverageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/pim/treemap":{"post":{"tags":["Grids","Grids - PIM"],"summary":"Create a grid from TreeMap","description":"# Create TreeMap Grid\n\nCreates a grid with plot imputation data from TreeMap at 30m resolution.\n\nEach pixel contains a plot ID that maps to FIA tree records. Available bands:\n- **tm_id**: TreeMap raster pixel values (small integers, 1-70K)\n- **plt_cn**: FIA plot condition number (large integers, derived from tree table)\n\nBy default only `tm_id` is included. Use the `bands` field to also request\n`plt_cn`.\n\n## Request Body\n\n- **bands**: (optional) Which bands to include. Default: [\"tm_id\"].\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n- **version**: (optional) TreeMap version. Default: \"2022\".\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nfetch the data and update status to \"completed\" when ready.","operationId":"create_treemap","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTreeMapRequest"},"examples":{"minimal":{"value":{},"summary":"Minimal request","description":"Creates a grid with default settings. Returns TreeMap TM_ID values at 30m resolution."},"with_metadata":{"value":{"name":"TreeMap plot IDs","description":"Plot imputation map for tree inventory creation","tags":["treemap","pim"],"version":"2022"},"summary":"With name and tags","description":"Creates a named grid with tags for organization. Useful when maintaining multiple grids for scenario comparison."},"both_bands":{"value":{"bands":["tm_id","plt_cn"]},"summary":"Both TM_ID and PLT_CN bands","description":"Creates a grid with both TreeMap ID and FIA plot condition number. PLT_CN is derived from the tree table lookup."},"with_buffer":{"value":{"extent_buffer_cells":8},"summary":"With output buffer","description":"Includes 8 result-grid cells of buffer beyond the domain extent. Useful when downstream resampling, reprojection, or edge-sensitive processing needs context past the domain edge."},"native_anchor":{"value":{"alignment":{"target":"native"},"name":"TreeMap at native source pixel anchor","description":"Preserves TreeMap's pixel anchor. Useful for downstream tree-list extraction expecting exact source pixels."},"summary":"Preserve source pixel anchor","description":"Disables the default domain anchor. Output preserves TreeMap's native pixel grid; will not compose with domain-anchored grids without further alignment."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/canopy/meta":{"post":{"tags":["Grids","Grids - Canopy"],"summary":"Create a grid from Meta CHM","description":"# Create Meta CHM Grid\n\nCreates a grid with canopy height data from Meta's global canopy height\nmodel at ~1m resolution.\n\n## Request Body\n\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n- **version**: (optional) Meta CHM version. Default: \"2\".\n    - **1**: Tolan, J. et al. (2024). Very high resolution canopy height maps from RGB imagery.\n    - **2**: Brandt, J. et al. (2026). CHMv2: Improvements in Global Canopy Height Mapping using DINOv3.\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nfetch the data and update status to \"completed\" when ready.","operationId":"create_meta_chm","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMetaChmRequest"},"examples":{"minimal":{"value":{},"summary":"Minimal request","description":"Creates a grid with default settings. Returns canopy height at ~1m resolution."},"with_metadata":{"value":{"name":"Meta canopy height","description":"Global canopy height model for forest inventory","tags":["chm","meta"],"version":"2"},"summary":"With name and tags","description":"Creates a named grid with tags for organization. Useful when maintaining multiple grids for scenario comparison."},"with_buffer":{"value":{"extent_buffer_cells":4},"summary":"With output buffer","description":"Includes 4 result-grid cells of buffer beyond the domain extent. Useful when downstream resampling, reprojection, or edge-sensitive processing needs context past the domain edge."},"domain_aligned_2m":{"value":{"alignment":{"target":"domain","resolution":2.0},"name":"Meta CHM at 2m on domain origin"},"summary":"2m output anchored to domain origin","description":"Resamples CHM to 2m on the domain-origin lattice. Composes with other 2m domain-anchored grids."},"target_grid":{"value":{"alignment":{"target":"grid","grid_id":"grid_xyz789"},"name":"Meta CHM aligned to existing grid"},"summary":"Align to an existing grid","description":"Aligns CHM to the exact CRS, transform, and shape of the named target grid. Useful for composing with an existing lattice."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/canopy/naip":{"post":{"tags":["Grids","Grids - Canopy"],"summary":"Create a grid from NAIP CHM","description":"# Create NAIP CHM Grid\n\nCreates a grid with canopy height data from the NAIP-CHM v1 canopy height\nmodel at ~0.6m resolution (CONUS), derived from NAIP aerial imagery.\n\nNAIP imagery is flown state by state, so the years available differ across\nthe country and some places have several. Use\n`GET /domains/{domain_id}/grids/canopy/naip/coverage` to see which years\ncover this domain.\n\n## Request Body\n- **year**: (optional) NAIP year to use. Omit it to use the latest year\n  that fully covers the domain; if no single year does, each part of the\n  domain uses the latest year available there. With a year, parts of the\n  domain it doesn't cover are nodata, and a year that covers none of the\n  domain is rejected with 422.\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nfetch the data and update status to \"completed\" when ready.","operationId":"create_naip_chm","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNaipChmRequest"},"examples":{"minimal":{"value":{},"summary":"Minimal request","description":"Creates a grid with default settings. Returns NAIP canopy height at ~0.6m resolution from the latest year that fully covers the domain."},"with_metadata":{"value":{"name":"NAIP canopy height","description":"High-resolution 0.6m canopy height model for CONUS","tags":["chm","naip","high-res"]},"summary":"With name and tags","description":"Creates a named high-res NAIP grid with tags for organization. Useful for detailed stand-level analysis."},"year":{"value":{"year":2023},"summary":"A specific NAIP year","description":"Builds the grid from 2023 NAIP imagery only. Parts of the domain 2023 doesn't cover are nodata; if it covers none of the domain the request is rejected with 422. Check `GET /domains/{domain_id}/grids/canopy/naip/coverage` for the years that cover the domain."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/canopy/naip/coverage":{"get":{"tags":["Grids","Grids - Canopy"],"summary":"Check NAIP CHM year coverage for a domain","description":"# Check NAIP CHM Coverage\n\nImmediate pre-flight check reporting every NAIP year in the NAIP-CHM v1\ndataset and how much of this domain each one covers. NAIP imagery is flown\nstate by state, so the years that cover a domain depend on where it is.\n\n## Response\n\n`default` is the year a create request without `year` uses: the latest\nyear that fully covers the domain, or null when no single year does. `years`\nlists every year, newest first, with the share of the domain it covers.\nEach year that covers the domain carries a `links.create` request: send its\n`body` to its `href`, a path relative to this API's base URL, to create\nthe grid.","operationId":"check_naip_chm_coverage","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NaipChmCoverageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/canopy/landfire":{"post":{"tags":["Grids","Grids - Canopy"],"summary":"Create a grid from LANDFIRE canopy data","description":"# Create LANDFIRE Canopy Grid\n\nCreates a grid with canopy fuel data from LANDFIRE at 30m resolution\n(CONUS).\n\nAvailable bands:\n- **chm**: canopy height in meters\n- **cbd**: canopy bulk density in kg/m**3\n- **cbh**: canopy base height in meters\n- **cc**:  canopy cover in percent (0-100)\n\nBy default all four bands are included. Use the `bands` field to select\na subset.\n\n## Request Body\n\n- **bands**: (optional) Which bands to include. Default: all four.\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n- **version**: (optional) LANDFIRE version. Default: \"2024\".\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nfetch the data and update status to \"completed\" when ready.","operationId":"create_landfire_canopy","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLandfireCanopyRequest"},"examples":{"minimal":{"value":{},"summary":"Minimal request (all bands)","description":"Creates a grid with default settings. Returns all four canopy bands (chm, cbd, cbh, cc) at 30m resolution."},"crown_fire_inputs":{"value":{"bands":["cbd","cbh"]},"summary":"Crown fire inputs (cbd + cbh)","description":"Returns canopy bulk density and canopy base height — the canopy fuel inputs most relevant to crown fire propagation."},"cover_only":{"value":{"bands":["cc"]},"summary":"Canopy cover only","description":"Returns just the canopy cover band (percent), useful for horizontal masking and overstory-vs-understory partitioning."},"with_metadata":{"value":{"name":"LANDFIRE canopy fuels","description":"Canopy bulk density, base height, height, and cover for crown fire modeling","tags":["canopy","landfire"],"version":"2024","bands":["chm","cbd","cbh","cc"]},"summary":"With name and tags","description":"Creates a named grid with all four canopy bands and tags for organization."},"with_buffer":{"value":{"bands":["chm","cbd","cbh","cc"],"extent_buffer_cells":6},"summary":"With output buffer","description":"Includes 6 result-grid cells of buffer beyond the domain extent. Useful when downstream resampling or focal operations need context past the domain edge."},"native_alignment":{"value":{"alignment":{"target":"native"},"name":"LANDFIRE canopy preserving native pixel anchor","bands":["chm","cbd","cbh","cc"]},"summary":"Preserve the native LANDFIRE pixel anchor","description":"Sets `alignment.target=\"native\"` so the output keeps the LANDFIRE source raster's pixel anchor instead of snapping to the domain origin. Choose this when faithful representation of LANDFIRE cell positions matters more than composing with other domain-aligned grids — e.g. for cross-version LANDFIRE comparisons or to minimize resampling artifacts in the canopy bands."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/canopy/landfire/coverage":{"get":{"tags":["Grids","Grids - Canopy"],"summary":"Check LANDFIRE canopy release coverage for a domain","description":"# Check LANDFIRE Canopy Coverage\n\nImmediate pre-flight check reporting every LANDFIRE canopy release the API\nserves and how much of this domain each one covers. Staged annual releases\nare national; newer releases are served by LANDFIRE Product Service region\nby region, so coverage depends on where the domain is and on what LANDFIRE\nhas published so far. Coverage is determined from the canopy height layer.\n\n## Response\n\n`latest` is the release representing the most recent point in time that\nfully covers the domain. `releases` lists every release, newest first.\nEach release that covers the domain carries a `links.create` request:\nsend its `body` to its `href`, a path relative to this API's base URL,\nto create the grid.","operationId":"check_landfire_canopy_coverage","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandfireCoverageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/canopy/point_cloud":{"post":{"tags":["Grids","Grids - Canopy"],"summary":"Create a CHM grid from a point cloud","description":"# Create a CHM Grid from a Point Cloud\n\nCreates a grid with canopy height data rasterized from a point cloud. Each\ncell reduces the heights above ground of the returns that fall in it to one\nvalue — by default the greatest of them.\n\n## Aggregation\n\nWhich statistic that is matters more as cells grow, because a cell 1 m\nacross describes a crown while a cell 30 m across describes a stand, and a\nmaximum reports the tallest tree in either. Measured on one cloud\nrasterized twice, the same returns gave a mean height of 4.83 m at 1 m\ncells and 15.48 m at 10 m.\n\n`max` is the tallest return. `mean` averages every return, so a cell that\nis half canopy and half gap reads between the two. `median` and\n`percentile` take a rank, which is what keeps one surviving noise return\nfrom setting a cell on its own.\n\nThe resulting grid carries the same `chm` band as the Meta, NAIP, and\nLANDFIRE canopy sources, so it can be used anywhere they can — including as\nthe source for individual tree detection\n(`POST /domains/{domain_id}/inventories/tree/chm`).\n\n## Ground\n\nCanopy height is height above ground, so the ground surface underneath\nmatters. When the point cloud carries ASPRS ground classification\n(class 2), those returns define the ground. When it does not — an upload\nmay carry no classification at all — the ground surface is derived from the\ndata.\n\nWhich path was taken, and how well the data constrained it, is recorded on\nthe completed grid under `source.ground`. Derived ground is accurate in\nforested terrain and degrades over wide areas with no ground returns, such\nas large building footprints or very dense canopy;\n`source.ground.ground_coverage` and `source.ground.max_ground_distance_m`\nare what reveal that.\n\n## Request Body\n\n- **source_point_cloud_id**: The point cloud to rasterize. Must be airborne\n  (`type: als`), `completed`, and in this domain.\n- **alignment**: (optional) Output lattice. Against the domain\n  (`target: \"domain\"`, the default) `resolution` defaults to 1 m — unlike\n  the raster-backed canopy sources there is no source pixel size to\n  inherit. Against another grid (`target: \"grid\"`) omitting `resolution`\n  matches that grid cell-for-cell, and the output covers the target's\n  extent rather than the domain's; giving one keeps the target's origin at\n  the new cell size. The target grid must be in this domain's CRS.\n- **spike_filter**: (optional) Removal of lone spurious returns. Under the\n  default `max` aggregation a cell takes the tallest return in it, so one\n  bad return — a bird, haze — sets the cell unless the cloud classified it\n  as noise, and many clouds do not. Such a return leaves a shape real\n  canopy cannot: a single cell towering over everything around it. Both\n  fields are in meters, so they mean the same thing at any resolution. Send\n  `null` to keep every return. A `mean`, `median`, or `percentile`\n  aggregation already resists a lone return, so the filter matters most\n  with `max`.\n- **aggregation**: (optional) The statistic above, as\n  `{\"method\": \"max\" | \"mean\" | \"median\" | \"percentile\"}`. `percentile`\n  carries the rank it takes, as in\n  `{\"method\": \"percentile\", \"percentile\": 98}`. Defaults to `max`.\n- **name**, **description**, **tags**: (optional) Metadata.\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\nbuild the grid and update status to \"completed\" when ready.","operationId":"create_point_cloud_chm","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePointCloudChmRequest"},"examples":{"minimal":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432"},"summary":"1 m cells (the default)","description":"The only required field is the point cloud to rasterize. Each cell holds the height above ground of the tallest return that falls in it, in meters.\n\nCells are 1 m unless you ask for something else. The point cloud must be an airborne (`als`) cloud in this domain, with status `completed`."},"named":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432","name":"Blackfoot ALS canopy height","description":"1 m CHM rasterized from the 3DEP point cloud.","tags":["als","chm"]},"summary":"With metadata","description":"Name, description, and tags for organizing grids."},"resolution_5m":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432","alignment":{"target":"domain","resolution":5.0}},"summary":"5 m cells","description":"`alignment.resolution` sets the cell size, in meters. Larger cells give a smaller grid that smooths over individual tree crowns. The smallest cell size accepted is 1 m."},"resolution_10m":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432","alignment":{"target":"domain","resolution":10.0}},"summary":"10 m cells","description":"At 10 m and coarser the grid describes the height of the canopy as a whole rather than of individual trees."},"resolution_30m":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432","alignment":{"target":"domain","resolution":30.0}},"summary":"30 m cells, matching LANDFIRE","description":"30 m is the cell size of the LANDFIRE canopy products. Note that the same cell size does not by itself put two grids on the same cells — to line up with a particular LANDFIRE grid, align to it by id instead (see the next two examples)."},"aligned_to_existing_grid":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432","alignment":{"target":"grid","grid_id":"REPLACE_WITH_GRID_ID"}},"summary":"Match an existing grid exactly","description":"Naming another grid in this domain produces a CHM on exactly that grid's cells — same origin, same cell size, same shape — so the two can be composed or exported together without resampling.\n\nThe target must be a completed grid in this domain, using this domain's CRS."},"aligned_to_existing_grid_at_1m":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432","alignment":{"target":"grid","grid_id":"REPLACE_WITH_GRID_ID","resolution":1.0}},"summary":"Match an existing grid, at your own cell size","description":"Adding `resolution` keeps the target grid's position and extent but uses the cell size you give. Use this for a finer CHM that still lines up with a coarser grid — for example 1 m canopy heights on the cells of a 30 m LANDFIRE grid."},"spike_filter":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432","spike_filter":{"min_canopy_footprint_m":5.0,"min_prominence_m":15.0}},"summary":"Tune the removal of spurious returns","description":"A cell holds the tallest return that falls in it, so one bad return — a bird, haze — becomes the height of that cell unless the cloud classified it as noise, and many clouds do not. Such a return leaves a shape real canopy cannot: a single cell towering over everything around it.\n\n`min_canopy_footprint_m` is the narrowest ground footprint real canopy can occupy. A cell is judged against everything within that distance, and only a cell narrower than it can be rejected — so the filter does not run once `alignment.resolution` reaches this value, where one cell holds a stand rather than a crown. `min_prominence_m` is how far above every neighbour a cell must rise. Both are in meters and default to 3 and 25."},"no_spike_filter":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432"},"summary":"Keep every return","description":"`null` turns the filter off, so nothing is removed from the finished grid. Use it when the cloud's noise is already classified, or when you would rather inspect the raw heights."},"percentile":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432","aggregation":{"method":"percentile","percentile":98}},"summary":"Take a high percentile instead of the maximum","description":"A cell takes the tallest return that falls in it, so one return the cloud failed to classify as noise becomes the height of that cell on its own. A high percentile does not have that property: at the 98th, a cell's height is one the returns agree on.\n\n`percentile` is the rank to take, as a percentage of the cell's returns. 100 is the tallest return and 50 the median; between two returns the height is interpolated."},"mean_at_10m":{"value":{"source_point_cloud_id":"8fc4dcad181944fd9cb594af32b58432","alignment":{"target":"domain","resolution":10.0},"aggregation":{"method":"mean"}},"summary":"Average height over 10 m cells","description":"Which statistic to take is really a question about cell size. A 1 m cell sits inside a crown, so its tallest return is that crown's top. A 10 m cell holds a stand, and its tallest return is the tallest tree in it — which is a fact about one tree, not about the stand.\n\nMeasured on one cloud rasterized twice, the same returns gave a mean height of 4.83 m at 1 m cells and 15.48 m at 10 m, and the share of cells above 5 m went from 34.6% to 83.1%. `mean` and `median` describe the cell rather than its tallest thing, so they do not move that way."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/canopy/inventory":{"post":{"tags":["Grids","Grids - Canopy"],"summary":"Create a canopy fuel grid from a tree inventory","description":"# Create Inventory Canopy Grid\n\nDerives the canopy fuel metrics operational fire models consume — canopy\nbulk density (`cbd`), canopy base height (`cbh`), canopy height (`chm`),\ncanopy cover (`cc`), and optionally canopy fuel load (`cfl`) — directly\nfrom a tree inventory, with no voxelization.\n\nFor each tree, available canopy fuel is estimated from crown biomass,\ndistributed vertically over the crown, and attributed to output cells;\neach cell's vertical profile is then reduced to the requested bands. This\nis the FuelCalc-style profile method computed per cell from real stem\npositions instead of per plot from expanded tree records. Bands share\nkeys and units with the LANDFIRE canopy source, so the result drops into\nanything that accepts one — including the landscape export.\n\nOnly live trees contribute canopy fuel, matching FuelCalc's exclusion of\ndead trees.\n\n## Request Body\n\n- **source_inventory_id**: (required) ID of a completed tree inventory in\n  this domain. Required columns depend on the selected methods; the\n  defaults need `x`, `y`, `height`, `crown_base_height`, `dbh`, and\n  `fia_species_code`. Required columns must have no null values; a null\n  `fia_status_code` counts as live.\n- **alignment**: (optional) Output lattice. Against the domain (the\n  default) `resolution` defaults to 30 m — an inventory has no native\n  cell size to inherit. Against another grid, omitting `resolution`\n  matches that grid's lattice exactly.\n- **bands**: (optional) Defaults to `[\"cbd\", \"cbh\", \"chm\", \"cc\"]` — the\n  four landscape-file canopy roles. Add `cfl` for canopy fuel load.\n- **biomass_source**: (optional) `allometry` with `nsvb` (default),\n  `jenkins`, or `brown_1978` equations, or `inventory_column` carrying\n  precomputed per-tree available canopy fuel.\n- **available_fuel**: (optional) Foliage fraction plus the fine-branchwood\n  size partition and fraction. Resolved to `null` with an\n  `inventory_column` biomass source.\n- **species_inclusion**, **crown_class_adjustment**, **min_tree_height**:\n  (optional) Which trees contribute, and how crown weight is adjusted for\n  canopy position.\n- **vertical_distribution**, **layer_depth**: (optional) How each tree's\n  fuel stacks over its crown, and the profile layer depth (default\n  0.3048 m, FuelCalc's 1 ft).\n- **horizontal_distribution**: (optional) `crown_projected` (default)\n  splits each tree's fuel over the cells its crown covers;\n  `stem` assigns it to the stem cell.\n- **max_crown_radius_source**: (optional) Allometric crown radii\n  (default) or a per-tree inventory column (e.g. from LiDAR). A tree with\n  a null in that column uses its Purves radius, so a column source also\n  needs `dbh` and `fia_species_code`.\n- **cbd**, **cbh**, **chm**, **cc**: (optional) Per-band reduction\n  methods. Each may only be supplied when its band is requested;\n  requested bands default to the FuelCalc-style methods.\n- **name**, **description**, **tags**: (optional) Standard metadata.\n\nThe stored grid `source` records every resolved choice, including\ndefaults, so the grid is exactly reproducible from the resource alone.\n\n## Response\n\nReturns the created Grid with status `\"pending\"` and\n`georeference: null`. Griddle computes the canopy metrics asynchronously\nand updates the grid to `\"completed\"` with a 2D `Georeference` when done.","operationId":"create_inventory_canopy_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInventoryCanopyRequest"},"examples":{"minimal":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4"},"summary":"Canopy fuels from your inventory (defaults)","description":"The only required field is the tree inventory to summarize. Produces the four canopy bands a landscape file needs — `cbd`, `cbh`, `chm`, `cc` — at 30 m on the domain lattice, computed per cell from the inventory's actual stem positions and crowns.\n\nDefaults follow a FuelCalc-style profile method with NSVB allometry: available fuel is all foliage plus a national fraction (0.075) of NSVB branchwood — the `none` partition, which prices every species where the FuelCalc fine-share crosswalk cannot — distributed over each crown by the Reinhardt et al. (2006) species curves, summed into 1 ft layers per cell; CBD is the maximum 3 m running mean of that profile, CBH and CHM are the lowest and highest threshold crossings, and cover is the geometric union of projected crowns.\n\nThe inventory must be a completed tree inventory in this domain with species, dbh, height, and crown base height columns."},"explicit_defaults":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","alignment":{"target":"domain","resolution":30.0},"bands":["cbd","cbh","chm","cc"],"biomass_source":{"type":"allometry","equations":"nsvb"},"available_fuel":{"foliage_fraction":1.0,"branchwood":{"size_partition":"none","fraction":0.075}},"species_inclusion":"all_species","crown_class_adjustment":{"method":"none"},"min_tree_height":0.0,"vertical_distribution":"reinhardt_2006","layer_depth":0.3048,"horizontal_distribution":"crown_projected","max_crown_radius_source":{"type":"allometry"},"cbd":{"method":"maximum_running_mean","window":3.0},"cbh":{"method":"bulk_density_threshold","threshold":0.012,"relative_threshold_fraction":0.1},"chm":{"method":"bulk_density_threshold","threshold":0.012,"relative_threshold_fraction":0.1},"cc":{"method":"crown_union"}},"summary":"Every default written out","description":"Identical to the minimal request, with every modeling choice stated explicitly. Useful as a template: change one field at a time to see its effect. The stored grid records these resolved choices either way, so a grid is always reproducible from its own `source`."},"fuelcalc_comparison":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","name":"FuelCalc-comparable canopy fuels","tags":["fuelcalc","landfire-comparison"],"biomass_source":{"type":"allometry","equations":"brown_1978"},"species_inclusion":"fuelcalc_default","crown_class_adjustment":{"method":"fuelcalc_table","missing_crown_class":"other_none"},"horizontal_distribution":"stem","max_crown_radius_source":{"type":"allometry","equations":"crookston_stage"},"cbd":{"method":"maximum_running_mean","window":1.524,"edge":"ground_clamped"},"cbh":{"method":"bulk_density_threshold","smoothing_window":1.524,"smoothing_edge":"ground_clamped"},"chm":{"method":"bulk_density_threshold","smoothing_window":1.524,"smoothing_edge":"ground_clamped"},"cc":{"method":"crown_overlap"}},"summary":"FuelCalc / LANDFIRE comparison settings","description":"Switches the pieces where the FastFuels defaults deliberately depart from FuelCalc 1.7: Brown (1978) crown allometry, FuelCalc's hardwood exclusion, its crown-class factors (applied per tree from the inventory's FIA crown class where present, and the Other/none factor for any tree without one), plot-style stem attribution, its 1.524 m (5 ft) CBD window, and Crookston–Stage overlap cover. No `min_tree_height` is set because FuelCalc 1.7 includes small trees; add 1.83 m to match FFE-FVS or the original FuelCalc method (RMRS-P-41) instead.\n\nThe 5 ft window is the FuelCalc 1.7 User Guide's stated value; the guide's own Appendix D reads unsmoothed layers (`window: null`) and the original method used 15 ft (`window: 4.572`), so pin the window against a reference FuelCalc run when exact agreement matters.\n\nUse this for method-comparison studies against FuelCalc runs or LANDFIRE canopy layers. Expect characterized differences, not identical rasters: published LANDFIRE canopy products include mapping, imputation, and product-level adjustments beyond the plot calculation."},"ffe_fvs_comparison":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","name":"FFE-FVS-comparable canopy fuels","tags":["ffe-fvs"],"biomass_source":{"type":"allometry","equations":"brown_1978"},"vertical_distribution":"uniform","min_tree_height":1.83,"cbd":{"method":"maximum_running_mean","window":3.9624},"cbh":{"method":"bulk_density_threshold","threshold":0.011,"smoothing_window":0.9144},"chm":{"method":"bulk_density_threshold","threshold":0.011,"smoothing_window":0.9144}},"summary":"FFE-FVS comparison settings","description":"The FFE-FVS canopy-fuel algorithm: uniform vertical distribution over each crown, trees under 1.83 m (6 ft) treated as surface fuel, CBD as the maximum 3.9624 m (13 ft) running mean, and CBH/CHM crossing a 0.9144 m (3 ft) running mean at a flat 0.011 kg/m**3 (30 lb/acre/ft) — FFE applies no relative threshold reduction. One residual difference: FFE's crown biomass comes from Brown & Johnston (1976), which is not offered; Brown (1978) is the closest available family."},"with_cfl":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","bands":["cbd","cbh","chm","cc","cfl"]},"summary":"Include canopy fuel load","description":"Adds the `cfl` band (kg/m**2): the total available canopy fuel per unit ground area. CFL cannot be reconstructed from `cbd * (chm - cbh)` unless the profile is vertically uniform, which it rarely is — request it here if you need it. It is not a landscape-file band; the other four remain the export set."},"high_resolution_10m":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","alignment":{"target":"domain","resolution":10.0},"name":"High-resolution canopy fuels"},"summary":"10 m cells","description":"A 10 m landscape resolves within-stand structure that 30 m products smooth over, and operational tools accept it (IFTDSS takes 1–270 m cells). Note the scale trade-off: a 10 m cell is smaller than a large crown, so cell values describe crown-scale rather than stand-scale fuel. The default `crown_projected` attribution matters most here — it spreads each crown's mass over the cells it actually covers."},"aligned_to_landfire_grid":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","alignment":{"target":"grid","grid_id":"REPLACE_WITH_GRID_ID"}},"summary":"Match an existing grid's cells","description":"Produces canopy bands on exactly the named grid's lattice — same origin, cell size, and shape. Align to a LANDFIRE canopy grid to compare the two cell-for-cell, or to any grid you plan to export alongside."},"flat_threshold":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","bands":["cbd","cbh","chm"],"cbh":{"method":"bulk_density_threshold","threshold":0.037},"chm":{"method":"bulk_density_threshold","threshold":0.037}},"summary":"Flat CBH/CHM threshold (Sando & Wick)","description":"Setting `relative_threshold_fraction` to null applies the bulk-density threshold flat, with no relative reduction in sparse cells — here Sando & Wick's 0.037 kg/m**3. In open or treated stands a flat threshold reports higher CBH (or no canopy at all) compared to the FuelCalc rule, which drops the threshold to 10% of the cell's maximum profile density."},"van_wagner_cbd":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","bands":["cbd","cbh","chm"],"cbd":{"method":"load_over_depth","depth":"canopy_depth"}},"summary":"Load-over-depth CBD","description":"Computes CBD as canopy fuel load divided by canopy depth (chm - cbh) — the van Wagner-consistent average density — instead of the running-mean maximum. The two conventions differ systematically: the running-mean maximum reads higher, predicting active crowning at lower windspeeds. The stored source records which convention produced the grid. `cbh` and `chm` must be requested with the threshold method, since they define the depth.\n\nFor the Cruz et al. (2003) variant, use `depth: \"mean_crown_length\"` with foliage-only availability (`available_fuel: {\"branchwood\": {\"size_partition\": \"none\", \"fraction\": 0.0}}`)."},"conservative_cbh":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","bands":["cbd","cbh","chm"],"cbh":{"method":"percentile","percentile":20}},"summary":"Conservative CBH (crown-base percentile)","description":"Derives `cbh` as a plain statistic of the per-tree crown base heights in each cell instead of a bulk-density threshold crossing — here the 20th percentile, a conservative lower tail that captures low ladder fuel a mean would hide (Fulé et al. 2002; Mast et al. 2026). Canopy base height is method-defined, not an intrinsic stand property, and the choice matters: across these methods CBH can shift several meters and swing predicted torching index, so match the method to the decision.\n\nThe crown-base methods are `mean` (Van Wagner's stand mean, the definition behind the classic crown-fire model; add `weight_by_available_fuel: true` to weight by crown fuel), `percentile` (`percentile: 50` is the median, 20 or 25 a conservative lower tail), and `minimum` (the most conservative — any tree can carry fire into the canopy, suited to risk-averse screening and firefighter safety). Use the default `bulk_density_threshold` method to reproduce FuelCalc / FFE-FVS / LANDFIRE instead."},"total_branchwood_fraction":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","available_fuel":{"foliage_fraction":1.0,"branchwood":{"size_partition":"none","fraction":0.2}}},"summary":"Fraction of total branchwood","description":"`size_partition: \"none\"` skips the fine-class partition, so `fraction` applies to the equation family's total branchwood. The single number then combines two things the default keeps separate — the fine-branch share of the crown and the share of fine branchwood that burns. Use it when you have a local estimate of the available share of all branchwood, or when Brown's Interior-West fine-branch proportions are not appropriate for your forest type."},"precomputed_fuel_column":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","biomass_source":{"type":"inventory_column","column":"available_canopy_fuel_kg","unit":"kg"}},"summary":"Per-tree fuel from an inventory column","description":"Reads available canopy fuel per tree from an inventory column instead of estimating it, bypassing allometry, the available-fuel fractions, species inclusion, and crown-class adjustment. Use this when you have your own crown fuel estimates — from destructive sampling, a local allometry, or species-specific consumable fractions. Vertical and horizontal distribution still apply."},"lidar_crown_radii":{"value":{"source_inventory_id":"9c1f2ab4708d4290a8ab6ecf35f21ab4","max_crown_radius_source":{"type":"inventory_column","column":"crown_radius","unit":"m"}},"summary":"Measured crown radii","description":"Reads each tree's maximum crown radius from an inventory column — e.g. segment areas from LiDAR or NAIP individual-tree detection — instead of the allometric value. The radius drives `crown_projected` attribution and the geometric cover methods, so measured crowns directly improve `cc` and the spatial pattern of all four bands."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/compose":{"post":{"tags":["Grids","Grids - Compose"],"summary":"Create a grid by composing existing grids","description":"# Create Compose Grid\n\nCreates a new grid by selecting bands, computing bands, and applying\noptional conditional fallback rules across one or more completed grids.","operationId":"create_compose_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateComposeRequest"},"examples":{"basic_compute":{"value":{"name":"Combined fuel loads","inputs":[{"grid_id":"grid_fbfm40","alias":"a"},{"grid_id":"grid_fccs","alias":"b"}],"operations":[{"type":"compute","output":"fuel_load","operator":"add","operands":["a.fuel_load.1hr","b.fuel_load.1hr"]}]},"summary":"Compute one output from two grids","description":"Adds the same continuous band from two aligned source grids and writes the result as a single output band named `fuel_load`. This is the smallest multi-grid compose request: `inputs` gives each source grid an alias, and a `compute` operation names the output plus the arithmetic operation. The output band's type (continuous) and unit (`kg/m**2`, inherited from the operands) are derived automatically — only the optional `name` is supplied. Use this pattern when two products carry compatible units and should contribute to the same fire-model quantity."},"select_and_compute":{"value":{"name":"Composed surface fuels","inputs":[{"grid_id":"grid_fbfm40","alias":"a"},{"grid_id":"grid_fccs","alias":"b"}],"operations":[{"type":"select","output":"fbfm","from":"a.fbfm"},{"type":"select","output":"fuel_depth","from":"a.fuel_depth"},{"type":"compute","output":"fuel_load.1hr","operator":"add","operands":["a.fuel_load.1hr","b.fuel_load.1hr"]},{"type":"compute","output":"fuel_load.10hr","operator":"max","operands":["a.fuel_load.10hr","b.fuel_load.10hr"]}]},"summary":"Select bands and compute multiple outputs","description":"Builds a richer output grid by copying some bands directly from one source and computing others from two sources. `select` operations preserve categorical or already-valid bands such as `fbfm` and `fuel_depth`; `compute` operations derive new continuous outputs. Output bands follow the order of `operations`, so the resulting band order is `fbfm`, `fuel_depth`, `fuel_load.1hr`, `fuel_load.10hr`."},"single_grid_math":{"value":{"name":"FCCS with combined 1hr fuels","inputs":[{"grid_id":"grid_fccs","alias":"a"}],"operations":[{"type":"select","output":"duff_depth","from":"a.duff_depth"},{"type":"compute","output":"fuel_load.1hr","operator":"add","operands":["a.fuel_load.1hr","a.fuel_load.litter"]}]},"summary":"Combine bands within one grid","description":"Uses compose with a single input grid. This is useful when one source already contains the component bands needed to create a new aggregate band. Here `duff_depth` is copied through unchanged while `fuel_load.1hr + fuel_load.litter` becomes the composed `fuel_load.1hr` band. A single-grid compose still creates a new async Grid with normal lineage and derived band metadata."},"literal_operand":{"value":{"name":"Adjusted fuel loads","inputs":[{"grid_id":"grid_surface","alias":"a"}],"operations":[{"type":"compute","output":"fuel_load.1hr","operator":"multiply","operands":["a.fuel_load.1hr",0.5]}]},"summary":"Compute using a scalar literal","description":"Scales a raster band by a bare numeric literal. Bare numbers are allowed in compute `operands`; for `multiply` and `divide` they are treated as dimensionless, so multiplying `kg/m**2` by `0.5` leaves the derived output unit `kg/m**2`. Use a tagged literal instead when the literal itself has a unit."},"unit_override":{"value":{"name":"Scaled live herb load","inputs":[{"grid_id":"grid_fbfm40","alias":"a"}],"operations":[{"type":"compute","output":"fuel_load.live_herb","operator":"multiply","operands":["a.fuel_load.live_herb",{"type":"literal","value":67,"unit":"%"}],"unit":"kg/m**2"}]},"summary":"Express the result in a different unit","description":"A compute output's unit is derived from its operands by default. Supply `unit` to express the result in a different but dimensionally compatible unit, and the worker converts to it. Here a `kg/m**2` live herb load times a 67 `%` literal derives `kg*%/m**2`; `unit` writes it as `kg/m**2`, the unit a `fuel_load` band requires. An incompatible override (e.g. `m`) is rejected at request time."},"conditional_compute":{"value":{"name":"Averaged fuel loads where both valid","inputs":[{"grid_id":"grid_landfire","alias":"a"},{"grid_id":"grid_rap","alias":"b"}],"operations":[{"type":"compute","output":"fuel_load.1hr","operator":"average","operands":["a.fuel_load.1hr","b.fuel_load.1hr"],"conditions":[{"band":"a.fuel_load.1hr","operator":"gt","value":0},{"band":"b.fuel_load.1hr","operator":"gt","value":0}],"else":"a.fuel_load.1hr"}]},"summary":"Compute only where both source bands are valid","description":"Computes an average only where both source bands pass the conditions. Conditions are ANDed together, and attribute conditions evaluate false on nodata. Because `conditions` is present, `else` is required; here the fallback is the LANDFIRE band. This pattern is useful for combining a preferred source with a conservative fallback when one input has zeros or gaps."},"conditional_fallback":{"value":{"name":"RAP with LANDFIRE fallback","inputs":[{"grid_id":"grid_landfire","alias":"a"},{"grid_id":"grid_rap","alias":"b"}],"operations":[{"type":"select","output":"fuel_load.1hr","from":"a.fuel_load.1hr","conditions":[{"band":"b.fuel_load.1hr","operator":"eq","value":0}],"else":"b.fuel_load.1hr"}]},"summary":"Conditional fallback to another input band","description":"Selects from one source when a condition on another source is true, otherwise falls back to that other source. In this example, LANDFIRE fills cells where RAP is zero; everywhere else the RAP band is used. This is the direct conditional-infill pattern for choosing between two aligned rasters without doing arithmetic."},"set_membership":{"value":{"name":"RAP for grass fuel models","inputs":[{"grid_id":"grid_landfire","alias":"a"},{"grid_id":"grid_rap","alias":"b"}],"operations":[{"type":"select","output":"fuel_load.1hr","from":"b.fuel_load.1hr","conditions":[{"band":"a.fbfm","operator":"in","value":["GR1","GR2","GR3","GR4","GR5","GR6","GR7","GR8","GR9"]}],"else":"a.fuel_load.1hr"}]},"summary":"Use set membership to choose the source grid","description":"Uses a categorical source band to decide which raster should supply the output value. The `in` operator checks whether `a.fbfm` is one of the Scott-Burgan grass fuel models. Conditions accept the human-readable FBFM labels (`GR1`-`GR9`) or the equivalent numeric codes (101-109) interchangeably; matching cells come from RAP and all other cells come from LANDFIRE. For categorical conditions, compose supports `eq`, `ne`, and `in`."},"inline_compute_fallback":{"value":{"name":"LANDFIRE infill with averaging","inputs":[{"grid_id":"grid_landfire","alias":"a"},{"grid_id":"grid_rap","alias":"b"}],"operations":[{"type":"select","output":"fuel_load.1hr","from":"a.fuel_load.1hr","conditions":[{"band":"b.fuel_load.1hr","operator":"eq","value":0}],"else":{"operator":"average","operands":["a.fuel_load.1hr","b.fuel_load.1hr"]}}]},"summary":"Fallback to an inline computation","description":"Uses a `select` operation for the primary branch and an inline `compute` object for the fallback branch. Cells where RAP is zero use LANDFIRE directly; all other cells use the average of LANDFIRE and RAP. Inline computes are allowed only as fallback values and do not have their own nested conditions."},"mixed_conditions":{"value":{"name":"Conditional average inside treatment area","inputs":[{"grid_id":"grid_landfire","alias":"a"},{"grid_id":"grid_rap","alias":"b"}],"operations":[{"type":"select","output":"fbfm","from":"a.fbfm"},{"type":"select","output":"fuel_depth","from":"a.fuel_depth"},{"type":"compute","output":"fuel_load.1hr","operator":"average","operands":["a.fuel_load.1hr","b.fuel_load.1hr"],"conditions":[{"band":"a.fuel_load.1hr","operator":"gt","value":0},{"band":"b.fuel_load.1hr","operator":"gt","value":0},{"source":"geometry","operator":"within","geometry":{"type":"Polygon","coordinates":[[[500000.0,5200000.0],[500500.0,5200000.0],[500500.0,5200500.0],[500000.0,5200500.0],[500000.0,5200000.0]]]}}],"else":"a.fuel_load.1hr"}]},"summary":"Combine attribute and spatial conditions","description":"Combines copied context bands with a computed band whose conditions mix raster attributes and spatial geometry. All conditions are ANDed: both source fuel-load bands must be positive and the cell must be inside the treatment polygon. Cells outside that intersection fall back to LANDFIRE. Use this pattern for treatment-area or analysis-area overrides that should apply only where source data also passes quality checks."},"typed_literal_fallback":{"value":{"name":"Zero non-burnable fuels","inputs":[{"grid_id":"grid_surface","alias":"a"}],"operations":[{"type":"select","output":"fuel_load.1hr","from":"a.fuel_load.1hr","conditions":[{"band":"a.fbfm","operator":"ne","value":["NB1","NB2","NB3","NB8","NB9"]}],"else":{"type":"literal","value":0,"unit":"kg/m**2"}}]},"summary":"Conditional fallback to a typed literal","description":"Uses a tagged literal as the fallback value. Tagged literals make the value type explicit and can carry a unit, which lets the API validate that the fallback is compatible with the output band before enqueueing the job. This example writes zero fuel load with unit `kg/m**2` for non-burnable FBFM cells. LANDFIRE FBFM bands store numeric Scott-Burgan codes, so NB1, NB2, NB3, NB8, and NB9 are referenced as 91, 92, 93, 98, and 99."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/duet":{"post":{"tags":["Grids","Grids - DUET"],"summary":"Create a surface fuel grid with DUET","description":"# Create a DUET Surface Fuel Grid\n\nRuns DUET (Distribution of Understory using Elliptical Transport) over a 3D\ntree grid to produce 2D surface fuels. DUET drops leaf and needle litter\nfrom each tree's crown along wind-driven elliptical fall trajectories, then\ngrows grass as a function of shade and litter cover — so litter accumulates\nunder and downwind of crowns, and grass fills the gaps between them.\n\n## What DUET does and does not give you\n\nDUET supplies the **spatial pattern** of surface fuels, keyed to real canopy\nstructure. It does **not** supply physical magnitudes: raw DUET loadings are\nidiosyncratic to the model and should not be read as fuel loads or fed to a\nfire model as-is. Use `calibration` to impose magnitudes you trust — from\nfield data, from the literature, or from an FBFM40 grid.\n\n## Request Body\n\n- **source_grid_id**: (required) A completed 3D tree grid carrying the\n  `bulk_density.foliage.live`, `spcd`, and `fuel_moisture.live` bands,\n  with at most 600,000 horizontal cells (2.4 km² at 2 m, 0.6 km² at 1 m).\n  Create one with `POST /grids/voxelize/inventory/tree`, requesting those\n  three bands — `spcd` in particular is not voxelized by default.\n- **years_since_burn**: (required) Years of litter accumulation to simulate,\n  1–25. DUET starts from the year of the last fire, with grass and litter\n  consumed, so this is the stand's time since fire. It is the single most\n  consequential parameter: a low value yields almost no litter because there\n  has been no time for any to fall. It also drives runtime.\n- **wind_direction**: (optional) Degrees clockwise from north. Default 270.\n- **wind_variability**: (optional) Angular spread in degrees. Default 30.\n- **bands**: (optional) Output bands. Defaults to `fuel_load.grass` and\n  `fuel_load.litter`. DUET separates fuels by type rather than size class,\n  so bands are named for `grass`, `litter` (and its `litter.coniferous` /\n  `litter.deciduous` parts), and `total`.\n- **calibration**: (optional) Per-parameter, per-fuel-type targets. Omit to\n  store raw output.\n- **name**, **description**, **tags**: (optional) Standard metadata.\n\n## Calibration\n\nEach of `fuel_load`, `fuel_depth`, and `fuel_moisture` is calibrated\nindependently, and within each, per fuel type (`grass`, `coniferous`,\n`deciduous`, `litter`, or `all` — which is exclusive of the others). Methods:\n\n- `maxmin` — rescale to a target maximum and minimum. Best when fuel data\n  are limited, or when their distribution does not resemble DUET's.\n- `meansd` — rescale to a target mean and standard deviation. Appropriate\n  only when the targets come from a dataset large enough to approximate a\n  normal distribution.\n- `constant` — assign a single value. Reasonable only when that is the only\n  value available.\n\nCalibration rescales only cells that already carry fuel; cells DUET left\nempty stay empty. A consequence worth expecting: where cover is sparse, the\ndomain-wide mean will sit well below a `meansd` target, because the target\napplies to the covered cells rather than to the domain.\n\n## Response\n\nReturns the created Grid with status `\"pending\"` and `georeference: null`.\nTreevox runs DUET asynchronously and updates the grid to `\"completed\"` with\na 2D `Georeference` when done.","operationId":"create_duet_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDuetRequest"},"examples":{"uncalibrated":{"summary":"Raw DUET output (no calibration)","description":"Stores DUET's values as computed. The spatial pattern is meaningful — litter under crowns, grass in gaps — but the magnitudes are not physical fuel loadings. Use this to inspect the pattern, not to drive a fire model.","value":{"name":"DUET surface fuels (raw)","source_grid_id":"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6","years_since_burn":25,"bands":["fuel_load.grass","fuel_load.litter"]}},"calibrated_from_values":{"summary":"Calibrated against known loadings","description":"Rescales DUET's pattern to loadings measured or assumed for this stand. `maxmin` suits sparse or limited fuel data; `meansd` assumes the targets come from a dataset large enough to be approximately normal.","value":{"name":"DUET surface fuels (calibrated)","source_grid_id":"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6","years_since_burn":25,"wind_direction":270,"wind_variability":30,"bands":["fuel_load.grass","fuel_load.litter","fuel_depth.grass","fuel_depth.litter"],"calibration":{"fuel_load":{"grass":{"method":"meansd","mean":0.5,"sd":0.25},"litter":{"method":"maxmin","max":5.0,"min":0.0}},"fuel_depth":{"grass":{"method":"constant","value":0.3},"litter":{"method":"constant","value":0.06}}}}},"separated_litter":{"summary":"Coniferous and deciduous litter as separate bands","description":"DUET tracks litter per species and duet-tools separates it into coniferous and deciduous layers. Useful in mixed stands where the two litter types burn differently.","value":{"name":"DUET mixed-stand litter","source_grid_id":"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6","years_since_burn":15,"bands":["fuel_load.litter.coniferous","fuel_load.litter.deciduous","fuel_load.grass","fuel_load.total"]}}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/lookup/fbfm13":{"post":{"tags":["Grids","Grids - Lookup - FBFM13"],"summary":"Create a grid by looking up FBFM13 fuel parameters","description":"# Create FBFM13 Lookup Grid\n\nConverts Anderson 13 fuel model codes to fuel parameters using the\nAnderson 13 lookup table.\n\nTakes a source grid containing categorical FBFM13 codes (from\n`/grids/fbfm13/landfire`) and produces a new grid with the requested\ncontinuous fuel parameters.\n\n## Request Body\n\n- **source_grid_id**: (required) Grid containing FBFM13 codes.\n- **bands**: (required) Bands to look up. Valid values:\n  - `fuel_load.1hr`, `fuel_load.10hr`, `fuel_load.100hr` - Dead fuel loads (kg/m**2)\n  - `fuel_load.live_foliage` - Live foliage fuel loads (kg/m**2)\n  - `savr.1hr`, `savr.10hr`, `savr.100hr` - Dead fuel SAV ratios (1/m)\n  - `savr.live_foliage` - Live foliage fuel SAV ratios (1/m)\n  - `fuel_depth` - Fuel bed depth (m)\n- **source_band**: (optional) Band in source grid containing FBFM13 codes. Defaults to `\"fbfm13\"`.\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n\n## Valid FBFM13 Codes\n\nThe source grid must contain only valid Anderson 13 fuel model codes.\nThe 18 valid codes are:\n\n- **NB** (non-burnable): 91, 92, 93, 98, 99\n- **Anderson 13 models**: 1–13\n\nCells with no fuel model in the source grid (nodata) remain nodata in every\noutput band. Any other code not listed above, including 0, fails the job\nwith an `INVALID_FBFM_CODES` error.\n\n## Response\n\nReturns the created Grid with status \"pending\". The backend applies the\nlookup transformation and updates status to \"completed\" when ready.\n\n## Notes\n\n- Domain is propagated from the source grid (derived grids carry the\n  same domain reference as their source).\n- The output grid inherits georeference from the source grid.\n- Non-burnable codes (91-99) produce zero values for all bands.\n- Where a fuel model has no live fuel, `savr.live_foliage` holds BEHAVE's\n  value for that class (1500 1/ft).\n- Fuel parameter values are from Anderson, Hal E. 1982. *Aids to\n  determining fuel models for estimating fire behavior.* USDA Forest\n  Service General Technical Report INT-122.\n- All output values are in metric units (converted from Anderson 13 imperial values).","operationId":"create_fbfm13_lookup","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFbfm13LookupRequest"},"examples":{"minimal":{"value":{"source_grid_id":"grid_abc123","bands":["fuel_load.1hr","fuel_depth"]},"summary":"Minimal request","description":"Looks up just 1-hr fuel load and fuel depth from an FBFM13 source grid. The source grid must have status 'completed' and contain an 'fbfm13' band."},"all_bands":{"value":{"source_grid_id":"grid_abc123","name":"Surface fuels from FBFM13","description":"All Anderson 13 fuel parameters for baseline scenario","tags":["baseline","surface-fuel"],"bands":["fuel_load.1hr","fuel_load.10hr","fuel_load.100hr","fuel_load.live_foliage","savr.1hr","savr.10hr","savr.100hr","savr.live_foliage","fuel_depth"]},"summary":"All fuel bands","description":"Looks up all available Anderson 13 fuel parameters: fuel loads and SAV ratios (three dead size classes plus live foliage), and fuel depth."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/lookup/fbfm40":{"post":{"tags":["Grids","Grids - Lookup - FBFM40"],"summary":"Create a grid by looking up FBFM40 fuel parameters","description":"# Create FBFM40 Lookup Grid\n\nConverts FBFM40 fuel model codes to fuel parameters using Scott-Burgan 40\nlookup tables.\n\nTakes a source grid containing categorical FBFM codes (from\n`/grids/fbfm40/landfire`) and produces a new grid with the requested\ncontinuous fuel parameters.\n\n## Request Body\n\n- **source_grid_id**: (required) Grid containing FBFM40 codes.\n- **bands**: (required) Bands to look up. Valid values:\n  - `fuel_load.1hr`, `fuel_load.10hr`, `fuel_load.100hr` - Dead fuel loads (kg/m**2)\n  - `fuel_load.live_herb`, `fuel_load.live_woody` - Live fuel loads (kg/m**2)\n  - `fuel_load.dead_herb` - Cured herbaceous fuel load (kg/m**2)\n  - `fuel_load.fine_dead` - 1-hr plus dead herbaceous fuel load (kg/m**2)\n  - `savr.1hr`, `savr.10hr`, `savr.100hr` - Dead fuel SAV ratios (1/m)\n  - `savr.live_herb`, `savr.live_woody` - Live fuel SAV ratios (1/m)\n  - `savr.dead_herb` - Dead herbaceous SAV ratio (1/m)\n  - `savr.fine_dead` - Load-weighted SAV ratio of 1-hr and dead herbaceous fuel (1/m)\n  - `fuel_depth` - Fuel bed depth (m)\n- **herbaceous_curing**: (optional) Fraction of herbaceous load that is\n  cured, from 0 (green) to 1 (fully cured). Defaults to 0.67. See\n  Herbaceous Curing below.\n- **source_band**: (optional) Band in source grid containing FBFM codes. Defaults to `\"fbfm\"`.\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n\n## Valid FBFM40 Codes\n\nThe source grid must contain only valid Scott-Burgan 40 fuel model codes.\nThe 46 valid codes are:\n\n- **NB** (non-burnable): 91, 92, 93, 98, 99\n- **GR** (grass): 101–109\n- **GS** (grass-shrub): 121–124\n- **SH** (shrub): 141–149\n- **TU** (timber-understory): 161–165\n- **TL** (timber litter): 181–189\n- **SB** (slash-blowdown): 201–204\n\n## Herbaceous Curing\n\nEvery fuel model with live herbaceous load is a dynamic model (Scott and\nBurgan 2005). In a dynamic model, `herbaceous_curing` of the live\nherbaceous load moves to a separate dead herbaceous class:\n\n- `fuel_load.live_herb` = (1 - `herbaceous_curing`) x herbaceous load\n- `fuel_load.dead_herb` = `herbaceous_curing` x herbaceous load\n\nDead herbaceous fuel keeps the herbaceous SAV ratio and takes the dead\n1-hr fuel moisture. Live woody fuel never cures. `fuel_load.1hr` and\n`savr.1hr` are unaffected by curing.\n\n`fuel_load.fine_dead` and `savr.fine_dead` combine 1-hr and dead\nherbaceous fuel into a single fine dead fuel class, for models that take\none surface fuel class, such as the QUIC-Fire export.\n\nTo start from a live herbaceous moisture content `M` (%) instead, use\n`herbaceous_curing` = (120 - `M`) / 90, clipped to 0-1.\n\nCells with no fuel model in the source grid (nodata) remain nodata in every\noutput band. Any other code not listed above, including 0, fails the job\nwith an `INVALID_FBFM_CODES` error.\n\n## Response\n\nReturns the created Grid with status \"pending\". The backend applies the\nlookup transformation and updates status to \"completed\" when ready.\n\n## Notes\n\n- Domain is propagated from the source grid (derived grids carry the\n  same domain reference as their source).\n- The output grid inherits georeference from the source grid.\n- Non-burnable codes (NB1–NB9) produce zero values for all bands.\n- Where a fuel model has no live herbaceous or live woody fuel, the matching\n  SAVR band holds BEHAVE's value for that class instead of the 9999\n  placeholder printed in Scott and Burgan (2005).\n- All output values are in metric units (converted from SB40 imperial values).","operationId":"create_fbfm40_lookup","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFbfm40LookupRequest"},"examples":{"minimal":{"value":{"source_grid_id":"grid_abc123","bands":["fuel_load.1hr","fuel_depth"]},"summary":"Minimal request","description":"Looks up just 1-hr fuel load and fuel depth from an FBFM40 source grid. The source grid must have status 'completed' and contain an 'fbfm' band."},"all_bands":{"value":{"source_grid_id":"grid_abc123","name":"Surface fuels from FBFM40","description":"All SB40 fuel parameters for baseline scenario","tags":["baseline","surface-fuel"],"bands":["fuel_load.1hr","fuel_load.10hr","fuel_load.100hr","fuel_load.live_herb","fuel_load.live_woody","fuel_load.dead_herb","fuel_load.fine_dead","savr.1hr","savr.10hr","savr.100hr","savr.live_herb","savr.live_woody","savr.dead_herb","savr.fine_dead","fuel_depth"]},"summary":"All fuel bands","description":"Looks up all available SB40 fuel parameters: fuel loads and SAV ratios for every fuel class, including dead herbaceous and fine dead fuel at the default curing, and fuel depth."},"fine_dead":{"value":{"source_grid_id":"grid_abc123","name":"Fully cured surface fuels","herbaceous_curing":1.0,"bands":["fuel_load.fine_dead","savr.fine_dead","fuel_depth"]},"summary":"Fine dead fuel, fully cured","description":"Looks up 1-hr plus dead herbaceous fuel as a single fine dead fuel class, with all herbaceous fuel cured. Suits models with one surface fuel class, such as the QUIC-Fire export."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/lookup/fccs":{"post":{"tags":["Grids","Grids - Lookup - FCCS"],"summary":"Create a grid by looking up FCCS fuel parameters","description":"# Create FCCS Lookup Grid\n\nConverts FCCS fuelbed codes to fuel parameters using the FOFEM FCCS\nfuelbed lookup table (see the\n[FOFEM/SpatialFOFEM FCCS lookup table](https://www.landfire.gov/sites/default/files/CSV/SpatialFOFEM_FCCS_Formatted_TS_06-27-24.csv),\nthe USDA Forest Service data source this endpoint converts).\n\nTakes a source grid containing categorical FCCS codes (from\n`/grids/fccs/landfire`) and produces a new grid with the requested\ncontinuous fuel parameters.\n\n## Request Body\n\n- **source_grid_id**: (required) Grid containing FCCS codes.\n- **bands**: (required) Bands to look up. Valid values:\n  - `fuel_load.litter`, `fuel_load.duff` - Ground fuel loads (kg/m**2)\n  - `duff_depth` - Duff layer depth (m)\n  - `fuel_load.live_shrub`, `fuel_load.live_herb` - Live surface fuel loads (kg/m**2)\n  - `fuel_load.1hr`, `fuel_load.10hr`, `fuel_load.100hr` - Dead fuel loads (kg/m**2)\n  - `fuel_load.1000hr_sound`, `fuel_load.1000hr_rotten` - Dead fuel loads, >3in. diameter (kg/m**2)\n  - `fuel_load.live_foliage`, `fuel_load.live_branch` - Live crown fuel loads (kg/m**2)\n- **source_band**: (optional) Band in source grid containing FCCS codes. Defaults to `\"fccs\"`.\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n\n## Band Coverage\n\nThese 12 bands are a starting subset of what FOFEM provides, not the\nfull table. `fuel_load.1000hr_sound` and `fuel_load.1000hr_rotten`\nare each calculated by summing three FOFEM size-class columns\n(3-9 in., 9-20 in., 20+ in.) rather than mapping to a single source\ncolumn. FOFEM also provides finer sound/rotten size-class\nbreakdowns, a cover-group code, and emission factors that aren't\nexposed as bands here — additional bands can be added on request.\n\n## Valid FCCS Codes\n\nEach `FCCS` code is a synthetic key: `base * 10_000 + suffix`, where\n`base` is the `FCCSID` fuelbed number and the 3-digit `suffix`\nencodes an FCCS Potential rating (Fire Behavior / Crown Fire /\nAvailable Fuel Potential, each a 0-9 digit) per the [Fuel Characteristic\nClassification System Version 3.0: Technical Documentation (PNW-GTR-887)](https://www.fs.usda.gov/pnw/pubs/pnw_gtr887.pdf).\n\nThe source grid must contain FCCS codes whose base fuelbed number matches\na recognized `FCCSID`. A code with a valid base but no matching row in the\nFOFEM lookup table is not an error. It's a fuelbed/fire-potential combination\nthe table doesn't cover, so its output is `NaN` for every band, and a\nprogress warning lists these codes.\n\n## Response\n\nReturns the created Grid with status \"pending\". The backend applies the\nlookup transformation and updates status to \"completed\" when ready.\n\n## Notes\n\n- Domain is propagated from the source grid (derived grids carry the\n  same domain reference as their source).\n- The output grid inherits georeference from the source grid.\n- All output values are in metric units (converted from FOFEM imperial\n  values).","operationId":"create_fccs_lookup","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFccsLookupRequest"},"examples":{"minimal":{"value":{"source_grid_id":"grid_abc123","bands":["fuel_load.1hr","duff_depth"]},"summary":"Minimal request","description":"Looks up just 1-hr fuel load and duff depth from an FCCS source grid. The source grid must have status 'completed' and contain an 'fccs' band."},"all_bands":{"value":{"source_grid_id":"grid_abc123","name":"Surface fuels from FCCS","description":"All FOFEM FCCS fuel parameters for baseline scenario","tags":["baseline","surface-fuel"],"bands":["fuel_load.litter","fuel_load.duff","duff_depth","fuel_load.live_shrub","fuel_load.live_herb","fuel_load.1hr","fuel_load.10hr","fuel_load.100hr","fuel_load.1000hr_sound","fuel_load.1000hr_rotten","fuel_load.live_foliage","fuel_load.live_branch"]},"summary":"All fuel bands","description":"Looks up all 12 FOFEM FCCS fuel parameters: ground fuels (litter, duff, duff depth), live surface fuels (shrub, herb), dead fuels (1hr-1000hr), and live crown fuels (foliage, branch)."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/rasterize/layerset":{"post":{"tags":["Grids","Grids - Rasterize"],"summary":"Create a grid by rasterizing a layerset","description":"# Create Layerset-Rasterized Grid\n\nRasterizes a previously-uploaded fuelbed layerset into a grid aligned\nto the domain (default) or to a target grid.\n\nThe `layerset_id` must reference a Feature uploaded for this domain via\n`POST /domains/{domain_id}/features/layerset` and owned by the caller.\n\n## Request Body\n\n- **layerset_id**: (required) Feature ID of the layerset to rasterize.\n- **overlap_method**: (optional) Per-cell reduction when polygons of the\n  same `fuel_type` overlap a single cell. One of `mean`, `max`, `min`.\n  Default: `mean`. (Loading is always summed across overlapping polygons\n  regardless of this setting.)\n- **alignment**: (optional) See alignment docs. Default: anchored to domain.\n- **extent_buffer_cells**: (optional) Buffer in result-grid cells around\n  the domain extent. Cells inside the buffered extent that fall outside\n  polygon coverage are populated with the rasterizer's fill value.\n- **name**, **description**, **tags**, **modifications**: standard grid metadata.\n\n## Bands\n\nThe band list is empty until rasterization completes; it depends on the\nlayerset's `fuel_type` values. Each fuel type yields five continuous\nbands keyed `<quantity>.<fuel type>`:\n\n- `fuel_load.<fuel type>` (kg/m**2)\n- `fuel_depth.<fuel type>` (m)\n- `fuel_moisture.live.<fuel type>` (%)\n- `fuel_moisture.dead.<fuel type>` (%)\n- `heat_content.<fuel type>` (kJ/kg)\n\nThe fuel type in a key is lowercased, with each run of characters other\nthan `a-z`, `0-9` and `_` replaced by `_` (`\"Shrub Layer\"` →\n`shrub_layer`). Two fuel types that reduce to the same key, or one with\nno letters or digits, fail the job with `INVALID_FUEL_TYPE`.\n\n## Response\n\nReturns the created Grid resource with status `pending`. The backend\nfetches the layerset GeoJSON from GCS, rasterizes it, and updates the\nstatus to `completed` when ready.","operationId":"create_layerset_rasterize","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLayersetRasterizeRequest"},"examples":{"minimal":{"value":{"layerset_id":"LAYERSET_ID_GOES_HERE"},"summary":"Minimal request","description":"Rasterizes the named layerset using the default mean overlap method and the domain alignment target."},"with_metadata":{"value":{"layerset_id":"LAYERSET_ID_GOES_HERE","name":"Custom surface fuels — Blackfoot site","description":"Rasterized layerset for the Blackfoot example domain.","tags":["layerset","custom","blackfoot"]},"summary":"With name, description, and tags","description":"Adds discoverability metadata to the rasterized grid. Useful when maintaining multiple fuel scenarios per domain."},"max_overlap":{"value":{"layerset_id":"LAYERSET_ID_GOES_HERE","overlap_method":"max"},"summary":"Use max reduction for overlapping polygons","description":"Where multiple fuelbed polygons overlap a single output cell, the cell takes the maximum value rather than the default mean."},"with_buffer":{"value":{"layerset_id":"LAYERSET_ID_GOES_HERE","extent_buffer_cells":4},"summary":"With output buffer","description":"Includes 4 result-grid cells of buffer around the domain extent. Cells inside the buffered extent that fall outside polygon coverage are populated with the rasterizer's fill value."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/resample":{"post":{"tags":["Grids","Grids - Resample"],"summary":"Create a grid by resampling an existing grid","description":"# Create Resampled Grid\n\nResamples an existing grid to a new spatial resolution and/or anchor.\nThis is the key operation for unifying grids on a common lattice\n(e.g., LANDFIRE 30m to 2m for QUIC-Fire input).\n\nThe resampled grid propagates ``domain_id`` and bands from the source grid.\n\n## Request Body\n\n- **source_grid_id**: (required) Grid to resample. Must have status\n  \"completed\" and a georeference.\n- **alignment**: (required) Output alignment target.\n  ``alignment.resolution`` is required for ``target=\"domain\"`` and\n  ``target=\"native\"``; optional for ``target=\"grid\"`` (defaults to the\n  target grid's exact transform/shape).\n- **method_overrides**: (optional) Per-band resampling method overrides.\n- **name**, **description**, **tags**: (optional)\n\n## Response\n\nReturns the created Grid with status \"pending\". The backend performs the\nresampling and updates status to \"completed\" when ready.","operationId":"create_resample","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateResampleRequest"},"examples":{"minimal":{"value":{"source_grid_id":"grid_abc123","alignment":{"target":"domain","resolution":2.0}},"summary":"Minimal request (domain anchor)","description":"Resample a grid to 2m at the domain origin using role-aware default resampling. The source grid must have status 'completed' and a georeference."},"with_overrides":{"value":{"source_grid_id":"grid_abc123","alignment":{"target":"domain","resolution":2.0,"method":"bilinear"},"method_overrides":{"fbfm":"nearest"},"name":"Resampled fuels at 2m","description":"30m LANDFIRE resampled to 2m with nearest for categorical FBFM","tags":["resampled","2m"]},"summary":"Per-band method overrides","description":"Resample to 2m using bilinear by default, but nearest-neighbor for the categorical 'fbfm' band. This is useful when a grid has both continuous and categorical bands."},"all_nearest":{"value":{"source_grid_id":"grid_abc123","alignment":{"target":"domain","resolution":5.0,"method":"nearest"},"name":"Nearest-neighbor resample at 5m"},"summary":"All nearest-neighbor","description":"Resample to 5m using nearest-neighbor for all bands. Appropriate for purely categorical grids."},"mode_downsampling":{"value":{"source_grid_id":"grid_abc123","alignment":{"target":"domain","resolution":60.0,"method":"mode"},"name":"Downsampled categorical grid at 60m","description":"Downsample using mode (most frequent value) for categorical data"},"summary":"Mode aggregation for downsampling","description":"Downsample to 60m using mode (most frequent value). Appropriate for categorical grids where you want the dominant category in each output pixel."},"target_grid":{"value":{"source_grid_id":"grid_abc123","alignment":{"target":"grid","grid_id":"grid_xyz789"},"name":"Aligned to existing grid","description":"Exact lattice match to an existing grid (CRS, transform, shape)."},"summary":"Align to an existing grid","description":"Produce a grid byte-equal in CRS, transform, and shape to the target grid. Useful for exact composition with an existing lattice."},"target_grid_new_resolution":{"value":{"source_grid_id":"grid_abc123","alignment":{"target":"grid","grid_id":"grid_xyz789","resolution":1.0,"method":"bilinear"},"name":"Same anchor as target grid, 1m cell size","description":"Reuse the target grid's CRS and origin but resample to 1m. Output cells nest cleanly inside the target grid's pixels."},"summary":"Same anchor as target grid, new resolution","description":"Reuse the target grid's CRS and origin, but resample to a different cell size. Output cells nest cleanly inside the target grid's pixels (when the new resolution divides cleanly)."},"native":{"value":{"source_grid_id":"grid_abc123","alignment":{"target":"native","resolution":5.0},"name":"Resolution change preserving source anchor"},"summary":"Resolution change preserving source anchor","description":"Resample to a new resolution but preserve the source raster's pixel anchor. Output won't compose with domain-anchored grids without further alignment."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/voxelize/inventory/tree":{"post":{"tags":["Grids","Grids - Voxelize"],"summary":"Create a 3D tree fuel grid from a tree inventory","description":"# Create Tree Inventory Grid\n\nVoxelizes a tree inventory into a 3D canopy fuel grid. Each tree's crown\nis discretized onto the voxel grid using a species-specific crown profile\nmodel, and per-voxel fuel properties (bulk density, moisture, SAV) are\ncomputed from biomass and moisture models.\n\nThis is a 3D grid product — resampling and modifications are not\nsupported. Apply modifications to the source inventory before voxelizing.\n\n## Request Body\n\n- **source_inventory_id**: (required) ID of a completed tree inventory.\n  Its `x`, `y`, `height`, `dbh`, `crown_base_height` and `fia_species_code`\n  (and any biomass column read) must have no null values; a null\n  `fia_status_code` counts as live.\n- **resolution**: (optional) Voxel resolution in meters. Defaults to\n  `{\"horizontal\": 2.0, \"vertical\": 1.0}`. All components must be positive.\n- **bands**: (optional) Which output bands to produce. Defaults to\n  `[\"bulk_density.foliage.live\"]`. Must be non-empty and contain no\n  duplicates. Branchwood and fine bands are accepted by the API, but\n  Treevox currently fails those jobs with a not-implemented processing\n  error.\n- **crown_profile_model**: (optional) Crown shape. Each tree's crown runs\n  from its `crown_base_height` to its height.\n  - `purves` (default): Purves et al. (2007), species-specific; widest at\n    the crown base.\n  - `beta`: species-group beta distribution; widest within the crown, per\n    species group.\n  - `cone`: right circular cone; widest at the crown base.\n  - `cylinder`: right circular cylinder; uniform radius.\n  - `single_ellipsoid`: one half-ellipsoid of revolution; widest at the\n    crown base.\n  - `dual_ellipsoid`: two half-ellipsoids joined at the crown midpoint;\n    widest there.\n  - `single_paraboloid`: one paraboloid of revolution; widest at the crown\n    base.\n  - `dual_paraboloid`: two paraboloids joined at the crown midpoint;\n    widest there (the LANL Trees crown envelope).\n- **biomass_source**: (optional) Biomass source and requested components. The\n  default uses NSVB allometry for foliage. Inventory-column sources must\n  provide per-tree kg values for each requested direct component.\n- **max_crown_radius_source**: (optional) Source of each tree's maximum\n  crown radius. The default, `{\"type\": \"allometry\"}`, uses the Purves et\n  al. (2007) maximum crown radius for `purves` and every geometric shape\n  (`cone`, `cylinder`, ellipsoids, paraboloids), so a tree's crown is\n  equally wide under each of them and only the shape changes; `beta` uses\n  its own allometric radius. Pass\n  `{\"type\": \"inventory_column\", \"column\": <name>}` to read a per-tree\n  maximum radius (m) from an inventory column (e.g. derived from LiDAR).\n  The crown profile model still controls the crown shape — only the peak\n  radius is rescaled. A tree with a null in that column uses its\n  allometric radius.\n- **crown_geometry_source**: (optional) Where crown shapes come from.\n  `{\"type\": \"parametric\"}` (default) draws every crown from\n  `crown_profile_model`. `{\"type\": \"crown_feature\", \"feature_id\": <id>}`\n  gives each tree with a crown in that crown Feature a measured crown,\n  matched by `tree_id`:\n  - Outline: the crown's CHM cells.\n  - Top: each cell's CHM height.\n  - Bottom: `crown_profile_model`, going up from the crown base. Profiles\n    widest at the crown base give a flat bottom there; `beta` and the\n    dual profiles give a bottom that rises toward the crown's edge. Each\n    cell's bottom is at least one voxel below its top, but never below\n    the crown base.\n\n  `max_crown_radius_source` does not apply to measured crowns, and every\n  tree keeps the mass `biomass_source` gives it. Trees with no crown in\n  the Feature, trees whose crown does not contain their stem, and trees\n  with no CHM height above their crown base, are drawn parametrically.\n  Crowns of trees not in the inventory are ignored. The inventory must\n  have a `tree_id` column, the Feature must be a completed crown Feature\n  in this domain, and the CHM grid it was built from must still exist.\n- **max_bulk_density**: (optional) Upper limit on bulk density, in\n  kg/m**3. In any voxel where a biomass component's bulk density, live\n  and dead combined, exceeds the limit, that component's live and dead\n  bulk density are scaled down to it, keeping their live/dead split, and\n  `leaf_area_density` is scaled with foliage. Fuel above the limit is\n  removed from the grid. Omit for no limit.\n- **moisture_model**: (optional) Live/dead fuel moisture configuration.\n  Required shape: `{\"live\": {\"method\": \"uniform\", \"value\": <percent>}}`\n  and/or `{\"dead\": {\"method\": \"uniform\", \"value\": <percent>}}`.\n  Applied only when matching `fuel_moisture.*` bands are requested. Live\n  defaults to 100%; dead defaults to 10%.\n- **name**, **description**, **tags**: (optional) Standard metadata.\n\n## Response\n\nReturns the created Grid resource with status `\"pending\"` and\n`georeference: null`. The Treevox backend performs voxelization\nasynchronously and updates the grid to `\"completed\"` with a\n`Georeference3D` when done.\n\nWith a `crown_feature` source, `source.source_chm_grid_id` and\n`source.source_chm_grid_checksum` record the crown Feature's CHM grid and\nits `checksum` at creation, and the completed grid's\n`source.crown_geometry_counts` gives the number of trees drawn with a\nmeasured crown (`measured`) and drawn parametrically because they had no\ncrown in the Feature (`parametric_no_crown`), their crown did not contain\ntheir stem (`parametric_stem_outside_crown`), or they had no CHM height\nabove their crown base (`parametric_no_volume`). Trees that cannot be\ndrawn at all are not counted.","operationId":"create_tree_inventory_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTreeInventoryRequest"},"examples":{"minimal":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID"},"summary":"Minimum request","description":"Voxelizes a tree inventory with all defaults. The request only needs the source inventory ID. Produces a single `bulk_density.foliage.live` band (kg/m**3) at 2 m × 2 m × 1 m voxelresolution using the Purves crown profile and NSVB biomass models. Use this when you only need foliage mass per voxel."},"basic":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.foliage.live"]},"summary":"Basic request with explicit defaults","description":"Equivalent to the minimum request, but shows the default `resolution` and `bands` values explicitly."},"with_bands":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.foliage.live","fuel_moisture.live","savr.foliage","spcd","tree_id","volume_fraction"]},"summary":"Request every foliage-compatible band","description":"Produces all six foliage-compatible tree-grid bands: `bulk_density.foliage.live`, `fuel_moisture.live`, `savr.foliage`, `spcd`, `tree_id`, and `volume_fraction`. `fuel_moisture.live` defaults to a uniform 100% because no `moisture_model` is provided. `spcd` and `tree_id` record which species and inventory record occupy each voxel. `volume_fraction` sums per-tree crown occupancy and exceeds 1.0 where crowns overlap — useful for diagnosing dense canopy. Branchwood and fine bands are accepted by the API but currently fail asynchronously in Treevox with a not-implemented error."},"with_moisture_model":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.foliage.live","fuel_moisture.live"],"moisture_model":{"live":{"method":"uniform","value":75.0}}},"summary":"Configure live fuel moisture","description":"Sets live fuel moisture to a uniform 75% across the grid. Supply `moisture_model` whenever you request `fuel_moisture.live` and the default of 100% is not appropriate for your scenario (e.g., late-season or fire-weather conditions). Only the `uniform` method is available today; additional methods will appear as new `method` values."},"with_live_dead_partition":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.foliage.live","bulk_density.foliage.dead","fuel_moisture.live","fuel_moisture.dead"],"biomass_source":{"type":"allometry","equations":"nsvb","components":["foliage"],"component_states":{"foliage":{"live":0.85,"dead":0.15}}},"moisture_model":{"live":{"method":"uniform","value":95.0},"dead":{"method":"uniform","value":8.0}}},"summary":"Split foliage into live and dead states","description":"Splits allometry-estimated foliage biomass into 85% live and 15% dead density bands, then assigns separate uniform live and dead fuel moisture values. Omit `component_states` to use the default 100% live, 0% dead partition for each requested component."},"alternate_models":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.foliage.live"],"crown_profile_model":"beta","biomass_source":{"type":"allometry","equations":"jenkins","components":["foliage"]}},"summary":"Override crown-profile and biomass models","description":"Switches from the default Purves crown profile to the Beta profile (Ferrarese et al. 2015, 10 Jenkins species groups) and from NSVB allometry to Jenkins allometry (Jenkins et al. 2003). Use these alternates when your species composition is not well-represented by Purves/NSVB or when you need continuity with prior FastFuels outputs. Use a `biomass_source.type` of `\"inventory_columns\"` to read per-tree kg biomass values directly from inventory columns instead of modeling them."},"geometric_crown_profile":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.foliage.live"],"crown_profile_model":"dual_paraboloid"},"summary":"Use a geometric crown shape","description":"Draws each crown as two paraboloids joined at the crown midpoint (the LANL Trees crown envelope). The other geometric shapes are `cone` and `cylinder`, `single_ellipsoid` and `single_paraboloid` (widest at the crown base), and `dual_ellipsoid` (widest at the crown midpoint). With the default `max_crown_radius_source`, the maximum radius is the Purves et al. (2007) maximum crown radius, so the crown is as wide as a `purves` crown of the same tree and holds the same foliage mass; only the shape changes."},"with_inventory_biomass":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.foliage.live"],"biomass_source":{"type":"inventory_columns","columns":{"foliage":{"column":"foliage_biomass","unit":"kg"}},"components":["foliage"]}},"summary":"Use inventory foliage biomass","description":"Reads per-tree foliage biomass from the `foliage_biomass` inventory column instead of estimating foliage biomass with allometric equations. The column values must be per-tree kg; area-normalized fuel loads such as kg/m**2 are not accepted."},"with_branchwood_biomass":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.branchwood.live"],"biomass_source":{"type":"allometry","equations":"nsvb","components":["branchwood"]}},"summary":"Request branchwood biomass","description":"Requests a `bulk_density.branchwood.live` output band using NSVB allometry. The API accepts this request shape, but Treevox currently marks the asynchronous job failed with a not-implemented error until branchwood component compute is available."},"with_derived_fine_biomass":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.fine.live"],"biomass_source":{"type":"allometry","equations":"nsvb","components":["fine"],"fine":{"recipe":"foliage_plus_branchwood_fraction","branchwood_fraction":0.1}}},"summary":"Request derived fine biomass","description":"Requests `bulk_density.fine.live` as foliage plus 10% of branchwood. The API accepts this request shape, but Treevox currently marks the asynchronous job failed with a not-implemented error until fine component compute is available."},"with_inventory_crown_radius":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.foliage.live"],"max_crown_radius_source":{"type":"inventory_column","column":"crown_radius","unit":"m"}},"summary":"Use per-tree max crown radius from inventory","description":"Reads each tree's maximum crown radius (m) from the `crown_radius` inventory column (measured by CHM crown segmentation, or uploaded) instead of estimating it from the crown profile model. The crown profile model still drives the crown shape — the supplied radius rescales the profile so its peak matches the per-tree value. The inventory must list the column."},"with_measured_crowns":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":1.0,"vertical":1.0},"bands":["bulk_density.foliage.live"],"crown_profile_model":"dual_ellipsoid","crown_geometry_source":{"type":"crown_feature","feature_id":"PLACEHOLDER_CROWN_FEATURE_ID"}},"summary":"Draw crowns from a crown Feature","description":"Draws each tree that has a crown in the crown Feature from its measured crown: the crown's CHM cells give the outline, their heights give the top, and the `dual_ellipsoid` profile gives a bottom that rises from the crown base toward the crown's edge. Other trees are drawn as dual ellipsoids. Use the inventory the Feature was built from, or one derived from it (for example by `tree/allometry/gdam`), so the trees keep their `tree_id`."},"with_seed":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.foliage.live"],"seed":42},"summary":"Pin the random seed for reproducibility","description":"Supplies an explicit `seed` so repeated voxelizations of this inventory at this resolution produce bit-identical output. The seed is persisted on the grid document; omit it to have the API generate and persist one for you (re-runs are still deterministic against the stored seed)."},"with_leaf_area_density":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","resolution":{"horizontal":2.0,"vertical":1.0},"bands":["bulk_density.foliage.live","leaf_area_density"]},"summary":"Request leaf area density band","description":"Produces a leaf area density (LAD) band (leaf area m**2 per m**3 of canopy volume, reported in the canonical 1/m) using canopy bulk density (kg/m**3) and a species-derived specific leaf area (SLA) (m**2/kg). SLA per tree is calculated in fastfuels-core (https://github.com/silvxlabs/fastfuels-core/blob/main/fastfuels_core/trees.py) using a database of per species SLA assembled from TRY Plant Trait Database (https://www.try-db.org/TryWeb/Home.php) data, with fallbacks for genus and Jenkin's group. Database values are per species means with outliers removed, see https://github.com/silvxlabs/fastfuels-core/blob/main/fastfuels_core/data/REF_TRY_DB_LEAF.csv for full database. SLA is petiole excluded. LAD can be used as an input into the LeafLux light dynamics model (https://github.com/silvxlabs/leaflux-core). "}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/solar/irradiance/leaflux":{"post":{"tags":["Grids"],"summary":"Create a 3D LeafLux irradiance grid from a source fuel grid","description":"Create a pending irradiance Grid and dispatch it to Treevox for compute.","operationId":"create_leaflux_irradiance_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLeafluxIrradianceRequest"},"examples":{"minimal":{"summary":"Minimal - default surface band, no terrain","value":{"source_lad_grid_id":"LAD_GRID_ID","date_time":"2025-07-01T19:00:00Z"}},"full":{"summary":"Full - canopy + surface with terrain","value":{"name":"Midday irradiance","description":"Relative canopy and surface irradiance.","tags":["solar","irradiance"],"source_lad_grid_id":"LAD_GRID_ID","source_terrain_grid_id":"TERRAIN_GRID_ID","bands":["irradiance.canopy.relative","irradiance.surface.relative"],"date_time":"2025-07-01T19:00:00Z","extinction_coefficient":0.5}},"canopy_only":{"summary":"Canopy only - no terrain needed","value":{"source_lad_grid_id":"LAD_GRID_ID","bands":["irradiance.canopy.relative"],"date_time":"2025-07-01T19:00:00Z"}},"surface_flat":{"summary":"Surface only - flat plane, no terrain supplied","value":{"source_lad_grid_id":"LAD_GRID_ID","bands":["irradiance.surface.relative"],"date_time":"2025-07-01T19:00:00Z"}},"surface_terrain":{"summary":"Surface only - draped on a supplied terrain grid","value":{"source_lad_grid_id":"LAD_GRID_ID","source_terrain_grid_id":"TERRAIN_GRID_ID","bands":["irradiance.surface.relative"],"date_time":"2025-07-01T19:00:00Z"}}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/uniform":{"post":{"tags":["Grids","Grids - Uniform"],"summary":"Create a uniform (constant-value) grid","description":"# Create Uniform Grid\n\nCreates a grid where every cell is filled with a constant value for each\nspecified band. Useful for fuel moisture scenarios, constant fuel loads,\nand other spatially-uniform inputs.\n\n## Request Body\n\n- **resolution**: (required) Grid resolution in meters (>= 1). No default\n  since uniform grids have no \"native resolution.\"\n- **bands**: (required) One or more bands, each with a key and value.\n  Band keys must be unique.\n- **name**: (optional) Name for the grid.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing grids.\n\n## Available Bands\n\n**Fuel moisture** (unit: %): `fuel_moisture.1hr`, `fuel_moisture.10hr`,\n`fuel_moisture.100hr`, `fuel_moisture.live_herb`, `fuel_moisture.live_woody`\n\n**Curing** (unit: %): `curing`\n\n**Fuel load** (unit: kg/m**2): `fuel_load.1hr`, `fuel_load.10hr`,\n`fuel_load.100hr`, `fuel_load.live_herb`, `fuel_load.live_woody`\n\n**Fuel depth** (unit: m): `fuel_depth`\n\n## Response\n\nReturns the created Grid resource with status \"pending\". The backend will\ngenerate the data and update status to \"completed\" when ready.","operationId":"create_uniform_grid","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUniformRequest"},"examples":{"single_band":{"value":{"resolution":2.0,"bands":[{"key":"fuel_moisture.1hr","value":6.0}]},"summary":"Single band (1hr fuel moisture)","description":"Creates a uniform grid with a single band of 1-hour fuel moisture at 6% across the entire domain at 2m resolution."},"moisture_scenario":{"value":{"resolution":2.0,"bands":[{"key":"fuel_moisture.1hr","value":6.0},{"key":"fuel_moisture.10hr","value":8.0},{"key":"fuel_moisture.100hr","value":12.0},{"key":"fuel_moisture.live_herb","value":60.0},{"key":"fuel_moisture.live_woody","value":90.0}],"name":"Dry fuel moisture scenario","tags":["fuel-moisture","dry-scenario"]},"summary":"Multiple moisture bands","description":"Creates a uniform grid with all five fuel moisture bands for a dry scenario. Each band is filled with a constant value."},"fuel_loads":{"value":{"resolution":5.0,"bands":[{"key":"fuel_load.1hr","value":0.15},{"key":"fuel_load.10hr","value":0.1},{"key":"fuel_depth","value":0.3}],"name":"Custom fuel load","description":"Uniform fuel load for sensitivity analysis","tags":["fuel-load","sensitivity"]},"summary":"Fuel loads and depth","description":"Creates a uniform grid with fuel loads and fuel depth at 5m resolution for sensitivity analysis."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grid"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/upload/geotiff":{"post":{"tags":["Grids","Grids - Upload"],"summary":"Create a grid from a direct GeoTIFF upload","description":"# Create Upload Grid (GeoTIFF)\n\nCreates a grid resource and returns a signed URL for uploading a GeoTIFF\ndirectly to GCS. Upload with HTTP PUT, sending **every header in the\nresponse's `upload.headers`** exactly as given — the signed URL commits to\nthem, and the upload is rejected if any is missing or altered. For example:\n\n```bash\ncurl -X PUT --upload-file grid.tif       -H \"Content-Type: image/tiff\"       -H \"x-goog-content-length-range: 0,1073741824\"       \"<upload.url>\"\n```\n\nWhen the upload completes, the uploader service processes the file\nautomatically via Eventarc and updates the grid status to `completed`\n(or `failed` on error).\n\n## Band Definitions\n\nThe `bands` array maps 1:1 to GeoTIFF raster bands in order:\n`bands[0]` → GeoTIFF band 1, `bands[1]` → GeoTIFF band 2, etc.\nEach band key becomes a variable name in the output Zarr store.\n\nA key is `<quantity>` or `<quantity>.<label>` (`fbfm`, `fuel_load.1hr`,\n`fuel_load.shrub`). The quantity sets the band's `type` and `unit`, so\nthey can be omitted; if given they must match. An uploaded band is then\naccepted wherever a band of that quantity is, e.g. an uploaded `fbfm`\nfeeds an FBFM40 lookup.\n\n## CRS Handling\n\nThe GeoTIFF must have a CRS set and must match the domain CRS. A mismatch\nfails with `CRS_MISMATCH`; reproject the GeoTIFF (e.g., `gdalwarp -t_srs`)\nbefore uploading.\n\n## Buffer Cells\n\n`num_buffer_cells` (default 0) keeps extra cells around the domain extent\nin the stored grid. The uploaded GeoTIFF must cover the domain bbox\nexpanded by `num_buffer_cells * native_pixel_size` on each side; pixels\nbeyond that expanded extent are clipped away.\n\n## File requirements\n\nSingle or multi-band GeoTIFF (`.tif`, `.tiff`). Maximum 1 GB.","operationId":"create_geotiff_upload","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGeoTIFFUploadRequest"},"examples":{"single_band":{"value":{"bands":[{"key":"fbfm","type":"categorical"}],"name":"Custom FBFM40"},"summary":"Single-band categorical (FBFM40)","description":"Upload a single-band GeoTIFF with fuel model codes. The band key maps to the variable name in the output Zarr store."},"multi_band":{"value":{"bands":[{"key":"bulk_density.foliage","type":"continuous","unit":"kg/m**3"},{"key":"bulk_density.branchwood","type":"continuous","unit":"kg/m**3"}],"name":"Custom bulk density","tags":["lidar"]},"summary":"Multi-band continuous (bulk density)","description":"Upload a multi-band GeoTIFF. bands[i] maps to GeoTIFF band i+1. Each band becomes a separate variable in the output Zarr store."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GridUploadCreatedResponse"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/grids/upload/netcdf":{"post":{"tags":["Grids","Grids - Upload"],"summary":"Create a grid from a direct netCDF upload","description":"# Create Upload Grid (netCDF)\n\nCreates a grid resource and returns a signed URL for uploading a\nCF-conformant netCDF directly to GCS. Upload with HTTP PUT, sending\n**every header in the response's `upload.headers`** exactly as given —\nthe signed URL commits to them, and the upload is rejected if any is\nmissing or altered. For example:\n\n```bash\ncurl -X PUT --upload-file grid.nc       -H \"Content-Type: application/x-netcdf\"       -H \"x-goog-content-length-range: 0,1073741824\"       \"<upload.url>\"\n```\n\nWhen the upload completes, the uploader service processes the file\nautomatically via Eventarc and updates the grid status to `completed`\n(or `failed` on error).\n\n## Bands\n\nUnlike the GeoTIFF route, the request body has **no `bands` field**.\nEach data variable's name is its band key, `<quantity>` or\n`<quantity>.<label>` (e.g. `fbfm`, `fuel_load.1hr`), and becomes the\nvariable name in the output Zarr store. The quantity sets the band's type\nand unit. A `units` attribute is optional but must match the quantity's\nunit, and categorical codes must be stored as integers. Otherwise the\nupload fails with `INVALID_BAND_KEY`, `INVALID_BAND_UNITS` or\n`INVALID_BAND_DTYPE`.\n\n## Dimensions\n\nEach data variable must have dims exactly `(\"y\",\"x\")` (2D) or\n`(\"z\",\"y\",\"x\")` (3D) in that order. Mixed-rank datasets are rejected\nwith `WRONG_DIMS`.\n\n## CRS\n\nThe dataset must carry a CF `grid_mapping` (typically `spatial_ref`)\nthat matches the domain CRS. Missing CRS fails with `MISSING_CRS`;\nmismatched CRS fails with `CRS_MISMATCH`. No auto-reproject.\n\n## Units\n\nIf a data variable has a `units` attribute it must be in canonical\nUDUNITS-2 ASCII form with `**` exponents (e.g. `kg/m**3`, `1/m`, `%`).\nNon-canonical forms (`kg/m³`, `kg/m^3`, `kg/m3`) fail with\n`INVALID_UNITS`.\n\n## Z axis (3D only)\n\n- `z.attrs[\"positive\"]` must equal `\"up\"`. `\"down\"` is rejected\n  (`MISSING_Z_POSITIVE`).\n- z-coordinates must be uniformly spaced. Non-uniform spacing is\n  rejected with `NONUNIFORM_Z`.\n\n## Buffer cells\n\n`num_buffer_cells` (default 0) keeps extra cells around the domain\nextent in the stored grid. The uploaded netCDF must cover the domain\nbbox expanded by `num_buffer_cells * native_pixel_size` on each side;\npixels beyond that expanded extent are clipped away.\n\n## File requirements\n\nCF-conformant netCDF (`.nc`). Maximum 1 GB.","operationId":"create_netcdf_upload","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNetcdfUploadRequest"},"examples":{"minimal":{"value":{},"summary":"Minimal request — no metadata","description":"All variable names, units, dtypes, CRS, and z-axis spacing come from the netCDF file itself. The request body only carries resource-level metadata."},"with_metadata":{"value":{"name":"Custom 3D fuel grid","description":"Voxelized bulk density from external LiDAR pipeline.","tags":["lidar","external"]},"summary":"Name, description, tags"},"with_buffer":{"value":{"name":"FBFM with 2-cell buffer","num_buffer_cells":2},"summary":"Keep a 2-cell buffer around the domain"}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GridUploadCreatedResponse"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/-/inventories":{"get":{"tags":["Inventories"],"summary":"List inventories across all domains","description":"# List Inventories Endpoint\n\nRetrieves a paginated list of all inventories across all domains belonging to\nthe authenticated user.\n\n## Query Parameters\n\n- **page**: (integer, optional) Page number (zero-indexed). Default: 0.\n- **size**: (integer, optional) Items per page (1-1000). Default: 100.\n- **sort_by**: (string, optional) Field to sort by: `created_on`, `modified_on`, `name`.\n- **sort_order**: (string, optional) Sort direction: `ascending`, `descending`.\n- **type**: (string, optional) Filter by entity type (e.g., `tree`).\n- **source**: (string, optional) Filter by source name (e.g., `pim`).\n- **tag**: (string, optional) Filter inventories that contain this tag.\n\n## Response\n\nReturns a paginated list of inventories with metadata.","operationId":"list_inventories_cross_domain","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"The page number to retrieve (zero-indexed).","default":0,"title":"Page"},"description":"The page number to retrieve (zero-indexed)."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"The number of inventories to retrieve per page.","default":100,"title":"Size"},"description":"The number of inventories to retrieve per page."},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/InventorySortField"},{"type":"null"}],"description":"The field to sort results by.","title":"Sort By"},"description":"The field to sort results by."},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortOrder"},{"type":"null"}],"description":"The order to sort results (ascending or descending).","title":"Sort Order"},"description":"The order to sort results (ascending or descending)."},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/InventoryType"},{"type":"null"}],"description":"Filter inventories by entity type (e.g., 'tree').","title":"Type"},"description":"Filter inventories by entity type (e.g., 'tree')."},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter inventories by source name (e.g., 'pim').","title":"Source"},"description":"Filter inventories by source name (e.g., 'pim')."},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter inventories that contain this tag.","title":"Tag"},"description":"Filter inventories that contain this tag."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListInventoriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories":{"get":{"tags":["Inventories"],"summary":"List all inventories","description":"# List Inventories Endpoint\n\nRetrieves a paginated list of all inventories within a domain belonging to\nthe authenticated user.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain to list inventories for.\n\n## Query Parameters\n\n- **page**: (integer, optional) Page number (zero-indexed). Default: 0.\n- **size**: (integer, optional) Items per page (1-1000). Default: 100.\n- **sort_by**: (string, optional) Field to sort by: `created_on`, `modified_on`, `name`.\n- **sort_order**: (string, optional) Sort direction: `ascending`, `descending`.\n- **type**: (string, optional) Filter by entity type (e.g., `tree`).\n- **source**: (string, optional) Filter by source name (e.g., `pim`).\n- **tag**: (string, optional) Filter inventories that contain this tag.\n\n## Response\n\nReturns a paginated list of inventories with metadata.","operationId":"list_inventories","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"The page number to retrieve (zero-indexed).","default":0,"title":"Page"},"description":"The page number to retrieve (zero-indexed)."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"The number of inventories to retrieve per page.","default":100,"title":"Size"},"description":"The number of inventories to retrieve per page."},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/InventorySortField"},{"type":"null"}],"description":"The field to sort results by.","title":"Sort By"},"description":"The field to sort results by."},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortOrder"},{"type":"null"}],"description":"The order to sort results (ascending or descending).","title":"Sort Order"},"description":"The order to sort results (ascending or descending)."},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/InventoryType"},{"type":"null"}],"description":"Filter inventories by entity type (e.g., 'tree').","title":"Type"},"description":"Filter inventories by entity type (e.g., 'tree')."},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter inventories by source name (e.g., 'pim').","title":"Source"},"description":"Filter inventories by source name (e.g., 'pim')."},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter inventories that contain this tag.","title":"Tag"},"description":"Filter inventories that contain this tag."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListInventoriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/{inventory_id}":{"get":{"tags":["Inventories"],"summary":"Get an inventory by ID","description":"# Get Inventory Endpoint\n\nRetrieves a specific inventory resource by its unique identifier.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain the inventory belongs to.\n- **inventory_id**: (string) The unique 32-character hex identifier of the inventory.\n\n## Response\n\nReturns the inventory resource.\n\n## Error Responses\n\n- **404 Not Found**: The inventory does not exist or the user does not have access.","operationId":"get_inventory","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inventory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Inventories"],"summary":"Update an inventory","description":"# Update Inventory Endpoint\n\nUpdates the metadata of an existing inventory resource. Only the fields\nprovided in the request body will be modified.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain the inventory belongs to.\n- **inventory_id**: (string) The unique identifier of the inventory.\n\n## Request Body\n\nAll fields are optional:\n\n- **name**: (string) New name for the inventory.\n- **description**: (string) New description.\n- **tags**: (array of strings) New tags (replaces existing).\n\n## What Cannot Be Updated\n\nThe following fields are immutable:\n\n- **id**, **domain_id**, **type**, **source**, **modifications**, **georeference**\n- **created_on** (creation timestamp is permanent)\n- **checksum** (changes only when the inventory's content is rebuilt, never\n  via metadata updates)\n\nThe **modified_on** field is automatically updated.\n\n## Response\n\nReturns the updated inventory resource.","operationId":"update_inventory","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateInventoryRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inventory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Inventories"],"summary":"Delete an inventory","description":"# Delete Inventory Endpoint\n\nPermanently deletes an inventory resource by its unique identifier.\nThis action cannot be undone.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain the inventory belongs to.\n- **inventory_id**: (string) The unique identifier of the inventory.\n\n## Response\n\nReturns HTTP 204 No Content with an empty response body.\n\n## Error Responses\n\n- **404 Not Found**: The inventory does not exist or the user does not have access.","operationId":"delete_inventory","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/{inventory_id}/duplicate":{"post":{"tags":["Inventories"],"summary":"Duplicate an inventory","description":"# Duplicate an Inventory\n\nCreates an independent **copy** of a completed inventory under a new ID.\nUse this to branch a scenario: duplicate, then edit the copy in place while\nthe original stays untouched.\n\nThis is a true clone, not a re-derivation. The finished data is byte-copied;\nno regeneration is performed. The copy carries over the source's `source`,\n`modifications`, `treatments`, `columns`, `georeference`, and `checksum`\nverbatim — only its `id` and timestamps differ.\n\n## Request Body (optional)\n\nAll fields are optional. Any field omitted is carried over from the source.\n\n- **name**: Name for the copy.\n- **description**: Description for the copy.\n- **tags**: Tags for the copy.\n\nSend no body at all to copy the metadata unchanged.\n\n## Response\n\nReturns the new Inventory with status `\"pending\"`. The data is copied in the\nbackground; the status transitions to `\"completed\"` once the copy finishes\n(or `\"failed\"` if it does not). Data endpoints (`/data`) become available\nonly after the copy completes. The source inventory is unchanged.\n\n## Error Responses\n\n- **404 Not Found**: The source inventory does not exist, is not owned by the\n  caller, or is not in this domain.\n- **422 Unprocessable Content**: The source inventory exists but is not yet\n  `completed`, so there is no finished artifact to copy.\n- **429 Too Many Requests**: You have too many active inventory jobs in\n  progress (your `max_active_inventories` quota). Wait for jobs to complete\n  or delete unneeded inventories, then retry. The response detail names the\n  exact `quota` and includes a `Retry-After` header.","operationId":"duplicate_inventory","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DuplicateInventoryRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inventory"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/{inventory_id}/data/metadata":{"get":{"tags":["Inventories"],"summary":"Get inventory data metadata","description":"# Get Inventory Data Metadata\n\nReturns partition count, total rows, per-partition row counts, and column\nnames for a completed inventory. Reads only the `_metadata` file from GCS\n(cached after first access).\n\n## Path Parameters\n\n- **domain_id**: The domain the inventory belongs to.\n- **inventory_id**: The unique identifier of the inventory.\n\n## Response\n\n- **inventory_id**: The inventory ID.\n- **num_partitions**: Number of Parquet partitions.\n- **total_rows**: Total row count across all partitions.\n- **columns**: List of column names.\n- **partitions**: Per-partition index and row count.\n\n## Error Responses\n\n- **404 Not Found**: Inventory does not exist or user does not have access.\n- **422 Unprocessable Entity**: Inventory is not completed, or metadata\n  file is not available.","operationId":"get_inventory_data_metadata","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InventoryDataMetadata"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/{inventory_id}/data/{partition_index}":{"get":{"tags":["Inventories"],"summary":"Get inventory data for a partition (JSON)","description":"# Get Inventory Data (JSON)\n\nReads a single partition of a completed inventory's Parquet data on GCS and\nreturns the tree records as a JSON payload — either a compact columnar\nlayout or self-describing row objects, selected via `json_orientation`.\n\nFor a CSV body, use the CSV variant of this endpoint (append `/csv`).\n\n## Path Parameters\n\n- **domain_id**: The domain the inventory belongs to.\n- **inventory_id**: The unique identifier of the inventory.\n- **partition_index**: Zero-based partition index.\n\n## Query Parameters\n\n- **json_orientation**: JSON layout: `split` (default, compact) or\n  `records` (self-describing).\n- **columns**: Comma-separated column subset (default: all).\n\n## Response\n\n**split** (default): column names + 2D array of values.\n\n**records**: list of row objects.\n\n## Error Responses\n\n- **404 Not Found**: Inventory does not exist or user does not have access.\n- **422 Unprocessable Entity**: Inventory not completed, partition index\n  out of range, invalid column names, or metadata not available.","operationId":"get_inventory_data_json","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"partition_index","in":"path","required":true,"schema":{"type":"integer","minimum":0,"description":"Zero-based partition index.","title":"Partition Index"},"description":"Zero-based partition index."},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"json_orientation","in":"query","required":false,"schema":{"$ref":"#/components/schemas/InventoryJsonOrientation","description":"JSON orientation.","default":"split"},"description":"JSON orientation."},{"name":"columns","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated column subset.","title":"Columns"},"description":"Comma-separated column subset."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InventoryDataResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/{inventory_id}/data/{partition_index}/csv":{"get":{"tags":["Inventories"],"summary":"Get inventory data for a partition (CSV)","description":"# Get Inventory Data (CSV)\n\nReads a single partition of a completed inventory's Parquet data on GCS and\nreturns the tree records as a `text/csv` body with a header row. Use this\nwhen you want to hand the response straight to a CSV reader.\n\nFor a structured JSON payload, use the JSON variant of this endpoint (drop\nthe trailing `/csv`).\n\n## Path Parameters\n\n- **domain_id**: The domain the inventory belongs to.\n- **inventory_id**: The unique identifier of the inventory.\n- **partition_index**: Zero-based partition index.\n\n## Query Parameters\n\n- **columns**: Comma-separated column subset (default: all).\n\n## Response\n\nA `text/csv` body, with partition metadata in these response headers:\n\n- `X-Partition-Index`: the partition this body came from.\n- `X-Row-Count`: rows in this partition.\n- `X-Total-Rows`: rows across all partitions of the inventory.\n- `X-Num-Partitions`: total number of partitions.\n\n## Error Responses\n\n- **404 Not Found**: Inventory does not exist or user does not have access.\n- **422 Unprocessable Entity**: Inventory not completed, partition index\n  out of range, invalid column names, or metadata not available.","operationId":"get_inventory_data_csv","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"partition_index","in":"path","required":true,"schema":{"type":"integer","minimum":0,"description":"Zero-based partition index.","title":"Partition Index"},"description":"Zero-based partition index."},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"columns","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated column subset.","title":"Columns"},"description":"Comma-separated column subset."}],"responses":{"200":{"description":"Successful Response","content":{"text/csv":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/tree/chm":{"post":{"tags":["Inventories","Inventories - Tree CHM"],"summary":"Create an inventory from a Canopy Height Model (CHM)","description":"# Create CHM Extraction Inventory\n\nExtracts individual tree records from a Canopy Height Model (CHM) grid\nusing a specified stem isolation algorithm.\n\nCurrently supports two algorithms:\n1. **Local Maximum Filtering (LMF)**: Sweeps a fixed circular window across the CHM.\n2. **Variable Window Filtering (VWF)**: Sweeps a dynamic window that scales in size based on the height of the canopy, allowing for better detection of mixed stand structures.\n\n## Request Body\n\n- **source_chm_grid_id**: (required) ID of a completed CHM grid.\n- **algorithm**: (optional) Configuration for the stem isolation algorithm. Must specify `\"name\": \"lmf\"` or `\"name\": \"vwf\"`. Defaults to LMF.\n- **crown_segmentation**: (optional) Segment each tree's crown on the CHM\n  (`dalponte2016` region growing) and add a `crown_radius` column (m).\n  Requires a CHM cell size of 2 m or finer. Default parameters are\n  provisional.\n- **modifications**: (optional) Modifications to apply after stem extraction.\n- **treatments**: (optional) Treatments to apply after modifications. CHM\n  extraction produces no diameter or species, so only a `crown_spacing`\n  treatment with `rank_by: height` and\n  `{\"type\": \"inventory_column\", \"column\": \"crown_radius\"}` as its\n  `max_crown_radius_source` applies, and it needs `crown_segmentation`.\n  Any other treatment is rejected with 422.\n- **type**: (optional) Entity type. Default: ``\"tree\"``.\n- **name**: (optional) Name for the inventory.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing inventories.\n\n## Response\n\nReturns the created Inventory resource with status ``\"pending\"``. The\nbackend (Standgen) will process the extraction asynchronously and update\nstatus to ``\"completed\"`` when ready.","operationId":"create_chm_inventory","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChmInventoryRequest"},"examples":{"minimal":{"value":{"source_chm_grid_id":"PLACEHOLDER_GRID_ID"},"summary":"Minimal request (Defaults to LMF)","description":"Creates an inventory from a CHM grid using default Local Maximum Filtering (LMF) parameters (2m min_height, 3px footprint)."},"lmf_full":{"value":{"source_chm_grid_id":"PLACEHOLDER_GRID_ID","algorithm":{"name":"lmf","min_height":2.5,"footprint_size":5},"type":"tree","name":"LMF CHM extraction inventory","description":"Tree inventory extracted from high-res NAIP CHM using fixed-window LMF."},"summary":"Custom LMF extraction","description":"Creates an inventory from a specific CHM grid with a custom fixed-window LMF configuration and optional metadata fields."},"vwf_extraction":{"value":{"source_chm_grid_id":"PLACEHOLDER_GRID_ID","algorithm":{"name":"vwf","min_height":3.0,"crown_ratio":0.05,"crown_offset":3.0},"type":"tree","name":"VWF CHM extraction inventory","description":"Tree inventory using dynamic Variable Window Filtering for mixed canopy structures."},"summary":"Custom VWF extraction (Dynamic Window)","description":"Creates an inventory using the Variable Window Filter (VWF) algorithm. This algorithm dynamically scales the search window based on pixel height using the crown_ratio and crown_offset parameters."},"with_modifications":{"value":{"source_chm_grid_id":"PLACEHOLDER_GRID_ID","algorithm":{"name":"lmf","min_height":2.0,"footprint_size":3},"name":"CHM inventory with strict height filter","modifications":[{"conditions":{"attribute":"height","operator":"lt","value":5.0},"actions":{"modifier":"remove"}}]},"summary":"With modifications (remove short trees)","description":"Creates an inventory from a CHM grid and subsequently removes any trees with height < 5.0 meters using the post-processing modifications array."},"crown_segmentation":{"value":{"source_chm_grid_id":"PLACEHOLDER_GRID_ID","algorithm":{"name":"lmf","min_height":5.0,"footprint_size":5},"crown_segmentation":{"method":"dalponte2016","radius_estimator":"area_equivalent","min_relative_height":0.45,"min_relative_crown_height":0.55,"max_crown_radius":10.0},"name":"CHM inventory with measured crown radii"},"summary":"With crown segmentation (measured crown radius)","description":"Detects treetops with LMF, then segments each tree's crown on the CHM and records its area-equivalent radius in a `crown_radius` column (m). Use it in voxelize or inventory canopy grids with `max_crown_radius_source: {type: inventory_column, column: crown_radius}`. Requires a CHM cell size of 2 m or finer."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inventory"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/tree/pim":{"post":{"tags":["Inventories","Inventories - Tree PIM"],"summary":"Create an inventory from PIM expansion","description":"# Create PIM Expansion Inventory\n\nExpands a Plot Imputation Map (PIM) grid into individual tree records\nwith spatial coordinates.\n\nA PIM grid maps each 30m cell to an FIA plot ID. This endpoint takes\nthat mapping and generates a full tree inventory using an inhomogeneous\nPoisson point process:\n\n1. Tree density (trees per area) is interpolated from plot-level data\n   onto a sub-cell grid (15m resolution)\n2. Plot IDs are assigned to each sub-cell via nearest-neighbor\n   interpolation (Voronoi tessellation)\n3. For each sub-cell, a Poisson-distributed random count of trees is\n   drawn from the local density\n4. Trees are sampled from the assigned plot's tree list, weighted by\n   trees-per-area (TPA)\n5. Each tree receives a random coordinate within its sub-cell\n\nThe result is a spatially explicit tree inventory that preserves the\nspecies composition and size distributions of the FIA plots while\nproducing realistic spatial patterns.\n\nThe PIM endpoint is source-agnostic: it works the same regardless of\nwhether the source grid is from TreeMap, BIGMAP, or FSE. The grid's\nown ``source`` field carries that lineage.\n\n## Request Body\n\n- **source_pim_grid_id**: (required) ID of a completed PIM grid.\n- **seed**: (optional) Random seed for reproducibility. Generated\n  randomly if omitted.\n- **point_process**: (optional) Spatial point process for coordinate\n  assignment. Default: ``\"inhomogeneous_poisson\"``.\n- **type**: (optional) Entity type. Default: ``\"tree\"``.\n- **name**: (optional) Name for the inventory.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing inventories.\n\n## Response\n\nReturns the created Inventory resource with status ``\"pending\"``. The\nbackend (Standgen) will process the expansion asynchronously and update\nstatus to ``\"completed\"`` when ready.","operationId":"create_pim_inventory","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePimInventoryRequest"},"examples":{"minimal":{"value":{"source_pim_grid_id":"PLACEHOLDER_GRID_ID","seed":42},"summary":"Minimal request","description":"Creates an inventory from a PIM grid with a specific seed. Seed controls reproducibility; omit for a random seed."},"full":{"value":{"source_pim_grid_id":"PLACEHOLDER_GRID_ID","seed":12345,"point_process":"inhomogeneous_poisson","type":"tree","name":"PIM expansion inventory","description":"Tree inventory from PIM grid expansion","tags":["baseline"]},"summary":"Full request with all options","description":"Creates an inventory from a specific PIM grid with all optional fields specified."},"with_modifications":{"value":{"source_pim_grid_id":"PLACEHOLDER_GRID_ID","seed":42,"name":"PIM inventory with small tree removal","modifications":[{"conditions":{"attribute":"dbh","operator":"le","value":12.7},"actions":{"modifier":"remove"}}]},"summary":"With modifications (remove small trees)","description":"Creates an inventory from a PIM grid and removes trees with dbh <= 12.7 cm after expansion. This is a common fix for unrealistic microplot tree densities."},"with_treatment":{"value":{"source_pim_grid_id":"PLACEHOLDER_GRID_ID","name":"Thin to 25 m2/ha","treatments":[{"metric":"basal_area","method":"from_below","value":25.0}]},"summary":"With a treatment (thin to a basal area)","description":"Creates an inventory from a PIM grid and thins it from below to a residual basal area of 25 m**2/ha (smallest trees removed first). Treatments support other methods (`from_above`, `proportional`), diameter limits, spatial treatment units, and alternate units — see the treatments endpoint."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inventory"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/tree/pim/fusion/chm":{"post":{"tags":["Inventories","Inventories - Tree PIM Fusion"],"summary":"Create an inventory by fusing a PIM with a CHM","description":"# Create PIM-CHM Fusion Inventory\n\nExpands a Plot Imputation Map (PIM) into individual tree records, conditioned\non a Canopy Height Model (CHM). The path names the fused sources; the\n``method`` object names the algorithm.\n\n## Method: `reimputation` (default)\n\nThe v1 fusion algorithm:\n\n1. Resample the PIM to ``method.resolution``.\n2. Compute the CHM's canopy cover per resampled cell — the fraction of CHM\n   cells taller than ``method.min_height``.\n3. Keep a cell's plot only where cover exceeds ``method.cover_threshold``;\n   cells at or below become gaps with no trees.\n4. Expand the surviving plots into trees exactly as ``tree/pim`` does.\n\nThe result preserves each plot's species composition and size distributions\nwhile restricting trees to where the CHM actually shows canopy.\n\n## Request Body\n\n- **source_pim_grid_id**: (required) ID of a completed PIM grid.\n- **source_chm_grid_id**: (required) ID of a completed CHM grid (band `chm`,\n  unit meters).\n- **method**: (optional) Fusion algorithm and its parameters. Defaults to\n  `reimputation`.\n- **seed**: (optional) Random seed for reproducibility. Random if omitted.\n- **point_process**: (optional) Spatial point process for coordinate\n  assignment. Default: ``\"inhomogeneous_poisson\"``.\n- **modifications** / **treatments**: (optional) Applied after expansion,\n  as on ``tree/pim``.\n- **type**, **name**, **description**, **tags**: (optional) Metadata.\n\n## Response\n\nReturns the created Inventory resource with status ``\"pending\"``. The backend\n(Standgen) processes the fusion asynchronously and sets status to\n``\"completed\"`` when ready.","operationId":"create_pim_chm_fusion_inventory","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePimChmFusionInventoryRequest"},"examples":{"minimal":{"value":{"source_pim_grid_id":"PLACEHOLDER_PIM_GRID_ID","source_chm_grid_id":"PLACEHOLDER_CHM_GRID_ID","seed":42},"summary":"Minimal request","description":"Fuses a PIM with a CHM using the default reimputation method. Seed controls reproducibility; omit for a random seed."},"full":{"value":{"source_pim_grid_id":"PLACEHOLDER_PIM_GRID_ID","source_chm_grid_id":"PLACEHOLDER_CHM_GRID_ID","method":{"name":"reimputation","resolution":7.5,"min_height":2.0,"cover_threshold":0.2},"point_process":"inhomogeneous_poisson","seed":12345,"type":"tree","name":"Kaibab PIM x CHM inventory","description":"TreeMap plots conditioned on ALS canopy cover","tags":["fusion"]},"summary":"Full request with reimputation knobs","description":"Sets the reimputation resolution, canopy-height threshold, and cover threshold explicitly, along with all optional metadata."},"with_modifications":{"value":{"source_pim_grid_id":"PLACEHOLDER_PIM_GRID_ID","source_chm_grid_id":"PLACEHOLDER_CHM_GRID_ID","seed":42,"name":"Fusion inventory with small tree removal","modifications":[{"conditions":{"attribute":"dbh","operator":"le","value":12.7},"actions":{"modifier":"remove"}}]},"summary":"With modifications (remove small trees)","description":"Fuses a PIM with a CHM and removes trees with dbh <= 12.7 cm after expansion, a common fix for unrealistic microplot tree densities."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inventory"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/tree/upload":{"post":{"tags":["Inventories","Inventories - Tree Upload"],"summary":"Create an inventory from a direct file upload","description":"# Create Upload Inventory\n\nCreates an inventory resource and returns a signed URL for uploading the\nsource file directly to GCS. Upload with HTTP PUT, sending **every header\nin the response's `upload.headers`** exactly as given — the signed URL\ncommits to them, and the upload is rejected if any is missing or altered.\nFor example:\n\n```bash\ncurl -X PUT --upload-file trees.csv       -H \"Content-Type: text/csv\"       -H \"x-goog-content-length-range: 0,524288000\"       \"<upload.url>\"\n```\n\nWhen the upload completes, the uploader service processes the file\nautomatically via Eventarc and updates the inventory status to\n`completed` (or `failed` on error).\n\n## Supported Formats\n\n- **csv**: Comma-separated values. Coordinates must already be in the\n  domain's CRS.\n- **geojson**: GeoJSON FeatureCollection with Point or MultiPoint\n  geometries. Reprojected to domain CRS automatically.\n- **geopackage**: OGC GeoPackage. Reprojected to domain CRS automatically.\n\n## Column Mapping\n\nUse the `columns` field to map v2 column names to the column names in\nyour file. Omit entries where the file already uses v2 names. Required\nin the file: `x`, `y`, `height`.\n\n## Tree IDs\n\nEvery tree gets a `tree_id`. To keep your own IDs, provide a `tree_id`\ncolumn (or map one): its values must be non-null numbers in\n1 … 2,147,483,647, cast to integers and then unique across the file, or\nprocessing fails with `SCHEMA_VALIDATION_ERROR`. Without one, IDs\n1 … N are generated in file row order over the trees inside the domain.","operationId":"create_inventory_upload","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInventoryUploadRequest"},"examples":{"csv_minimal":{"value":{"format":"csv"},"summary":"CSV — minimal","description":"Upload a CSV file whose columns already use v2 names (x, y, height). No column mapping required."},"csv_with_mapping":{"value":{"format":"csv","columns":{"height":"HT","fia_species_code":"SPCD","dbh":"DIA"},"name":"Field survey 2024","description":"Plot measurements from summer field campaign","tags":["field","2024"]},"summary":"CSV — custom column names","description":"Upload a CSV file with non-standard column names. The `columns` mapping translates file column names to v2 names. CSV coordinates must already be in the domain's projected CRS."},"geojson":{"value":{"format":"geojson","name":"LiDAR-derived tree list","tags":["lidar"]},"summary":"GeoJSON","description":"Upload a GeoJSON FeatureCollection with Point or MultiPoint geometries. Coordinates must be in EPSG:4326 (WGS84) per the GeoJSON spec; the uploader reprojects to the domain CRS automatically."},"geopackage":{"value":{"format":"geopackage","columns":{"height":"tree_height_m"},"name":"Survey plot trees","tags":["survey"]},"summary":"GeoPackage","description":"Upload an OGC GeoPackage with Point or MultiPoint geometries. Any CRS is accepted; the uploader reprojects to the domain CRS automatically."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InventoryUploadCreatedResponse"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/tree/allometry/gdam":{"post":{"tags":["Inventories","Inventories - Tree Allometry","Inventories - Tree Allometry GDAM"],"summary":"Create an inventory by filling in another via GDAM","description":"# Create GDAM Allometry Inventory\n\n**GDAM (Generalized Dendro Allometric Model)** is a machine-learning model\nthat predicts tree morphology — diameter at breast height, live crown ratio,\nspecies and uncompacted crown ratio — from simple stem metrics (position and\nheight). It replaces legacy region-specific allometric equations with a\nsingle national generative model: each predicted value is one draw from the\npredicted distribution given the values you already supply. Every tree is treated as visible from above, as trees\ndetected on a canopy height model are.\n\nThis endpoint creates a new tree inventory by calling the GDAM API to fill in\nthe morphology columns (diameter, crown ratio, species, crown base height)\nof an existing tree inventory. With the default ``gdam``\n``crown_base_height_model`` GDAM predicts the crown base too; any other\nmodel computes it from the final species, diameter, crown ratio and height.\nGDAM covers the conterminous US; an inventory with a tree outside it fails.\n\nThe typical input is an uploaded **position + height** inventory (`x`, `y`,\n`height`). GDAM conditions on every dbh, crown ratio and species column the\nsource has, and on its crown base height with the ``gdam`` model, except\nthose being overwritten.\n\n## Request Body\n\n- **source_tree_inventory_id**: (required) ID of a completed tree inventory to\n  fill in.\n- **impute_columns**: (optional) Which morphology columns to impute. Defaults\n  to all of ``dbh``, ``crown_ratio``, ``fia_species_code``,\n  ``crown_base_height``. Narrow it (e.g. ``[\"fia_species_code\"]``) to impute\n  fewer columns and write less to disk; columns left out are not imputed.\n  With a ``crown_base_height_model`` other than ``gdam``, requesting\n  ``crown_base_height`` requires each of ``dbh``, ``crown_ratio`` and\n  ``fia_species_code`` to be imputed too or to be a column of the source\n  inventory. Must be non-empty with no duplicates.\n- **overwrite**: (optional, default ``false``) ``false`` keeps existing\n  values and fills only empty cells. ``true`` replaces every tree's value in\n  ``impute_columns``, and GDAM does not see the old values. With a model\n  other than ``gdam``, overwriting ``crown_ratio`` without\n  ``crown_base_height`` leaves crown bases that no longer match the new\n  crown ratios.\n- **seed**: (optional) Random seed for reproducibility. Generated randomly\n  if omitted. The same seed, source and request give the same trees under\n  the same GDAM model version.\n- **crown_base_height_model**: (optional) The model that gives\n  ``crown_base_height``, selected by ``name``. Defaults to\n  ``{\"name\": \"gdam\"}``: GDAM predicts it with the other columns. The other\n  models compute it from species, dbh, crown ratio and height.\n- **name**: (optional) Name for the inventory.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing inventories.\n\n## Columns\n\n**Required on the source inventory** (the typical uploaded position+height set):\n\n- **x**, **y**: tree position, in the domain CRS.\n- **height**: tree height above zero, in metres (``m``).\n\n**Imputable** (select via ``impute_columns``):\n\n- **dbh**: diameter at breast height, in centimetres (``cm``). Predicted by\n  GDAM.\n- **crown_ratio**: FIA compacted live crown ratio (0–1 fraction), as\n  recorded by FIA field crews. Predicted by GDAM.\n- **fia_species_code**: FIA species code. Predicted by GDAM.\n- **crown_base_height**: height of the lowest live foliage, in metres\n  (``m``): the base of a continuous, gap-free crown, equal to ``height`` for\n  a tree with no live crown. Predicted by GDAM with the ``gdam`` model.\n  Any other ``crown_base_height_model`` computes it from each tree's final\n  species, crown ratio, diameter and height; species the model does not\n  cover get no value, and with only ``crown_base_height`` requested no GDAM\n  call is made.\n\n## Source\n\nThe created inventory's ``source`` records ``impute_columns``,\n``overwrite``, ``seed``, ``crown_base_height_model`` and\n``conditioned_columns`` (the source columns GDAM conditioned on, including\n``crown_base_height`` when the ``gdam`` model was sent it). On completion it\nalso records ``gdam_model``, the GDAM model name and version that made the\npredictions.\n\n## Response\n\nReturns the created Inventory resource with status ``\"pending\"``. The backend\n(Standgen) calls GDAM asynchronously and updates status to ``\"completed\"`` when\nready.","operationId":"create_gdam_inventory","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGdamAllometryRequest"},"examples":{"minimal":{"value":{"source_tree_inventory_id":"PLACEHOLDER_INVENTORY_ID"},"summary":"Minimal request","description":"Fills in a completed tree inventory's empty morphology cells (dbh, crown ratio, species, crown base height) using GDAM. Existing values are kept and given to GDAM."},"full":{"value":{"source_tree_inventory_id":"PLACEHOLDER_INVENTORY_ID","impute_columns":["dbh","crown_ratio","fia_species_code","crown_base_height"],"overwrite":false,"seed":42,"crown_base_height_model":{"name":"gdam"},"name":"GDAM allometry inventory","description":"Position+height inventory filled in with GDAM-predicted morphology","tags":["baseline"]},"summary":"Full request with all options","description":"Same as the minimal request, with every option and the inventory metadata (name, description, tags) specified."},"overwrite":{"value":{"source_tree_inventory_id":"PLACEHOLDER_INVENTORY_ID","impute_columns":["crown_ratio","crown_base_height"],"overwrite":true,"crown_base_height_model":{"name":"toney_reeves_2009"}},"summary":"Replace crown ratio and recompute crown base height","description":"Replaces every tree's crown ratio with a GDAM prediction that does not see the old values, then recomputes every crown base height from the new crown ratios with the Toney and Reeves (2009) model. The source needs dbh and species, or add them to `impute_columns`."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inventory"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/tree/allometry/crown_base_height":{"post":{"tags":["Inventories","Inventories - Tree Allometry","Inventories - Tree Allometry Crown Base Height"],"summary":"Create an inventory by computing crown base heights","description":"# Create Crown Base Height Inventory\n\nCreates a new tree inventory with each tree's crown base height computed\nfrom its species, dbh, crown ratio and height by a crown base height\nequation, or predicted by GDAM with the ``gdam`` model. Use it for a tree\ninventory without a crown base height, such as an uploaded inventory,\nbefore voxelizing it or building canopy grids from it.\n\nWith an equation, an inventory without dbh, crown ratio or species needs\nthe GDAM route (``POST /domains/{domain_id}/inventories/tree/allometry/gdam``)\ninstead, which fills those and the crown base height in one request. The\n``gdam`` model needs only position and height, conditions on whichever of\nspecies, dbh, crown ratio and crown base height are present, and writes\nonly the crown base height. GDAM covers the conterminous US; an inventory\nwith a tree outside it fails.\n\n## Request Body\n\n- **source_tree_inventory_id**: (required) ID of a completed tree inventory\n  with the required columns below.\n- **model**: (optional) The crown base height model, selected by ``name``.\n  Defaults to ``{\"name\": \"fia_national_logit_2026\"}``. Species an equation\n  does not cover get no crown base height. ``{\"name\": \"gdam\"}`` predicts it\n  with GDAM.\n- **overwrite**: (optional, default ``false``) ``false`` keeps existing\n  crown base heights and fills only empty cells; a source where every tree\n  already has one is rejected. ``true`` recomputes every tree's crown base\n  height, and ``gdam`` is not given the old values.\n- **name**: (optional) Name for the inventory.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing inventories.\n\n## Columns\n\n**Required on the source inventory**, with a value for every tree:\n\n- **x**, **y**: tree position, in the domain CRS.\n- **height**: tree height, in metres (``m``); above zero for ``gdam``.\n- **dbh**: diameter at breast height, in centimetres (``cm``). Not\n  required for ``gdam``.\n- **crown_ratio**: FIA compacted live crown ratio (0–1 fraction). Not\n  required for ``gdam``.\n- **fia_species_code**: FIA species code. Not required for ``gdam``.\n\n**Written**:\n\n- **crown_base_height**: height of the lowest live foliage, in metres\n  (``m``): the base of a continuous, gap-free crown, equal to ``height``\n  for a tree with no live crown.\n\nEvery other source column is copied unchanged.\n\n## Source\n\nThe created inventory's ``source`` records ``model`` and ``overwrite``.\n\n## Response\n\nReturns the created Inventory resource with status ``\"pending\"``. The\nbackend (Standgen) computes the crown base heights asynchronously and\nupdates status to ``\"completed\"`` when ready.","operationId":"create_crown_base_height_inventory","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCrownBaseHeightAllometryRequest"},"examples":{"minimal":{"value":{"source_tree_inventory_id":"PLACEHOLDER_INVENTORY_ID"},"summary":"Minimal request","description":"Fills each empty crown base height of a completed tree inventory from its species, dbh, crown ratio and height with the default model. Existing crown base heights are kept."},"full":{"value":{"source_tree_inventory_id":"PLACEHOLDER_INVENTORY_ID","model":{"name":"toney_reeves_2009"},"overwrite":true,"name":"Crown base height inventory","description":"Uploaded inventory with crown base heights from Toney and Reeves","tags":["upload"]},"summary":"Full request with all options","description":"Recomputes every tree's crown base height with the Toney and Reeves (2009) model, with the inventory metadata (name, description, tags) specified."},"gdam":{"value":{"source_tree_inventory_id":"PLACEHOLDER_INVENTORY_ID","model":{"name":"gdam"}},"summary":"Predict crown base heights with GDAM","description":"Fills each empty crown base height with a GDAM prediction. The source needs only position and height; GDAM conditions on any species, dbh, crown ratio and crown base height it has, and only the crown base height is written."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inventory"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/{inventory_id}/modifications":{"post":{"tags":["Inventories","Inventories - Modifications"],"summary":"Apply modifications to an inventory in place","description":"# Apply Modifications to an Inventory (in place)\n\nApplies modifications to **this** inventory in place — the inventory keeps\nits ID and the submitted rules are appended to its cumulative\n`modifications` list, then the tree data is re-derived asynchronously. To\nkeep the original data instead, duplicate the inventory first\n(`POST .../{inventory_id}/duplicate`) and modify the copy.\n\nModifications filter trees by conditions and apply actions (remove,\nmultiply, divide, add, subtract, replace) to matching rows. Conditions\nwithin a single rule are ANDed together; multiple rules are evaluated\nindependently in order.\n\n## Conditions\n\nA rule with an **empty `conditions` list applies its actions to the whole\ninventory** — every tree. Combined with `{\"modifier\": \"remove\"}` this\nclears the inventory of all trees; use it deliberately.\n\n**Attribute conditions** compare a single tree attribute against a value:\n- `attribute`: one of `dbh` (cm), `height` (m), `crown_base_height` (m),\n  `fia_species_code`, `tree_id`\n- `operator`: `eq`, `ne`, `gt`, `lt`, `ge`, `le`\n  (`fia_species_code` and `tree_id` only support `eq`/`ne`)\n- `value`: number, string, or list for `eq`/`ne`\n- `unit`: (optional) pint-compatible unit string (e.g., `\"in\"`, `\"ft\"`)\n\nTo select individual trees, test `tree_id` against a list of IDs: with\n`eq` the rule applies to exactly the listed trees; with `ne`, to every\nother tree. `tree_id` values are integers and take no `unit`. `tree_id`\ncan only be tested, not changed by an action.\n\n**Expression conditions** use a boolean expression:\n- `expression`: e.g., `\"dbh < 5 and height < 2\"`\n- Only `dbh`, `height`, `crown_base_height` are allowed in expressions\n- Expressions always use native units (`dbh` in cm, `height` and\n  `crown_base_height` in m)\n\n**Spatial conditions** test each tree's location (a point) against a\ngeometry. Two variants discriminated by the required `source` field:\n\n- `source: \"geometry\"` — supply GeoJSON directly via `geometry` (plus\n  optional `crs`; defaults to the domain CRS).\n- `source: \"feature\"` — reference a persisted Feature resource by\n  `feature_id` (road, water, building, layerset). The Feature must belong to the\n  same domain as this inventory and be in `completed` status;\n  cross-domain, missing, or unfinished references are rejected with 422.\n  A Feature with no geometry (e.g. OSM water over a domain with none)\n  matches no trees with `within` or `intersects` and every tree with\n  `outside`.\n\nBoth spatial variants accept:\n- `operator`: `within`, `outside`, or `intersects`\n- `buffer_m`: (optional, meters) expands the geometry outward in the\n  domain's projected CRS before testing, e.g. to select a corridor\n  around road polygons.\n\nSpatial conditions have **no `target` field** — trees are points, so\nthe test is always point-in-(optionally-buffered)-geometry.\n\nSpatial and attribute conditions can be combined in a single rule\n(AND semantics). For example: `{conditions: [feature within road\nbuffer, dbh > 30], actions: [remove]}` removes only large trees that\nfall inside the buffered road.\n\n## Actions\n\n- `{\"modifier\": \"remove\"}` — remove matching trees (must be sole action)\n- `{\"attribute\": \"...\", \"modifier\": \"multiply|divide|add|subtract|replace\", \"value\": ...}`\n- `unit` on actions converts the value before applying\n\n## Response\n\nReturns this inventory (same ID) with status `\"pending\"`. Its `checksum`\nchanges immediately, so any resource derived from it can detect that the\nsource has changed. The submitted rules appear in the inventory's\n`modifications` list once processing completes — poll the inventory until\nstatus returns to `\"completed\"`.\n\nIf processing fails, the inventory's status becomes `\"failed\"` with error\ndetails, the stored data is unchanged, and the queued rules are retained —\nsubmit another POST to retry (the new rules are applied together with the\nretained ones).\n\n## Error Responses\n\n- **404 Not Found**: The inventory does not exist, is not owned by the\n  caller, or is not in this domain.\n- **422 Unprocessable Content**: The inventory is not in `completed` status\n  (and is not a retryable failed modification), or a referenced\n  `feature_id` is missing, cross-domain, or not completed.\n- **429 Too Many Requests**: You have too many active inventory jobs in\n  progress (your `max_active_inventories` quota). Wait for jobs to complete\n  or delete unneeded inventories, then retry. The response detail names the\n  exact `quota` and includes a `Retry-After` header.","operationId":"apply_modifications","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyModificationsRequest"},"examples":{"remove_small_trees":{"value":{"modifications":[{"conditions":{"attribute":"dbh","operator":"lt","value":12.7},"actions":{"modifier":"remove"}}]},"summary":"Remove small trees (microplot fix)","description":"Remove trees with dbh < 12.7 cm to fix microplot density issues."},"remove_small_trees_inches":{"value":{"modifications":[{"conditions":{"attribute":"dbh","operator":"lt","value":5.0,"unit":"in"},"actions":{"modifier":"remove"}}]},"summary":"Remove small trees (with unit conversion)","description":"Remove trees with dbh < 5 inch. The unit field converts the value to cm before comparison."},"remove_by_species":{"value":{"modifications":[{"conditions":{"attribute":"fia_species_code","operator":"eq","value":[93,15]},"actions":{"modifier":"remove"}}]},"summary":"Remove by species code","description":"Remove trees matching specific FIA species codes."},"remove_by_tree_id":{"value":{"modifications":[{"conditions":{"attribute":"tree_id","operator":"eq","value":[12,57,301]},"actions":{"modifier":"remove"}}]},"summary":"Remove specific trees by tree_id","description":"Remove exactly the listed trees. The other trees keep their `tree_id`; the removed IDs leave gaps."},"remove_by_expression":{"value":{"modifications":[{"conditions":{"expression":"height - crown_base_height < 1.0"},"actions":{"modifier":"remove"}}]},"summary":"Remove by expression","description":"Remove trees whose live crown is shorter than 1 m (height - crown_base_height < 1.0). Expressions always use native units (cm, m)."},"reduce_tall_trees":{"value":{"modifications":[{"conditions":{"attribute":"height","operator":"gt","value":65,"unit":"ft"},"actions":{"attribute":"height","modifier":"multiply","value":0.9}}]},"summary":"Reduce tall tree heights","description":"Multiply height by 0.9 for trees taller than 65 feet."},"multiple_modifications":{"value":{"modifications":[{"conditions":{"attribute":"dbh","operator":"lt","value":2.54},"actions":{"modifier":"remove"}},{"conditions":{"attribute":"height","operator":"gt","value":50},"actions":{"attribute":"height","modifier":"multiply","value":0.9}}]},"summary":"Multiple modifications","description":"Remove small trees and reduce tall tree heights in one request."},"remove_trees_in_water_feature":{"value":{"modifications":[{"conditions":{"source":"feature","operator":"within","feature_id":"feat_water_xyz"},"actions":{"modifier":"remove"}}]},"summary":"Remove trees inside a water Feature","description":"Remove every tree whose point falls inside the geometry of the referenced water Feature (lake, river, ...). The Feature must belong to the same domain as the inventory."},"remove_trees_in_road_buffered":{"value":{"modifications":[{"conditions":{"source":"feature","operator":"within","feature_id":"feat_road_abc","buffer_m":3},"actions":{"modifier":"remove"}}]},"summary":"Remove trees within a 3 m road buffer","description":"Road Features are polygons, so `within` alone removes the trees on the road surface. `buffer_m` widens the road outward first; here we strip every tree within 3 metres of the road's edge."},"remove_large_trees_in_road_buffer":{"value":{"modifications":[{"conditions":[{"source":"feature","operator":"within","feature_id":"feat_road_abc","buffer_m":4},{"attribute":"dbh","operator":"gt","value":30}],"actions":{"modifier":"remove"}}]},"summary":"Remove large trees inside a road buffer","description":"Compound spatial + attribute condition (AND): remove only trees with `dbh > 30` (cm) that fall inside a 4 m road buffer."},"remove_trees_in_inline_polygon":{"value":{"modifications":[{"conditions":{"source":"geometry","operator":"within","geometry":{"type":"Polygon","coordinates":[[[-120.0,38.0],[-119.5,38.0],[-119.5,38.5],[-120.0,38.5],[-120.0,38.0]]]},"crs":{"type":"name","properties":{"name":"EPSG:4326"}},"buffer_m":5},"actions":{"modifier":"remove"}}]},"summary":"Remove trees inside an inline polygon (with buffer)","description":"Use `source: geometry` to pass GeoJSON directly when you don't have a persisted Feature resource. `buffer_m` works the same way: the geometry is expanded outward by 5 m before testing."}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inventory"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/{inventory_id}/treatments":{"post":{"tags":["Inventories","Inventories - Treatments"],"summary":"Apply treatments to an inventory in place","description":"# Apply Treatments to an Inventory (in place)\n\nApplies silvicultural treatments to **this** inventory in place — the\ninventory keeps its ID and the submitted treatments are appended to its\ncumulative `treatments` list, then the tree data is re-derived\nasynchronously. To keep the original data instead, duplicate the inventory\nfirst (`POST .../{inventory_id}/duplicate`) and treat the copy.\n\nA treatment thins the stand toward a target metric. Treatments compose: each\nis applied to the result of the previous.\n\n## Metrics\n\nEach treatment is discriminated by its `metric`:\n\n- `diameter` — thin to a diameter-at-breast-height limit (in cm unless\n  `unit` is set). `from_below` removes trees smaller than the limit;\n  `from_above` removes trees larger than it.\n- `basal_area` — thin to a residual basal area (in `m**2/ha` unless `unit`\n  is set). `from_below`/`from_above` remove the smallest/largest trees first\n  until the target is reached; `proportional` removes across all diameter\n  classes, preserving the diameter distribution.\n\n- `crown_spacing` — thin to a minimum gap between retained crowns, crown\n  edge to crown edge (in `m` unless `unit` is set). Trees are visited from\n  the largest `rank_by` value down (`dbh` by default, or `height`), and each\n  is kept only if its crown clears every crown already kept. Crown radii\n  come from `max_crown_radius_source`: the `purves` allometry by default,\n  `crookston_stage`, or a radius column such as the `crown_radius` added by\n  CHM crown segmentation. Trees with no value in the column use their\n  `purves` radius.\n\n`proportional` is only valid for a basal-area target — it is not an option\nfor a diameter limit.\n\n## Units\n\n`value` uses the metric's native unit (`cm` for diameter, `m**2/ha` for\nbasal area, `m` for crown spacing) unless an optional `unit` is supplied. A supplied `unit` must be\ncanonical and dimensionally compatible with the native unit; it is converted\nbefore the treatment is applied.\n\n## Spatial scoping\n\nAn optional `conditions` list restricts the treatment to a region\n(`within`/`outside`/`intersects` a geometry or a referenced Feature, with an\noptional `buffer_m`). An empty/omitted list treats the entire inventory. A\nreferenced Feature must belong to the same domain as this inventory and be\nin `completed` status; cross-domain, missing, or unfinished references are\nrejected with 422.\n\nA tree is in the region when its stem is. A spatially scoped crown-spacing\ntreatment removes only trees in the region, but trees in the region must\nalso clear the crowns of the trees around it.\n\nBasal-area and crown-spacing treatments hold their entire treated population\nin memory at once, so an inventory-wide one over a very large domain is\nrejected with 422 — scope it with a spatial condition.\n\n## Requirements\n\nThe inventory must have every column a treatment reads. Diameter and\nbasal-area treatments read `dbh`. A crown-spacing treatment reads its\n`rank_by` column and either its radius column or the columns of its radius\nallometry (`fia_species_code`, `dbh`, `height`, and, for `purves`,\n`crown_base_height`). A CHM-derived inventory with crown segmentation can be\nthinned with `rank_by: height` and the `crown_radius` column.\n\n## Response\n\nReturns this inventory (same ID) with status `\"pending\"`. Its `checksum`\nchanges immediately, so any resource derived from it can detect that the\nsource has changed. The submitted treatments appear in the inventory's\n`treatments` list once processing completes — poll the inventory until\nstatus returns to `\"completed\"`.\n\nIf processing fails, the inventory's status becomes `\"failed\"` with error\ndetails, the stored data is unchanged, and the queued treatments are\nretained — submit another POST to retry (the new treatments are applied\ntogether with the retained ones).\n\n## Error Responses\n\n- **404 Not Found**: The inventory does not exist, is not owned by the\n  caller, or is not in this domain.\n- **422 Unprocessable Content**: The inventory is not in `completed` status\n  (and is not a retryable failed treatment); the inventory lacks a column a\n  treatment reads (e.g. `dbh` on a CHM-derived inventory); an\n  inventory-wide basal-area or crown-spacing treatment over a very large\n  domain; or a referenced `feature_id` is missing, cross-domain, or not\n  completed.\n- **429 Too Many Requests**: You have too many active inventory jobs in\n  progress (your `max_active_inventories` quota). Wait for jobs to complete\n  or delete unneeded inventories, then retry. The response detail names the\n  exact `quota` and includes a `Retry-After` header.","operationId":"apply_treatments","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyTreatmentsRequest"},"examples":{"diameter_from_below":{"value":{"treatments":[{"metric":"diameter","method":"from_below","value":10.0}]},"summary":"Thin from below to a diameter limit","description":"Remove trees smaller than 10 cm dbh (a low thinning that clears suppressed understory stems)."},"basal_area_from_below":{"value":{"treatments":[{"metric":"basal_area","method":"from_below","value":25.0}]},"summary":"Thin from below to a residual basal area","description":"Remove the smallest trees first until the stand reaches a residual basal area of 25 m**2/ha."},"basal_area_proportional":{"value":{"treatments":[{"metric":"basal_area","method":"proportional","value":18.0}]},"summary":"Proportional basal-area thin","description":"Reduce the stand to 18 m**2/ha by removing trees across all diameter classes proportionally, preserving the diameter distribution."},"treatment_in_road_buffer":{"value":{"treatments":[{"metric":"basal_area","method":"from_below","value":20.0,"conditions":[{"source":"feature","operator":"within","feature_id":"feat_road_abc","buffer_m":30}]}]},"summary":"Thin only within a buffered road Feature","description":"Scope the treatment to a region with spatial conditions. Here the thin applies only to trees within 30 m of the referenced road Feature, which must belong to the same domain as the inventory."},"diameter_inches":{"value":{"treatments":[{"metric":"diameter","method":"from_above","value":16.0,"unit":"in"}]},"summary":"Diameter limit in inches (unit conversion)","description":"Remove trees larger than 16 inches dbh. The `unit` field converts the value to the native cm before the treatment is applied."},"crown_spacing_ring":{"value":{"treatments":[{"metric":"crown_spacing","value":10.0,"unit":"ft","conditions":[{"source":"feature","operator":"within","feature_id":"feat_building_abc","buffer_m":9.14},{"source":"feature","operator":"outside","feature_id":"feat_building_abc","buffer_m":1.52}]}]},"summary":"Crown spacing 5–30 ft from a building","description":"Leave at least 10 ft between retained crowns in the ring between 5 ft and 30 ft of a building Feature. Trees closer than 5 ft or farther than 30 ft are not removed, but trees in the ring must clear their crowns. Crown radii come from the default `purves` allometry, and the larger `dbh` is kept."},"crown_spacing_measured_crowns":{"value":{"treatments":[{"metric":"crown_spacing","value":3.0,"rank_by":"height","max_crown_radius_source":{"type":"inventory_column","column":"crown_radius"}}]},"summary":"Crown spacing with measured crown radii","description":"Leave at least 3 m between retained crowns, reading each radius from the `crown_radius` column that CHM crown segmentation adds and keeping the taller tree. Works on inventories with no `dbh`."}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inventory"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/inventories/{inventory_id}/exports/{format}":{"post":{"tags":["Inventories","Inventories - Exports"],"summary":"Export an inventory","description":"Export an inventory to the specified format.\n\nSupported formats: `parquet` (zipped), `csv`, `geojson`, `geopackage`.\n\nThe inventory must belong to this domain and have status `completed`.\nIf `columns` is specified, only those columns are included; otherwise\nall columns are exported.\n\nReturns an Export resource with status `pending`. Poll\n`GET /exports/{export_id}` until status is `completed` to get the\nsigned download URL.","operationId":"create_inventory_export","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"format","in":"path","required":true,"schema":{"$ref":"#/components/schemas/InventoryExportFormat"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportInventoryRequest"},"examples":{"all_columns":{"value":{"name":"Tree inventory export","tags":["trees"]},"summary":"Export all columns","description":"Exports all columns from the inventory."},"column_subset":{"value":{"columns":["x","y","dbh","height"],"name":"Coordinates and dimensions only","description":"Export subset of columns for spatial analysis","tags":["analysis"]},"summary":"Export specific columns","description":"Exports only the specified columns. Useful for reducing file size when only certain attributes are needed."},"minimal":{"value":{},"summary":"Minimal request","description":"Exports all columns with no name or tags."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Export"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/-/pointclouds":{"get":{"tags":["Point Clouds"],"summary":"List point clouds across all domains","description":"# List Point Clouds Across All Domains\n\nReturns a paginated list of every point cloud owned by the authenticated\ncaller, regardless of which domain contains it. Use the domain-scoped list\nendpoint when the caller already knows the domain.\n\n## Query Parameters\n\n- **page**: Zero-indexed page number. Defaults to `0`.\n- **size**: Results per page, from `1` through `1000`. Defaults to `100`.\n- **sort_by**: Sort by `created_on`, `modified_on`, or `name`.\n- **sort_order**: Sort in `ascending` or `descending` order.\n- **type**: Keep only airborne (`als`) or terrestrial (`tls`) clouds.\n- **source**: Keep only clouds from a source such as `3dep` or `upload`.\n- **tag**: Keep only clouds whose `tags` array contains this value.\n\n## Response\n\nA standard paginated response. `point_clouds` contains the resources on the\nrequested page; `current_page`, `page_size`, and `total_items` describe the\npage and the complete filtered result set.","operationId":"list_point_clouds_cross_domain","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"The page number to retrieve (zero-indexed).","default":0,"title":"Page"},"description":"The page number to retrieve (zero-indexed)."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"The number of point clouds to retrieve per page.","default":100,"title":"Size"},"description":"The number of point clouds to retrieve per page."},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PointCloudSortField"},{"type":"null"}],"description":"The field to sort results by.","title":"Sort By"},"description":"The field to sort results by."},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortOrder"},{"type":"null"}],"description":"The order to sort results (ascending or descending).","title":"Sort Order"},"description":"The order to sort results (ascending or descending)."},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PointCloudType"},{"type":"null"}],"description":"Filter point clouds by acquisition type (`als` or `tls`).","title":"Type"},"description":"Filter point clouds by acquisition type (`als` or `tls`)."},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter point clouds by source name (for example, `3dep`).","title":"Source"},"description":"Filter point clouds by source name (for example, `3dep`)."},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter point clouds that contain this tag.","title":"Tag"},"description":"Filter point clouds that contain this tag."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPointCloudsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/pointclouds/upload":{"post":{"tags":["Point Clouds","Point Clouds - Upload"],"summary":"Create a point cloud from a direct file upload","description":"# Upload a Point Cloud\n\nCreates a point cloud resource and returns a signed URL for uploading the\nsource file directly to storage. Upload is a two-step flow:\n\n1. **POST** this request to create the point cloud and receive an `upload`\n   spec containing a signed URL.\n2. **PUT** your file to `upload.url`, sending **every header in\n   `upload.headers`** exactly as given — the signed URL commits to them,\n   and the upload is rejected if any is missing or altered. The file must\n   not exceed `upload.max_size_bytes`, and the upload must complete before\n   `upload.expires_at`. For example:\n\n   ```bash\n   curl -X PUT --upload-file cloud.laz          -H \"Content-Type: application/octet-stream\"          -H \"x-goog-content-length-range: 0,1073741824\"          \"<upload.url>\"\n   ```\n\nThe point cloud is returned immediately with `status` = `pending`. Once the\nfile finishes uploading it is ingested in the background: `status` becomes\n`running`, then `completed` after the cloud is validated and its\n`georeference` and `summary` are filled in — or `failed` if the file cannot\nbe read as a point cloud with a coordinate reference system. Poll\n`GET /domains/{domain_id}/pointclouds/{id}` to follow progress.\n\n## Supported formats\n\nUpload an uncompressed **LAS** or compressed **LAZ** file (including Cloud\nOptimized Point Clouds, which are valid LAZ). The format is detected from\nthe file itself — there is nothing to declare.\n\n## Coordinate reference system\n\nThe file must carry a coordinate reference system; uploads without one are\nrejected during ingestion. A cloud in a different CRS than its domain is\nautomatically reprojected to the domain CRS (horizontal coordinates only —\nelevations are preserved as-is), so the stored cloud is always in the\ndomain CRS.","operationId":"create_point_cloud_upload","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePointCloudUploadRequest"},"examples":{"als":{"value":{"type":"als","name":"Bridger ALS 2020","description":"Airborne lidar over the Bridger study area.","tags":["bridger","als"]},"summary":"Airborne (ALS)","description":"Upload an airborne laser scan (LAS or LAZ file)."},"tls":{"value":{"type":"tls","name":"Plot 3 TLS","tags":["plot-3"]},"summary":"Terrestrial (TLS)","description":"Upload a terrestrial (tripod) laser scan (LAS or LAZ file)."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointCloudUploadCreatedResponse"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/pointclouds/3dep":{"post":{"tags":["Point Clouds","Point Clouds - 3DEP"],"summary":"Create a point cloud from USGS 3DEP","description":"# Create a Point Cloud from USGS 3DEP\n\nFetches public airborne lidar from the USGS 3D Elevation Program for this\ndomain. The points are clipped to the domain, reprojected to the domain's\ncoordinate reference system, and stored as a point cloud you can build on —\nmost directly as a canopy height model, which in turn feeds a tree\ninventory.\n\nThe point cloud is returned immediately with `status` = `pending` and is\nfetched in the background: `status` becomes `running`, then `completed` once\nthe points are stored and `georeference` and `summary` are filled in — or\n`failed` if the fetch cannot be completed. Poll\n`GET /domains/{domain_id}/pointclouds/{id}` to follow progress.\n\n3DEP is airborne, so the resulting point cloud is always type `als`. There\nis no acquisition type to choose.\n\n## Choosing acquisitions\n\n3DEP is published as separate surveys, which overlap and differ in age and\npoint density. By default the backend prefers a single survey that covers\nthe whole domain, and otherwise combines the fewest surveys that fill it —\neach additional survey introduces a seam between flights of different dates\nand densities. Pass `datasets` to pin the fetch to specific surveys\ninstead; check the coverage endpoint first to see what is available.\n\nSurvey boundaries are irregular, so a domain is often covered to\n99-point-something percent rather than exactly 100. Any coverage above zero\nproduces a point cloud, and the fraction actually covered is recorded on the\nresult as `source.coverage_fraction` — check it if a gap would matter, since\n`summary.density` is measured over the points that exist and looks healthy\neither way. Use the coverage endpoint to see the shortfall before creating\nanything.\n\n## Request Body\n\n- **name**: (optional) Human-readable name.\n- **description**: (optional) Longer free-text description.\n- **tags**: (optional) Tags for organizing and filtering.\n- **datasets**: (optional) Acquisition names to read, in priority order.\n  Omit to choose automatically.\n\n## Coordinate reference system\n\nPoints are reprojected to the domain's CRS. Only horizontal coordinates are\ntransformed — elevations are stored exactly as USGS published them, never\nconverted between reference surfaces.\n\n## Error Responses\n\n- **422**: No 3DEP lidar covers this domain, or a pinned acquisition is\n  unknown or does not overlap the domain.\n- **429**: A quota was exceeded.\n- **503**: The USGS 3DEP catalog is temporarily unreachable.","operationId":"create_3dep_point_cloud","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThreeDepPointCloudRequest"},"examples":{"automatic":{"value":{"name":"Bridger ALS","description":"3DEP airborne lidar over the Bridger study area.","tags":["bridger","als"]},"summary":"Automatic acquisition choice","description":"Fetch 3DEP lidar for the domain, letting the backend choose which acquisitions to read."},"pinned":{"value":{"name":"Bridger ALS 2020","datasets":["WY_Southwest_1_2020"]},"summary":"Pinned acquisition","description":"Read a specific 3DEP acquisition. Use the coverage endpoint to see which acquisitions are available for the domain."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointCloud"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/pointclouds/3dep/coverage":{"get":{"tags":["Point Clouds","Point Clouds - 3DEP"],"summary":"Check 3DEP lidar coverage for a domain","description":"# Check 3DEP Lidar Coverage\n\nImmediate pre-flight check reporting which USGS 3DEP lidar surveys are\navailable for this domain, how much of it they cover, and roughly how many\npoints a fetch would return. Use it before creating a 3DEP point cloud to\navoid waiting on a background job only to find a coverage gap — 3DEP is\nregional, and survey boundaries are irregular.\n\nThis checks lidar point clouds. Elevation raster coverage is a separate\nproduct with its own check at\n`GET /domains/{domain_id}/grids/topography/3dep/coverage`.\n\n## Response\n\nReports whether any lidar is available, the fraction of the domain covered,\nthe surveys that would be read with what each contributes, and roughly how\nmany points a fetch would return. `datasets[].name` values can be passed as\n`datasets` when creating the point cloud to pin the fetch.\n\n## Error Responses\n\n- **503**: The USGS 3DEP catalog is temporarily unreachable.","operationId":"check_3dep_point_cloud_coverage","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/api__resources__point_clouds__threedep__schema__ThreeDepCoverageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/pointclouds":{"get":{"tags":["Point Clouds"],"summary":"List point clouds in a domain","description":"# List Point Clouds in a Domain\n\nReturns a paginated list of point clouds owned by the authenticated caller\nwithin one domain.\n\n## Path Parameters\n\n- **domain_id**: Domain whose point clouds should be listed.\n\n## Query Parameters\n\n- **page**: Zero-indexed page number. Defaults to `0`.\n- **size**: Results per page, from `1` through `1000`. Defaults to `100`.\n- **sort_by**: Sort by `created_on`, `modified_on`, or `name`.\n- **sort_order**: Sort in `ascending` or `descending` order.\n- **type**: Keep only airborne (`als`) or terrestrial (`tls`) clouds.\n- **source**: Keep only clouds from a source such as `3dep` or `upload`.\n- **tag**: Keep only clouds whose `tags` array contains this value.\n\n## Response\n\nA standard paginated response. `point_clouds` contains the resources on the\nrequested page; `current_page`, `page_size`, and `total_items` describe the\npage and the complete filtered result set.\n\n## Error Responses\n\n- **404 Not Found**: The domain does not exist or is not accessible to the\n  caller.","operationId":"list_point_clouds","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"The page number to retrieve (zero-indexed).","default":0,"title":"Page"},"description":"The page number to retrieve (zero-indexed)."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"The number of point clouds to retrieve per page.","default":100,"title":"Size"},"description":"The number of point clouds to retrieve per page."},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PointCloudSortField"},{"type":"null"}],"description":"The field to sort results by.","title":"Sort By"},"description":"The field to sort results by."},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortOrder"},{"type":"null"}],"description":"The order to sort results (ascending or descending).","title":"Sort Order"},"description":"The order to sort results (ascending or descending)."},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PointCloudType"},{"type":"null"}],"description":"Filter point clouds by acquisition type (`als` or `tls`).","title":"Type"},"description":"Filter point clouds by acquisition type (`als` or `tls`)."},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter point clouds by source name (for example, `3dep`).","title":"Source"},"description":"Filter point clouds by source name (for example, `3dep`)."},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter point clouds that contain this tag.","title":"Tag"},"description":"Filter point clouds that contain this tag."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPointCloudsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/pointclouds/{point_cloud_id}/data/metadata":{"get":{"tags":["Point Clouds"],"summary":"Get point-cloud tile metadata","description":"# Get Point-Cloud Data Metadata\n\nReturns the public read index for a completed point cloud without returning\nany point values. Call this endpoint first to discover the occupied tiles,\nstored columns and dtypes, coordinate encoding, and the number of points\neach level of detail (LOD) would return.\n\nA typical client workflow is:\n\n1. Read this metadata once.\n2. Select one of the entries in `tiles`.\n3. Choose an LOD whose cumulative point count fits the client workload.\n4. Request that tile from the JSON or binary data endpoint.\n\n## Path Parameters\n\n- **domain_id**: Domain the point cloud belongs to.\n- **point_cloud_id**: Unique point-cloud identifier.\n\n## Response\n\n- **tile_m**: Width and height of each tile in the units of `crs`.\n- **lod_levels**: Number of available cumulative LOD selections. The\n  current format has six levels, numbered `0` through `5`.\n- **crs**: Coordinate reference system for the decoded point coordinates\n  and all reported bounds.\n- **bounds**: Horizontal point-cloud extent as\n  `[min_x, min_y, max_x, max_y]`.\n- **scales** and **offsets**: Three values in X/Y/Z order used to decode\n  stored integer coordinates:\n\n  `coordinate = stored_integer * scale + offset`\n\n- **columns**: Stored public column names mapped to their NumPy-compatible\n  dtypes. `X`, `Y`, and `Z` are encoded integers; `classification` contains\n  ASPRS classification codes. Other columns, such as `intensity`, are\n  source-dependent.\n- **tiles**: Occupied tiles only. Empty positions in the tiling are omitted.\n  Each entry contains its integer `tile_x` and `tile_y`, horizontal\n  `bounds`, and `points_by_lod`.\n\n`points_by_lod[k]` is the number of rows returned by `lod=k` before an\noptional classification filter. Counts are cumulative: LOD 0 is the\ncoarsest sample, each higher value includes every preceding level, and the\nfinal value is the complete tile. A sparse boundary tile may legitimately\nrepeat counts across several LODs when it contains too few points to\npopulate every level.\n\nInternal GCS object names, Parquet part paths, row-group offsets, and byte\nranges are deliberately not part of the API response. The server uses that\nstorage index to satisfy tile requests; clients only need this stable tile\ncatalogue.\n\n## Error Responses\n\n- **404 Not Found**: The point cloud does not exist, belongs to another\n  domain, or is not accessible to the caller.\n- **422 Unprocessable Entity**: The point cloud is not completed, its\n  resource metadata does not match its stored data, or the stored Parquet\n  index is missing or malformed. Re-create the point cloud before retrying.","operationId":"get_point_cloud_data_metadata","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"point_cloud_id","in":"path","required":true,"schema":{"type":"string","title":"Point Cloud Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointCloudDataMetadata"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/pointclouds/{point_cloud_id}/data/{tile_x}/{tile_y}":{"get":{"tags":["Point Clouds"],"summary":"Get point-cloud tile data (JSON)","description":"# Get Point-Cloud Tile Data as JSON\n\nReturns selected columns from one occupied point-cloud tile as columnar\nJSON. Use this representation for inspection, small previews, and clients\nthat do not need the more compact binary response.\n\nCall `GET /domains/{domain_id}/pointclouds/{point_cloud_id}/data/metadata`\nfirst. Its `tiles` array supplies valid tile coordinates and exact\ncumulative point counts, while its `columns` object supplies the available\nnames and dtypes.\n\n## Path Parameters\n\n- **domain_id**: Domain the point cloud belongs to.\n- **point_cloud_id**: Unique point-cloud identifier.\n- **tile_x** and **tile_y**: Integer coordinates of an occupied tile from\n  the metadata response. They are indices in the point cloud's own tiling,\n  not projected map coordinates.\n\n## Query Parameters\n\n- **lod**: Inclusive LOD ceiling. `lod=0` returns the coarsest sample;\n  `lod=k` returns levels `0` through `k`; omitting it returns the complete\n  tile. Valid values are `0` through `lod_levels - 1` from the metadata\n  response.\n- **classes**: Optional comma-separated ASPRS classification filter, for\n  example `?classes=2,5`. Duplicate values are ignored. Omit it to retain\n  every classification.\n- **columns**: Optional comma-separated column projection in the desired\n  response order, for example `?columns=X,Y,Z`. Omit it to return all\n  public stored columns.\n\n## Response\n\nThe response is columnar: arrays in `data` have equal length and values at\nthe same array index describe the same point.\n\nFor example, this is the complete response for tile `(-1, 0)` from the\n`static-test-blackfoot-3dep` point cloud with\n`?lod=5&classes=1,2&columns=X,Y,Z,classification`:\n\n```json\n{\n  \"tile_x\": -1,\n  \"tile_y\": 0,\n  \"bounds\": [\n    293711.08485993545,\n    5198981.669894749,\n    294094.99218481116,\n    5199365.577219625\n  ],\n  \"lod\": 5,\n  \"classes\": [1, 2],\n  \"scales\": [0.001, 0.001, 0.001],\n  \"offsets\": [294094.0, 5198981.0, 0.0],\n  \"columns\": {\n    \"X\": \"int32\",\n    \"Y\": \"int32\",\n    \"Z\": \"int32\",\n    \"classification\": \"uint8\"\n  },\n  \"data\": {\n    \"X\": [992, 992],\n    \"Y\": [346497, 64586],\n    \"Z\": [1077190, 1051360],\n    \"classification\": [1, 2]\n  }\n}\n```\n\n`X`, `Y`, and `Z` remain stored integers so the response is exact and does\nnot expand them to float64. Decode coordinate axis `i` with:\n\n`coordinate = stored_integer * scales[i] + offsets[i]`\n\nThe echoed `lod`, `classes`, `columns`, and tile bounds make the response\nself-describing. When `classes` was omitted, the response field is `null`.\n\nJSON responses are capped at 1,000,000 numeric values, calculated as rows\nmultiplied by selected columns. If a request is too large, lower `lod`,\nselect fewer classes or columns, or use the `/binary` endpoint.\n\n## Error Responses\n\n- **404 Not Found**: The point cloud does not exist, belongs to another\n  domain, or is not accessible to the caller.\n- **413 Content Too Large**: The selected rows and columns exceed the JSON\n  response limit.\n- **422 Unprocessable Entity**: The cloud is not completed; the tile, LOD,\n  class, or column selection is invalid; or stored data is unreadable or\n  inconsistent with its index.","operationId":"get_point_cloud_data_json","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"point_cloud_id","in":"path","required":true,"schema":{"type":"string","title":"Point Cloud Id"}},{"name":"tile_x","in":"path","required":true,"schema":{"type":"integer","description":"Horizontal tile index from `GET /data/metadata`.","title":"Tile X"},"description":"Horizontal tile index from `GET /data/metadata`."},{"name":"tile_y","in":"path","required":true,"schema":{"type":"integer","description":"Vertical tile index from `GET /data/metadata`.","title":"Tile Y"},"description":"Vertical tile index from `GET /data/metadata`."},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"lod","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Inclusive LOD ceiling. Omit to read the complete tile. Valid values are `0` through `lod_levels - 1` from `/data/metadata`.","title":"Lod"},"description":"Inclusive LOD ceiling. Omit to read the complete tile. Valid values are `0` through `lod_levels - 1` from `/data/metadata`."},{"name":"classes","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated ASPRS classification codes to retain, such as `2,5`. Omit to retain every class.","title":"Classes"},"description":"Comma-separated ASPRS classification codes to retain, such as `2,5`. Omit to retain every class."},{"name":"columns","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated stored columns to return, such as `X,Y,Z`. Omit to return every public stored column.","title":"Columns"},"description":"Comma-separated stored columns to return, such as `X,Y,Z`. Omit to return every public stored column."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointCloudTileDataResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/pointclouds/{point_cloud_id}/data/{tile_x}/{tile_y}/binary":{"get":{"tags":["Point Clouds"],"summary":"Get point-cloud tile data (binary)","description":"# Get Point-Cloud Tile Data as Binary\n\nReturns selected columns from one occupied point-cloud tile as raw\nlittle-endian typed arrays. This is the compact counterpart to the JSON\nendpoint and is intended for clients that can construct NumPy, JavaScript,\nRust, or C/C++ typed arrays directly from response bytes.\n\nCall `GET /domains/{domain_id}/pointclouds/{point_cloud_id}/data/metadata`\nfirst to discover valid tiles, cumulative LOD costs, available columns, and\ncoordinate scaling.\n\n## Path Parameters\n\n- **domain_id**: Domain the point cloud belongs to.\n- **point_cloud_id**: Unique point-cloud identifier.\n- **tile_x** and **tile_y**: Integer coordinates of an occupied tile from\n  the metadata response.\n\n## Query Parameters\n\n- **lod**: Inclusive LOD ceiling. `lod=0` returns the coarsest sample;\n  `lod=k` returns levels `0` through `k`; omitting it returns the complete\n  tile.\n- **classes**: Optional comma-separated ASPRS classification filter, for\n  example `?classes=2,5`. Omit it for all classes.\n- **columns**: Optional comma-separated column projection in the exact\n  desired block order, for example `?columns=X,Y,Z`. Omit it for all public\n  stored columns.\n\n## Response Body\n\nThe body is one contiguous column block after another in `X-Data-Columns`\norder. Every block contains `X-Data-Count` values and uses the corresponding\ndtype in `X-Data-Dtypes`. All multi-byte values are little-endian.\n\nFor example, these headers:\n\n```text\nX-Data-Columns: X,Z,classification\nX-Data-Dtypes: int32,int32,uint8\nX-Data-Count: 1000\n```\n\ndescribe `4000` bytes of X values, followed by `4000` bytes of Z values,\nfollowed by `1000` classification bytes. In general, each block occupies:\n\n`X-Data-Count * sizeof(corresponding dtype)`\n\nSlice the body at the cumulative block sizes. Values with the same position\nwithin each block describe the same point.\n\n## Response Headers\n\n- **X-Data-Columns**: Comma-separated column block order.\n- **X-Data-Dtypes**: Comma-separated NumPy dtype for each column block.\n- **X-Data-Count**: Number of values in every block.\n- **X-Data-Tile**: Requested tile as `tile_x,tile_y`.\n- **X-Data-Bounds**: Horizontal tile bounds as\n  `min_x,min_y,max_x,max_y`.\n- **X-Data-LOD**: Inclusive LOD ceiling used for the response.\n- **X-Data-Classes**: Comma-separated selected ASPRS classes, or `all` when\n  no class filter was supplied.\n- **X-Data-Scales** and **X-Data-Offsets**: X/Y/Z coordinate encoding.\n  Decode coordinate axis `i` with\n  `stored_integer * scale[i] + offset[i]`.\n\nThese headers are exposed through CORS, so browser JavaScript can read them.\n\nBinary responses are capped at 30 MiB. If a request is too large, lower\n`lod` or select fewer classes or columns.\n\n## Error Responses\n\n- **404 Not Found**: The point cloud does not exist, belongs to another\n  domain, or is not accessible to the caller.\n- **413 Content Too Large**: The selected binary column blocks exceed the\n  30 MiB response limit.\n- **422 Unprocessable Entity**: The cloud is not completed; the tile, LOD,\n  class, or column selection is invalid; or stored data is unreadable or\n  inconsistent with its index.","operationId":"get_point_cloud_data_binary","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"point_cloud_id","in":"path","required":true,"schema":{"type":"string","title":"Point Cloud Id"}},{"name":"tile_x","in":"path","required":true,"schema":{"type":"integer","description":"Horizontal tile index from `GET /data/metadata`.","title":"Tile X"},"description":"Horizontal tile index from `GET /data/metadata`."},{"name":"tile_y","in":"path","required":true,"schema":{"type":"integer","description":"Vertical tile index from `GET /data/metadata`.","title":"Tile Y"},"description":"Vertical tile index from `GET /data/metadata`."},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"lod","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Inclusive LOD ceiling. Omit to read the complete tile. Valid values are `0` through `lod_levels - 1` from `/data/metadata`.","title":"Lod"},"description":"Inclusive LOD ceiling. Omit to read the complete tile. Valid values are `0` through `lod_levels - 1` from `/data/metadata`."},{"name":"classes","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated ASPRS classification codes to retain, such as `2,5`. Omit to retain every class.","title":"Classes"},"description":"Comma-separated ASPRS classification codes to retain, such as `2,5`. Omit to retain every class."},{"name":"columns","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated stored columns in the desired binary block order, such as `X,Y,Z`. Omit to return every public stored column.","title":"Columns"},"description":"Comma-separated stored columns in the desired binary block order, such as `X,Y,Z`. Omit to return every public stored column."}],"responses":{"200":{"description":"Successful Response","content":{"application/octet-stream":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/pointclouds/{point_cloud_id}":{"get":{"tags":["Point Clouds"],"summary":"Get a point cloud by ID","description":"# Get a Point Cloud\n\nReturns one point-cloud resource by ID. This endpoint returns resource\nmetadata and processing state; it does not return the individual points.\nUse `/data/metadata` and the tile data endpoints for point values after the\nresource reaches `status=\"completed\"`.\n\n## Path Parameters\n\n- **domain_id**: Domain the point cloud belongs to.\n- **point_cloud_id**: Unique point-cloud identifier.\n\n## Response\n\nThe complete point-cloud resource, including its acquisition `type`,\n`source` provenance, processing `status`, georeference, content summary,\nchecksum, and user-editable metadata. Derived fields such as `georeference`\nand `summary` are null until processing completes.\n\n## Error Responses\n\n- **404 Not Found**: The point cloud does not exist, belongs to another\n  domain, or is not accessible to the caller.","operationId":"get_point_cloud","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"point_cloud_id","in":"path","required":true,"schema":{"type":"string","title":"Point Cloud Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointCloud"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Point Clouds"],"summary":"Update a point cloud","description":"# Update a Point Cloud\n\nUpdates the user-editable metadata of an existing point cloud. Only fields\npresent in the request body are changed.\n\n## Path Parameters\n\n- **domain_id**: Domain the point cloud belongs to.\n- **point_cloud_id**: Unique point-cloud identifier.\n\n## Request Body\n\nEvery field is optional:\n\n- **name**: New human-readable name.\n- **description**: New free-text description.\n- **tags**: Replacement tag list. Supplying an empty list removes all tags.\n\nOmitted fields retain their current values.\n\n## Immutable Fields\n\nThis endpoint cannot alter stored point data or derived/provenance fields,\nincluding `id`, `domain_id`, `type`, `source`, `georeference`, `summary`,\n`status`, `created_on`, or `checksum`. A metadata-only update therefore does\nnot make resources derived from the point cloud stale.\n\n`modified_on` is updated automatically.\n\n## Response\n\nThe updated point-cloud resource.\n\n## Error Responses\n\n- **404 Not Found**: The point cloud does not exist, belongs to another\n  domain, or is not accessible to the caller.","operationId":"update_point_cloud","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"point_cloud_id","in":"path","required":true,"schema":{"type":"string","title":"Point Cloud Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePointCloudRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointCloud"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Point Clouds"],"summary":"Delete a point cloud","description":"# Delete a Point Cloud\n\nDeletes a point-cloud resource. This action cannot be undone through the\nAPI. Its GCS artifact becomes orphaned and is reclaimed asynchronously by\nthe storage cleanup service; callers should treat the point cloud as deleted\nas soon as this endpoint returns.\n\nDeleting a point cloud does not delete grids or inventories that were\nderived from it. Those resources retain their recorded provenance, although\nthe source point cloud can no longer be queried.\n\n## Path Parameters\n\n- **domain_id**: Domain the point cloud belongs to.\n- **point_cloud_id**: Unique point-cloud identifier.\n\n## Response\n\nHTTP `204 No Content` with an empty response body.\n\n## Error Responses\n\n- **404 Not Found**: The point cloud does not exist, belongs to another\n  domain, or is not accessible to the caller.","operationId":"delete_point_cloud","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"point_cloud_id","in":"path","required":true,"schema":{"type":"string","title":"Point Cloud Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/keys":{"post":{"tags":["Keys"],"summary":"Create API key","description":"Create a new API key for programmatic access.\n\nReturns the key secret exactly once. The secret cannot be retrieved again —\nonly its SHA-256 hash (the key ID) is stored.","operationId":"create_key","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreatePersonalKeyRequest"},{"$ref":"#/components/schemas/CreateApplicationKeyRequest"}],"discriminator":{"propertyName":"access","mapping":{"personal":"#/components/schemas/CreatePersonalKeyRequest","application":"#/components/schemas/CreateApplicationKeyRequest"}},"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Keys"],"summary":"List API keys","description":"List API keys accessible to the authenticated user or application.","operationId":"list_keys","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListKeysResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/keys/{key_id}":{"get":{"tags":["Keys"],"summary":"Get API key","description":"Get an API key by ID with two-tier ownership check.","operationId":"get_key_by_id","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Key"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Keys"],"summary":"Delete API key","description":"Delete an API key with ownership check. Clears the auth cache.","operationId":"delete_key","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/applications":{"post":{"tags":["Applications"],"summary":"Create an application","description":"Create a new application. Only personal-access users can create applications.","operationId":"create_application","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApplicationRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Applications"],"summary":"List applications","description":"List applications owned by the authenticated user.","operationId":"list_applications","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListApplicationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/applications/{application_id}":{"get":{"tags":["Applications"],"summary":"Get an application by ID","description":"Get an application by ID with ownership check.","operationId":"get_application","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Applications"],"summary":"Update an application","description":"Update an application's name or description.","operationId":"update_application","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateApplicationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Applications"],"summary":"Delete an application","description":"Delete an application and all its API keys. Validates ownership first.","operationId":"delete_application","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/applications/{application_id}/usage":{"get":{"tags":["Applications"],"summary":"Get an application's usage","description":"Get an owned application's usage against its resolved limits, per resource type.\n\nSame shape as `GET /users/me/usage`, for an application the caller owns —\nso a user can read an application's usage without authenticating as it.","operationId":"get_application_usage","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Usage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/users/me":{"get":{"tags":["Users"],"summary":"Get the authenticated owner","description":"Return the authenticated owner's identity, tier, and resolved quotas.","operationId":"get_me","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMeResponse"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v2/users/me/usage":{"get":{"tags":["Users"],"summary":"Get the authenticated owner's usage","description":"Return current usage against the owner's resolved limits, per resource type.","operationId":"get_me_usage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Usage"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v2/domains/-/features":{"get":{"tags":["Features"],"summary":"List features across all domains","description":"# List Features Endpoint\n\nRetrieves a paginated list of all features across all domains belonging to\nthe authenticated user.\n\n## Query Parameters\n\n- **page**: (integer, optional) Page number (zero-indexed). Default: 0.\n- **size**: (integer, optional) Items per page (1-1000). Default: 100.\n- **sort_by**: (string, optional) Field to sort by: `created_on`, `modified_on`, `name`.\n- **sort_order**: (string, optional) Sort direction: `ascending`, `descending`.\n- **type**: (string, optional) Filter by entity type (e.g., `road`).\n- **product**: (string, optional) Filter by source product (e.g., `osm`).\n- **tag**: (string, optional) Filter features that contain this tag.\n\n## Response\n\nReturns a paginated list of features with metadata.","operationId":"list_features_cross_domain","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"The page number to retrieve (zero-indexed).","default":0,"title":"Page"},"description":"The page number to retrieve (zero-indexed)."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"The number of features to retrieve per page.","default":100,"title":"Size"},"description":"The number of features to retrieve per page."},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/FeatureSortField"},{"type":"null"}],"description":"The field to sort results by.","title":"Sort By"},"description":"The field to sort results by."},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortOrder"},{"type":"null"}],"description":"The order to sort results (ascending or descending).","title":"Sort Order"},"description":"The order to sort results (ascending or descending)."},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/FeatureType"},{"type":"null"}],"description":"Filter features by entity type (e.g., 'road', 'water').","title":"Type"},"description":"Filter features by entity type (e.g., 'road', 'water')."},{"name":"product","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter features by source product (e.g., 'osm').","title":"Product"},"description":"Filter features by source product (e.g., 'osm')."},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter features that contain this tag.","title":"Tag"},"description":"Filter features that contain this tag."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListFeaturesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features":{"get":{"tags":["Features"],"summary":"List all features","description":"# List Features Endpoint\n\nRetrieves a paginated list of all features within a domain belonging to\nthe authenticated user.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain to list features for.\n\n## Query Parameters\n\n- **page**: (integer, optional) Page number (zero-indexed). Default: 0.\n- **size**: (integer, optional) Items per page (1-1000). Default: 100.\n- **sort_by**: (string, optional) Field to sort by: `created_on`, `modified_on`, `name`.\n- **sort_order**: (string, optional) Sort direction: `ascending`, `descending`.\n- **type**: (string, optional) Filter by entity type (e.g., `road`).\n- **product**: (string, optional) Filter by source product (e.g., `osm`).\n- **tag**: (string, optional) Filter features that contain this tag.\n\n## Response\n\nReturns a paginated list of features with metadata.","operationId":"list_features","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"The page number to retrieve (zero-indexed).","default":0,"title":"Page"},"description":"The page number to retrieve (zero-indexed)."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"The number of features to retrieve per page.","default":100,"title":"Size"},"description":"The number of features to retrieve per page."},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/FeatureSortField"},{"type":"null"}],"description":"The field to sort results by.","title":"Sort By"},"description":"The field to sort results by."},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SortOrder"},{"type":"null"}],"description":"The order to sort results (ascending or descending).","title":"Sort Order"},"description":"The order to sort results (ascending or descending)."},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/FeatureType"},{"type":"null"}],"description":"Filter features by entity type (e.g., 'road', 'water').","title":"Type"},"description":"Filter features by entity type (e.g., 'road', 'water')."},{"name":"product","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter features by source product (e.g., 'osm').","title":"Product"},"description":"Filter features by source product (e.g., 'osm')."},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter features that contain this tag.","title":"Tag"},"description":"Filter features that contain this tag."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListFeaturesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/{feature_id}":{"get":{"tags":["Features"],"summary":"Get a feature by ID","description":"# Get Feature Endpoint\n\nRetrieves a specific feature resource by its unique identifier.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain the feature belongs to.\n- **feature_id**: (string) The unique identifier of the feature.\n\n## Response\n\nReturns the feature resource.\n\n## Error Responses\n\n- **404 Not Found**: The feature does not exist or the user does not have access.","operationId":"get_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"feature_id","in":"path","required":true,"schema":{"type":"string","title":"Feature Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Features"],"summary":"Update a feature","description":"# Update Feature Endpoint\n\nUpdates the metadata of an existing feature resource. Only the fields\nprovided in the request body will be modified.\n\n## Path Parameters\n\n- **domain_id**: (string) The domain the feature belongs to.\n- **feature_id**: (string) The unique identifier of the feature.\n\n## Request Body\n\nAll fields are optional:\n\n- **name**: (string) New name for the feature.\n- **description**: (string) New description.\n- **tags**: (array of strings) New tags (replaces existing).\n\n## What Cannot Be Updated\n\nThe following fields are immutable:\n\n- **id**, **domain_id**, **type**, **source**, **georeference**\n- **created_on** (creation timestamp is permanent)\n\nThe **modified_on** field is automatically updated.\n\n## Response\n\nReturns the updated feature resource.","operationId":"update_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"feature_id","in":"path","required":true,"schema":{"type":"string","title":"Feature Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeatureRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Features"],"summary":"Delete a feature","description":"# Delete Feature Endpoint\n\nPermanently deletes a feature resource by its unique identifier.","operationId":"delete_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"feature_id","in":"path","required":true,"schema":{"type":"string","title":"Feature Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/{feature_id}/data/metadata":{"get":{"tags":["Features"],"summary":"Get feature data partition layout","description":"# Get Feature Data Metadata\n\nReturns the partition layout for a completed feature's data blob. Use\nthis to discover how many partitions exist before streaming them via\n`GET /domains/{domain_id}/features/{feature_id}/data/{partition_index}`.\n\n## Path Parameters\n\n- **domain_id**: The domain the feature belongs to.\n- **feature_id**: The unique identifier of the feature.\n\n## Response\n\nJSON object describing the partition layout of the underlying\nGeoParquet blob:\n\n```json\n{\n  \"total_features\": 5400,\n  \"partition_count\": 6,\n  \"partitions\": [\n    {\"index\": 0, \"num_features\": 1000},\n    {\"index\": 1, \"num_features\": 1000},\n    {\"index\": 2, \"num_features\": 1000},\n    {\"index\": 3, \"num_features\": 1000},\n    {\"index\": 4, \"num_features\": 1000},\n    {\"index\": 5, \"num_features\": 400}\n  ]\n}\n```\n\n- **total_features**: Total number of features across all partitions.\n- **partition_count**: Number of valid `partition_index` values. Iterate\n  from `0` to `partition_count - 1` to retrieve every feature exactly\n  once, in source order.\n- **partitions**: Per-partition row counts read directly from the\n  GeoParquet footer. Sum of `num_features` equals `total_features`.\n\nA feature with zero features has `partition_count = 0` and an empty\n`partitions` list — no `/data/{partition_index}` calls are valid in\nthat case.\n\n## Error Responses\n\n- **404 Not Found**: Feature does not exist or is not accessible to the\n  caller.\n- **422 Unprocessable Entity**: Feature is not in `completed` status, or\n  the underlying GeoParquet blob is missing / malformed.","operationId":"get_feature_data_metadata","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"feature_id","in":"path","required":true,"schema":{"type":"string","title":"Feature Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureDataMetadata"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/{feature_id}/data/{partition_index}":{"get":{"tags":["Features"],"summary":"Get one partition of feature data as GeoJSON","description":"# Get Feature Data Partition\n\nReturns one partition of a completed feature's data as a self-contained\nGeoJSON `FeatureCollection`. To stream the full collection, first call\n`GET /domains/{domain_id}/features/{feature_id}/data/metadata` to\ndiscover `partition_count`, then GET this endpoint for each\n`partition_index` from `0` to `partition_count - 1`. The concatenated\n`features` arrays reproduce the source feature list in source order.\n\n## Path Parameters\n\n- **domain_id**: The domain the feature belongs to.\n- **feature_id**: The unique identifier of the feature.\n- **partition_index**: Zero-indexed partition number. Must be `< partition_count`\n  from `/data/metadata`.\n\n## Response\n\n`application/geo+json` body — a valid GeoJSON `FeatureCollection`\ncontaining up to `partition_size` features. Each feature's `properties`\nand `geometry` round-trip from the source GeoParquet via geopandas.\n\n## Error Responses\n\n- **404 Not Found**: Feature does not exist or is not accessible to the\n  caller.\n- **413 Content Too Large**: Serialized partition exceeds the 30 MB\n  response cap. Partition size is fixed server-side and cannot be\n  adjusted by re-creating the feature; contact\n  `support.fastfuels@silvxlabs.com` so the partition size can be\n  reduced for your feature.\n- **422 Unprocessable Entity**: `partition_index` is past the last\n  partition, the feature is not in `completed` status, or the\n  underlying GeoParquet blob is missing / malformed.","operationId":"get_feature_data_partition","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"feature_id","in":"path","required":true,"schema":{"type":"string","title":"Feature Id"}},{"name":"partition_index","in":"path","required":true,"schema":{"type":"integer","minimum":0,"description":"Zero-indexed partition number. Valid range is `0` ≤ `partition_index` < `partition_count` from `GET /data/metadata`.","title":"Partition Index"},"description":"Zero-indexed partition number. Valid range is `0` ≤ `partition_index` < `partition_count` from `GET /data/metadata`."},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"application/geo+json":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/road/osm":{"post":{"tags":["Features","Features - Road"],"summary":"Create a road feature from OpenStreetMap","description":"# Create OSM Road Feature\n\nGenerates a polygon representation of the road network within the specified\ndomain using data from OpenStreetMap (OSM).\n\nThe backend worker will:\n1. Fetch the bounding box for the target domain.\n2. Query OpenStreetMap for linear road segments (`highway=*`).\n3. Dynamically buffer the line strings into realistic polygon areas\n   based on their specific OSM classification (e.g., motorways receive\n   a wider buffer than residential streets or trails).\n4. Save the resulting GeoJSON to the features bucket.\n\n## Request Body\n\n- **name**: (optional) Name for the road feature.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing features.\n- **extent_buffer_m**: (optional) Distance in meters to expand the domain\n  extent outward before clipping fetched roads. Lets roads that exit the\n  domain at the boundary extend slightly past the edge, providing context\n  for visualization and downstream operations. Applied in the domain's\n  projected CRS. If omitted, roads are clipped exactly to the domain\n  boundary. Range: 0–100 meters.\n\n## Response\n\nReturns the created Feature resource with status ``\"pending\"``. The\nbackend worker will process the OSM extraction asynchronously and update\nstatus to ``\"completed\"`` when ready.","operationId":"create_osm_road_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOsmRoadFeatureRequest"},"examples":{"minimal":{"value":{"type":"road"},"summary":"Minimal request","description":"Kicks off a background task to extract, buffer, and clip the road network for this domain using default OpenStreetMap data."},"with_metadata":{"value":{"type":"road","name":"OSM Road Network","description":"OpenStreetMap roads automatically buffered to realistic widths based on highway classification.","tags":["infrastructure","osm","roads"]},"summary":"With name and tags","description":"Creates a named road feature with custom tags for organization. Useful when managing multiple infrastructure layers."},"with_buffer":{"value":{"type":"road","name":"OSM Road Network (with overhang)","description":"Roads clipped to the domain plus 50 m, so segments exiting the boundary are not truncated at the edge.","tags":["infrastructure","osm","roads"],"extent_buffer_m":50},"summary":"With clip-extent buffer","description":"Expands the clip extent by 50 m before clipping, so roads that cross the domain boundary continue past it instead of being cut at the edge."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/road/geojson":{"post":{"tags":["Features","Features - Road"],"summary":"Upload a road feature as GeoJSON","description":"# Upload Road Feature\n\nCreates a road feature from your own road footprint polygons, such as driveways missing from OpenStreetMap. The feature is used\nthe same way as one from `/road/osm`.\n\nThe polygons are reprojected to the domain CRS and clipped to the domain,\nplus `extent_buffer_m`.\n\n## Request Body\n\nThe body **is** a GeoJSON FeatureCollection, with resource metadata as\ntop-level fields:\n\n- **features**: (array) At least one Feature with a `Polygon` or\n  `MultiPolygon` geometry. `properties` are optional and are stored as\n  columns; each property must have one type across all features.\n- **crs**: (object, optional) The GeoJSON `crs` block. Any CRS is\n  accepted. When omitted, coordinates are read as `EPSG:4326`.\n- **name**: (string, optional) Name of the feature.\n- **description**: (string, optional) Description.\n- **tags**: (array of strings, optional) Searchable tags.\n- **extent_buffer_m**: (number, optional) Distance in meters to expand the\n  domain extent before clipping. Range: 0–100. Default: 0.\n\nReturns 422 if a geometry is invalid or no polygon intersects the domain.\n\n## Response\n\nReturns the created Feature with status `\"completed\"`.","operationId":"create_geojson_road_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGeojsonFeatureRequest"},"examples":{"driveways":{"value":{"type":"FeatureCollection","name":"Driveways","description":"Hand-drawn driveways that OpenStreetMap is missing.","tags":["roads","driveways"],"features":[{"type":"Feature","properties":{"type":"driveway"},"geometry":{"type":"Polygon","coordinates":[[[-113.7011095,46.9162721],[-113.7004257,46.9158347],[-113.7004615,46.9158084],[-113.7011347,46.916239],[-113.7021861,46.9163929],[-113.7021751,46.9164281],[-113.7011095,46.9162721]]]}},{"type":"Feature","properties":{"type":"driveway"},"geometry":{"type":"Polygon","coordinates":[[[-113.6980575,46.9149857],[-113.6980168,46.9149711],[-113.6985099,46.9143295],[-113.6985506,46.9143441],[-113.6980575,46.9149857]]]}}]},"summary":"Hand-drawn driveways","description":"Uploads two driveway polygons in WGS84 (no `crs` block). They are reprojected to the domain CRS and clipped to the domain."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/road/concatenate":{"post":{"tags":["Features","Features - Road"],"summary":"Concatenate road features","description":"# Concatenate Road Features\n\nCreates a new road feature whose rows are the rows of other road features\nin this domain, appended in order. Use it to combine OpenStreetMap roads with\nyour own uploads.\n\nGeometries are not merged: overlapping polygons stay separate rows. The\ncolumns are the union of the inputs' columns, empty where an input lacks\none, plus `source_feature_id`, the input each row came from.\n\n## Request Body\n\n- **source_feature_ids**: (array of strings) 2–100 feature IDs, each\n  listed once. Every feature must be a completed road feature in this\n  domain.\n- **name**: (string, optional) Name of the feature.\n- **description**: (string, optional) Description.\n- **tags**: (array of strings, optional) Searchable tags.\n\n## Response\n\nReturns the created Feature with status `\"completed\"`. Its\n`attributions` combine those of the input features.","operationId":"concatenate_road_features","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConcatenateFeaturesRequest"},"examples":{"roads_and_driveways":{"value":{"source_feature_ids":["4f6c1b2e9a7d4c3b8e5f0a1d2c3b4a59","b81e7d6c5a4f4e3d9c2b1a0f9e8d7c6b"],"name":"Roads and driveways","description":"OpenStreetMap roads plus hand-drawn driveways.","tags":["roads"]},"summary":"OSM roads plus uploaded driveways","description":"Appends the rows of an OpenStreetMap road feature and an uploaded driveway feature into one road feature."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/water/osm":{"post":{"tags":["Features","Features - Water"],"summary":"Create a water feature from OpenStreetMap","description":"# Create OSM Water Feature\n\nGenerates a polygon representation of water bodies and waterways within the\nspecified domain using data from OpenStreetMap (OSM).\n\nThe backend worker will:\n1. Fetch the bounding box for the target domain.\n2. Query OpenStreetMap for water features (e.g., `water=*`, `waterway=*`, `natural=water`).\n3. Extract existing polygon features (lakes, ponds, wide rivers).\n4. Dynamically buffer linear water features (streams, creeks, narrow rivers)\n   into polygon areas based on their specific OSM classification.\n5. Merge the geometries and save the resulting GeoJSON to the features bucket.\n\n## Request Body\n\n- **name**: (optional) Name for the water feature.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing features.\n- **extent_buffer_m**: (optional) Distance in meters to expand the domain\n  extent outward before clipping fetched water features. Lets streams and\n  rivers that exit the domain at the boundary extend slightly past the\n  edge, providing context for visualization and downstream operations.\n  Applied in the domain's projected CRS. If omitted, water features are\n  clipped exactly to the domain boundary. Range: 0–100 meters.\n\n## Response\n\nReturns the created Feature resource with status ``\"pending\"``. The\nbackend worker will process the OSM extraction asynchronously and update\nstatus to ``\"completed\"`` when ready.","operationId":"create_osm_water_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOsmWaterFeatureRequest"},"examples":{"minimal":{"value":{"type":"water"},"summary":"Minimal request","description":"Kicks off a background task to extract, buffer, and clip water features for this domain using default OpenStreetMap data."},"with_metadata":{"value":{"type":"water","name":"OSM Water Bodies and Streams","description":"OpenStreetMap lakes, ponds, rivers, and streams. Linear waterways are automatically buffered into polygons.","tags":["hydrology","osm","water"]},"summary":"With name and tags","description":"Creates a named water feature with custom tags for organization. Useful for distinguishing between different hydrology layers or scenarios."},"with_buffer":{"value":{"type":"water","name":"OSM Water Features (with overhang)","description":"Water features clipped to the domain plus 50 m, so streams and rivers crossing the boundary continue past it.","tags":["hydrology","osm","water"],"extent_buffer_m":50},"summary":"With clip-extent buffer","description":"Expands the clip extent by 50 m before clipping, so streams and rivers that cross the domain boundary continue past it instead of being cut at the edge."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/water/geojson":{"post":{"tags":["Features","Features - Water"],"summary":"Upload a water feature as GeoJSON","description":"# Upload Water Feature\n\nCreates a water feature from your own water polygons, such as ponds missing from OpenStreetMap. The feature is used\nthe same way as one from `/water/osm`.\n\nThe polygons are reprojected to the domain CRS and clipped to the domain,\nplus `extent_buffer_m`.\n\n## Request Body\n\nThe body **is** a GeoJSON FeatureCollection, with resource metadata as\ntop-level fields:\n\n- **features**: (array) At least one Feature with a `Polygon` or\n  `MultiPolygon` geometry. `properties` are optional and are stored as\n  columns; each property must have one type across all features.\n- **crs**: (object, optional) The GeoJSON `crs` block. Any CRS is\n  accepted. When omitted, coordinates are read as `EPSG:4326`.\n- **name**: (string, optional) Name of the feature.\n- **description**: (string, optional) Description.\n- **tags**: (array of strings, optional) Searchable tags.\n- **extent_buffer_m**: (number, optional) Distance in meters to expand the\n  domain extent before clipping. Range: 0–100. Default: 0.\n\nReturns 422 if a geometry is invalid or no polygon intersects the domain.\n\n## Response\n\nReturns the created Feature with status `\"completed\"`.","operationId":"create_geojson_water_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGeojsonFeatureRequest"},"examples":{"pond":{"value":{"type":"FeatureCollection","name":"Stock pond","description":"A pond that OpenStreetMap is missing.","tags":["hydrology"],"features":[{"type":"Feature","properties":{"name":"Stock pond"},"geometry":{"type":"Polygon","coordinates":[[[-113.6971539,46.9177891],[-113.6971814,46.9177074],[-113.6972649,46.9176462],[-113.6973819,46.9176217],[-113.697501,46.9176406],[-113.6975904,46.9176978],[-113.6976261,46.9177779],[-113.6975986,46.9178596],[-113.6975151,46.9179209],[-113.6973981,46.9179453],[-113.697279,46.9179264],[-113.6971896,46.9178692],[-113.6971539,46.9177891]]]}}]},"summary":"Hand-drawn pond","description":"Uploads one pond polygon in WGS84 (no `crs` block). It is reprojected to the domain CRS and clipped to the domain."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/water/concatenate":{"post":{"tags":["Features","Features - Water"],"summary":"Concatenate water features","description":"# Concatenate Water Features\n\nCreates a new water feature whose rows are the rows of other water features\nin this domain, appended in order. Use it to combine OpenStreetMap water with\nyour own uploads.\n\nGeometries are not merged: overlapping polygons stay separate rows. The\ncolumns are the union of the inputs' columns, empty where an input lacks\none, plus `source_feature_id`, the input each row came from.\n\n## Request Body\n\n- **source_feature_ids**: (array of strings) 2–100 feature IDs, each\n  listed once. Every feature must be a completed water feature in this\n  domain.\n- **name**: (string, optional) Name of the feature.\n- **description**: (string, optional) Description.\n- **tags**: (array of strings, optional) Searchable tags.\n\n## Response\n\nReturns the created Feature with status `\"completed\"`. Its\n`attributions` combine those of the input features.","operationId":"concatenate_water_features","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConcatenateFeaturesRequest"},"examples":{"water_and_ponds":{"value":{"source_feature_ids":["4f6c1b2e9a7d4c3b8e5f0a1d2c3b4a59","b81e7d6c5a4f4e3d9c2b1a0f9e8d7c6b"],"name":"Water and ponds","description":"OpenStreetMap water plus hand-drawn ponds.","tags":["hydrology"]},"summary":"OSM water plus uploaded ponds","description":"Appends the rows of an OpenStreetMap water feature and an uploaded pond feature into one water feature."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/layerset/geojson":{"post":{"tags":["Features","Features - Layerset"],"summary":"Upload a custom Layerset","description":"# Create Layerset Endpoint\n\nUploads a flat GeoJSON FeatureCollection of fuelbed polygons as a new\nfeature resource. Each Feature's ``properties`` block carries one\nfuelbed's input columns for ``fastfuels_core.rasterize_layerset``. The\npayload is validated and saved directly to Cloud Storage.\n\n## Path Parameters\n- **domain_id**: (string) The domain this layerset belongs to.\n\n## Request Body\n\nThe body **is** the GeoJSON FeatureCollection (mirroring `POST /domains`),\nwith optional resource metadata as top-level fields:\n\n- **type**: (string) Must be `\"FeatureCollection\"`.\n- **features**: (array) At least one Feature, each carrying one fuelbed's\n  `properties` and a `Polygon`/`MultiPolygon` `geometry`.\n- **crs**: (object) The GeoJSON `crs` block declaring a **projected** CRS\n  (e.g. `EPSG:32612`). Geographic CRSes are rejected — rasterization\n  requires cell sizes in meters.\n- **name**: (string, optional) Name of the layerset.\n- **description**: (string, optional) Description of the data.\n- **tags**: (array of strings, optional) Searchable tags.\n\n## Response\nReturns the created Feature resource with a status of `completed`.","operationId":"create_layerset","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLayersetRequestBody"},"examples":{"minimal":{"value":{"type":"FeatureCollection","name":"blackfoot_example_layerset","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::32612"}},"features":[{"type":"Feature","properties":{"strata_fb":"Shrub1_52","fuel_type":"shrub","fuel_loading":1,"fuel_height":2.0,"percent_cover":15,"distribution":"uniform_random"},"geometry":{"type":"MultiPolygon","coordinates":[[[[294083.48046647,5199205.57570166],[294284.18598006,5199133.99758107],[294072.44232996,5198853.44471689],[294083.48046647,5199205.57570166]]]]}},{"type":"Feature","properties":{"strata_fb":"Shrub2_53","fuel_type":"shrub","fuel_loading":2,"fuel_height":2.0,"percent_cover":22,"distribution":"random_clusters","patch_size":8.0},"geometry":{"type":"MultiPolygon","coordinates":[[[[294072.26437098,5199682.19987124],[294573.5386922,5199594.76306425],[294186.10735175,5199345.84167541],[294072.26437098,5199682.19987124]]]]}},{"type":"Feature","properties":{"strata_fb":"Herb1_52","fuel_type":"herb","fuel_loading":1,"fuel_height":1.0,"percent_cover":22,"distribution":"uniform_random"},"geometry":{"type":"MultiPolygon","coordinates":[[[[294130.69988096,5199249.69856456],[294419.42243816,5199273.35748891],[294128.26474852,5198962.69921029],[294130.69988096,5199249.69856456]]],[[[294532.26226275,5199530.76412423],[294849.82095037,5199638.29520852],[294741.71628427,5199322.00825025],[294532.26226275,5199530.76412423]]]]}},{"type":"Feature","properties":{"strata_fb":"Herb1_53","fuel_type":"herb","fuel_loading":1,"fuel_height":3.0,"percent_cover":50,"distribution":"uniform_random"},"geometry":{"type":"MultiPolygon","coordinates":[[[[294439.59770565,5199759.67483683],[294688.91756758,5199675.13200658],[294475.54357416,5199443.66854859],[294439.59770565,5199759.67483683]]]]}},{"type":"Feature","properties":{"strata_fb":"Herb2_22","fuel_type":"herb","fuel_loading":3,"fuel_height":1.0,"percent_cover":20,"distribution":"random_clusters","patch_size":5.0},"geometry":{"type":"MultiPolygon","coordinates":[[[[294195.40890056,5199148.56814316],[294253.21398324,5199138.63796577],[294219.57968408,5199082.63227565],[294175.69358256,5199093.79503399],[294195.40890056,5199148.56814316]]]]}},{"type":"Feature","properties":{"strata_fb":"LitterLichenMoss_52","fuel_type":"litter","fuel_loading":1,"fuel_height":0.08,"percent_cover":60,"distribution":"homogeneous"},"geometry":{"type":"MultiPolygon","coordinates":[[[[294092.8211293,5199608.14575947],[294769.78988294,5199485.85688618],[294174.92507172,5198988.93255592],[294092.8211293,5199608.14575947]]]]}},{"type":"Feature","properties":{"strata_fb":"LitterLichenMoss_53","fuel_type":"litter","fuel_loading":2,"fuel_height":0.05,"percent_cover":10,"distribution":"homogeneous"},"geometry":{"type":"MultiPolygon","coordinates":[[[[294029.28510358,5199877.74955579],[294658.80237681,5199704.65830969],[294143.54426584,5199345.61822959],[294029.28510358,5199877.74955579]]]]}}]},"summary":"Minimal request","description":"Uploads a flat GeoJSON layerset with default metadata. The system will automatically extract bounding box coordinates."},"with_metadata":{"value":{"type":"FeatureCollection","name":"Custom Surface Fuels","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::32612"}},"features":[{"type":"Feature","properties":{"strata_fb":"Shrub1_52","fuel_type":"shrub","fuel_loading":1,"fuel_height":2.0,"percent_cover":15,"distribution":"uniform_random"},"geometry":{"type":"MultiPolygon","coordinates":[[[[294083.48046647,5199205.57570166],[294284.18598006,5199133.99758107],[294072.44232996,5198853.44471689],[294083.48046647,5199205.57570166]]]]}},{"type":"Feature","properties":{"strata_fb":"Shrub2_53","fuel_type":"shrub","fuel_loading":2,"fuel_height":2.0,"percent_cover":22,"distribution":"random_clusters","patch_size":8.0},"geometry":{"type":"MultiPolygon","coordinates":[[[[294072.26437098,5199682.19987124],[294573.5386922,5199594.76306425],[294186.10735175,5199345.84167541],[294072.26437098,5199682.19987124]]]]}},{"type":"Feature","properties":{"strata_fb":"Herb1_52","fuel_type":"herb","fuel_loading":1,"fuel_height":1.0,"percent_cover":22,"distribution":"uniform_random"},"geometry":{"type":"MultiPolygon","coordinates":[[[[294130.69988096,5199249.69856456],[294419.42243816,5199273.35748891],[294128.26474852,5198962.69921029],[294130.69988096,5199249.69856456]]],[[[294532.26226275,5199530.76412423],[294849.82095037,5199638.29520852],[294741.71628427,5199322.00825025],[294532.26226275,5199530.76412423]]]]}},{"type":"Feature","properties":{"strata_fb":"Herb1_53","fuel_type":"herb","fuel_loading":1,"fuel_height":3.0,"percent_cover":50,"distribution":"uniform_random"},"geometry":{"type":"MultiPolygon","coordinates":[[[[294439.59770565,5199759.67483683],[294688.91756758,5199675.13200658],[294475.54357416,5199443.66854859],[294439.59770565,5199759.67483683]]]]}},{"type":"Feature","properties":{"strata_fb":"Herb2_22","fuel_type":"herb","fuel_loading":3,"fuel_height":1.0,"percent_cover":20,"distribution":"random_clusters","patch_size":5.0},"geometry":{"type":"MultiPolygon","coordinates":[[[[294195.40890056,5199148.56814316],[294253.21398324,5199138.63796577],[294219.57968408,5199082.63227565],[294175.69358256,5199093.79503399],[294195.40890056,5199148.56814316]]]]}},{"type":"Feature","properties":{"strata_fb":"LitterLichenMoss_52","fuel_type":"litter","fuel_loading":1,"fuel_height":0.08,"percent_cover":60,"distribution":"homogeneous"},"geometry":{"type":"MultiPolygon","coordinates":[[[[294092.8211293,5199608.14575947],[294769.78988294,5199485.85688618],[294174.92507172,5198988.93255592],[294092.8211293,5199608.14575947]]]]}},{"type":"Feature","properties":{"strata_fb":"LitterLichenMoss_53","fuel_type":"litter","fuel_loading":2,"fuel_height":0.05,"percent_cover":10,"distribution":"homogeneous"},"geometry":{"type":"MultiPolygon","coordinates":[[[[294029.28510358,5199877.74955579],[294658.80237681,5199704.65830969],[294143.54426584,5199345.61822959],[294029.28510358,5199877.74955579]]]]}}],"tags":["surface-fuels","custom","shrub"]},"summary":"With name and tags","description":"Uploads a named layerset with custom tags for organization. Useful when maintaining multiple custom fuel scenarios within a single domain."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/crown/chm":{"post":{"tags":["Features","Features - Crown"],"summary":"Create a crown feature from a CHM","description":"# Create CHM Crown Feature\n\nOutlines each tree's crown by growing it on a Canopy Height Model (CHM)\nfrom the tree's position in an existing tree inventory.\n\nEach inventory tree seeds one crown in the CHM cell that contains its\n`x`, `y`. Crowns grow outward one ring of 4-connected cells at a time\n(Dalponte & Coomes, 2016) and never overlap. A tree gets no crown if it\nlies outside the CHM, sits on a no-data cell, or shares its cell with a\ntaller tree (ties go to the lower `tree_id`).\nA tree whose CHM cell is below `min_height`, such as one on bare ground,\ngets a one-cell crown.\n\nThe inventory must hold trees detected from this CHM, created with\n`POST /inventories/tree/chm` from `source_chm_grid_id`, so that each crown\nbelongs to the tree that made it.\n\nThe completed feature holds one row per crown with columns `tree_id` (the\nseed tree's `tree_id`) and `geometry` (a `Polygon` in the domain CRS,\ntraced along CHM cell edges). Read it from the feature's `/data`\nendpoints.\n\n## Request Body\n\n- **source_inventory_id**: (required) ID of a completed tree inventory\n  created with `POST /inventories/tree/chm` from `source_chm_grid_id`.\n- **source_chm_grid_id**: (required) ID of a completed grid with a `chm`\n  band in metres, at 2 m resolution or finer.\n- **crown_segmentation**: (optional) Segmentation settings. Defaults are\n  used for any field left out.\n- **name**, **description**, **tags**: (optional) Standard metadata.\n\n## Response\n\nReturns the created Feature resource with status `\"pending\"`. The backend\nworker segments the crowns asynchronously and updates status to\n`\"completed\"` when ready.","operationId":"create_chm_crown_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChmCrownFeatureRequest"},"examples":{"minimal":{"value":{"source_inventory_id":"PLACEHOLDER_INVENTORY_ID","source_chm_grid_id":"PLACEHOLDER_CHM_GRID_ID"},"summary":"Minimal request","description":"Grows one crown per inventory tree on the CHM with the default segmentation settings."},"with_segmentation":{"value":{"name":"Hitchiti crowns","source_inventory_id":"PLACEHOLDER_INVENTORY_ID","source_chm_grid_id":"PLACEHOLDER_CHM_GRID_ID","crown_segmentation":{"method":"dalponte2016","min_height":2.0,"max_height":120.0,"min_relative_height":0.45,"min_relative_crown_height":0.55,"max_crown_radius":10.0}},"summary":"With segmentation settings","description":"Sets every segmentation parameter explicitly."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/building/overture":{"post":{"tags":["Features","Features - Building"],"summary":"Create a building feature from Overture Maps","description":"# Create Overture Building Feature\n\nCreates building footprint polygons for the domain from the\n[Overture Maps](https://overturemaps.org) buildings dataset, which combines\nOpenStreetMap and Microsoft ML Buildings footprints.\n\nData comes from the latest Overture release. The release used is recorded\nin `source.release` once the feature completes.\n\n## Request Body\n\n- **name**: (optional) Name for the building feature.\n- **description**: (optional) Description.\n- **tags**: (optional) Tags for organizing features.\n- **extent_buffer_m**: (optional) Distance in meters to expand the domain\n  extent before clipping buildings. Range: 0–100. Default: 0.\n\n## Response\n\nReturns the created Feature with status `\"pending\"`; status changes to\n`\"completed\"` when the buildings are ready.\n\nEach building has:\n\n- **height**: building height in meters, or null if unknown.\n- **height_source**: dataset that supplied the height, or null.\n- **source_dataset**: dataset that supplied the footprint, e.g.\n  `OpenStreetMap` or `Microsoft ML Buildings`.\n\nThe feature's `attributions` list Overture Maps and each upstream dataset\nits buildings came from. The data is licensed under ODbL; reproduce each\n`citation` wherever you use or share it.","operationId":"create_overture_building_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOvertureBuildingFeatureRequest"},"examples":{"minimal":{"value":{"type":"building"},"summary":"Minimal request","description":"Building footprints clipped to the domain boundary."},"with_metadata":{"value":{"type":"building","name":"Overture Buildings","description":"Building footprints with heights from Overture Maps.","tags":["infrastructure","overture","buildings"]},"summary":"With name and tags","description":"A named building feature with tags for organization."},"with_buffer":{"value":{"type":"building","name":"Overture Buildings (with overhang)","description":"Buildings clipped to the domain plus 25 m.","tags":["infrastructure","overture","buildings"],"extent_buffer_m":25},"summary":"With clip-extent buffer","description":"Expands the clip extent by 25 m, so buildings that cross the domain boundary are not cut at the edge."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/building/geojson":{"post":{"tags":["Features","Features - Building"],"summary":"Upload a building feature as GeoJSON","description":"# Upload Building Feature\n\nCreates a building feature from your own building footprint polygons, such as surveyed buildings missing from Overture Maps. The feature is used\nthe same way as one from `/building/overture`.\n\nThe polygons are reprojected to the domain CRS and clipped to the domain,\nplus `extent_buffer_m`.\n\n## Request Body\n\nThe body **is** a GeoJSON FeatureCollection, with resource metadata as\ntop-level fields:\n\n- **features**: (array) At least one Feature with a `Polygon` or\n  `MultiPolygon` geometry. `properties` are optional and are stored as\n  columns; each property must have one type across all features.\n- **crs**: (object, optional) The GeoJSON `crs` block. Any CRS is\n  accepted. When omitted, coordinates are read as `EPSG:4326`.\n- **name**: (string, optional) Name of the feature.\n- **description**: (string, optional) Description.\n- **tags**: (array of strings, optional) Searchable tags.\n- **extent_buffer_m**: (number, optional) Distance in meters to expand the\n  domain extent before clipping. Range: 0–100. Default: 0.\n\nReturns 422 if a geometry is invalid or no polygon intersects the domain.\n\n## Response\n\nReturns the created Feature with status `\"completed\"`.","operationId":"create_geojson_building_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGeojsonFeatureRequest"},"examples":{"surveyed":{"value":{"type":"FeatureCollection","name":"Surveyed buildings","description":"Footprints and heights from a site survey.","tags":["buildings","survey"],"features":[{"type":"Feature","properties":{"height":6.5},"geometry":{"type":"Polygon","coordinates":[[[-113.700314,46.9157445],[-113.700373,46.9158446],[-113.7005677,46.9157908],[-113.7005088,46.9156907],[-113.700314,46.9157445]]]}},{"type":"Feature","properties":{"height":4.0},"geometry":{"type":"Polygon","coordinates":[[[-113.6979716,46.9149877],[-113.6979533,46.9150767],[-113.6981352,46.9150943],[-113.6981536,46.9150053],[-113.6979716,46.9149877]]]}}]},"summary":"Surveyed buildings","description":"Uploads two building footprints with heights in WGS84 (no `crs` block). They are reprojected to the domain CRS and clipped to the domain."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/building/concatenate":{"post":{"tags":["Features","Features - Building"],"summary":"Concatenate building features","description":"# Concatenate Building Features\n\nCreates a new building feature whose rows are the rows of other building features\nin this domain, appended in order. Use it to combine Overture buildings with\nyour own uploads.\n\nGeometries are not merged: overlapping polygons stay separate rows. The\ncolumns are the union of the inputs' columns, empty where an input lacks\none, plus `source_feature_id`, the input each row came from.\n\n## Request Body\n\n- **source_feature_ids**: (array of strings) 2–100 feature IDs, each\n  listed once. Every feature must be a completed building feature in this\n  domain.\n- **name**: (string, optional) Name of the feature.\n- **description**: (string, optional) Description.\n- **tags**: (array of strings, optional) Searchable tags.\n\n## Response\n\nReturns the created Feature with status `\"completed\"`. Its\n`attributions` combine those of the input features.","operationId":"concatenate_building_features","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConcatenateFeaturesRequest"},"examples":{"overture_and_survey":{"value":{"source_feature_ids":["4f6c1b2e9a7d4c3b8e5f0a1d2c3b4a59","b81e7d6c5a4f4e3d9c2b1a0f9e8d7c6b"],"name":"All buildings","description":"Overture buildings plus surveyed buildings Overture is missing.","tags":["buildings"]},"summary":"Overture plus uploaded buildings","description":"Appends the rows of an Overture building feature and an uploaded building feature into one building feature."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/domains/{domain_id}/features/disturbance/geojson":{"post":{"tags":["Features","Features - Disturbance"],"summary":"Upload a disturbance feature as GeoJSON","description":"# Upload Disturbance Feature\n\nCreates a disturbance feature from your own disturbance polygons, such as\nfire perimeters or treatment units. Each polygon carries the LANDFIRE FDist\ncode of one disturbance.\n\nThe polygons are reprojected to the domain CRS and clipped to the domain,\nplus `extent_buffer_m`.\n\n## Request Body\n\nThe body **is** a GeoJSON FeatureCollection, with resource metadata as\ntop-level fields:\n\n- **features**: (array) At least one Feature with a `Polygon` or\n  `MultiPolygon` geometry and an integer `properties.fdist`. Optional\n  `properties.name`, `type`, `year` and `severity` describe the\n  disturbance. All properties are stored as columns; each property must\n  have one type across all features.\n- **crs**: (object, optional) The GeoJSON `crs` block. Any CRS is\n  accepted. When omitted, coordinates are read as `EPSG:4326`.\n- **name**: (string, optional) Name of the feature.\n- **description**: (string, optional) Description.\n- **tags**: (array of strings, optional) Searchable tags.\n- **extent_buffer_m**: (number, optional) Distance in meters to expand the\n  domain extent before clipping. Range: 0–100. Default: 0.\n\nReturns 422 if an `fdist` code is invalid, a geometry is invalid, or no\npolygon intersects the domain.\n\n## FDist codes\n\nThe FDist codes are defined in the Attribute Data Dictionary at\nhttps://landfire.gov/fuel/fdist.\n\n`fdist = 100 * D_TYPE + 10 * D_SEVERITY + D_TIME`, with D_TYPE 1-7\n(fire, mechanical add, mechanical remove, weather, insects/disease,\nmechanical unknown, mastication) and D_SEVERITY 1-3 (low, moderate,\nhigh). D_TIME, the last digit, is how long ago the disturbance happened,\ncounted back from the year you are mapping:\n- 1 for a disturbance in that year\n- 2 for a disturbance in the previous four years\n- 3 for one five to nine years earlier\n\nFor example, to update a 2024 fuel model to 2025, a 2025 disturbance ends\nin 1, a disturbance from 2021 to 2024 ends in 2, and a disturbance from\n2016 to 2020 ends in 3.\n\nWhere polygons overlap, the more recent disturbance (the lower last digit)\nwins when the feature is used; if they are equally recent, the later\nfeature in the file wins.\n\n## Response\n\nReturns the created Feature with status `\"completed\"`.","operationId":"create_geojson_disturbance_feature","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDisturbanceFeatureRequest"},"examples":{"fire_and_thinning":{"value":{"type":"FeatureCollection","name":"Fire and thinning history","description":"A fire and a later thinning that overlaps it.","tags":["disturbance","fire","thinning"],"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::32612"}},"features":[{"type":"Feature","properties":{"fdist":122},"geometry":{"type":"Polygon","coordinates":[[[294150.0,5199050.0],[294500.0,5199050.0],[294500.0,5199450.0],[294150.0,5199450.0],[294150.0,5199050.0]]]}},{"type":"Feature","properties":{"fdist":311},"geometry":{"type":"Polygon","coordinates":[[[294350.0,5199300.0],[294700.0,5199300.0],[294700.0,5199700.0],[294350.0,5199700.0],[294350.0,5199300.0]]]}}]},"summary":"Fire and thinning","description":"Uploads two overlapping disturbance polygons in UTM 12N with only the required `fdist` code on each, mapped for 2025."},"with_labels":{"value":{"type":"FeatureCollection","name":"Fire and thinning history","description":"A fire and a later thinning that overlaps it.","tags":["disturbance","fire","thinning"],"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::32612"}},"features":[{"type":"Feature","properties":{"fdist":122,"name":"Example Fire","type":"wildfire","year":2022,"severity":"moderate"},"geometry":{"type":"Polygon","coordinates":[[[294150.0,5199050.0],[294500.0,5199050.0],[294500.0,5199450.0],[294150.0,5199450.0],[294150.0,5199050.0]]]}},{"type":"Feature","properties":{"fdist":311,"name":"Example Thinning","type":"mechanical removal","year":2025,"severity":"low"},"geometry":{"type":"Polygon","coordinates":[[[294350.0,5199300.0],[294700.0,5199300.0],[294700.0,5199700.0],[294350.0,5199700.0],[294350.0,5199300.0]]]}}]},"summary":"With descriptive labels","description":"Adds the optional `name`, `type`, `year` and `severity` to each polygon. They are stored as given and don't affect the result."}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"429":{"description":"Quota exceeded. The `detail` names the exact `quota`; active-job rejections also include a `Retry-After` header, and weekly-budget rejections include `window_reset_on` plus the IETF `RateLimit` / `RateLimit-Policy` headers with `r=0`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present only on active-job rejections, which clear on their own as jobs finish.","schema":{"type":"integer"}},"RateLimit":{"description":"IETF RateLimit header (weekly-budget rejections only): the spent policy, e.g. `\"max_weekly_grid_dispatches\";r=0;t=259200` — `r` remaining dispatches, `t` seconds until the ISO-week reset. Also sent with the live remaining count on successful dispatching responses.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"IETF RateLimit-Policy header (weekly-budget rejections only): the policy itself, e.g. `\"max_weekly_grid_dispatches\";q=500;w=604800` — `q` the weekly limit, `w` the window in seconds (one week). Also sent on successful dispatching responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Access":{"type":"string","enum":["personal","application"],"title":"Access","description":"Access types for an API key."},"AllometryBiomassSource":{"properties":{"type":{"type":"string","const":"allometry","title":"Type","default":"allometry"},"equations":{"$ref":"#/components/schemas/BiomassEquations","default":"nsvb"},"components":{"items":{"$ref":"#/components/schemas/BiomassComponent"},"type":"array","minItems":1,"title":"Components"},"component_states":{"additionalProperties":{"$ref":"#/components/schemas/BiomassComponentState"},"propertyNames":{"$ref":"#/components/schemas/BiomassComponent"},"type":"object","title":"Component States","description":"Per-component live/dead biomass partition fractions."},"fine":{"anyOf":[{"$ref":"#/components/schemas/FineBiomassConfig"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"AllometryBiomassSource","description":"Estimate biomass from allometric equations."},"AllometryCanopyBiomassSource":{"properties":{"type":{"type":"string","const":"allometry","title":"Type","default":"allometry"},"equations":{"$ref":"#/components/schemas/CanopyBiomassEquations","description":"Allometric equation family. `nsvb` is the national FIA-backed default, consistent with the tree voxelization endpoint. `brown_1978` reproduces the FuelCalc / LANDFIRE biomass basis (Interior West conifers).","default":"nsvb"}},"additionalProperties":false,"type":"object","title":"AllometryCanopyBiomassSource","description":"Estimate each tree's crown biomass from allometric equations.\n\nThe equations produce crown component biomass (foliage, branchwood);\nthe `available_fuel` settings then reduce those components to the\navailable canopy fuel used in the profile."},"AllometryMaxCrownRadiusSource":{"properties":{"type":{"type":"string","const":"allometry","title":"Type","default":"allometry"}},"additionalProperties":false,"type":"object","title":"AllometryMaxCrownRadiusSource","description":"Use the crown profile model's allometric max crown radius (default)."},"Application":{"properties":{"id":{"type":"string","title":"Id","description":"Unique identifier for the application."},"owner_id":{"type":"string","title":"Owner Id","description":"The unique ID of the user who owns the application."},"name":{"type":"string","title":"Name","description":"Name of the application."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the application."},"created_on":{"type":"string","format":"date-time","title":"Created On","description":"When the application was created."},"modified_on":{"type":"string","format":"date-time","title":"Modified On","description":"When the application was last modified."},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier","description":"Quota tier for the application. Set by the FastFuels team."},"quota_overrides":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Quota Overrides","description":"Per-application quota overrides. Set by the FastFuels team."}},"type":"object","required":["id","owner_id","name"],"title":"Application","description":"Represents an application that can own API keys."},"ApplyGridModificationsRequest":{"properties":{"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","minItems":1,"title":"Modifications","description":"Modifications to append to this grid and apply to its data."}},"type":"object","required":["modifications"],"title":"ApplyGridModificationsRequest","description":"Request body for applying modifications to a grid in place.\n\nMetadata (name, description, tags) is not accepted here — the grid keeps\nits identity; use PATCH to edit metadata."},"ApplyModificationsRequest":{"properties":{"modifications":{"items":{"$ref":"#/components/schemas/InventoryModification"},"type":"array","minItems":1,"title":"Modifications","description":"Modifications to append to this inventory and apply to its data."}},"type":"object","required":["modifications"],"title":"ApplyModificationsRequest","description":"Request body for applying modifications to an inventory in place.\n\nMetadata (name, description, tags) is not accepted here — the inventory\nkeeps its identity; use PATCH to edit metadata."},"ApplyTreatmentsRequest":{"properties":{"treatments":{"items":{"oneOf":[{"$ref":"#/components/schemas/InventoryDiameterTreatment"},{"$ref":"#/components/schemas/InventoryBasalAreaTreatment"},{"$ref":"#/components/schemas/InventoryCrownSpacingTreatment"}],"discriminator":{"propertyName":"metric","mapping":{"basal_area":"#/components/schemas/InventoryBasalAreaTreatment","crown_spacing":"#/components/schemas/InventoryCrownSpacingTreatment","diameter":"#/components/schemas/InventoryDiameterTreatment"}}},"type":"array","minItems":1,"title":"Treatments","description":"Treatments to append to this inventory and apply to its data."}},"type":"object","required":["treatments"],"title":"ApplyTreatmentsRequest","description":"Request body for applying treatments to an inventory in place.\n\nMetadata (name, description, tags) is not accepted here — the inventory\nkeeps its identity; use PATCH to edit metadata."},"Attribution":{"properties":{"dataset":{"type":"string","title":"Dataset","description":"Name of the source dataset."},"license_name":{"type":"string","title":"License Name","description":"SPDX identifier of the dataset's license."},"license_url":{"type":"string","title":"License Url","description":"Link to the full license text."},"citation":{"type":"string","title":"Citation","description":"Attribution text to reproduce wherever the data is shown or shared."},"access_url":{"type":"string","title":"Access Url","description":"Where to find the dataset and its terms of use."},"accessed_on":{"type":"string","title":"Accessed On","description":"Date the data was retrieved, as YYYY-MM-DD."}},"type":"object","required":["dataset","license_name","license_url","citation","access_url","accessed_on"],"title":"Attribution","description":"License and citation for one third-party dataset used by a resource.","examples":[{"access_url":"https://www.openstreetmap.org/copyright","accessed_on":"2026-11-05","citation":"© OpenStreetMap contributors","dataset":"OpenStreetMap","license_name":"ODbL-1.0","license_url":"https://opendatacommons.org/licenses/odbl/1-0/"}]},"Band":{"properties":{"key":{"type":"string","title":"Key","description":"Dot-notation key (e.g., 'fuel_load.1hr')"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Human-readable display name for the band (e.g. 'TreeMap ID', '1-hour Fuel Load').","examples":["TreeMap ID","1-hour Fuel Load","Canopy Bulk Density"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Longer-form description of what the band represents and how to interpret its values."},"type":{"$ref":"#/components/schemas/BandType"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Physical unit of the band's pixel values, in UDUNITS-2-conformant ASCII form with `**` for exponents (e.g. `kg/m**3`, `1/m`, `%`). `None` for categorical/identifier bands.","examples":["kg/m**3","1/m","%","m"]},"index":{"type":"integer","title":"Index"},"nodata":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Nodata","description":"Value marking missing pixels in this band; pixels equal to it carry no data and should be excluded from analysis. `null` when the band has no missing pixels, or when they are represented as floating-point NaN.","examples":[32767,-9999,null]},"summary":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/ContinuousBandSummary"},{"$ref":"#/components/schemas/CategoricalBandSummary"}],"discriminator":{"propertyName":"type","mapping":{"categorical":"#/components/schemas/CategoricalBandSummary","continuous":"#/components/schemas/ContinuousBandSummary"}}},{"type":"null"}],"title":"Summary"}},"type":"object","required":["key","type","index"],"title":"Band","description":"A single band in a grid.","x-band-quantities":{"annual_disturbance":{"type":"categorical"},"aspect":{"type":"continuous","unit":"deg"},"bulk_density":{"type":"continuous","unit":"kg/m**3"},"cbd":{"type":"continuous","unit":"kg/m**3"},"cbh":{"type":"continuous","unit":"m"},"cc":{"type":"continuous","unit":"%"},"cfl":{"type":"continuous","unit":"kg/m**2"},"chm":{"type":"continuous","unit":"m"},"curing":{"type":"continuous","unit":"%"},"duff_depth":{"type":"continuous","unit":"m"},"elevation":{"type":"continuous","unit":"m"},"fbfm":{"type":"categorical"},"fbfm13":{"type":"categorical"},"fccs":{"type":"categorical"},"fdist":{"type":"categorical"},"fuel_depth":{"type":"continuous","unit":"m"},"fuel_load":{"type":"continuous","unit":"kg/m**2"},"fuel_moisture":{"type":"continuous","unit":"%"},"heat_content":{"type":"continuous","unit":"kJ/kg"},"irradiance":{"type":"continuous"},"leaf_area_density":{"type":"continuous","unit":"1/m"},"plt_cn":{"type":"categorical"},"savr":{"type":"continuous","unit":"1/m"},"slope":{"type":"continuous","unit":"deg"},"spcd":{"type":"categorical"},"tm_id":{"type":"categorical"},"tree_id":{"type":"categorical"},"volume_fraction":{"type":"continuous"}}},"BandType":{"type":"string","enum":["continuous","categorical"],"title":"BandType","description":"Type of band data."},"BaseModel":{"properties":{},"type":"object","title":"BaseModel"},"BiomassComponent":{"type":"string","enum":["foliage","branchwood","fine"],"title":"BiomassComponent","description":"Biomass components that can be requested or supplied."},"BiomassComponentState":{"properties":{"live":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Live","default":1.0},"dead":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Dead","default":0.0}},"additionalProperties":false,"type":"object","title":"BiomassComponentState","description":"Live/dead partition for one biomass component."},"BiomassEquations":{"type":"string","enum":["nsvb","jenkins"],"title":"BiomassEquations","description":"Allometric equation families for estimating biomass components."},"BiomassUnit":{"type":"string","enum":["kg"],"title":"BiomassUnit","description":"Accepted inventory biomass units."},"BoundaryScatter":{"properties":{"depth":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Depth","description":"How many cells deep the scattering can reach. Effective scattering decays rapidly — most mixing happens within the first 3-4 cells.","default":10},"seed":{"type":"integer","title":"Seed","description":"Random seed for reproducible scattering.","default":42}},"type":"object","title":"BoundaryScatter","description":"Controls stochastic scattering of category boundaries.\n\nCreates ragged, natural-looking transitions between categorical values\n(e.g. fuel model types) instead of the staircase edges that\nnearest-neighbor resampling produces. The swap probability halves with\neach cell of distance from the boundary. Non-burnable codes are\nprotected from scattering."},"CanopyAllometryMaxCrownRadiusSource":{"properties":{"type":{"type":"string","const":"allometry","title":"Type","default":"allometry"},"equations":{"$ref":"#/components/schemas/CanopyCrownWidthEquations","description":"Allometric equation family for maximum crown radius. `purves` is the national default, consistent with the tree voxelization endpoint. `crookston_stage` reproduces the crown widths FuelCalc uses for canopy cover.","default":"purves"}},"additionalProperties":false,"type":"object","title":"CanopyAllometryMaxCrownRadiusSource","description":"Compute each tree's maximum crown radius from allometric equations.\n\nSupersets the voxelize allometry source with an `equations` choice,\nbecause canopy cover and crown biomass are separate axes here: which\nallometry supplies the radius is independent of how a cover method\ntreats crowns that overlap, so a run can vary either without\nconfounding the other."},"CanopyAvailableFuel":{"properties":{"foliage_fraction":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Foliage Fraction","description":"Fraction of foliage biomass counted as available fuel.","default":1.0},"branchwood":{"$ref":"#/components/schemas/CanopyBranchwood","description":"Fine-branchwood availability: the partition producing the fine class and the fraction of it counted as available fuel."}},"additionalProperties":false,"type":"object","title":"CanopyAvailableFuel","description":"Which crown biomass counts as available canopy fuel.\n\nAvailable fuel is the mass consumed in the flaming front of a crown\nfire: foliage plus a fraction of the fine (0-1/4 inch) branchwood.\nFine branchwood is the finest class any published crown allometry\nresolves, so the size line is fixed; the caller-adjustable choices are\nthe fractions and how the fine class is obtained from the biomass\nequations."},"CanopyBiomassEquations":{"type":"string","enum":["nsvb","jenkins","brown_1978"],"title":"CanopyBiomassEquations","description":"Allometric equation families for estimating crown biomass.\n\nA superset of the voxelize biomass equations: ``brown_1978`` (Brown,\n\"Weight and Density of Crowns of Rocky Mountain Conifers\", INT-197) is\noffered here because it is the equation set behind FuelCalc and the\nLANDFIRE canopy layers. It is scoped to Interior West conifers and is\nintended for compatibility studies, not as a national default."},"CanopyBranchwood":{"properties":{"size_partition":{"anyOf":[{"$ref":"#/components/schemas/CanopyBranchwoodSizePartition"},{"type":"null"}],"description":"Size basis for the branchwood fraction. Omitted (`null`), it resolves by equation family: `equations` for `brown_1978` (which reports the fine class directly), `none` for `nsvb` and `jenkins` — total branchwood, the only basis that prices every species, since the `brown_proportions` fine-share crosswalk covers ~16 species and errors on common ones (quaking aspen, jack pine, water birch). Set `brown_proportions` explicitly to reduce an `nsvb`/`jenkins` total to the fine class where the species are covered."},"fraction":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Fraction","description":"Fraction of the size basis counted as available fuel. Omitted (`null`), it resolves by partition: 0.5 against the fine class (`equations` / `brown_proportions`), the Brown & Reinhardt (1991) / FuelCalc consumed fraction, and 0.075 against total branchwood (`none`), which folds the fine-branch share and the consumed share into one number. Conrad et al. (2024) measured species-specific consumable fractions of the fine class from 0.0 to 0.99."}},"additionalProperties":false,"type":"object","title":"CanopyBranchwood","description":"Branchwood availability: the size basis and how much of it counts.\n\n`fraction` multiplies the branchwood mass `size_partition` produces —\nthe fine (0-1/4 inch) class under `equations` and `brown_proportions`,\nor total branchwood under `none` — so the fraction's referent is always\nan explicit choice, never an artifact of the biomass source."},"CanopyBranchwoodSizePartition":{"type":"string","enum":["equations","brown_proportions","none"],"title":"CanopyBranchwoodSizePartition","description":"How branchwood is reduced to the size basis the fraction applies to.\n\n`equations` uses the equation family's own size classes: Brown (1978)\nreports the 0-1/4 inch branch class directly, so no external partition\nis applied. Only valid with `brown_1978`.\n\n`brown_proportions` partitions the family's total branchwood estimate\nusing the Brown (1978) / Snell & Little (1983) crown-weight proportions\n(via the FuelCalc species crosswalk). This is how NSVB and Jenkins\ntotals — which carry no size information — are reduced to the fine\nclass. The tabulated proportions are accumulative: P1 is the foliage\nshare of crown weight and P2 is foliage plus fine (0-1/4 inch)\nbranchwood, so the fine share applied to a branchwood total is\n`(P2 - P1) / (1 - P1)`.\n\n`none` applies no size partition: the fraction applies to the family's\ntotal branchwood, so it expresses the fine-branch share and the consumed\nshare as one combined number."},"CanopyCbdDepth":{"type":"string","enum":["canopy_depth","mean_crown_length","biomass_percentile","height_percentile"],"title":"CanopyCbdDepth","description":"Depth definitions for the load-over-depth CBD method.\n\n`canopy_depth` is chm - cbh (the van Wagner convention), computed from\nthe requested `cbh`/`chm` threshold settings — those bands must be\nrequested with the `bulk_density_threshold` method so the depth's\ndefinition is recorded on the grid. `mean_crown_length` is the mean of\nper-tree crown lengths, height − crown_base_height (the depth Cruz et\nal. 2003 used).\n`biomass_percentile` is the height span holding the central 80% of\ncanopy biomass (10th to 90th percentile; Albini 1996).\n`height_percentile` is the 90th-percentile tree height minus the\nmedian crown base height."},"CanopyCbdLoadOverDepth":{"properties":{"method":{"type":"string","const":"load_over_depth","title":"Method","default":"load_over_depth"},"depth":{"$ref":"#/components/schemas/CanopyCbdDepth","description":"Which canopy depth divides the canopy fuel load.","default":"canopy_depth"}},"additionalProperties":false,"type":"object","title":"CanopyCbdLoadOverDepth","description":"CBD as canopy fuel load divided by a canopy depth.\n\nThe van Wagner-consistent average-density convention (load over\ndepth). Produces systematically lower values than the running-mean\nmaximum. Cruz et al. (2003) used this convention with\n`mean_crown_length` as the depth and foliage-only available fuel."},"CanopyCbdRunningMean":{"properties":{"method":{"type":"string","const":"maximum_running_mean","title":"Method","default":"maximum_running_mean"},"window":{"anyOf":[{"type":"number","maximum":15.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Window","description":"Running-mean window depth in meters, rounded internally to a whole number of profile layers. `null` disables smoothing, making CBD the maximum single-layer value.","default":3.0},"edge":{"$ref":"#/components/schemas/CanopyRunningMeanEdge","description":"What the mean takes to lie past the ends of the profile. Ignored when `window` is `null`. `fixed_depth` is the reading that pairs with the 3.0 m Reinhardt et al. (2006) window; `ground_clamped` is FuelCalc's and is what its 1.524 m window reproduces.","default":"ground_clamped"}},"additionalProperties":false,"type":"object","title":"CanopyCbdRunningMean","description":"CBD as the maximum of a running mean of the vertical fuel profile.\n\nThe effective-CBD convention used by FuelCalc, FFE-FVS, and NEXUS.\nPublished window depths vary by implementation: 1.524 m (5 ft, the\nFuelCalc 1.7 User Guide; its Appendix D reads unsmoothed layers, i.e.\n`null`), 3.9624 m (13 ft, FFE-FVS), 4.572 m (15 ft, the original\nFuelCalc method in RMRS-P-41; early NEXUS used 4.5 m), and 3.0 m\n(Reinhardt et al. 2006; current NEXUS). The default 3.0 m follows\nReinhardt et al. (2006)."},"CanopyCbhMean":{"properties":{"method":{"type":"string","const":"mean","title":"Method","default":"mean"},"weight_by_available_fuel":{"type":"boolean","title":"Weight By Available Fuel","description":"Weight the mean by each tree's available canopy fuel so heavier crowns pull it, rather than one tree one vote. Van Wagner's original mean is unweighted (the default).","default":false}},"additionalProperties":false,"type":"object","title":"CanopyCbhMean","description":"CBH as the mean of the per-tree crown base heights in each cell.\n\nVan Wagner's (1977) stand-mean definition — a plain summary of the\nper-tree `crown_base_height` values, one tree one vote\nunless `weight_by_available_fuel` is set. A distinct convention from\nthe `bulk_density_threshold` profile method; the two diverge where tree\nheight varies within a cell."},"CanopyCbhMinimum":{"properties":{"method":{"type":"string","const":"minimum","title":"Method","default":"minimum"}},"additionalProperties":false,"type":"object","title":"CanopyCbhMinimum","description":"CBH as the lowest per-tree crown base height in each cell.\n\nThe most conservative characterization — any tree can carry fire into\nthe canopy (Mast et al. 2026), suited to risk-averse screening and\nfirefighter-safety assessments."},"CanopyCbhPercentile":{"properties":{"method":{"type":"string","const":"percentile","title":"Method","default":"percentile"},"percentile":{"type":"number","maximum":100.0,"exclusiveMinimum":0.0,"title":"Percentile","description":"Percentile of per-tree crown base heights. 50 is the median; 20 and 25 (first quartile) are common conservative lower-tail choices."}},"additionalProperties":false,"type":"object","required":["percentile"],"title":"CanopyCbhPercentile","description":"CBH as a percentile of the per-tree crown base heights in each cell.\n\nA conservative alternative to the mean for multi-storied stands, where\na mean hides low ladder fuel. 50 is the median; 20 and 25 (first\nquartile) are the lower-tail aggregations used for conservative\nscreening (Fulé et al. 2002; Mast et al. 2026)."},"CanopyCcCoverFraction":{"properties":{"method":{"type":"string","const":"cover_fraction","title":"Method","default":"cover_fraction"},"height_threshold":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Height Threshold","description":"Height in meters above which canopy counts as cover.","default":2.0}},"additionalProperties":false,"type":"object","title":"CanopyCcCoverFraction","description":"Canopy cover as the fraction of the cell with canopy above a height.\n\nA CHM-style cover measure, distinct from projected crown cover: it\nreports where canopy *surface* exceeds `height_threshold` rather than\nthe projection of all suspended canopy."},"CanopyCcCrownOverlap":{"properties":{"method":{"type":"string","const":"crown_overlap","title":"Method","default":"crown_overlap"}},"additionalProperties":false,"type":"object","title":"CanopyCcCrownOverlap","description":"Canopy cover from the Crookston-Stage random-overlap correction.\n\n``100 * (1 - exp(-total_crown_area / cell_area))`` — the expected cover\nif stems were randomly placed. This is the FuelCalc estimator; it\nignores actual stem positions."},"CanopyCcCrownUnion":{"properties":{"method":{"type":"string","const":"crown_union","title":"Method","default":"crown_union"}},"additionalProperties":false,"type":"object","title":"CanopyCcCrownUnion","description":"Canopy cover as the geometric union of projected crown areas.\n\nMeasures the vertically projected crown cover directly from stem\npositions and crown radii, respecting the inventory's actual spatial\npattern (clumping, gaps)."},"CanopyChmHeightPercentile":{"properties":{"method":{"type":"string","const":"height_percentile","title":"Method","default":"height_percentile"},"percentile":{"type":"number","maximum":100.0,"minimum":1.0,"title":"Percentile","description":"Tree-height percentile reported as canopy height.","default":99.0}},"additionalProperties":false,"type":"object","title":"CanopyChmHeightPercentile","description":"Canopy height as a percentile of tree heights in the cell."},"CanopyCrownWidthEquations":{"type":"string","enum":["purves","crookston_stage"],"title":"CanopyCrownWidthEquations","description":"Allometric equation families for a tree's maximum crown radius.\n\n``purves`` (Purves et al. 2007) is the national default and the one\nthe tree voxelization endpoint uses; it varies with height and\ncrown base height as well as diameter. ``crookston_stage`` (Crookston &\nStage 1999, RMRS-GTR-24, reached through FVS) is the crown width\nbehind FuelCalc's canopy cover — diameter alone above breast\nheight, with regionally fitted coefficients — and is offered for\ncompatibility studies."},"CanopyFuelcalcCrownClassAdjustment":{"properties":{"method":{"type":"string","const":"fuelcalc_table","title":"Method","default":"fuelcalc_table"},"missing_crown_class":{"type":"string","const":"other_none","title":"Missing Crown Class","description":"Factor column applied to trees whose `fia_crown_class_code` is missing — every tree in an inventory that carries no crown class. `other_none` is FuelCalc's Other/none column (0.5 for most species).","default":"other_none"}},"additionalProperties":false,"type":"object","title":"CanopyFuelcalcCrownClassAdjustment","description":"Multiply crown weight by the FuelCalc species x crown-class factors.\n\nThe factor is selected per tree from the inventory's crown class\n(`fia_crown_class_code`, FIA CCLCD). A tree whose code is missing — a null\nvalue, or an inventory that carries no crown class at all — takes the factor\nselected by `missing_crown_class`. With the `other_none` fallback that is a\nglobal 0.5 multiplier for most species — a large, deliberate reduction that\nreproduces how FuelCalc treats trees of unknown crown class."},"CanopyHorizontalDistribution":{"type":"string","enum":["crown_projected","stem"],"title":"CanopyHorizontalDistribution","description":"How a tree's available fuel is attributed to output cells.\n\n`crown_projected` splits each tree's mass across the cells its\nprojected crown overlaps, in proportion to the overlap area.\n`stem` assigns the whole mass to the cell containing the stem — the\nclosest analogue to FuelCalc's plot computation."},"CanopyNoCrownClassAdjustment":{"properties":{"method":{"type":"string","const":"none","title":"Method","default":"none"}},"additionalProperties":false,"type":"object","title":"CanopyNoCrownClassAdjustment","description":"Apply no crown-class adjustment: every tree keeps its full crown weight."},"CanopyProfileThreshold":{"properties":{"method":{"type":"string","const":"bulk_density_threshold","title":"Method","default":"bulk_density_threshold"},"threshold":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Threshold","description":"Bulk-density threshold ceiling in kg/m**3. Default 0.012, the FuelCalc value, also used by LANDFIRE to define canopy base height. Published alternatives: 0.011 (Scott & Reinhardt 2001 / FFE-FVS, 30 lb/acre/ft), 0.037 (Sando & Wick 1972, 100 lb/acre/ft), 0.074 (Williams 1977).","default":0.012},"relative_threshold_fraction":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Relative Threshold Fraction","description":"Fraction of the cell's maximum profile density used as the threshold when that is lower than `threshold`. `null` applies `threshold` flat, with no relative branch.","default":0.1},"smoothing_window":{"anyOf":[{"type":"number","maximum":15.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Smoothing Window","description":"Running-mean window in meters applied to the profile before locating threshold crossings. `null` reads raw layers. FuelCalc 1.7 crosses a 1.524 m (5 ft) running mean, the same window it reduces CBD over; FFE-FVS crosses 0.9144 m (3 ft); the original FuelCalc method (RMRS-P-41) crosses its full 4.572 m (15 ft) window."},"smoothing_edge":{"$ref":"#/components/schemas/CanopyRunningMeanEdge","description":"What the smoothing mean takes to lie past the ends of the profile. Ignored when `smoothing_window` is `null`. `truncated` is FFE-FVS's and reports `chm` a layer higher on the same profile, because dividing the topmost window by a short denominator carries it over the threshold.","default":"ground_clamped"}},"additionalProperties":false,"type":"object","title":"CanopyProfileThreshold","description":"A height where the vertical fuel profile crosses a bulk-density threshold.\n\nShared by `cbh` (lowest crossing) and `chm` (highest crossing), so the\ntwo bands are consistent by construction (cbh <= chm). The effective\nthreshold is ``min(relative_threshold_fraction * CBD_max, threshold)``\n— FuelCalc's rule, in which the relative branch engages whenever the\ncell's maximum profile density is below threshold / fraction (0.12\nkg/m**3 at the defaults). `CBD_max` is the maximum of the profile\nthis method scans, so `smoothing_window` changes it; it is\nindependent of the `cbd` band's own window, which is a separate\nsetting."},"CanopyRunningMeanEdge":{"type":"string","enum":["fixed_depth","ground_clamped","truncated"],"title":"CanopyRunningMeanEdge","description":"What a running mean takes to lie past the ends of the profile.\n\nThe three answers in use agree everywhere except the lowest and\nhighest few layers, which is exactly where the threshold heights are\nread, so the choice can move a reported `cbh` or `chm` by a layer\nand shift `cbd` in a canopy that reaches the ground.\n\n`fixed_depth` divides by the window depth at every height, padding\nwith zeros at both ends, so a slab of fuel reports the same bulk\ndensity wherever it sits — the reading Reinhardt et al. (2006)\ndefine. `ground_clamped` shortens the window where it would run\nbelow the ground and divides by what it actually covered, while\nstill dividing by the full depth above the canopy; this is\nFuelCalc's, and it concentrates density against the ground while\nletting it fall away above the crowns. `truncated` divides by\nwhatever the window covered at either end, which is FFE-FVS's and\ninflates the topmost layers."},"CanopySpeciesInclusion":{"type":"string","enum":["all_species","fuelcalc_default"],"title":"CanopySpeciesInclusion","description":"Which species contribute canopy fuel to the profile.\n\nFuelCalc excludes most hardwoods from canopy fuel calculations by\ndefault; FastFuels includes every species unless told otherwise. With\n`fuelcalc_default`, the persisted source records the exclusion table\nthe worker applied."},"CanopyVerticalDistribution":{"type":"string","enum":["reinhardt_2006","uniform"],"title":"CanopyVerticalDistribution","description":"How each tree's available fuel is distributed from crown base to top.\n\n`reinhardt_2006` uses the species cumulative-fraction cubics fit from\ndestructive sampling (Reinhardt et al. 2006, CJFR 36), applied through\nthe published FuelCalc species crosswalk; species the crosswalk maps to\nno cubic (including all hardwoods) distribute uniformly. `uniform`\nspreads mass evenly over the crown for every tree — the FFE-FVS\nassumption."},"CategoricalBandSummary":{"properties":{"type":{"type":"string","const":"categorical","title":"Type"},"count":{"type":"integer","title":"Count"},"nodata_count":{"type":"integer","title":"Nodata Count"},"unique_count":{"type":"integer","title":"Unique Count"}},"type":"object","required":["type","count","nodata_count","unique_count"],"title":"CategoricalBandSummary"},"CategoricalColumnSummary":{"properties":{"type":{"type":"string","const":"categorical","title":"Type"},"count":{"type":"integer","title":"Count"},"null_count":{"type":"integer","title":"Null Count"},"unique_count":{"type":"integer","title":"Unique Count"}},"type":"object","required":["type","count","null_count","unique_count"],"title":"CategoricalColumnSummary"},"ChmCrownSegmentation":{"properties":{"method":{"$ref":"#/components/schemas/CrownSegmentationMethod","description":"Segmentation algorithm. `dalponte2016` grows each crown outward from its treetop, one ring of cells at a time, and stops at the crown's edge.","default":"dalponte2016"},"min_relative_height":{"type":"number","exclusiveMaximum":1.0,"minimum":0.0,"title":"Min Relative Height","description":"A cell joins a crown only if its CHM height is at least this fraction of the treetop cell's height. Provisional default.","default":0.45},"min_relative_crown_height":{"type":"number","exclusiveMaximum":1.0,"minimum":0.0,"title":"Min Relative Crown Height","description":"A cell joins a crown only if its CHM height is at least this fraction of the crown's current mean height. Provisional default.","default":0.55},"max_crown_radius":{"type":"number","maximum":20.0,"exclusiveMinimum":0.0,"title":"Max Crown Radius","description":"A cell joins a crown only if its center lies within this distance (m) of the treetop cell's center. Provisional default.","default":10.0},"min_height":{"type":"number","minimum":0.0,"title":"Min Height","description":"A cell joins a crown only if its CHM height is at least this (m).","default":2.0},"max_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Height","description":"A cell joins a crown only if its CHM height is at most this (m). Set to null for no ceiling.","default":120.0}},"type":"object","title":"ChmCrownSegmentation","description":"Crown segmentation settings for a crown Feature.\n\nWhen set, ``max_height`` must be greater than ``min_height``."},"ChmInventoryCrownSegmentation":{"properties":{"method":{"$ref":"#/components/schemas/CrownSegmentationMethod","description":"Segmentation algorithm. `dalponte2016` grows each crown outward from its treetop, one ring of cells at a time, and stops at the crown's edge.","default":"dalponte2016"},"min_relative_height":{"type":"number","exclusiveMaximum":1.0,"minimum":0.0,"title":"Min Relative Height","description":"A cell joins a crown only if its CHM height is at least this fraction of the treetop cell's height. Provisional default.","default":0.45},"min_relative_crown_height":{"type":"number","exclusiveMaximum":1.0,"minimum":0.0,"title":"Min Relative Crown Height","description":"A cell joins a crown only if its CHM height is at least this fraction of the crown's current mean height. Provisional default.","default":0.55},"max_crown_radius":{"type":"number","maximum":20.0,"exclusiveMinimum":0.0,"title":"Max Crown Radius","description":"A cell joins a crown only if its center lies within this distance (m) of the treetop cell's center. Provisional default.","default":10.0},"radius_estimator":{"$ref":"#/components/schemas/CrownRadiusEstimator","description":"How a crown becomes one radius. `area_equivalent` is the radius of a circle with the crown's area, sqrt(area / pi).","default":"area_equivalent"}},"type":"object","title":"ChmInventoryCrownSegmentation","description":"Crown segmentation run after stem isolation. Each tree gets a\n`crown_radius` column measured from its segmented crown."},"ChmMaxAggregation":{"properties":{"method":{"type":"string","const":"max","title":"Method","default":"max"}},"additionalProperties":false,"type":"object","title":"ChmMaxAggregation","description":"Tallest return in the cell.\n\nThe height of whatever the cell's tallest thing is, which is a crown at a\ncell narrower than one and a stand's tallest tree at a cell wider than one."},"ChmMeanAggregation":{"properties":{"method":{"type":"string","const":"mean","title":"Method","default":"mean"}},"additionalProperties":false,"type":"object","title":"ChmMeanAggregation","description":"Average height of every return in the cell.\n\nWeighted by how the returns fall, so a cell that is half canopy and half\ngap reads between the two rather than at the canopy."},"ChmMedianAggregation":{"properties":{"method":{"type":"string","const":"median","title":"Method","default":"median"}},"additionalProperties":false,"type":"object","title":"ChmMedianAggregation","description":"Height half the cell's returns lie below.\n\nThe same statistic as `percentile` at 50, spelled the way it is usually\nasked for."},"ChmPercentileAggregation":{"properties":{"method":{"type":"string","const":"percentile","title":"Method","default":"percentile"},"percentile":{"type":"number","maximum":100.0,"exclusiveMinimum":0.0,"title":"Percentile","description":"Rank to take, as a percentage of the cell's returns. 100 is the tallest return and 50 the median. Between two returns the height is interpolated linearly."}},"additionalProperties":false,"type":"object","required":["percentile"],"title":"ChmPercentileAggregation","description":"Height a given fraction of the cell's returns lie below."},"ChmSpikeFilter":{"properties":{"min_canopy_footprint_m":{"type":"number","exclusiveMinimum":0.0,"title":"Min Canopy Footprint M","description":"Narrowest ground footprint real canopy can occupy, in meters. A cell is judged against everything within this distance, and only a cell narrower than it can be rejected — so the filter does not run at all once `alignment.resolution` reaches this value, where one cell holds a stand rather than a crown.","default":3.0},"min_prominence_m":{"type":"number","exclusiveMinimum":0.0,"title":"Min Prominence M","description":"How far above every neighbour a cell must rise to be rejected, in meters. Measured noise returns stood 40-80 m above their surroundings; a real crown's peak is within a few meters of the cells beside it.","default":25.0}},"type":"object","title":"ChmSpikeFilter","description":"Removal of lone spurious returns from a point-cloud canopy height model.\n\nUnder the default `max` aggregation a cell takes the tallest return that\nfalls in it, so one bad return — a bird, haze, a multiple-time-around\nartifact — becomes the cell's height unless the cloud classified it as\nnoise. Many do not.\n\nSuch a return leaves a shape real canopy cannot: a single cell towering\nover everything around it. Both fields are the two halves of that shape, in\nmeters, so they mean the same thing at any `alignment.resolution`. A `mean`,\n`median`, or `percentile` aggregation already resists a lone return, so this\nfilter is aimed at the `max` case."},"Chunks":{"properties":{"shape":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"integer"},{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":3,"minItems":3}],"title":"Shape","description":"Size of a single chunk. 2D grids: (y, x). 3D grids: (z, y, x). Edge chunks may be smaller."},"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count","description":"Total number of chunks in the grid."},"count_by_axis":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Count By Axis","description":"Number of chunks along each axis. Keys are 'y','x' for 2D grids and 'z','y','x' for 3D grids."}},"type":"object","required":["shape"],"title":"Chunks","description":"Chunk layout for a grid."},"Column":{"properties":{"key":{"type":"string","title":"Key","description":"Column name (e.g., 'dbh', 'fia_species_code')"},"type":{"$ref":"#/components/schemas/ColumnType"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"summary":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/ContinuousColumnSummary"},{"$ref":"#/components/schemas/CategoricalColumnSummary"}],"discriminator":{"propertyName":"type","mapping":{"categorical":"#/components/schemas/CategoricalColumnSummary","continuous":"#/components/schemas/ContinuousColumnSummary"}}},{"type":"null"}],"title":"Summary"}},"type":"object","required":["key","type"],"title":"Column","description":"A single column in an inventory."},"ColumnType":{"type":"string","enum":["continuous","categorical"],"title":"ColumnType","description":"Type of column data."},"ComposeAttributeCondition":{"properties":{"band":{"type":"string","title":"Band","description":"Alias-qualified band ref, e.g. `a.fbfm`."},"operator":{"$ref":"#/components/schemas/ComposeComparisonOperator"},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"}]},"type":"array"}],"title":"Value"}},"type":"object","required":["band","operator","value"],"title":"ComposeAttributeCondition","description":"Attribute condition using an alias-qualified input band reference."},"ComposeComparisonOperator":{"type":"string","enum":["eq","ne","gt","lt","ge","le","in"],"title":"ComposeComparisonOperator","description":"Comparison operators for compose attribute conditions."},"ComposeCompute":{"properties":{"operator":{"$ref":"#/components/schemas/ComposeOperator"},"operands":{"items":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"$ref":"#/components/schemas/ComposeLiteral"}]},"type":"array","minItems":1,"title":"Operands"},"type":{"type":"string","const":"compute","title":"Type","description":"Discriminator selecting this operation. Must be `\"compute\"`."},"output":{"type":"string","pattern":"^(annual_disturbance|aspect|bulk_density|cbd|cbh|cc|cfl|chm|curing|duff_depth|elevation|fbfm|fbfm13|fccs|fdist|fuel_depth|fuel_load|fuel_moisture|heat_content|irradiance|leaf_area_density|plt_cn|savr|slope|spcd|tm_id|tree_id|volume_fraction)(\\.[a-z0-9_]+)*$","title":"Output","description":"Band key `<quantity>` or `<quantity>.<label>`, e.g. `fbfm`, `fuel_load.1hr`, `fuel_moisture.live.shrub`. The quantity sets the band's type and unit: `annual_disturbance` (categorical), `aspect` (continuous, deg), `bulk_density` (continuous, kg/m**3), `cbd` (continuous, kg/m**3), `cbh` (continuous, m), `cc` (continuous, %), `cfl` (continuous, kg/m**2), `chm` (continuous, m), `curing` (continuous, %), `duff_depth` (continuous, m), `elevation` (continuous, m), `fbfm` (categorical), `fbfm13` (categorical), `fccs` (categorical), `fdist` (categorical), `fuel_depth` (continuous, m), `fuel_load` (continuous, kg/m**2), `fuel_moisture` (continuous, %), `heat_content` (continuous, kJ/kg), `irradiance` (continuous), `leaf_area_density` (continuous, 1/m), `plt_cn` (categorical), `savr` (continuous, 1/m), `slope` (continuous, deg), `spcd` (categorical), `tm_id` (categorical), `tree_id` (categorical), `volume_fraction` (continuous). The label is lowercase letters, digits and underscores."},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name","description":"Optional display name for the output band."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"Optional description for the output band."},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Optional canonical output unit. Defaults to the unit derived from the operands; if given it must be dimensionally compatible."},"conditions":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/ComposeAttributeCondition"},{"$ref":"#/components/schemas/GridGeometrySpatialCondition"},{"$ref":"#/components/schemas/GridFeatureSpatialCondition"}]},"type":"array"},{"type":"null"}],"title":"Conditions"},"else":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"$ref":"#/components/schemas/ComposeLiteral"},{"$ref":"#/components/schemas/InlineCompute"},{"type":"null"}],"title":"Else"}},"type":"object","required":["operator","operands","type","output"],"title":"ComposeCompute","description":"Compute an output band from one or more operands.\n\nThe output band is always continuous and its unit is derived from the\noperands (the product/quotient for `multiply`/`divide`, the operand unit\notherwise). Supply `unit` only to express the result in a different but\ndimensionally compatible unit; the worker converts to it."},"ComposeInput":{"properties":{"grid_id":{"type":"string","title":"Grid Id"},"alias":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_]*$","title":"Alias","description":"Short alias used to reference bands, e.g. `a.fuel_load.1hr`."}},"type":"object","required":["grid_id","alias"],"title":"ComposeInput","description":"A source grid participating in a compose request."},"ComposeLiteral":{"properties":{"type":{"type":"string","const":"literal","title":"Type","default":"literal"},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"}],"title":"Value"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Canonical unit for numeric values. Must be null for string literals."}},"type":"object","required":["value"],"title":"ComposeLiteral","description":"Typed literal value for compose operands and fallback values."},"ComposeOperator":{"type":"string","enum":["add","subtract","multiply","divide","max","min","average"],"title":"ComposeOperator","description":"Operators available for compose computations."},"ComposeSelect":{"properties":{"type":{"type":"string","const":"select","title":"Type","description":"Discriminator selecting this operation. Must be `\"select\"`."},"output":{"type":"string","pattern":"^(annual_disturbance|aspect|bulk_density|cbd|cbh|cc|cfl|chm|curing|duff_depth|elevation|fbfm|fbfm13|fccs|fdist|fuel_depth|fuel_load|fuel_moisture|heat_content|irradiance|leaf_area_density|plt_cn|savr|slope|spcd|tm_id|tree_id|volume_fraction)(\\.[a-z0-9_]+)*$","title":"Output","description":"Band key `<quantity>` or `<quantity>.<label>`, e.g. `fbfm`, `fuel_load.1hr`, `fuel_moisture.live.shrub`. The quantity sets the band's type and unit: `annual_disturbance` (categorical), `aspect` (continuous, deg), `bulk_density` (continuous, kg/m**3), `cbd` (continuous, kg/m**3), `cbh` (continuous, m), `cc` (continuous, %), `cfl` (continuous, kg/m**2), `chm` (continuous, m), `curing` (continuous, %), `duff_depth` (continuous, m), `elevation` (continuous, m), `fbfm` (categorical), `fbfm13` (categorical), `fccs` (categorical), `fdist` (categorical), `fuel_depth` (continuous, m), `fuel_load` (continuous, kg/m**2), `fuel_moisture` (continuous, %), `heat_content` (continuous, kJ/kg), `irradiance` (continuous), `leaf_area_density` (continuous, 1/m), `plt_cn` (categorical), `savr` (continuous, 1/m), `slope` (continuous, deg), `spcd` (categorical), `tm_id` (categorical), `tree_id` (categorical), `volume_fraction` (continuous). The label is lowercase letters, digits and underscores."},"from":{"type":"string","title":"From","description":"Alias-qualified source band ref."},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name","description":"Optional display name for the output band."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"Optional description for the output band."},"conditions":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/ComposeAttributeCondition"},{"$ref":"#/components/schemas/GridGeometrySpatialCondition"},{"$ref":"#/components/schemas/GridFeatureSpatialCondition"}]},"type":"array"},{"type":"null"}],"title":"Conditions"},"else":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"$ref":"#/components/schemas/ComposeLiteral"},{"$ref":"#/components/schemas/InlineCompute"},{"type":"null"}],"title":"Else"}},"type":"object","required":["type","output","from"],"title":"ComposeSelect","description":"Select one input band into an output band, optionally conditionally.\n\nThe output band's type and unit are inherited from the selected source\nband; only the human-readable `name`/`description` are optional overrides."},"ConcatenateFeaturesRequest":{"properties":{"source_feature_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":2,"title":"Source Feature Ids","description":"IDs of the features to combine, in the order their rows are appended. Each must be a completed feature of the path's type in this domain, and listed once."},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"}},"type":"object","required":["source_feature_ids"],"title":"ConcatenateFeaturesRequest","description":"Request body for concatenating features of one type."},"ContinuousBandSummary":{"properties":{"type":{"type":"string","const":"continuous","title":"Type"},"count":{"type":"integer","title":"Count"},"nodata_count":{"type":"integer","title":"Nodata Count"},"min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max"},"mean":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mean"},"std":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Std"}},"type":"object","required":["type","count","nodata_count","min","max","mean","std"],"title":"ContinuousBandSummary"},"ContinuousColumnSummary":{"properties":{"type":{"type":"string","const":"continuous","title":"Type"},"count":{"type":"integer","title":"Count"},"null_count":{"type":"integer","title":"Null Count"},"min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max"},"mean":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mean"},"std":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Std"}},"type":"object","required":["type","count","null_count","min","max","mean","std"],"title":"ContinuousColumnSummary"},"CountUsage":{"properties":{"total":{"$ref":"#/components/schemas/UsageCount","description":"Total resources of this type vs. the count limit."}},"type":"object","required":["total"],"title":"CountUsage","description":"Usage for a count-only resource type (domains, applications, API keys)."},"CreateApplicationKeyRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name","description":"A name to semantically identify the key."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"An optional description of the key's purpose."},"valid_days":{"type":"integer","minimum":1.0,"title":"Valid Days","description":"Number of days for which this key will be valid.","default":30},"scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Scopes","description":"A list of scopes available to the key.","default":["read"]},"access":{"type":"string","const":"application","title":"Access","description":"Access type for the API key."},"application_id":{"type":"string","minLength":1,"title":"Application Id","description":"Application ID accessed by the API key."}},"type":"object","required":["name","access","application_id"],"title":"CreateApplicationKeyRequest","description":"Request body for a key that acts as one of your applications.","x-input-requirements":[{"field":"application_id","resource":"application"}]},"CreateApplicationRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name","description":"Name of the application."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"Description of the application."}},"additionalProperties":false,"type":"object","required":["name"],"title":"CreateApplicationRequest","description":"Request body for creating an application."},"CreateChmCrownFeatureRequest":{"properties":{"type":{"type":"string","const":"crown","title":"Type","default":"crown"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_inventory_id":{"type":"string","title":"Source Inventory Id","description":"ID of a completed tree inventory in this domain, created with `POST /inventories/tree/chm` from `source_chm_grid_id`. Each tree seeds one crown at its `x`, `y`."},"source_chm_grid_id":{"type":"string","title":"Source Chm Grid Id","description":"ID of a completed grid in this domain with a `chm` band in metres, at 2 m resolution or finer."},"crown_segmentation":{"$ref":"#/components/schemas/ChmCrownSegmentation","description":"Crown segmentation settings. Omit to use the defaults."}},"type":"object","required":["source_inventory_id","source_chm_grid_id"],"title":"CreateChmCrownFeatureRequest","description":"Request body for creating a crown feature from a CHM.","x-input-requirements":[{"columns":["tree_id"],"derived_from":"source_chm_grid_id","field":"source_inventory_id","resource":"inventory"},{"bands":["chm"],"field":"source_chm_grid_id","resource":"grid"}]},"CreateChmInventoryRequest":{"properties":{"type":{"$ref":"#/components/schemas/InventoryType","default":"tree"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_chm_grid_id":{"type":"string","title":"Source Chm Grid Id","description":"ID of a completed grid with a `chm` band to use as the source."},"algorithm":{"oneOf":[{"$ref":"#/components/schemas/StemIsolationLmf"},{"$ref":"#/components/schemas/StemIsolationVwf"}],"title":"Algorithm","description":"Stem isolation algorithm and its parameters.","discriminator":{"propertyName":"name","mapping":{"lmf":"#/components/schemas/StemIsolationLmf","vwf":"#/components/schemas/StemIsolationVwf"}}},"crown_segmentation":{"anyOf":[{"$ref":"#/components/schemas/ChmInventoryCrownSegmentation"},{"type":"null"}],"description":"Segment each detected tree's crown on the CHM and add a `crown_radius` column (m). Crowns grow outward from each treetop over CHM cells within the detection height range and stop at the crown's edge; each cell belongs to at most one tree. Every tree gets a radius of at least one cell's area-equivalent radius, capped at `max_crown_radius`. Requires a CHM cell size of 2 m or finer. Omit to skip segmentation."},"modifications":{"items":{"$ref":"#/components/schemas/InventoryModification"},"type":"array","title":"Modifications","description":"Modifications to apply after stem extraction."},"treatments":{"items":{"oneOf":[{"$ref":"#/components/schemas/InventoryDiameterTreatment"},{"$ref":"#/components/schemas/InventoryBasalAreaTreatment"},{"$ref":"#/components/schemas/InventoryCrownSpacingTreatment"}],"discriminator":{"propertyName":"metric","mapping":{"basal_area":"#/components/schemas/InventoryBasalAreaTreatment","crown_spacing":"#/components/schemas/InventoryCrownSpacingTreatment","diameter":"#/components/schemas/InventoryDiameterTreatment"}}},"type":"array","title":"Treatments","description":"Treatments to apply after modifications. CHM stem isolation produces only position and height, so the only treatment that applies is a `crown_spacing` treatment with `rank_by: height` that reads the `crown_radius` column, which requires `crown_segmentation`."}},"type":"object","required":["source_chm_grid_id"],"title":"CreateChmInventoryRequest","description":"Request body for creating an inventory via CHM extraction.","x-input-requirements":[{"bands":["chm"],"field":"source_chm_grid_id","resource":"grid"}]},"CreateComposeRequest":{"properties":{"inputs":{"items":{"$ref":"#/components/schemas/ComposeInput"},"type":"array","minItems":1,"title":"Inputs"},"operations":{"items":{"oneOf":[{"$ref":"#/components/schemas/ComposeSelect"},{"$ref":"#/components/schemas/ComposeCompute"}],"discriminator":{"propertyName":"type","mapping":{"compute":"#/components/schemas/ComposeCompute","select":"#/components/schemas/ComposeSelect"}}},"type":"array","minItems":1,"title":"Operations","description":"Select and compute operations, one per output band. Output bands follow this order."},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications"}},"type":"object","required":["inputs","operations"],"title":"CreateComposeRequest","description":"Request to create a grid by composing one or more existing grids.","x-input-requirements":[{"dims":2,"field":"inputs.*.grid_id","resource":"grid","same_lattice_as":"inputs.*.grid_id"}]},"CreateCrownBaseHeightAllometryRequest":{"properties":{"type":{"$ref":"#/components/schemas/InventoryType","default":"tree"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_tree_inventory_id":{"type":"string","title":"Source Tree Inventory Id","description":"ID of a completed tree inventory with position and height for every tree, and species, dbh and crown ratio for every tree unless `model` is `gdam`."},"model":{"oneOf":[{"$ref":"#/components/schemas/FiaNationalLogit2026Model"},{"$ref":"#/components/schemas/Monleon2004Eq1Model"},{"$ref":"#/components/schemas/Monleon2004Eq2Model"},{"$ref":"#/components/schemas/ToneyReeves2009Model"},{"$ref":"#/components/schemas/Randolph2010Model"},{"$ref":"#/components/schemas/Westfall2019Model"},{"$ref":"#/components/schemas/GdamModel"}],"title":"Model","description":"The model that gives each tree's crown base height, selected by `name`. `gdam` predicts it with GDAM, conditioned on whichever of species, dbh, crown ratio and crown base height the tree has. The other models compute it from species, dbh, crown ratio and height; species a model does not cover get no crown base height.","discriminator":{"propertyName":"name","mapping":{"fia_national_logit_2026":"#/components/schemas/FiaNationalLogit2026Model","gdam":"#/components/schemas/GdamModel","monleon_2004_eq1":"#/components/schemas/Monleon2004Eq1Model","monleon_2004_eq2":"#/components/schemas/Monleon2004Eq2Model","randolph_2010":"#/components/schemas/Randolph2010Model","toney_reeves_2009":"#/components/schemas/ToneyReeves2009Model","westfall_2019":"#/components/schemas/Westfall2019Model"}}},"overwrite":{"type":"boolean","title":"Overwrite","description":"`false` keeps existing crown base heights and fills only empty cells. `true` recomputes every tree's crown base height with `model`; `gdam` is not given the old values.","default":false}},"type":"object","required":["source_tree_inventory_id"],"title":"CreateCrownBaseHeightAllometryRequest","description":"Request body for creating an inventory with model-computed crown base\nheights.","x-input-requirements":[{"columns":["height","x","y"],"field":"source_tree_inventory_id","resource":"inventory"},{"columns":["crown_ratio","dbh","fia_species_code"],"field":"source_tree_inventory_id","resource":"inventory","when":{"model.name":"fia_national_logit_2026"}},{"columns":["crown_ratio","dbh","fia_species_code"],"field":"source_tree_inventory_id","resource":"inventory","when":{"model.name":"monleon_2004_eq1"}},{"columns":["crown_ratio","dbh","fia_species_code"],"field":"source_tree_inventory_id","resource":"inventory","when":{"model.name":"monleon_2004_eq2"}},{"columns":["crown_ratio","dbh","fia_species_code"],"field":"source_tree_inventory_id","resource":"inventory","when":{"model.name":"toney_reeves_2009"}},{"columns":["crown_ratio","dbh","fia_species_code"],"field":"source_tree_inventory_id","resource":"inventory","when":{"model.name":"randolph_2010"}},{"columns":["crown_ratio","dbh","fia_species_code"],"field":"source_tree_inventory_id","resource":"inventory","when":{"model.name":"westfall_2019"}}]},"CreateDisturbanceFeatureRequest":{"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/DisturbanceFeature"},"type":"array","title":"Features"},"crs":{"anyOf":[{"$ref":"#/components/schemas/GeojsonCrs"},{"type":"null"}]},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"extent_buffer_m":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Extent Buffer M","description":"Distance in meters to expand the domain extent outward before clipping the uploaded polygons. Default 0 clips exactly to the domain boundary. Maximum: 100 meters.","default":0}},"type":"object","required":["type","features"],"title":"CreateDisturbanceFeatureRequest","description":"Request body for uploading a disturbance feature."},"CreateDomainRequestBody":{"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/GeoJsonFeature"},"type":"array","title":"Features"},"name":{"type":"string","maxLength":255,"title":"Name","description":"The name of the domain.","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","description":"A description of the domain.","default":""},"crs":{"$ref":"#/components/schemas/GeoJsonCRS","description":"The GeoJSON specification formatted coordinate reference system (CRS) of the domain."},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tags","description":"A list of tags associated with the domain.","default":[]},"pad_to_resolution":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Pad To Resolution","description":"Optional resolution in meters to snap the domain bounding box to. When set, the bounding box (the 'domain' feature) is snapped outward to the nearest multiple of this value. Grids whose resolutions divide evenly into this value will produce identical, aligned footprints on this domain."},"style":{"anyOf":[{"$ref":"#/components/schemas/DomainStyle"},{"type":"null"}],"description":"Optional visual style for rendering the domain on a map."}},"type":"object","required":["type","features"],"title":"GeoJsonFeatureCollection"},"CreateDuetRequest":{"properties":{"years_since_burn":{"type":"integer","maximum":25.0,"minimum":1.0,"title":"Years Since Burn","description":"Years of litter accumulation to simulate, 1–25. DUET begins the year of the last burn, when standing grass and litter have been consumed, so this is the stand's time since fire. It is the highest-leverage parameter in the model and also drives runtime."},"wind_direction":{"type":"integer","exclusiveMaximum":360.0,"minimum":0.0,"title":"Wind Direction","description":"Prevailing wind direction in whole degrees clockwise from north.","default":270},"wind_variability":{"type":"integer","maximum":180.0,"minimum":0.0,"title":"Wind Variability","description":"Angular spread of wind direction, in whole degrees.","default":30},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_grid_id":{"type":"string","title":"Source Grid Id","description":"ID of a completed 3D tree grid carrying the `bulk_density.foliage.live`, `spcd`, and `fuel_moisture.live` bands."},"bands":{"items":{"$ref":"#/components/schemas/DuetBand"},"type":"array","minItems":1,"title":"Bands","description":"Which output bands to produce. Defaults to `fuel_load.grass` and `fuel_load.litter`."},"calibration":{"anyOf":[{"$ref":"#/components/schemas/DuetCalibration"},{"type":"null"}],"description":"Optional calibration targets. DUET supplies the spatial pattern of surface fuels; its raw magnitudes are not physical. Without calibration the raw values are stored as-is."}},"additionalProperties":false,"type":"object","required":["years_since_burn","source_grid_id"],"title":"CreateDuetRequest","description":"Request body for creating a DUET surface fuel grid from a tree grid.\n\nDoes not extend CreateGridRequestBase: like the 3D grids it derives from,\nDUET grids do not support modifications.","x-input-requirements":[{"bands":["bulk_density.foliage.live","spcd","fuel_moisture.live"],"dims":3,"field":"source_grid_id","resource":"grid"}]},"CreateFbfm13LookupRequest":{"properties":{"source_grid_id":{"type":"string","title":"Source Grid Id","description":"Grid containing FBFM13 codes"},"source_band":{"type":"string","title":"Source Band","description":"A `fbfm13` band of the source grid holding the FBFM13 codes.","default":"fbfm13"},"bands":{"items":{"$ref":"#/components/schemas/Fbfm13LookupBand"},"type":"array","minItems":1,"title":"Bands"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications"}},"type":"object","required":["source_grid_id","bands"],"title":"CreateFbfm13LookupRequest","description":"Request to create a grid by looking up FBFM13 fuel parameters.\n\nUnlike entry-point grid creation requests, domain_id is not required\nbecause derived grids carry the same domain reference as their source.","x-input-requirements":[{"field":"source_band","of":"source_grid_id","quantity":"fbfm13","resource":"band"}]},"CreateFbfm40LookupRequest":{"properties":{"source_grid_id":{"type":"string","title":"Source Grid Id","description":"Grid containing FBFM40 codes"},"source_band":{"type":"string","title":"Source Band","description":"A `fbfm` band of the source grid holding the FBFM codes.","default":"fbfm"},"bands":{"items":{"$ref":"#/components/schemas/Fbfm40LookupBand"},"type":"array","minItems":1,"title":"Bands"},"herbaceous_curing":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Herbaceous Curing","description":"Fraction of herbaceous load that is cured (0 = green, 1 = fully cured). In dynamic fuel models, this fraction of the live herbaceous load moves to dead herbaceous fuel. Defaults to 0.67, the two-thirds-cured reference scenario of Scott and Burgan (2005).","default":0.67},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications"}},"type":"object","required":["source_grid_id","bands"],"title":"CreateFbfm40LookupRequest","description":"Request to create a grid by looking up FBFM40 fuel parameters.\n\nUnlike entry-point grid creation requests, domain_id is not required\nbecause derived grids carry the same domain reference as their source.","x-input-requirements":[{"field":"source_band","of":"source_grid_id","quantity":"fbfm","resource":"band"}]},"CreateFccsLookupRequest":{"properties":{"source_grid_id":{"type":"string","title":"Source Grid Id","description":"Grid containing FCCS codes"},"source_band":{"type":"string","title":"Source Band","description":"A `fccs` band of the source grid holding the FCCS codes.","default":"fccs"},"bands":{"items":{"$ref":"#/components/schemas/FccsLookupBand"},"type":"array","minItems":1,"title":"Bands"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications"}},"type":"object","required":["source_grid_id","bands"],"title":"CreateFccsLookupRequest","description":"Request to create a grid by looking up FCCS fuel parameters.\n\nUnlike entry-point grid creation requests, domain_id is not required\nbecause derived grids carry the same domain reference as their source.","x-input-requirements":[{"field":"source_band","of":"source_grid_id","quantity":"fccs","resource":"band"}]},"CreateFosbergFuelMoistureRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_topography_grid_id":{"type":"string","title":"Source Topography Grid Id","description":"ID of a completed 2D topography grid with `slope` and `aspect` bands (both in degrees)."},"source_irradiance_grid_id":{"type":"string","title":"Source Irradiance Grid Id","description":"ID of a completed leaflux irradiance grid with an `irradiance.surface.relative` band, on the topography grid's exact horizontal lattice (equivalent CRS, y/x shape, and affine transform). Per-cell shading is derived as 1 - irradiance.surface.relative. Resample one grid onto the other when their lattices differ."},"dry_bulb_temp":{"type":"number","minimum":10.0,"title":"Dry Bulb Temp","description":"Dry-bulb air temperature in degrees Fahrenheit (the Fosberg table lineage is Fahrenheit). Must be >= 10."},"relative_humidity":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Relative Humidity","description":"Relative humidity as a percent (0-100)."},"time":{"type":"integer","maximum":1959.0,"minimum":800.0,"title":"Time","description":"Local time of day in 24-hour HHMM form (e.g. 1200 for noon). Restricted to 0800-1959; the model has no daytime table outside that window."},"month":{"$ref":"#/components/schemas/FuelMoistureMonth","description":"Month of the burn scenario, selecting the Fosberg seasonal correction table."},"elevation":{"$ref":"#/components/schemas/RelativeElevation","description":"Site elevation relative to the reference weather station (`below` | `near` | `above`), a Fosberg correction category. This is NOT the topography elevation band. Default `near` applies no correction.","default":"near"}},"additionalProperties":false,"type":"object","required":["source_topography_grid_id","source_irradiance_grid_id","dry_bulb_temp","relative_humidity","time","month"],"title":"CreateFosbergFuelMoistureRequest","description":"Request body for a Fosberg 1-hour dead fuel moisture content grid.\n\nDoes not extend CreateSourceGridRequestBase: this is a grid -> grid\nderivation with no external raster and no alignment input. The output\ninherits the topography grid's domain, CRS, transform, and georeference.","x-input-requirements":[{"bands":["slope","aspect"],"dims":2,"field":"source_topography_grid_id","resource":"grid"},{"bands":["irradiance.surface.relative"],"field":"source_irradiance_grid_id","resource":"grid","same_lattice_as":"source_topography_grid_id"}]},"CreateGdamAllometryRequest":{"properties":{"type":{"$ref":"#/components/schemas/InventoryType","default":"tree"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_tree_inventory_id":{"type":"string","title":"Source Tree Inventory Id","description":"ID of a completed tree inventory whose morphology columns (dbh, crown ratio, species, crown base height) will be filled in."},"impute_columns":{"items":{"type":"string","enum":["dbh","crown_ratio","fia_species_code","crown_base_height"]},"type":"array","title":"Impute Columns","description":"Which morphology columns to impute. Defaults to all of `dbh`, `crown_ratio`, `fia_species_code`, `crown_base_height`. Narrow it (e.g. `['fia_species_code']`) to impute fewer columns and write less to disk; columns left out are not imputed (they stay as the source had them). GDAM predicts `dbh`, `crown_ratio` and `fia_species_code`, and `crown_base_height` with the `gdam` `crown_base_height_model`. Any other model computes `crown_base_height` from those and `height`, so each of them must be imputed too or be a column of the source inventory, and with `overwrite`, replacing `crown_ratio` without `crown_base_height` leaves crown bases that no longer match the new crown ratios. Must contain at least one column, with no duplicates."},"overwrite":{"type":"boolean","title":"Overwrite","description":"`false` keeps existing values and fills only empty cells of `impute_columns`. `true` replaces every tree's value in `impute_columns`; the old values are not given to GDAM.","default":false},"seed":{"type":"integer","title":"Seed","description":"Random seed for reproducibility. Generated randomly if omitted. The same seed, source inventory and request reproduce the same trees under the same GDAM model version (`source.gdam_model`)."},"crown_base_height_model":{"oneOf":[{"$ref":"#/components/schemas/FiaNationalLogit2026Model"},{"$ref":"#/components/schemas/Monleon2004Eq1Model"},{"$ref":"#/components/schemas/Monleon2004Eq2Model"},{"$ref":"#/components/schemas/ToneyReeves2009Model"},{"$ref":"#/components/schemas/Randolph2010Model"},{"$ref":"#/components/schemas/Westfall2019Model"},{"$ref":"#/components/schemas/GdamModel"}],"title":"Crown Base Height Model","description":"The model that gives `crown_base_height`. `gdam` (the default) predicts it with the other columns; any other model computes it from each tree's species, dbh, crown ratio and height after GDAM fills them.","discriminator":{"propertyName":"name","mapping":{"fia_national_logit_2026":"#/components/schemas/FiaNationalLogit2026Model","gdam":"#/components/schemas/GdamModel","monleon_2004_eq1":"#/components/schemas/Monleon2004Eq1Model","monleon_2004_eq2":"#/components/schemas/Monleon2004Eq2Model","randolph_2010":"#/components/schemas/Randolph2010Model","toney_reeves_2009":"#/components/schemas/ToneyReeves2009Model","westfall_2019":"#/components/schemas/Westfall2019Model"}}}},"type":"object","required":["source_tree_inventory_id"],"title":"CreateGdamAllometryRequest","description":"Request body for creating an inventory via GDAM allometry imputation.","x-input-requirements":[{"columns":["height","x","y"],"field":"source_tree_inventory_id","resource":"inventory"}]},"CreateGeoTIFFUploadRequest":{"properties":{"bands":{"items":{"$ref":"#/components/schemas/UploadBandDefinition"},"type":"array","minItems":1,"title":"Bands"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"num_buffer_cells":{"type":"integer","minimum":0.0,"title":"Num Buffer Cells","description":"Number of extra native-resolution cells to keep around the domain extent in the stored grid. The uploaded GeoTIFF must cover the domain bbox expanded by num_buffer_cells * native_pixel_size on each side; pixels beyond that expanded extent are clipped away.","default":0}},"type":"object","required":["bands"],"title":"CreateGeoTIFFUploadRequest"},"CreateGeojsonFeatureRequest":{"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/GeojsonPolygonFeature"},"type":"array","title":"Features"},"crs":{"anyOf":[{"$ref":"#/components/schemas/GeojsonCrs"},{"type":"null"}]},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"extent_buffer_m":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Extent Buffer M","description":"Distance in meters to expand the domain extent outward before clipping the uploaded polygons. Default 0 clips exactly to the domain boundary. Maximum: 100 meters.","default":0}},"type":"object","required":["type","features"],"title":"CreateGeojsonFeatureRequest","description":"Request body for uploading a road, water, building or disturbance feature.\n\nThe body **is** the GeoJSON FeatureCollection, as for ``POST /domains`` and\nlayerset uploads, extended with the resource-metadata fields. ``name``\noverrides the optional GeoJSON ``name`` member and is the resource name."},"CreateInventoryCanopyRequest":{"properties":{"biomass_source":{"oneOf":[{"$ref":"#/components/schemas/AllometryCanopyBiomassSource"},{"$ref":"#/components/schemas/InventoryColumnCanopyBiomassSource"}],"title":"Biomass Source","description":"Where each tree's crown fuel mass comes from: allometric equations (default: NSVB) or an inventory column carrying precomputed available canopy fuel.","discriminator":{"propertyName":"type","mapping":{"allometry":"#/components/schemas/AllometryCanopyBiomassSource","inventory_column":"#/components/schemas/InventoryColumnCanopyBiomassSource"}}},"available_fuel":{"anyOf":[{"$ref":"#/components/schemas/CanopyAvailableFuel"},{"type":"null"}],"description":"How crown biomass reduces to available canopy fuel. Applies only with an allometry biomass source; resolved to `null` when the biomass source is an inventory column."},"species_inclusion":{"$ref":"#/components/schemas/CanopySpeciesInclusion","description":"Which species contribute canopy fuel. `all_species` (default) includes everything; `fuelcalc_default` applies FuelCalc's hardwood exclusion table.","default":"all_species"},"crown_class_adjustment":{"oneOf":[{"$ref":"#/components/schemas/CanopyNoCrownClassAdjustment"},{"$ref":"#/components/schemas/CanopyFuelcalcCrownClassAdjustment"}],"title":"Crown Class Adjustment","description":"Crown-weight adjustment for canopy position. `none` (default) applies no adjustment; `fuelcalc_table` applies the FuelCalc species x crown-class factors.","discriminator":{"propertyName":"method","mapping":{"fuelcalc_table":"#/components/schemas/CanopyFuelcalcCrownClassAdjustment","none":"#/components/schemas/CanopyNoCrownClassAdjustment"}}},"min_tree_height":{"type":"number","maximum":50.0,"minimum":0.0,"title":"Min Tree Height","description":"Trees shorter than this height in meters contribute no canopy fuel. Default 0.0 includes every tree. FFE-FVS and the original FuelCalc method (RMRS-P-41) exclude trees under 1.83 m (6 ft) as surface fuel; FuelCalc 1.7 includes small trees down to 0.3 m via Brown's small-tree tables.","default":0.0},"vertical_distribution":{"$ref":"#/components/schemas/CanopyVerticalDistribution","description":"How each tree's available fuel is distributed over its crown length.","default":"reinhardt_2006"},"layer_depth":{"type":"number","maximum":5.0,"minimum":0.01,"title":"Layer Depth","description":"Vertical profile layer depth in meters. Default 0.3048 m (1 ft, the FuelCalc layer). Affects CBD smoothing and where threshold crossings land.","default":0.3048},"horizontal_distribution":{"$ref":"#/components/schemas/CanopyHorizontalDistribution","description":"How a tree's fuel reaches output cells: split over the cells its crown projects onto (default), or wholly to the stem cell.","default":"crown_projected"},"max_crown_radius_source":{"oneOf":[{"$ref":"#/components/schemas/CanopyAllometryMaxCrownRadiusSource"},{"$ref":"#/components/schemas/InventoryColumnMaxCrownRadiusSource"}],"title":"Max Crown Radius Source","description":"Source of each tree's maximum crown radius, used by `crown_projected` attribution and the geometric canopy cover methods. Defaults to the `purves` allometry; set `{\"type\": \"allometry\", \"equations\": \"crookston_stage\"}` for the crown widths FuelCalc uses, or `{\"type\": \"inventory_column\", \"column\": ...}` to read a per-tree radius in meters (e.g. derived from LiDAR).","discriminator":{"propertyName":"type","mapping":{"allometry":"#/components/schemas/CanopyAllometryMaxCrownRadiusSource","inventory_column":"#/components/schemas/InventoryColumnMaxCrownRadiusSource"}}},"cbd":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/CanopyCbdRunningMean"},{"$ref":"#/components/schemas/CanopyCbdLoadOverDepth"}],"discriminator":{"propertyName":"method","mapping":{"load_over_depth":"#/components/schemas/CanopyCbdLoadOverDepth","maximum_running_mean":"#/components/schemas/CanopyCbdRunningMean"}}},{"type":"null"}],"title":"Cbd","description":"Canopy bulk density method. Defaults to the maximum 3.0 m running mean of the profile when the `cbd` band is requested."},"cbh":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/CanopyProfileThreshold"},{"$ref":"#/components/schemas/CanopyCbhMean"},{"$ref":"#/components/schemas/CanopyCbhPercentile"},{"$ref":"#/components/schemas/CanopyCbhMinimum"}],"discriminator":{"propertyName":"method","mapping":{"bulk_density_threshold":"#/components/schemas/CanopyProfileThreshold","mean":"#/components/schemas/CanopyCbhMean","minimum":"#/components/schemas/CanopyCbhMinimum","percentile":"#/components/schemas/CanopyCbhPercentile"}}},{"type":"null"}],"title":"Cbh","description":"Canopy base height method. Defaults to the lowest profile-threshold crossing when the `cbh` band is requested."},"chm":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/CanopyProfileThreshold"},{"$ref":"#/components/schemas/CanopyChmHeightPercentile"}],"discriminator":{"propertyName":"method","mapping":{"bulk_density_threshold":"#/components/schemas/CanopyProfileThreshold","height_percentile":"#/components/schemas/CanopyChmHeightPercentile"}}},{"type":"null"}],"title":"Chm","description":"Canopy height method. Defaults to the highest profile-threshold crossing when the `chm` band is requested."},"cc":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/CanopyCcCrownUnion"},{"$ref":"#/components/schemas/CanopyCcCrownOverlap"},{"$ref":"#/components/schemas/CanopyCcCoverFraction"}],"discriminator":{"propertyName":"method","mapping":{"cover_fraction":"#/components/schemas/CanopyCcCoverFraction","crown_overlap":"#/components/schemas/CanopyCcCrownOverlap","crown_union":"#/components/schemas/CanopyCcCrownUnion"}}},{"type":"null"}],"title":"Cc","description":"Canopy cover method. Defaults to the geometric crown union when the `cc` band is requested."},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_inventory_id":{"type":"string","title":"Source Inventory Id","description":"ID of a completed tree inventory in this domain to derive canopy metrics from."},"bands":{"items":{"$ref":"#/components/schemas/InventoryCanopyBand"},"type":"array","minItems":1,"title":"Bands","description":"Which output bands to produce. Defaults to the four LANDFIRE-parity canopy bands; add `cfl` for canopy fuel load."},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridLatticeDomainTarget"},{"$ref":"#/components/schemas/GridLatticeGridTarget"}],"title":"Alignment","description":"Output lattice. Against the domain (`target: 'domain'`, the default) `resolution` defaults to 30 m — an inventory has no native cell size to inherit. Against another grid (`target: 'grid'`) omitting `resolution` matches that grid's lattice exactly.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridLatticeDomainTarget","grid":"#/components/schemas/GridLatticeGridTarget"}}}},"additionalProperties":false,"type":"object","required":["source_inventory_id"],"title":"CreateInventoryCanopyRequest","description":"Request body for creating a canopy fuel grid from a tree inventory.\n\nOnly live trees contribute canopy fuel: the worker reads live\ninventory records only, matching FuelCalc, which excludes dead trees\nfrom all calculations.\n\nDoes not extend CreateGridRequestBase: like DUET and the 3D voxel\ngrids, inventory-derived grids do not support modifications — apply\ntreatments and modifications to the inventory before deriving canopy\nmetrics.","x-input-requirements":[{"columns":["crown_base_height","height","x","y"],"field":"source_inventory_id","resource":"inventory"}]},"CreateInventoryUploadRequest":{"properties":{"format":{"$ref":"#/components/schemas/InventoryUploadFormat"},"columns":{"$ref":"#/components/schemas/InventoryColumnMapping"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["format"],"title":"CreateInventoryUploadRequest"},"CreateKeyResponse":{"properties":{"id":{"type":"string","title":"Id","description":"Unique identifier for the key (SHA-256 hash of the secret)."},"owner_id":{"type":"string","title":"Owner Id","description":"The unique ID of the user or application who owns the key."},"creator_id":{"type":"string","title":"Creator Id","description":"The unique ID of the human user who created the key."},"name":{"type":"string","title":"Name","description":"A name to semantically identify the key."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"An optional description of the key's purpose."},"valid_days":{"type":"integer","title":"Valid Days","description":"Number of days for which this key will be valid.","default":30},"scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Scopes","description":"A list of scopes available to the key.","default":["read"]},"access":{"$ref":"#/components/schemas/Access","description":"Access type for the API key.","default":"personal"},"application_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Id","description":"Application ID accessed by the API key."},"created_on":{"type":"string","format":"date-time","title":"Created On","description":"The date and time the key was created."},"expires_on":{"type":"string","format":"date-time","title":"Expires On","description":"The date at which this key is no longer valid."},"secret":{"type":"string","title":"Secret","description":"The API key secret. Store this securely — it cannot be retrieved again."}},"type":"object","required":["id","owner_id","creator_id","name","secret"],"title":"CreateKeyResponse","description":"Response for key creation. Includes the secret, which is shown only once."},"CreateLandfireCanopyRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"version":{"$ref":"#/components/schemas/LandfireCanopyVersion","description":"LANDFIRE landscape vintage year (e.g. '2024'). Most years are served from staged LANDFIRE data; version 2025 is instead fetched on demand from LANDFIRE Product Service.","default":"2024"},"bands":{"items":{"$ref":"#/components/schemas/LandfireCanopyFuelBand"},"type":"array","minItems":1,"title":"Bands","default":["chm","cbd","cbh","cc"]}},"type":"object","title":"CreateLandfireCanopyRequest","description":"Request to create a grid from LANDFIRE canopy data.\n\nReturns a grid with one or more continuous canopy bands at 30m\nresolution (CONUS):\n- chm: Canopy height (m)\n- cbd: Canopy bulk density (kg/m**3)\n- cbh: Canopy base height (m)\n- cc:  Canopy cover (%)\n\nBands are validated against the canopy band vocabulary and may not be\nduplicated."},"CreateLandfireDisturbanceRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"version":{"$ref":"#/components/schemas/LandfireDisturbanceVersion","description":"LANDFIRE version, fetched on demand from LANDFIRE Product Service -- this product has no staged national release.","default":"2025"}},"type":"object","title":"CreateLandfireDisturbanceRequest","description":"Request to create a grid from LANDFIRE Limited Annual Disturbance.\n\nReturns a single-band grid with categorical disturbance codes. Always\nfetched on demand from LANDFIRE Product Service."},"CreateLandfireFbfm13Request":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"version":{"$ref":"#/components/schemas/LandfireFbfm13Version","description":"LANDFIRE version. Most years are served from staged LANDFIRE data; 2025 is instead fetched on demand from LANDFIRE Product Service.","default":"2024"},"disturbance":{"anyOf":[{"$ref":"#/components/schemas/LandfireDisturbanceRequest"},{"type":"null"}],"description":"For domains the LANDFIRE 2025 release doesn't fully cover yet, update the 2024 version for recent disturbance (`version` must be 2024)."},"remove_non_burnable":{"anyOf":[{"items":{"$ref":"#/components/schemas/NonBurnableFuelModel"},"type":"array"},{"type":"null"}],"title":"Remove Non Burnable"},"boundary_scatter":{"anyOf":[{"$ref":"#/components/schemas/BoundaryScatter"},{"type":"null"}],"description":"Stochastic scattering of fuel model boundaries. Creates ragged, natural-looking transitions between fuel model types instead of the staircase edges that nearest-neighbor resampling produces at sub-30m resolutions. Non-burnable fuel model codes are protected from scattering."}},"type":"object","title":"CreateLandfireFbfm13Request","description":"Request to create a grid from LANDFIRE FBFM13.\n\nReturns a single-band grid with categorical fuel model codes.\nTo convert codes to fuel parameters, use /grids/lookup/fbfm13."},"CreateLandfireFbfm40Request":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"version":{"$ref":"#/components/schemas/LandfireFbfm40Version","description":"LANDFIRE landscape vintage year (e.g. '2024'). Most years are served from staged LANDFIRE data; version 2025 is instead fetched on demand from LANDFIRE Product Service. With `season` set, this is the base vintage for LANDFIRE Seasonal Fuels; the calendar year the data represents is reported back as `year`.","default":"2024"},"disturbance":{"anyOf":[{"$ref":"#/components/schemas/LandfireDisturbanceRequest"},{"type":"null"}],"description":"For domains the LANDFIRE 2025 release doesn't fully cover yet, update the 2024 version for recent disturbance (`version` must be 2024; can't be used with `season`)."},"remove_non_burnable":{"anyOf":[{"items":{"$ref":"#/components/schemas/NonBurnableFuelModel"},"type":"array"},{"type":"null"}],"title":"Remove Non Burnable"},"boundary_scatter":{"anyOf":[{"$ref":"#/components/schemas/BoundaryScatter"},{"type":"null"}],"description":"Stochastic scattering of fuel model boundaries. Creates ragged, natural-looking transitions between fuel model types instead of the staircase edges that nearest-neighbor resampling produces at sub-30m resolutions. Non-burnable fuel model codes are protected from scattering."},"season":{"anyOf":[{"$ref":"#/components/schemas/LandfireSeason"},{"type":"null"}],"description":"LANDFIRE Seasonal Fuels window: ES (early spring), SP (spring), SU (summer), FA (fall). When set, fetches seasonal fuels from the LANDFIRE Product Service for the given season instead of the staged annual release."}},"type":"object","title":"CreateLandfireFbfm40Request","description":"Request to create a grid from LANDFIRE FBFM40.\n\nReturns a single-band grid with categorical fuel model codes.\nTo convert codes to fuel parameters, use /grids/lookup/fbfm40."},"CreateLandfireFccsRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"version":{"$ref":"#/components/schemas/LandfireFccsVersion","description":"LANDFIRE version. Most years are served from staged LANDFIRE data; 2025 is instead fetched on demand from LANDFIRE Product Service.","default":"2023"},"disturbance":{"anyOf":[{"$ref":"#/components/schemas/LandfireDisturbanceRequest"},{"type":"null"}],"description":"For domains the LANDFIRE 2025 release doesn't fully cover yet, update the 2023 version for recent disturbance (`version` must be 2023)."},"remove_bare_ground":{"type":"boolean","title":"Remove Bare Ground","default":false},"boundary_scatter":{"anyOf":[{"$ref":"#/components/schemas/BoundaryScatter"},{"type":"null"}],"description":"Stochastic scattering of fuelbed boundaries. Creates ragged, natural-looking transitions between fuelbed types instead of the staircase edges that nearest-neighbor resampling produces at sub-30m resolutions. Bare ground (fuelbed 0) is protected from scattering."}},"type":"object","title":"CreateLandfireFccsRequest","description":"Request to create a grid from LANDFIRE FCCS.\n\nReturns a single-band grid with categorical fuelbed IDs.\nTo convert IDs to fuel parameters, use /grids/lookup/fccs."},"CreateLandfireTopographyRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"version":{"$ref":"#/components/schemas/LandfireTopographyVersion","default":"2020"},"bands":{"items":{"$ref":"#/components/schemas/TopographyBand"},"type":"array","minItems":1,"title":"Bands","default":["elevation","slope","aspect"]}},"type":"object","title":"CreateLandfireTopographyRequest","description":"Request to create a grid from LANDFIRE topographic data.\n\nReturns a grid with one or more continuous bands: elevation (m),\nslope (degrees), and/or aspect (degrees)."},"CreateLayersetRasterizeRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Buffer in result-grid cells around the domain extent. Cells inside the buffered extent that fall outside polygon coverage are populated with the rasterizer's fill value. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"layerset_id":{"type":"string","title":"Layerset Id","description":"Feature ID of an existing layerset uploaded for this domain."},"overlap_method":{"$ref":"#/components/schemas/OverlapMethod","description":"Per-cell reduction when polygons overlap a cell.","default":"mean"}},"type":"object","required":["layerset_id"],"title":"CreateLayersetRasterizeRequest","description":"Request to create a grid by rasterizing a previously-uploaded layerset.\n\nThe referenced layerset must be an existing Feature owned by the caller,\nuploaded via ``POST /domains/{id}/features/layerset``. The worker fetches\nthe GeoJSON from GCS at job time; a fresh upload produces a new\n``feature_id``, so the reference is effectively immutable.","x-input-requirements":[{"field":"layerset_id","resource":"feature","type":"layerset"}]},"CreateLayersetRequestBody":{"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/LayersetFeature"},"type":"array","title":"Features"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"crs":{"anyOf":[{"$ref":"#/components/schemas/LayersetCrs"},{"type":"null"}]},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"}},"type":"object","required":["type","features"],"title":"CreateLayersetRequestBody","description":"Request body for uploading a flat GeoJSON layerset.\n\nThe body **is** the GeoJSON FeatureCollection (matching ``POST /domains``,\nwhose body is a ``FeatureCollection`` directly), extended with the\nresource-metadata fields. No ``type`` discriminator: the URL\n``/features/layerset/geojson`` already discriminates layersets from\nroad/water uploads.\n\n``name`` overrides the optional GeoJSON ``name`` member inherited from\n``LayersetFeatureCollection`` — the FeatureCollection's name doubles as the\nresource name, exactly as ``CreateDomainRequestBody`` treats it."},"CreateLeafluxIrradianceRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_lad_grid_id":{"type":"string","title":"Source Lad Grid Id","description":"ID of the completed 3D fuel grid whose `leaf_area_density` (LAD) band drives the Beer-Lambert light attenuation. This is the primary input the irradiance field is computed from. Named for the band it consumes so it reads unambiguously alongside `source_terrain_grid_id`."},"source_terrain_grid_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Terrain Grid Id","description":"(optional) ID of a completed 2D terrain grid (with an `elevation` band) in the same domain and on the LAD grid's exact horizontal lattice (equivalent CRS, shape, and affine transform), used to drape the surface irradiance band over real terrain instead of a flat plane. Resample the terrain with the LAD grid as its alignment target when their lattices differ."},"bands":{"items":{"$ref":"#/components/schemas/LeafluxBand"},"type":"array","minItems":1,"title":"Bands","description":"Which output bands to produce. Defaults to `irradiance.surface.relative`."},"date_time":{"type":"string","format":"date-time","title":"Date Time","description":"UTC instant at which to compute irradiance."},"extinction_coefficient":{"type":"number","exclusiveMinimum":0.0,"title":"Extinction Coefficient","description":"Beer-Lambert extinction coefficient (leaflux `extn`).","default":0.5}},"additionalProperties":false,"type":"object","required":["source_lad_grid_id","date_time"],"title":"CreateLeafluxIrradianceRequest","description":"Request body for creating a LeafLux irradiance grid from a 3D fuel grid.\n\nDoes not extend CreateGridRequestBase because 3D grids do not support\nmodifications. This is a grid -> grid derivation aligned to the source\ngrid's geometry, so there is no resolution input.","x-input-requirements":[{"bands":["leaf_area_density"],"dims":3,"field":"source_lad_grid_id","resource":"grid"},{"bands":["elevation"],"dims":2,"field":"source_terrain_grid_id","resource":"grid","same_lattice_as":"source_lad_grid_id"}]},"CreateMetaChmRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"version":{"$ref":"#/components/schemas/MetaCHMVersion","default":"2"}},"type":"object","title":"CreateMetaChmRequest","description":"Request to create a grid from Meta CHM.\n\nReturns a grid with a single continuous band:\n- chm: Canopy height in meters"},"CreateNaipChmRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"year":{"anyOf":[{"type":"integer","minimum":2007.0},{"type":"null"}],"title":"Year","description":"NAIP year to build the grid from. Omit it to use the latest year that fully covers the domain; if no single year does, each part of the domain uses the latest year available there. With a year, only that year's tiles are used: parts of the domain it doesn't cover are nodata, and a year that covers none of the domain is rejected with 422. `GET /domains/{domain_id}/grids/canopy/naip/coverage` lists each year's coverage of the domain."}},"type":"object","title":"CreateNaipChmRequest","description":"Request to create a grid from NAIP CHM.\n\nReturns a grid with a single continuous band:\n- chm: Canopy height in meters"},"CreateNetcdfUploadRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"num_buffer_cells":{"type":"integer","minimum":0.0,"title":"Num Buffer Cells","description":"Number of extra native-resolution cells to keep around the domain extent in the stored grid. The uploaded netCDF must cover the domain bbox expanded by num_buffer_cells * native_pixel_size on each side; pixels beyond that expanded extent are clipped away.","default":0}},"type":"object","title":"CreateNetcdfUploadRequest"},"CreateOsmRoadFeatureRequest":{"properties":{"type":{"type":"string","const":"road","title":"Type","default":"road"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"extent_buffer_m":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Extent Buffer M","description":"Distance in meters to expand the domain extent outward before clipping fetched features. Lets roads that exit the domain at the boundary extend slightly past the edge, providing context for visualization and downstream operations (fuel breaks, perimeter analysis). Applied in the domain's projected CRS (reprojected to UTM if the domain CRS is geographic). Default 0 clips exactly to the domain boundary. Maximum: 100 meters.","default":0}},"type":"object","title":"CreateOsmRoadFeatureRequest","description":"Request body for creating a road feature via OpenStreetMap."},"CreateOsmWaterFeatureRequest":{"properties":{"type":{"type":"string","const":"water","title":"Type","default":"water"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"extent_buffer_m":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Extent Buffer M","description":"Distance in meters to expand the domain extent outward before clipping fetched features. Lets streams and rivers that exit the domain at the boundary extend slightly past the edge, providing context for visualization and downstream operations (fuel breaks, perimeter analysis). Applied in the domain's projected CRS (reprojected to UTM if the domain CRS is geographic). Default 0 clips exactly to the domain boundary. Maximum: 100 meters.","default":0}},"type":"object","title":"CreateOsmWaterFeatureRequest","description":"Request body for creating a water feature via OpenStreetMap."},"CreateOvertureBuildingFeatureRequest":{"properties":{"type":{"type":"string","const":"building","title":"Type","default":"building"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"extent_buffer_m":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Extent Buffer M","description":"Distance in meters to expand the domain extent outward before clipping buildings. Lets buildings that cross the domain boundary extend past the edge instead of being cut at it. Applied in the domain's projected CRS. Default 0 clips exactly to the domain boundary. Maximum: 100 meters.","default":0}},"type":"object","title":"CreateOvertureBuildingFeatureRequest","description":"Request body for creating a building feature via Overture Maps."},"CreatePersonalKeyRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name","description":"A name to semantically identify the key."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"An optional description of the key's purpose."},"valid_days":{"type":"integer","minimum":1.0,"title":"Valid Days","description":"Number of days for which this key will be valid.","default":30},"scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Scopes","description":"A list of scopes available to the key.","default":["read"]},"access":{"type":"string","const":"personal","title":"Access","description":"Access type for the API key.","default":"personal"}},"type":"object","required":["name"],"title":"CreatePersonalKeyRequest","description":"Request body for a key that acts as you."},"CreatePimChmFusionInventoryRequest":{"properties":{"type":{"$ref":"#/components/schemas/InventoryType","default":"tree"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_pim_grid_id":{"type":"string","title":"Source Pim Grid Id","description":"ID of a completed PIM grid to use as the primary source."},"source_chm_grid_id":{"type":"string","title":"Source Chm Grid Id","description":"ID of a completed 2D grid with a `chm` band."},"method":{"oneOf":[{"$ref":"#/components/schemas/ReimputationMethod"}],"title":"Method","description":"Fusion algorithm and its parameters. Defaults to reimputation.","discriminator":{"propertyName":"name","mapping":{"reimputation":"#/components/schemas/ReimputationMethod"}}},"seed":{"type":"integer","title":"Seed","description":"Random seed for reproducibility. Generated randomly if omitted."},"point_process":{"$ref":"#/components/schemas/PointProcess","default":"inhomogeneous_poisson"},"modifications":{"items":{"$ref":"#/components/schemas/InventoryModification"},"type":"array","title":"Modifications","description":"Modifications to apply after point process expansion."},"treatments":{"items":{"oneOf":[{"$ref":"#/components/schemas/InventoryDiameterTreatment"},{"$ref":"#/components/schemas/InventoryBasalAreaTreatment"},{"$ref":"#/components/schemas/InventoryCrownSpacingTreatment"}],"discriminator":{"propertyName":"metric","mapping":{"basal_area":"#/components/schemas/InventoryBasalAreaTreatment","crown_spacing":"#/components/schemas/InventoryCrownSpacingTreatment","diameter":"#/components/schemas/InventoryDiameterTreatment"}}},"type":"array","title":"Treatments","description":"Silvicultural treatments to apply after modifications."}},"type":"object","required":["source_pim_grid_id","source_chm_grid_id"],"title":"CreatePimChmFusionInventoryRequest","description":"Request body for creating an inventory by fusing a PIM with a CHM.","x-input-requirements":[{"bands":["tm_id"],"field":"source_pim_grid_id","resource":"grid","source":"pim"},{"bands":["chm"],"dims":2,"field":"source_chm_grid_id","resource":"grid"}]},"CreatePimInventoryRequest":{"properties":{"type":{"$ref":"#/components/schemas/InventoryType","default":"tree"},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_pim_grid_id":{"type":"string","title":"Source Pim Grid Id","description":"ID of a completed PIM grid to use as the source."},"seed":{"type":"integer","title":"Seed","description":"Random seed for reproducibility. Generated randomly if omitted."},"point_process":{"$ref":"#/components/schemas/PointProcess","default":"inhomogeneous_poisson"},"modifications":{"items":{"$ref":"#/components/schemas/InventoryModification"},"type":"array","title":"Modifications","description":"Modifications to apply after point process expansion."},"treatments":{"items":{"oneOf":[{"$ref":"#/components/schemas/InventoryDiameterTreatment"},{"$ref":"#/components/schemas/InventoryBasalAreaTreatment"},{"$ref":"#/components/schemas/InventoryCrownSpacingTreatment"}],"discriminator":{"propertyName":"metric","mapping":{"basal_area":"#/components/schemas/InventoryBasalAreaTreatment","crown_spacing":"#/components/schemas/InventoryCrownSpacingTreatment","diameter":"#/components/schemas/InventoryDiameterTreatment"}}},"type":"array","title":"Treatments","description":"Silvicultural treatments to apply after modifications."}},"type":"object","required":["source_pim_grid_id"],"title":"CreatePimInventoryRequest","description":"Request body for creating an inventory via PIM expansion.","x-input-requirements":[{"bands":["tm_id"],"field":"source_pim_grid_id","resource":"grid","source":"pim"}]},"CreatePointCloudChmRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridLatticeDomainTarget"},{"$ref":"#/components/schemas/GridLatticeGridTarget"}],"title":"Alignment","description":"Output lattice. Against the domain (`target: 'domain'`, the default) `resolution` defaults to 1 m — a point cloud has no native cell size to inherit. Against another grid (`target: 'grid'`) omitting `resolution` matches that grid cell-for-cell; the target grid must be in this domain's CRS.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridLatticeDomainTarget","grid":"#/components/schemas/GridLatticeGridTarget"}}},"source_point_cloud_id":{"type":"string","title":"Source Point Cloud Id","description":"ID of the point cloud to rasterize. Must be an ALS cloud in this domain."},"spike_filter":{"anyOf":[{"$ref":"#/components/schemas/ChmSpikeFilter"},{"type":"null"}],"description":"Removal of lone spurious returns. Omit for the defaults; send `null` to keep every return, leaving unclassified noise in the grid."},"aggregation":{"oneOf":[{"$ref":"#/components/schemas/ChmMaxAggregation"},{"$ref":"#/components/schemas/ChmMeanAggregation"},{"$ref":"#/components/schemas/ChmMedianAggregation"},{"$ref":"#/components/schemas/ChmPercentileAggregation"}],"title":"Aggregation","description":"Statistic each cell reduces the heights above ground of its returns with. Carries `percentile` only on `method: percentile`.","discriminator":{"propertyName":"method","mapping":{"max":"#/components/schemas/ChmMaxAggregation","mean":"#/components/schemas/ChmMeanAggregation","median":"#/components/schemas/ChmMedianAggregation","percentile":"#/components/schemas/ChmPercentileAggregation"}}}},"type":"object","required":["source_point_cloud_id"],"title":"CreatePointCloudChmRequest","description":"Request to create a canopy height model grid from a point cloud.\n\nReturns a grid with a single continuous band:\n- chm: Canopy height in meters\n\nThe point cloud must be airborne (`type: als`) and `completed`. Cell size\ncomes from `alignment.resolution`, defaulting to 1 m — unlike the\nraster-backed canopy sources there is no source pixel size to inherit.","x-input-requirements":[{"field":"source_point_cloud_id","resource":"point_cloud","type":"als"}]},"CreatePointCloudUploadRequest":{"properties":{"type":{"$ref":"#/components/schemas/PointCloudType","description":"How the cloud was acquired: `als` for airborne (aircraft or drone) or `tls` for terrestrial (tripod) scans."},"name":{"type":"string","maxLength":255,"title":"Name","description":"Human-readable name for the point cloud.","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","description":"Longer free-text description of the point cloud.","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Tags for organizing and filtering point clouds."}},"type":"object","required":["type"],"title":"CreatePointCloudUploadRequest","description":"Request body for creating a point cloud from a direct file upload."},"CreateResampleRequest":{"properties":{"source_grid_id":{"type":"string","title":"Source Grid Id","description":"Grid to resample"},"alignment":{"oneOf":[{"$ref":"#/components/schemas/ResampleDomainTarget"},{"$ref":"#/components/schemas/ResampleNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Output alignment target. `target=\"domain\"` anchors the resampled grid to the domain origin.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/ResampleDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/ResampleNativeTarget"}}},"method_overrides":{"additionalProperties":{"$ref":"#/components/schemas/ResamplingMethod"},"type":"object","title":"Method Overrides","description":"Per-band resampling method overrides keyed by band key. Wins over ``alignment.method`` for the listed bands. Useful for using nearest-neighbor on categorical bands while using bilinear on continuous bands."},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications"}},"type":"object","required":["source_grid_id","alignment"],"title":"CreateResampleRequest","description":"Request to create a grid by resampling an existing grid.\n\nUnlike entry-point grid creation requests, ``domain_id`` is not required\nbecause derived grids carry the same domain reference as their source.\n\nThe ``alignment`` field controls the output lattice. ``alignment.resolution``\nis required for ``target=\"domain\"`` and ``target=\"native\"``; for\n``target=\"grid\"`` it is optional (defaults to the target grid's exact\ntransform/shape; if supplied, keeps the target's CRS and origin and\nrecomputes shape at the new cell size).","x-input-requirements":[{"dims":2,"field":"source_grid_id","resource":"grid"}]},"CreateThreeDepPointCloudRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","description":"Human-readable name for the point cloud.","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","description":"Longer free-text description of the point cloud.","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Tags for organizing and filtering point clouds."},"datasets":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Datasets","description":"Names of the 3DEP acquisitions to read, in priority order. Omit this to let the backend choose, which it does by preferring a single acquisition that covers the whole domain and otherwise combining the fewest acquisitions that fill it. Set it to pin the result to specific acquisitions — for example to force a higher-density or more recent survey where several overlap. Where two listed acquisitions overlap, the one listed first is used. Names come from the coverage endpoint; every name must exist and overlap the domain.","examples":[["CO_CentralEasternPlains_1_2020"]]}},"type":"object","title":"CreateThreeDepPointCloudRequest","description":"Request body for fetching a point cloud from USGS 3DEP.","examples":[{"description":"3DEP airborne lidar over the study area.","name":"Bridger ALS","tags":["bridger"]}]},"CreateThreeDepTopographyRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"source_resolution":{"$ref":"#/components/schemas/ThreeDepResolution","description":"3DEP source product, in meters. 1: Seamless 1-Meter DEM (S1M), falling back to the 1 m lidar project DEM tiles where S1M has no tiles. 2: the 1 m lidar project DEM tiles, read at their 2 m overview. 10: 1/3 arc-second seamless DEM. 30: 1 arc-second seamless DEM.","default":10},"bands":{"items":{"$ref":"#/components/schemas/TopographyBand"},"type":"array","minItems":1,"title":"Bands","default":["elevation"]}},"type":"object","title":"CreateThreeDepTopographyRequest","description":"Request to create a grid from 3DEP topographic data.\n\nReturns a grid with one or more continuous bands: elevation (m),\nslope (degrees), and/or aspect (degrees).\n\n`source_resolution` selects the 3DEP product (1m, 2m, 10m, or 30m).\nTo change the *output* cell size, set ``alignment.resolution`` instead."},"CreateTreeInventoryRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"source_inventory_id":{"type":"string","title":"Source Inventory Id","description":"ID of a completed tree inventory to voxelize."},"resolution":{"$ref":"#/components/schemas/Resolution3D","description":"Voxel resolution (horizontal x/y, vertical z) in meters."},"bands":{"items":{"$ref":"#/components/schemas/TreeBand"},"type":"array","minItems":1,"title":"Bands","description":"Which output bands to produce. Defaults to `bulk_density.foliage.live`."},"crown_profile_model":{"$ref":"#/components/schemas/CrownProfileModel","description":"Crown geometry model: the shape of each tree's crown, which runs from its `crown_base_height` to its height. `purves` (default): Purves et al. (2007), species-specific, widest at the crown base. `beta`: species-group beta distribution, widest within the crown per species group. `cone`: right circular cone, widest at the crown base. `cylinder`: right circular cylinder, uniform radius over the crown. `single_ellipsoid`: one half-ellipsoid of revolution, widest at the crown base. `dual_ellipsoid`: two half-ellipsoids joined at the crown midpoint, widest there. `single_paraboloid`: one paraboloid of revolution, widest at the crown base. `dual_paraboloid`: two paraboloids joined at the crown midpoint, widest there (the LANL Trees crown envelope). The maximum radius of every shape comes from `max_crown_radius_source`.","default":"purves"},"biomass_source":{"oneOf":[{"$ref":"#/components/schemas/AllometryBiomassSource"},{"$ref":"#/components/schemas/InventoryColumnsBiomassSource"}],"title":"Biomass Source","description":"Biomass source and requested biomass components.","discriminator":{"propertyName":"type","mapping":{"allometry":"#/components/schemas/AllometryBiomassSource","inventory_columns":"#/components/schemas/InventoryColumnsBiomassSource"}}},"max_crown_radius_source":{"oneOf":[{"$ref":"#/components/schemas/AllometryMaxCrownRadiusSource"},{"$ref":"#/components/schemas/InventoryColumnMaxCrownRadiusSource"}],"title":"Max Crown Radius Source","description":"Source of each tree's maximum crown radius. `{\"type\": \"allometry\"}` (default): the Purves et al. (2007) maximum crown radius for `purves`, `cone`, `cylinder`, and the ellipsoid and paraboloid shapes, so a tree's crown is equally wide under each of them and only the shape changes; `beta` uses its own allometric radius. `{\"type\": \"inventory_column\", \"column\": ...}`: read a per-tree maximum crown radius (m) from an inventory column (e.g. derived from LiDAR); `crown_profile_model` still sets the crown shape.","discriminator":{"propertyName":"type","mapping":{"allometry":"#/components/schemas/AllometryMaxCrownRadiusSource","inventory_column":"#/components/schemas/InventoryColumnMaxCrownRadiusSource"}}},"crown_geometry_source":{"oneOf":[{"$ref":"#/components/schemas/ParametricCrownGeometrySource"},{"$ref":"#/components/schemas/CrownFeatureCrownGeometrySource"}],"title":"Crown Geometry Source","description":"Where crown shapes come from. `{\"type\": \"parametric\"}` (default): every crown is drawn from `crown_profile_model` and `max_crown_radius_source`. `{\"type\": \"crown_feature\", \"feature_id\": ...}`: a tree with a crown in the crown Feature, matched by `tree_id`, gets a measured crown. Its outline is the crown's CHM cells, its top is each cell's CHM height, and its bottom follows `crown_profile_model` up from the crown base, at least one voxel below the top but never below the crown base. `max_crown_radius_source` does not apply to measured crowns. A tree with no crown in the Feature, whose crown does not contain its stem, or with no CHM height above its crown base, is drawn parametrically. Crowns of trees not in the inventory are ignored. Every tree keeps the mass `biomass_source` gives it. Requires an inventory with a `tree_id` column.","discriminator":{"propertyName":"type","mapping":{"crown_feature":"#/components/schemas/CrownFeatureCrownGeometrySource","parametric":"#/components/schemas/ParametricCrownGeometrySource"}}},"max_bulk_density":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Bulk Density","description":"Upper limit on bulk density, in kg/m**3. In any voxel where a biomass component's bulk density, live and dead combined, exceeds the limit, that component's live and dead bulk density are scaled down to it, keeping their live/dead split, and `leaf_area_density` is scaled with foliage. Fuel above the limit is removed from the grid. Omit for no limit."},"moisture_model":{"anyOf":[{"$ref":"#/components/schemas/MoistureModel"},{"type":"null"}],"description":"Live/dead fuel moisture model. Applied only when matching fuel_moisture bands are requested. Live defaults to uniform 100.0; dead defaults to uniform 10.0."},"seed":{"type":"integer","title":"Seed","description":"Random seed for reproducibility. Controls stochastic tree voxel sampling and biomass distribution. Generated randomly if omitted; persisted on the grid document either way so re-running a grid always yields bit-identical output."}},"additionalProperties":false,"type":"object","required":["source_inventory_id"],"title":"CreateTreeInventoryRequest","description":"Request body for creating a tree fuel grid from a tree inventory.\n\nDoes not extend CreateGridRequestBase because 3D grids do not support\nmodifications — modifications must be applied to the inventory before\nvoxelization, not to the resulting voxel grid.","x-input-requirements":[{"columns":["crown_base_height","dbh","fia_species_code","height","x","y"],"field":"source_inventory_id","resource":"inventory"},{"field":"crown_geometry_source.feature_id","resource":"feature","type":"crown"},{"columns":["tree_id"],"field":"source_inventory_id","resource":"inventory","when":{"crown_geometry_source.type":"crown_feature"}}]},"CreateTreeMapRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"extent_buffer_cells":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extent Buffer Cells","description":"Number of result-grid cells included as a buffer around the domain extent in the stored grid. The buffer is measured after the source raster is projected into the domain CRS, so a cell means one cell in the returned grid rather than one source raster cell. Provides context for later operations (resample, reproject, focal filters, derivative calculations) that are sensitive to edges. Default 0 adds no buffer. Maximum: 10 cells.","default":0},"alignment":{"oneOf":[{"$ref":"#/components/schemas/GridAlignmentDomainTarget"},{"$ref":"#/components/schemas/GridAlignmentNativeTarget"},{"$ref":"#/components/schemas/GridAlignmentGridTarget"}],"title":"Alignment","description":"Per-fetch alignment target. Default `target=\"domain\"` anchors output cells to the domain origin so cross-source composition works by construction. `target=\"native\"` preserves the source pixel anchor. `target=\"grid\"` aligns to an existing grid by id.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/GridAlignmentDomainTarget","grid":"#/components/schemas/GridAlignmentGridTarget","native":"#/components/schemas/GridAlignmentNativeTarget"}}},"version":{"$ref":"#/components/schemas/TreeMapVersion","default":"2022"},"bands":{"items":{"$ref":"#/components/schemas/TreeMapBand"},"type":"array","minItems":1,"title":"Bands","default":["tm_id"]}},"type":"object","title":"CreateTreeMapRequest","description":"Request to create a grid from TreeMap.\n\nReturns a grid with one or two categorical bands:\n- tm_id: TreeMap raster pixel values (always available)\n- plt_cn: FIA plot condition number (optional, derived from tree table)"},"CreateUniformRequest":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications","description":"Rules applied to the grid after it is built from its source. Each rule has a list of `conditions` (ANDed together) and a list of `actions` (applied where the conditions match). Conditions can be attribute-based (compare a band value) or spatial (test cell location against a geometry). Spatial conditions come in two variants discriminated by `source`: `geometry` (inline GeoJSON) or `feature` (reference a persisted Feature resource — road, water, layerset — in the same domain by `feature_id`). Both spatial variants accept `buffer_m` (meters, applied in the domain's projected CRS) to widen the geometry, and `target` (`centroid` or `cell`) to choose which part of the cell is tested. Actions modify band values via `replace`, `multiply`, `divide`, `add`, or `subtract`. A rule with an empty `conditions` list applies its actions to the whole grid. See the `GridModification` schema for the full field reference and worked examples."},"resolution":{"type":"number","minimum":1.0,"title":"Resolution","description":"Grid resolution in meters"},"bands":{"items":{"$ref":"#/components/schemas/UniformBandInput"},"type":"array","minItems":1,"title":"Bands"}},"type":"object","required":["resolution","bands"],"title":"CreateUniformRequest","description":"Request to create a uniform (constant-value) grid.\n\nEach band fills the entire domain with a single value at the specified\nresolution. No default resolution — it must be explicitly provided since\nuniform grids have no \"native resolution.\""},"CrownFeatureCrownGeometrySource":{"properties":{"type":{"type":"string","const":"crown_feature","title":"Type","default":"crown_feature"},"feature_id":{"type":"string","title":"Feature Id","description":"ID of a completed crown Feature in this domain."}},"additionalProperties":false,"type":"object","required":["feature_id"],"title":"CrownFeatureCrownGeometrySource","description":"Draw crowns from a crown Feature's footprints and its CHM."},"CrownProfileModel":{"type":"string","enum":["purves","beta","cone","cylinder","single_ellipsoid","dual_ellipsoid","single_paraboloid","dual_paraboloid"],"title":"CrownProfileModel","description":"Crown geometry models — which voxels a tree's crown occupies."},"CrownRadiusEstimator":{"type":"string","enum":["area_equivalent"],"title":"CrownRadiusEstimator"},"CrownSegmentationMethod":{"type":"string","enum":["dalponte2016"],"title":"CrownSegmentationMethod"},"DenseGridData":{"properties":{"format":{"type":"string","const":"dense","title":"Format"},"values":{"items":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}]},"type":"array","title":"Values","description":"Flat list of every cell in the chunk. `null` marks a cell with no data — a float band stores those as NaN, which JSON cannot represent."}},"type":"object","required":["format","values"],"title":"DenseGridData"},"Distribution":{"type":"string","enum":["homogeneous","uniform_random","random_clusters"],"title":"Distribution","description":"Per-cell spatial-distribution mode for a fuelbed.\n\nMirrors ``fastfuels_core.rasterize_layerset``'s ``distribution`` column."},"DisturbanceFeature":{"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"}],"title":"Geometry"},"properties":{"$ref":"#/components/schemas/DisturbanceProperties"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","required":["type","geometry","properties"],"title":"DisturbanceFeature","description":"One uploaded disturbance polygon. ``properties`` is required: every\npolygon needs a code."},"DisturbanceProperties":{"properties":{"fdist":{"type":"integer","title":"Fdist","description":"LANDFIRE FDist code, 100 * D_TYPE + 10 * D_SEVERITY + D_TIME. The endpoint description explains in further detail."},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name","description":"Name of the disturbance, e.g. a fire name."},"type":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Type","description":"Kind of disturbance, e.g. wildfire."},"year":{"anyOf":[{"type":"integer","maximum":2100.0,"minimum":1900.0},{"type":"null"}],"title":"Year","description":"Year the disturbance happened."},"severity":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Severity","description":"Severity of the disturbance, e.g. high."}},"additionalProperties":true,"type":"object","required":["fdist"],"title":"DisturbanceProperties","description":"Per-feature properties: the FDist code of one disturbance polygon, and\noptional labels describing it.\n\nThe labels are stored as given and are never checked against the code;\nonly ``fdist`` drives the fuel model update. Other properties are stored as\ncolumns, as for any GeoJSON upload."},"Domain":{"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/GeoJsonFeature"},"type":"array","title":"Features"},"name":{"type":"string","maxLength":255,"title":"Name","description":"The name of the domain.","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","description":"A description of the domain.","default":""},"crs":{"$ref":"#/components/schemas/GeoJsonCRS","description":"The GeoJSON specification formatted coordinate reference system (CRS) of the domain."},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tags","description":"A list of tags associated with the domain.","default":[]},"pad_to_resolution":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Pad To Resolution","description":"Optional resolution in meters to snap the domain bounding box to. When set, the bounding box (the 'domain' feature) is snapped outward to the nearest multiple of this value. Grids whose resolutions divide evenly into this value will produce identical, aligned footprints on this domain."},"style":{"anyOf":[{"$ref":"#/components/schemas/DomainStyle"},{"type":"null"}],"description":"Optional visual style for rendering the domain on a map."},"id":{"type":"string","title":"Id","description":"A unique identifier for the domain."},"created_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created On","description":"The date and time the domain was created."},"modified_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Modified On","description":"The date and time the domain was last modified."}},"type":"object","required":["type","features"],"title":"Domain","description":"Represents a domain resource."},"DomainLattice":{"properties":{"crs":{"type":"string","title":"Crs","description":"e.g., 'EPSG:32611'"},"resolution":{"type":"number","title":"Resolution","description":"Pixel size in meters."},"num_buffer_cells":{"type":"integer","title":"Num Buffer Cells","description":"Buffer cells applied on each side."},"transform":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6,"title":"Transform","description":"Affine transform [a, b, c, d, e, f]"},"shape":{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2,"title":"Shape","description":"(height, width) in pixels"}},"type":"object","required":["crs","resolution","num_buffer_cells","transform","shape"],"title":"DomainLattice","description":"Pixel lattice for a domain at a given resolution.\n\nUses rasterio conventions:\n- ``transform`` is ``[a, b, c, d, e, f]`` where ``a`` is pixel width,\n  ``e`` is ``-pixel_height``, and ``(c, f)`` is the upper-left corner.\n- ``shape`` is ``(height, width)`` in pixels."},"DomainSortField":{"type":"string","enum":["created_on","modified_on","name"],"title":"DomainSortField","description":"Fields available for sorting domain list results."},"DomainSortOrder":{"type":"string","enum":["ascending","descending"],"title":"DomainSortOrder","description":"Sort order for domain list results."},"DomainStyle":{"properties":{"stroke_color":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Stroke Color","description":"Stroke color in any renderer-supported format."},"stroke_opacity":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Stroke Opacity","description":"Stroke opacity in [0, 1]."},"stroke_width":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Stroke Width","description":"Stroke width in pixels (non-negative)."},"fill_color":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Fill Color","description":"Fill color in any renderer-supported format."},"fill_opacity":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Fill Opacity","description":"Fill opacity in [0, 1]."}},"type":"object","title":"DomainStyle","description":"Optional visual style for rendering a domain on a map.\n\nAll fields are optional. On PATCH only the provided fields are merged\ninto the stored style; unspecified fields preserve their current values."},"DuetBand":{"type":"string","enum":["fuel_load.grass","fuel_load.litter","fuel_load.litter.coniferous","fuel_load.litter.deciduous","fuel_load.total","fuel_depth.grass","fuel_depth.litter","fuel_depth.litter.coniferous","fuel_depth.litter.deciduous","fuel_depth.total","fuel_moisture.grass","fuel_moisture.litter","fuel_moisture.litter.coniferous","fuel_moisture.litter.deciduous","fuel_moisture.total"],"title":"DuetBand","description":"Available output bands for DUET surface fuel grids.\n\nDUET decomposes surface fuels by fuel *type*, not by size class, so this\nvocabulary mirrors duet-tools' fuel types rather than the `fuel_load.1hr`\nsize classes used by the FBFM40 lookup bands.","x-enum-metadata":{"fuel_depth.grass":{"description":"Vertical depth of the grass fuel bed.","name":"Grass Fuel Depth","type":"continuous","unit":"m"},"fuel_depth.litter":{"description":"Vertical depth of the litter fuel bed.","name":"Litter Fuel Depth","type":"continuous","unit":"m"},"fuel_depth.litter.coniferous":{"description":"Vertical depth of the coniferous litter fuel bed.","name":"Coniferous Litter Fuel Depth","type":"continuous","unit":"m"},"fuel_depth.litter.deciduous":{"description":"Vertical depth of the deciduous litter fuel bed.","name":"Deciduous Litter Fuel Depth","type":"continuous","unit":"m"},"fuel_depth.total":{"description":"Vertical depth of the total surface fuel bed (grass plus litter).","name":"Total Surface Fuel Depth","type":"continuous","unit":"m"},"fuel_load.grass":{"description":"Oven-dry mass per unit ground area of grass.","name":"Grass Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.litter":{"description":"Oven-dry mass per unit ground area of litter.","name":"Litter Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.litter.coniferous":{"description":"Oven-dry mass per unit ground area of coniferous litter.","name":"Coniferous Litter Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.litter.deciduous":{"description":"Oven-dry mass per unit ground area of deciduous litter.","name":"Deciduous Litter Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.total":{"description":"Oven-dry mass per unit ground area of all surface fuel (grass plus litter).","name":"Total Surface Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_moisture.grass":{"description":"Moisture content of grass (% of oven-dry weight).","name":"Grass Fuel Moisture","type":"continuous","unit":"%"},"fuel_moisture.litter":{"description":"Moisture content of litter (% of oven-dry weight).","name":"Litter Fuel Moisture","type":"continuous","unit":"%"},"fuel_moisture.litter.coniferous":{"description":"Moisture content of coniferous litter (% of oven-dry weight).","name":"Coniferous Litter Fuel Moisture","type":"continuous","unit":"%"},"fuel_moisture.litter.deciduous":{"description":"Moisture content of deciduous litter (% of oven-dry weight).","name":"Deciduous Litter Fuel Moisture","type":"continuous","unit":"%"},"fuel_moisture.total":{"description":"Moisture content of all surface fuel (% of oven-dry weight).","name":"Total Surface Fuel Moisture","type":"continuous","unit":"%"}}},"DuetCalibration":{"properties":{"fuel_load":{"anyOf":[{"$ref":"#/components/schemas/DuetParameterCalibration"},{"type":"null"}]},"fuel_depth":{"anyOf":[{"$ref":"#/components/schemas/DuetParameterCalibration"},{"type":"null"}]},"fuel_moisture":{"anyOf":[{"$ref":"#/components/schemas/DuetParameterCalibration"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"DuetCalibration","description":"Calibration targets, keyed by fuel parameter.\n\nEach parameter is calibrated independently; omitted parameters keep DUET's\nraw values."},"DuetConstantCalibrationTarget":{"properties":{"method":{"type":"string","const":"constant","title":"Method","default":"constant"},"value":{"type":"number","minimum":0.0,"title":"Value","description":"Target value."}},"additionalProperties":false,"type":"object","required":["value"],"title":"DuetConstantCalibrationTarget","description":"Assign a single value to every fuel-bearing cell.\n\nReasonable only when that value is the only one available."},"DuetMaxMinCalibrationTarget":{"properties":{"method":{"type":"string","const":"maxmin","title":"Method","default":"maxmin"},"max":{"type":"number","minimum":0.0,"title":"Max","description":"Target maximum."},"min":{"type":"number","minimum":0.0,"title":"Min","description":"Target minimum.","default":0.0}},"additionalProperties":false,"type":"object","required":["max"],"title":"DuetMaxMinCalibrationTarget","description":"Rescale a fuel type to a target maximum and minimum.\n\nBest when fuel data are limited, or when their distribution does not\nresemble DUET's."},"DuetMeanSdCalibrationTarget":{"properties":{"method":{"type":"string","const":"meansd","title":"Method","default":"meansd"},"mean":{"type":"number","minimum":0.0,"title":"Mean","description":"Target mean."},"sd":{"type":"number","minimum":0.0,"title":"Sd","description":"Target standard deviation."}},"additionalProperties":false,"type":"object","required":["mean","sd"],"title":"DuetMeanSdCalibrationTarget","description":"Rescale a fuel type to a target mean and standard deviation.\n\nAppropriate only when the targets come from a dataset large enough to\napproximate a normal distribution."},"DuetParameterCalibration":{"properties":{"grass":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/DuetMaxMinCalibrationTarget"},{"$ref":"#/components/schemas/DuetMeanSdCalibrationTarget"},{"$ref":"#/components/schemas/DuetConstantCalibrationTarget"}],"discriminator":{"propertyName":"method","mapping":{"constant":"#/components/schemas/DuetConstantCalibrationTarget","maxmin":"#/components/schemas/DuetMaxMinCalibrationTarget","meansd":"#/components/schemas/DuetMeanSdCalibrationTarget"}}},{"type":"null"}],"title":"Grass"},"coniferous":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/DuetMaxMinCalibrationTarget"},{"$ref":"#/components/schemas/DuetMeanSdCalibrationTarget"},{"$ref":"#/components/schemas/DuetConstantCalibrationTarget"}],"discriminator":{"propertyName":"method","mapping":{"constant":"#/components/schemas/DuetConstantCalibrationTarget","maxmin":"#/components/schemas/DuetMaxMinCalibrationTarget","meansd":"#/components/schemas/DuetMeanSdCalibrationTarget"}}},{"type":"null"}],"title":"Coniferous"},"deciduous":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/DuetMaxMinCalibrationTarget"},{"$ref":"#/components/schemas/DuetMeanSdCalibrationTarget"},{"$ref":"#/components/schemas/DuetConstantCalibrationTarget"}],"discriminator":{"propertyName":"method","mapping":{"constant":"#/components/schemas/DuetConstantCalibrationTarget","maxmin":"#/components/schemas/DuetMaxMinCalibrationTarget","meansd":"#/components/schemas/DuetMeanSdCalibrationTarget"}}},{"type":"null"}],"title":"Deciduous"},"litter":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/DuetMaxMinCalibrationTarget"},{"$ref":"#/components/schemas/DuetMeanSdCalibrationTarget"},{"$ref":"#/components/schemas/DuetConstantCalibrationTarget"}],"discriminator":{"propertyName":"method","mapping":{"constant":"#/components/schemas/DuetConstantCalibrationTarget","maxmin":"#/components/schemas/DuetMaxMinCalibrationTarget","meansd":"#/components/schemas/DuetMeanSdCalibrationTarget"}}},{"type":"null"}],"title":"Litter"},"all":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/DuetMaxMinCalibrationTarget"},{"$ref":"#/components/schemas/DuetMeanSdCalibrationTarget"},{"$ref":"#/components/schemas/DuetConstantCalibrationTarget"}],"discriminator":{"propertyName":"method","mapping":{"constant":"#/components/schemas/DuetConstantCalibrationTarget","maxmin":"#/components/schemas/DuetMaxMinCalibrationTarget","meansd":"#/components/schemas/DuetMeanSdCalibrationTarget"}}},{"type":"null"}],"title":"All"}},"additionalProperties":false,"type":"object","title":"DuetParameterCalibration","description":"Per-fuel-type calibration targets for one fuel parameter.\n\n`all` is exclusive: it calibrates every fuel type together and cannot be\ncombined with a per-type target."},"DuplicateGridRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name","description":"Name for the copy. Omit to reuse the source grid's name."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"Description for the copy. Omit to reuse the source grid's description."},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tags","description":"Tags for the copy. Omit to reuse the source grid's tags."}},"type":"object","title":"DuplicateGridRequest","description":"Optional metadata overrides for a duplicated grid.\n\nEvery field is optional. Any field omitted is carried over verbatim from\nthe source grid."},"DuplicateInventoryRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name","description":"Name for the copy. Omit to reuse the source inventory's name."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"Description for the copy. Omit to reuse the source inventory's description."},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tags","description":"Tags for the copy. Omit to reuse the source inventory's tags."}},"type":"object","title":"DuplicateInventoryRequest","description":"Optional metadata overrides for a duplicated inventory.\n\nEvery field is optional. Any field omitted is carried over verbatim from\nthe source inventory."},"Export":{"properties":{"id":{"type":"string","title":"Id"},"domain_id":{"type":"string","title":"Domain Id","description":"Domain the source grids belong to (provenance, not lifecycle dependency)."},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description","default":""},"status":{"$ref":"#/components/schemas/JobStatus"},"progress":{"anyOf":[{"$ref":"#/components/schemas/JobProgress"},{"type":"null"}],"description":"Progress info when status is 'running'. Null otherwise."},"created_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created On"},"modified_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Modified On"},"source":{"additionalProperties":true,"type":"object","title":"Source","description":"Format-specific export configuration. Contains 'name' (the export format) plus additional fields depending on the source type."},"signed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Url","description":"Signed URL for downloading the exported file. Populated on completion."},"expires_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires On","description":"When the signed URL expires."},"error":{"anyOf":[{"$ref":"#/components/schemas/JobError"},{"type":"null"}],"description":"Error details if status is 'failed'."},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["id","domain_id","status","source"],"title":"Export","description":"The Export resource.\n\nExports are standalone artifacts that record provenance (domain_id, grid_id)\nbut have independent lifecycle — deleting a domain does not delete its exports.\n\nWhen status is \"completed\", signed_url contains a signed URL for\ndownloading the exported file."},"ExportGridRequest":{"properties":{"bands":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bands","description":"Band keys to include (e.g. 'fuel_load.1hr', 'fbfm'). Omit to export all bands from the grid."},"expiration_days":{"type":"integer","maximum":7.0,"minimum":1.0,"title":"Expiration Days","description":"Number of days until the signed download URL expires (max 7). Default: 7.","default":7},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"}},"type":"object","title":"ExportGridRequest","description":"Request body for creating a grid export.\n\nUsed at: POST /domains/{domain_id}/grids/{grid_id}/exports/{format}"},"ExportInventoryRequest":{"properties":{"columns":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":100},{"type":"null"}],"title":"Columns","description":"Column keys to include in the export (e.g. 'x', 'dbh', 'height'). Omit to export all columns. Maximum 100 columns."},"expiration_days":{"type":"integer","maximum":7.0,"minimum":1.0,"title":"Expiration Days","description":"Number of days until the signed download URL expires (max 7). Default: 7.","default":7},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"}},"type":"object","title":"ExportInventoryRequest","description":"Request body for creating an inventory export.\n\nUsed at: POST /domains/{domain_id}/inventories/{inventory_id}/exports/{format}"},"ExportSortField":{"type":"string","enum":["created_on","modified_on","name"],"title":"ExportSortField","description":"Fields available for sorting export list results."},"FIASpeciesGroupShare":{"properties":{"spgrpcd":{"type":"integer","title":"Spgrpcd","description":"FIA Species Group Code (SPGRPCD)."},"name":{"type":"string","title":"Name","description":"Common group name, e.g. 'Douglas-fir'."},"basal_area_share":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Basal Area Share","description":"Fraction of total stand basal area, 0..1."}},"type":"object","required":["spgrpcd","name","basal_area_share"],"title":"FIASpeciesGroupShare","description":"Basal area share for a single FIA species group."},"Fbfm13LookupBand":{"type":"string","enum":["fuel_load.1hr","fuel_load.10hr","fuel_load.100hr","fuel_load.live_foliage","savr.1hr","savr.10hr","savr.100hr","savr.live_foliage","fuel_depth"],"title":"Fbfm13LookupBand","description":"Bands available from the Anderson 13 lookup table.","x-enum-metadata":{"fuel_depth":{"description":"Vertical depth of the surface fuel bed.","name":"Fuel Bed Depth","type":"continuous","unit":"m"},"fuel_load.100hr":{"description":"Oven-dry mass per unit area of 100-hour timelag dead fuels.","name":"100-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.10hr":{"description":"Oven-dry mass per unit area of 10-hour timelag dead fuels.","name":"10-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.1hr":{"description":"Oven-dry mass per unit area of 1-hour timelag dead fuels.","name":"1-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.live_foliage":{"description":"Oven-dry mass per unit area of live foliage fuels.","name":"Live Foliage Fuel Load","type":"continuous","unit":"kg/m**2"},"savr.100hr":{"description":"Surface-area-to-volume ratio of 100-hour timelag dead fuels.","name":"100-hour Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"},"savr.10hr":{"description":"Surface-area-to-volume ratio of 10-hour timelag dead fuels.","name":"10-hour Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"},"savr.1hr":{"description":"Surface-area-to-volume ratio of 1-hour timelag dead fuels.","name":"1-hour Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"},"savr.live_foliage":{"description":"Surface-area-to-volume ratio of live foliage fuels.","name":"Live Foliage Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"}}},"Fbfm40LookupBand":{"type":"string","enum":["fuel_load.1hr","fuel_load.10hr","fuel_load.100hr","fuel_load.live_herb","fuel_load.live_woody","fuel_load.dead_herb","fuel_load.fine_dead","savr.1hr","savr.10hr","savr.100hr","savr.live_herb","savr.live_woody","savr.dead_herb","savr.fine_dead","fuel_depth"],"title":"Fbfm40LookupBand","description":"Bands available from FBFM40/SB40 lookup tables.","x-enum-metadata":{"fuel_depth":{"description":"Vertical depth of the surface fuel bed.","name":"Fuel Bed Depth","type":"continuous","unit":"m"},"fuel_load.100hr":{"description":"Oven-dry mass per unit area of 100-hour timelag dead fuels.","name":"100-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.10hr":{"description":"Oven-dry mass per unit area of 10-hour timelag dead fuels.","name":"10-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.1hr":{"description":"Oven-dry mass per unit area of 1-hour timelag dead fuels.","name":"1-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.dead_herb":{"description":"Oven-dry mass per unit area of cured herbaceous fuels. Takes the dead 1-hour fuel moisture.","name":"Dead Herbaceous Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.fine_dead":{"description":"Oven-dry mass per unit area of fine dead fuels: 1-hour plus dead herbaceous. Takes the dead 1-hour fuel moisture.","name":"Fine Dead Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.live_herb":{"description":"Oven-dry mass per unit area of live herbaceous fuels: the uncured part of the herbaceous load.","name":"Live Herbaceous Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.live_woody":{"description":"Oven-dry mass per unit area of live woody fuels.","name":"Live Woody Fuel Load","type":"continuous","unit":"kg/m**2"},"savr.100hr":{"description":"Surface-area-to-volume ratio of 100-hour timelag dead fuels.","name":"100-hour Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"},"savr.10hr":{"description":"Surface-area-to-volume ratio of 10-hour timelag dead fuels.","name":"10-hour Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"},"savr.1hr":{"description":"Surface-area-to-volume ratio of 1-hour timelag dead fuels.","name":"1-hour Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"},"savr.dead_herb":{"description":"Surface-area-to-volume ratio of dead herbaceous fuels, the same as live herbaceous.","name":"Dead Herbaceous Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"},"savr.fine_dead":{"description":"Load-weighted surface-area-to-volume ratio of 1-hour and dead herbaceous fuels.","name":"Fine Dead Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"},"savr.live_herb":{"description":"Surface-area-to-volume ratio of live herbaceous fuels.","name":"Live Herbaceous Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"},"savr.live_woody":{"description":"Surface-area-to-volume ratio of live woody fuels.","name":"Live Woody Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"}}},"FccsLookupBand":{"type":"string","enum":["fuel_load.litter","fuel_load.duff","duff_depth","fuel_load.live_shrub","fuel_load.live_herb","fuel_load.1hr","fuel_load.10hr","fuel_load.100hr","fuel_load.1000hr_sound","fuel_load.1000hr_rotten","fuel_load.live_foliage","fuel_load.live_branch"],"title":"FccsLookupBand","description":"Bands available from the FOFEM FCCS fuelbed lookup table.\n\nA starting subset of the parameters FOFEM provides. Region/scenario\ncolumns, the FOFEM cover-group code, and emission-factor columns are\nnot exposed here since they aren't structural fuel parameters.","x-enum-metadata":{"duff_depth":{"description":"Vertical depth of the duff layer.","name":"Duff Layer Depth","type":"continuous","unit":"m"},"fuel_load.1000hr_rotten":{"description":"Oven-dry mass per unit area of rotten (decayed) dead fuels over 3 in. diameter, summed across FOFEM's 3-9, 9-20, and 20+ in. size classes.","name":"1000-hour Rotten Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.1000hr_sound":{"description":"Oven-dry mass per unit area of sound (non-decayed) dead fuels over 3 in. diameter, summed across FOFEM's 3-9, 9-20, and 20+ in. size classes.","name":"1000-hour Sound Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.100hr":{"description":"Oven-dry mass per unit area of 100-hour timelag dead fuels.","name":"100-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.10hr":{"description":"Oven-dry mass per unit area of 10-hour timelag dead fuels.","name":"10-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.1hr":{"description":"Oven-dry mass per unit area of 1-hour timelag dead fuels.","name":"1-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.duff":{"description":"Oven-dry mass per unit area of the duff layer.","name":"Duff Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.litter":{"description":"Oven-dry mass per unit area of the litter layer.","name":"Litter Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.live_branch":{"description":"Oven-dry mass per unit area of live crown branches.","name":"Live Branch Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.live_foliage":{"description":"Oven-dry mass per unit area of live crown foliage.","name":"Live Foliage Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.live_herb":{"description":"Oven-dry mass per unit area of live herbaceous fuels.","name":"Live Herbaceous Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.live_shrub":{"description":"Oven-dry mass per unit area of live shrub fuels.","name":"Live Shrub Fuel Load","type":"continuous","unit":"kg/m**2"}}},"Feature":{"properties":{"id":{"type":"string","title":"Id"},"domain_id":{"type":"string","title":"Domain Id"},"type":{"$ref":"#/components/schemas/FeatureType"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description","default":""},"status":{"$ref":"#/components/schemas/JobStatus"},"progress":{"anyOf":[{"$ref":"#/components/schemas/JobProgress"},{"type":"null"}],"description":"Progress info when status is 'running'. Null otherwise."},"created_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created On"},"modified_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Modified On"},"source":{"additionalProperties":true,"type":"object","title":"Source"},"georeference":{"anyOf":[{"$ref":"#/components/schemas/FeatureGeoreference"},{"type":"null"}],"description":"Spatial reference. Null until backend completes processing."},"error":{"anyOf":[{"$ref":"#/components/schemas/JobError"},{"type":"null"}],"description":"Error details if status is 'failed'."},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"attributions":{"items":{"$ref":"#/components/schemas/Attribution"},"type":"array","title":"Attributions","description":"Licenses and citations for the third-party data this feature was built from. Reproduce each `citation` wherever you use or share the data. Empty if none are recorded."}},"type":"object","required":["id","domain_id","type","status","source"],"title":"Feature","description":"The Feature resource.\n\nWhen status is \"pending\" or \"running\", georeference will be null.\nThe backend worker populates it after successfully generating the GeoJSON\nand uploading it to GCS, at which point status transitions to \"completed\"."},"FeatureDataMetadata":{"properties":{"total_features":{"type":"integer","title":"Total Features","description":"Total number of features across all partitions."},"partition_count":{"type":"integer","title":"Partition Count","description":"Number of valid `partition_index` values. Iterate from 0 to `partition_count - 1` to retrieve every feature exactly once."},"partitions":{"items":{"$ref":"#/components/schemas/FeaturePartitionInfo"},"type":"array","title":"Partitions","description":"Per-partition row counts read from the GeoParquet footer. Useful for sizing client-side buffers."}},"type":"object","required":["total_features","partition_count","partitions"],"title":"FeatureDataMetadata","description":"Partition layout for a feature blob."},"FeatureGeoreference":{"properties":{"crs":{"type":"string","title":"Crs"},"bounds":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4,"title":"Bounds"}},"type":"object","required":["crs","bounds"],"title":"FeatureGeoreference","description":"Spatial reference for a feature, computed from the domain geometry."},"FeaturePartitionInfo":{"properties":{"index":{"type":"integer","title":"Index","description":"Zero-based partition index."},"num_features":{"type":"integer","title":"Num Features","description":"Number of features in this partition."}},"type":"object","required":["index","num_features"],"title":"FeaturePartitionInfo","description":"One row group's feature count, surfaced via ``/data/metadata``."},"FeatureSortField":{"type":"string","enum":["created_on","modified_on","name"],"title":"FeatureSortField","description":"Fields available for sorting feature list results."},"FeatureType":{"type":"string","enum":["road","water","layerset","crown","building","disturbance"],"title":"FeatureType","description":"Type of geographic feature."},"FiaNationalLogit2026Model":{"properties":{"name":{"type":"string","const":"fia_national_logit_2026","title":"Name","default":"fia_national_logit_2026"}},"type":"object","title":"FiaNationalLogit2026Model","description":"National refit to FIA trees with both compacted and uncompacted crown\nratios recorded. Covers every FIA species, using the California, Oregon and\nWashington coefficients when the domain centroid is in one of those states."},"FieldSource":{"properties":{"grid_id":{"type":"string","title":"Grid Id","description":"Grid containing the source band."},"band":{"type":"string","title":"Band","description":"Band key on that grid (e.g. 'fuel_load.1hr')."}},"type":"object","required":["grid_id","band"],"title":"FieldSource","description":"A single physical quantity drawn from one band on one grid.\n\nEvery per-role input to the QUIC-Fire export uses this shape so the schema\nis uniform across roles. The forward path for `nfuel>1` (when QUIC-Fire's\nmulti-fuel-type capability becomes relevant) is to allow each per-fuel-type\nrole to accept `FieldSource | dict[FuelType, FieldSource]`; today's scalar\nrequests keep working unchanged when that lands."},"FineBiomassConfig":{"properties":{"recipe":{"type":"string","const":"foliage_plus_branchwood_fraction","title":"Recipe"},"branchwood_fraction":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Branchwood Fraction"}},"additionalProperties":false,"type":"object","required":["recipe","branchwood_fraction"],"title":"FineBiomassConfig","description":"Configuration for derived fine biomass."},"FuelMoistureMonth":{"type":"string","enum":["January","February","March","April","May","June","July","August","September","October","November","December"],"title":"FuelMoistureMonth","description":"Month of the burn scenario, selecting the Fosberg correction table."},"GdamModel":{"properties":{"name":{"type":"string","const":"gdam","title":"Name","default":"gdam"}},"type":"object","title":"GdamModel","description":"GDAM's flow-matching model predicts the uncompacted crown jointly with\ndbh, crown ratio and species, conditioned on whichever of them each tree\nhas. Needs only position and height; covers the conterminous US."},"GeoJsonCRS":{"properties":{"type":{"type":"string","const":"name","title":"Type","default":"name"},"properties":{"$ref":"#/components/schemas/GeoJsonCRSProperties"}},"type":"object","required":["properties"],"title":"GeoJsonCRS"},"GeoJsonCRSProperties":{"properties":{"name":{"type":"string","title":"Name","default":"EPSG:4326"}},"type":"object","title":"GeoJsonCRSProperties"},"GeoJsonFeature":{"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"},{"$ref":"#/components/schemas/MultiPoint"},{"$ref":"#/components/schemas/LineString"},{"$ref":"#/components/schemas/MultiLineString"},{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"},{"$ref":"#/components/schemas/GeometryCollection"}],"discriminator":{"propertyName":"type","mapping":{"GeometryCollection":"#/components/schemas/GeometryCollection","LineString":"#/components/schemas/LineString","MultiLineString":"#/components/schemas/MultiLineString","MultiPoint":"#/components/schemas/MultiPoint","MultiPolygon":"#/components/schemas/MultiPolygon","Point":"#/components/schemas/Point","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":"GeoJsonFeature","description":"Generic GeoJSON feature with a generator-safe OpenAPI title."},"GeojsonCrs":{"properties":{"type":{"type":"string","title":"Type","default":"name"},"properties":{"additionalProperties":true,"type":"object","title":"Properties"}},"type":"object","title":"GeojsonCrs","description":"Optional GeoJSON ``crs`` block (deprecated by RFC 7946, but widely emitted)."},"GeojsonPolygonFeature":{"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"}],"title":"Geometry"},"properties":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Properties"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","required":["type","geometry","properties"],"title":"GeojsonPolygonFeature","description":"One uploaded polygon. Its ``properties`` are stored as columns."},"GeometryCollection":{"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"},{"$ref":"#/components/schemas/MultiPoint"},{"$ref":"#/components/schemas/LineString"},{"$ref":"#/components/schemas/MultiLineString"},{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"},{"$ref":"#/components/schemas/GeometryCollection"}],"discriminator":{"propertyName":"type","mapping":{"GeometryCollection":"#/components/schemas/GeometryCollection","LineString":"#/components/schemas/LineString","MultiLineString":"#/components/schemas/MultiLineString","MultiPoint":"#/components/schemas/MultiPoint","MultiPolygon":"#/components/schemas/MultiPolygon","Point":"#/components/schemas/Point","Polygon":"#/components/schemas/Polygon"}}},"type":"array","title":"Geometries"}},"type":"object","required":["type","geometries"],"title":"GeometryCollection","description":"GeometryCollection Model"},"Georeference":{"properties":{"crs":{"type":"string","title":"Crs","description":"e.g., 'EPSG:32610'"},"transform":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6,"title":"Transform","description":"Affine transform [a, b, c, d, e, f]"},"shape":{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2,"title":"Shape","description":"(height, width)"}},"type":"object","required":["crs","transform","shape"],"title":"Georeference","description":"Spatial reference for a 2D grid.\n\nUses rasterio/GDAL conventions:\n- transform: Affine coefficients [a, b, c, d, e, f] where:\n    x = a * col + b * row + c\n    y = d * col + e * row + f\n  For north-up images: a = pixel_width, e = -pixel_height, b = d = 0\n- shape: (height, width) in pixels"},"Georeference3D":{"properties":{"crs":{"type":"string","title":"Crs","description":"e.g., 'EPSG:32610'"},"transform":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6,"title":"Transform","description":"Affine transform [a, b, c, d, e, f]"},"shape":{"prefixItems":[{"type":"integer"},{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":3,"minItems":3,"title":"Shape","description":"(z, height, width)"},"z_resolution":{"type":"number","title":"Z Resolution"},"z_origin":{"type":"number","title":"Z Origin"}},"type":"object","required":["crs","transform","shape","z_resolution","z_origin"],"title":"Georeference3D","description":"Spatial reference for a 3D grid."},"Grid":{"properties":{"id":{"type":"string","title":"Id"},"domain_id":{"type":"string","title":"Domain Id"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description","default":""},"status":{"$ref":"#/components/schemas/JobStatus"},"progress":{"anyOf":[{"$ref":"#/components/schemas/JobProgress"},{"type":"null"}],"description":"Progress info when status is 'running'. Null otherwise."},"created_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created On"},"modified_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Modified On"},"checksum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checksum","description":"Version marker for this grid's content. It changes each time the grid is rebuilt and is unaffected by metadata-only edits (name, description, tags). A resource derived from this grid stores the checksum it was built from; comparing that stored value against this field reveals whether this grid has changed since. May be null for grids created before checksums were introduced."},"source":{"additionalProperties":true,"type":"object","title":"Source"},"modifications":{"items":{"$ref":"#/components/schemas/GridModification"},"type":"array","title":"Modifications"},"bands":{"items":{"$ref":"#/components/schemas/Band"},"type":"array","title":"Bands"},"georeference":{"anyOf":[{"$ref":"#/components/schemas/Georeference"},{"$ref":"#/components/schemas/Georeference3D"},{"type":"null"}],"title":"Georeference","description":"Spatial reference. Null until backend completes data fetch."},"error":{"anyOf":[{"$ref":"#/components/schemas/JobError"},{"type":"null"}],"description":"Error details if status is 'failed'. Traceback stored but not exposed."},"chunks":{"anyOf":[{"$ref":"#/components/schemas/Chunks"},{"type":"null"}],"description":"Chunk layout. Null until the grid finishes processing. Use chunks.count to know how many chunks are available to fetch."},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"attributions":{"items":{"$ref":"#/components/schemas/Attribution"},"type":"array","title":"Attributions","description":"Licenses and citations for the third-party data this grid was built from, added when it finishes processing. Reproduce each `citation` wherever you use or share the data. Empty if none are recorded."}},"type":"object","required":["id","domain_id","status","source","bands"],"title":"Grid","description":"The Grid resource.\n\nWhen status is \"pending\" or \"running\", georeference will be null.\nThe backend populates georeference after successfully fetching data,\nat which point status transitions to \"completed\".\n\nWhen status is \"failed\", the error field contains details about what\nwent wrong and suggestions for the user. The full traceback is stored\nin Firestore but not exposed in API responses."},"GridAlignmentDomainTarget":{"properties":{"target":{"type":"string","const":"domain","title":"Target","default":"domain"},"resolution":{"anyOf":[{"type":"number","minimum":1.0},{"type":"null"}],"title":"Resolution"},"method":{"anyOf":[{"$ref":"#/components/schemas/ResamplingMethod"},{"type":"null"}]}},"type":"object","title":"GridAlignmentDomainTarget","description":"Anchor output to the domain origin.\n\n`resolution=None` uses the source's native cell size. Output cells tile\nthe domain bounding box (already snapped at domain creation if\n`pad_to_resolution` was set)."},"GridAlignmentGridTarget":{"properties":{"target":{"type":"string","const":"grid","title":"Target"},"grid_id":{"type":"string","title":"Grid Id"},"resolution":{"anyOf":[{"type":"number","minimum":1.0},{"type":"null"}],"title":"Resolution"},"method":{"anyOf":[{"$ref":"#/components/schemas/ResamplingMethod"},{"type":"null"}]}},"type":"object","required":["target","grid_id"],"title":"GridAlignmentGridTarget","description":"Align to an existing grid by id.\n\n`resolution=None` produces an exact lattice match (CRS, transform, and\nshape from the target grid). With an explicit `resolution`, the output\nkeeps the target's CRS and origin but uses the new cell size; shape is\nrecomputed from the target grid's bounds.","x-input-requirements":[{"field":"grid_id","resource":"grid"}]},"GridAlignmentNativeTarget":{"properties":{"target":{"type":"string","const":"native","title":"Target"},"resolution":{"anyOf":[{"type":"number","minimum":1.0},{"type":"null"}],"title":"Resolution"},"method":{"anyOf":[{"$ref":"#/components/schemas/ResamplingMethod"},{"type":"null"}]}},"type":"object","required":["target"],"title":"GridAlignmentNativeTarget","description":"Preserve the source raster's pixel anchor.\n\n`resolution=None` is exactly today's behavior — no anchor or resolution\nchange beyond the standard ROI-CRS reprojection."},"GridDataArrayFormat":{"type":"string","enum":["dense","sparse"],"title":"GridDataArrayFormat"},"GridDataChunkMetadata":{"properties":{"index":{"type":"integer","title":"Index"},"shape":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"integer"},{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":3,"minItems":3}],"title":"Shape"},"offset":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"integer"},{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":3,"minItems":3}],"title":"Offset"},"transform":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6,"title":"Transform"},"z_origin":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Z Origin"},"z_resolution":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Z Resolution"}},"type":"object","required":["index","shape","offset","transform"],"title":"GridDataChunkMetadata"},"GridDataOrder":{"type":"string","enum":["C","F"],"title":"GridDataOrder"},"GridDataResponse":{"properties":{"shape":{"items":{"type":"integer"},"type":"array","title":"Shape"},"order":{"type":"string","enum":["C","F"],"title":"Order"},"metadata":{"$ref":"#/components/schemas/GridDataChunkMetadata"},"data":{"oneOf":[{"$ref":"#/components/schemas/DenseGridData"},{"$ref":"#/components/schemas/SparseGridData"}],"title":"Data","discriminator":{"propertyName":"format","mapping":{"dense":"#/components/schemas/DenseGridData","sparse":"#/components/schemas/SparseGridData"}}}},"type":"object","required":["shape","order","metadata","data"],"title":"GridDataResponse"},"GridExportFormat":{"type":"string","enum":["geotiff","zarr","netcdf"],"title":"GridExportFormat","description":"Supported grid export formats."},"GridFeatureSpatialCondition":{"properties":{"source":{"type":"string","const":"feature","title":"Source","description":"Discriminator selecting this variant. Must be the literal string `\"feature\"`. Use `\"geometry\"` instead to supply inline GeoJSON."},"operator":{"$ref":"#/components/schemas/SpatialOperator","description":"The spatial relationship to test between each cell and the feature's geometry: `within`, `outside`, or `intersects`."},"feature_id":{"type":"string","title":"Feature Id","description":"ID of a Feature resource (road, water, building, or layerset) hosted in the same domain as the grid. Cross-domain references are rejected; the feature must be in `completed` status. A Feature with no geometry (e.g. OSM water over a domain with none) matches no cells with `within` or `intersects` and every cell with `outside`."},"buffer_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Buffer M","description":"Optional buffer distance in meters applied to the feature geometry (in the domain's projected CRS) before testing. Use it to widen the selection beyond the feature, e.g. a corridor around road polygons. Road features are already polygons (OSM roads are buffered to road-class widths), so no buffer is needed to cover the road surface itself."},"target":{"$ref":"#/components/schemas/GridSpatialTarget","description":"Which part of each grid cell is tested against the geometry. `centroid` tests only the cell center point; `cell` tests the full cell bounds: `intersects` matches any cell the geometry touches, `within` only cells entirely inside it, and `outside` only cells it does not touch.","default":"centroid"}},"type":"object","required":["source","operator","feature_id"],"title":"GridFeatureSpatialCondition","description":"Spatial condition that tests cells against a persisted Feature resource.\n\nThe referenced Feature must belong to the same domain as the grid being\nmodified. The processing service loads the feature's geometry, reprojects\nit into the domain CRS, optionally buffers it, and then evaluates the\nspatial operator against grid cells.","x-input-requirements":[{"field":"feature_id","resource":"feature"}]},"GridGeometrySpatialCondition":{"properties":{"source":{"type":"string","const":"geometry","title":"Source","description":"Discriminator selecting this variant. Must be the literal string `\"geometry\"`. Use `\"feature\"` instead to reference a persisted Feature resource by id."},"operator":{"$ref":"#/components/schemas/SpatialOperator","description":"The spatial relationship to test between each cell and the geometry: `within` (cell is inside the geometry), `outside` (cell is not inside the geometry), or `intersects` (cell overlaps the geometry)."},"geometry":{"additionalProperties":true,"type":"object","title":"Geometry","description":"Inline GeoJSON geometry. Polygon and MultiPolygon are the common shapes; LineString works in combination with `target=\"cell\"` since centroid-mode rarely matches a bare line."},"crs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Crs","description":"CRS of `geometry`, expressed as a GeoJSON CRS object (`{\"type\": \"name\", \"properties\": {\"name\": \"EPSG:...\"}}`). Defaults to the domain CRS when null."},"buffer_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Buffer M","description":"Optional buffer distance in meters applied to the geometry (in the domain's projected CRS) before testing. Use a non-zero buffer to widen the masked region beyond the literal geometry (e.g. shoreline tolerance around a water polygon)."},"target":{"$ref":"#/components/schemas/GridSpatialTarget","description":"Which part of each grid cell is tested against the geometry. `centroid` tests only the cell center point; `cell` tests the full cell bounds: `intersects` matches any cell the geometry touches, `within` only cells entirely inside it, and `outside` only cells it does not touch. Use `cell` with `intersects` to catch every cell a linestring crosses without needing a buffer.","default":"centroid"}},"type":"object","required":["source","operator","geometry"],"title":"GridGeometrySpatialCondition","description":"Spatial condition that tests cells against an inline GeoJSON geometry.\n\nUse this variant when the geometry is supplied directly in the request\n(e.g. a hand-drawn polygon). For a persisted geometry hosted as a\nFeature resource, use ``GridFeatureSpatialCondition`` instead."},"GridLatticeDomainTarget":{"properties":{"target":{"type":"string","const":"domain","title":"Target","default":"domain"},"resolution":{"anyOf":[{"type":"number","minimum":1.0},{"type":"null"}],"title":"Resolution"}},"additionalProperties":false,"type":"object","title":"GridLatticeDomainTarget","description":"Anchor output cells to the domain origin.\n\nFor grids computed per cell rather than resampled from a raster, so there\nis no resampling `method` and no source pixel anchor to preserve."},"GridLatticeGridTarget":{"properties":{"target":{"type":"string","const":"grid","title":"Target"},"grid_id":{"type":"string","title":"Grid Id"},"resolution":{"anyOf":[{"type":"number","minimum":1.0},{"type":"null"}],"title":"Resolution"}},"additionalProperties":false,"type":"object","required":["target","grid_id"],"title":"GridLatticeGridTarget","description":"Align output cells to an existing grid by id.\n\n`resolution=None` matches the target grid's lattice exactly. With an\nexplicit `resolution`, the output keeps the target's CRS and origin at the\nnew cell size.","x-input-requirements":[{"field":"grid_id","resource":"grid"}]},"GridModification":{"properties":{"conditions":{"items":{"anyOf":[{"$ref":"#/components/schemas/GridModificationCondition"},{"oneOf":[{"$ref":"#/components/schemas/GridGeometrySpatialCondition"},{"$ref":"#/components/schemas/GridFeatureSpatialCondition"}],"discriminator":{"propertyName":"source","mapping":{"feature":"#/components/schemas/GridFeatureSpatialCondition","geometry":"#/components/schemas/GridGeometrySpatialCondition"}}}]},"type":"array","title":"Conditions","description":"Conditions that must all be true (ANDed). An empty list applies the actions to the whole grid — every cell."},"actions":{"items":{"$ref":"#/components/schemas/GridModificationAction"},"type":"array","title":"Actions","description":"Actions to apply when conditions match"}},"type":"object","required":["actions"],"title":"GridModification","description":"A grid modification rule: a list of conditions and a list of actions.\n\nConditions can be band-based (checking values) or spatial (checking\nlocation). All conditions in a rule are **ANDed** — the actions apply only\nto cells that satisfy *every* condition, so adding a condition narrows the\nselection (the intersection).\n\nThere is no OR within a rule. To act on a **union** of selections (e.g.\nroads *or* water bodies), supply multiple rules: each rule is applied\nindependently, so adding a rule widens the overall selection. Putting two\nmutually exclusive conditions (a road feature AND a water feature) in one\nrule selects cells that are both at once — usually none.\n\nAn **empty `conditions` list applies the actions to the whole grid** —\nevery cell. Use it for a blanket adjustment (e.g. subtract a constant from\nevery cell); add conditions to narrow it to a region or value range.","examples":[{"actions":[{"band":"fuel_load.1hr","modifier":"replace","value":0},{"band":"fuel_load.10hr","modifier":"replace","value":0},{"band":"fuel_load.100hr","modifier":"replace","value":0}],"conditions":[{"feature_id":"feat_road_abc","operator":"intersects","source":"feature","target":"cell"}]},{"actions":[{"band":"fuel_load.1hr","modifier":"replace","value":0},{"band":"fuel_load.10hr","modifier":"replace","value":0},{"band":"fuel_load.100hr","modifier":"replace","value":0}],"conditions":[{"feature_id":"feat_water_xyz","operator":"intersects","source":"feature"}]},{"actions":[{"band":"fuel_load.1hr","modifier":"multiply","value":0.1},{"band":"fuel_load.10hr","modifier":"multiply","value":0.1},{"band":"fuel_load.100hr","modifier":"multiply","value":0.1}],"conditions":[{"buffer_m":4,"feature_id":"feat_road_abc","operator":"intersects","source":"feature"}]},{"actions":[{"band":"fuel_load.1hr","modifier":"replace","value":0}],"conditions":[{"buffer_m":5,"geometry":{"coordinates":[[[-120.0,38.0],[-119.5,38.0],[-119.5,38.5],[-120.0,38.5],[-120.0,38.0]]],"type":"Polygon"},"operator":"within","source":"geometry"}]}]},"GridModificationAction":{"properties":{"band":{"type":"string","title":"Band","description":"The band to modify (dot-notation key)"},"modifier":{"$ref":"#/components/schemas/Modifier","description":"How the action changes the selected band: `add`, `subtract`, `multiply`, `divide` (arithmetic against `value`), or `replace` (overwrite with `value`)."},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"}],"title":"Value","description":"The value to use with the modifier"}},"type":"object","required":["band","modifier","value"],"title":"GridModificationAction","description":"Action to perform when grid modification conditions are met.\n\nUses dot-notation band keys (e.g., \"fuel_load.1hr\", \"fbfm\")."},"GridModificationCondition":{"properties":{"band":{"type":"string","title":"Band","description":"The band to check (dot-notation key)"},"operator":{"$ref":"#/components/schemas/Operator","description":"The comparison operator that tests the band against `value` (e.g. `le` selects cells where band ≤ value). Conditions only select cells; they do not change data."},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"}]},"type":"array"}],"title":"Value","description":"The value(s) to compare against"}},"type":"object","required":["band","operator","value"],"title":"GridModificationCondition","description":"Attribute-based condition for grid modifications.\n\nUses dot-notation band keys (e.g., \"fuel_load.1hr\", \"fbfm\")."},"GridSortField":{"type":"string","enum":["created_on","modified_on","name"],"title":"GridSortField","description":"Fields available for sorting grid list results."},"GridSpatialTarget":{"type":"string","enum":["centroid","cell"],"title":"GridSpatialTarget","description":"Specifies which part of a grid cell is tested against the geometry.\n\n- centroid: Test only the cell's centroid point against the geometry\n- cell: Test the entire cell bounds against the geometry"},"GridUploadCreatedResponse":{"properties":{"grid":{"$ref":"#/components/schemas/Grid"},"upload":{"$ref":"#/components/schemas/GridUploadSpec"}},"type":"object","required":["grid","upload"],"title":"GridUploadCreatedResponse"},"GridUploadSpec":{"properties":{"method":{"type":"string","const":"PUT","title":"Method","default":"PUT"},"url":{"type":"string","title":"Url"},"headers":{"additionalProperties":{"type":"string"},"type":"object","title":"Headers"},"content_type":{"type":"string","title":"Content Type"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"max_size_bytes":{"type":"integer","title":"Max Size Bytes"}},"type":"object","required":["url","headers","content_type","expires_at","max_size_bytes"],"title":"GridUploadSpec"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InlineCompute":{"properties":{"operator":{"$ref":"#/components/schemas/ComposeOperator"},"operands":{"items":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"$ref":"#/components/schemas/ComposeLiteral"}]},"type":"array","minItems":1,"title":"Operands"}},"type":"object","required":["operator","operands"],"title":"InlineCompute","description":"A computation body: an operator over operands.\n\nUsable on its own as a conditional-fallback value; `ComposeCompute`\nextends it with an output target and optional conditions."},"Inventory":{"properties":{"id":{"type":"string","title":"Id"},"domain_id":{"type":"string","title":"Domain Id"},"type":{"$ref":"#/components/schemas/InventoryType"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description","default":""},"status":{"$ref":"#/components/schemas/JobStatus"},"progress":{"anyOf":[{"$ref":"#/components/schemas/JobProgress"},{"type":"null"}],"description":"Progress info when status is 'running'. Null otherwise."},"created_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created On"},"modified_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Modified On"},"checksum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checksum","description":"Version marker for this inventory's content. It changes each time the inventory is rebuilt and is unaffected by metadata-only edits (name, description, tags). A resource derived from this inventory stores the checksum it was built from; comparing that stored value against this field reveals whether this inventory has changed since. May be null for inventories created before checksums were introduced."},"source":{"additionalProperties":true,"type":"object","title":"Source"},"modifications":{"items":{"$ref":"#/components/schemas/InventoryModification"},"type":"array","title":"Modifications"},"treatments":{"items":{"oneOf":[{"$ref":"#/components/schemas/InventoryDiameterTreatment"},{"$ref":"#/components/schemas/InventoryBasalAreaTreatment"},{"$ref":"#/components/schemas/InventoryCrownSpacingTreatment"}],"discriminator":{"propertyName":"metric","mapping":{"basal_area":"#/components/schemas/InventoryBasalAreaTreatment","crown_spacing":"#/components/schemas/InventoryCrownSpacingTreatment","diameter":"#/components/schemas/InventoryDiameterTreatment"}}},"type":"array","title":"Treatments"},"columns":{"items":{"$ref":"#/components/schemas/Column"},"type":"array","title":"Columns","description":"Columns of the inventory's tree data, with per-column summaries. `tree_id` is a stable per-tree integer (1 … 2,147,483,647), unique within the inventory. It is assigned when the inventory is created and never renumbered: removing trees leaves gaps, and inventories derived from this one (duplicates, allometry, modifications, treatments) keep the IDs of the trees they retain."},"forestry_metrics":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/TreeForestryMetrics"}],"discriminator":{"propertyName":"type","mapping":{"tree":"#/components/schemas/TreeForestryMetrics"}}},{"type":"null"}],"title":"Forestry Metrics"},"georeference":{"anyOf":[{"$ref":"#/components/schemas/InventoryGeoreference"},{"type":"null"}],"description":"Spatial reference. Null until backend completes processing."},"error":{"anyOf":[{"$ref":"#/components/schemas/JobError"},{"type":"null"}],"description":"Error details if status is 'failed'."},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["id","domain_id","type","status","source"],"title":"Inventory","description":"The Inventory resource.\n\nWhen status is \"pending\" or \"running\", georeference will be null.\nThe backend populates it after successfully processing data,\nat which point status transitions to \"completed\"."},"InventoryAttribute":{"type":"string","enum":["dbh","height","crown_base_height","fia_species_code","tree_id"],"title":"InventoryAttribute","description":"Attributes available for inventory modifications."},"InventoryBasalAreaTreatment":{"properties":{"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Optional unit for `value`. Must be canonical and dimensionally compatible with the metric's native unit; converted before the treatment is applied."},"conditions":{"items":{"oneOf":[{"$ref":"#/components/schemas/InventoryGeometrySpatialCondition"},{"$ref":"#/components/schemas/InventoryFeatureSpatialCondition"}],"discriminator":{"propertyName":"source","mapping":{"feature":"#/components/schemas/InventoryFeatureSpatialCondition","geometry":"#/components/schemas/InventoryGeometrySpatialCondition"}}},"type":"array","title":"Conditions","description":"Spatial conditions restricting the treatment to a region (within/outside/intersects a geometry or Feature). An empty list applies the treatment to the entire inventory."},"metric":{"type":"string","const":"basal_area","title":"Metric","default":"basal_area"},"method":{"$ref":"#/components/schemas/InventoryTreatmentMethod","description":"`from_below`: remove smaller/suppressed trees first. `from_above`: remove larger/dominant trees first. `proportional`: remove across all diameter classes."},"value":{"type":"number","exclusiveMinimum":0.0,"title":"Value","description":"Target residual basal area, in m**2/ha unless `unit` is set."}},"type":"object","required":["method","value"],"title":"InventoryBasalAreaTreatment","description":"Thin to a residual basal area.\n\n``from_below``/``from_above`` remove the smallest/largest trees first until\nthe target is reached; ``proportional`` removes across all diameter classes."},"InventoryBiomassColumn":{"properties":{"column":{"type":"string","title":"Column"},"unit":{"$ref":"#/components/schemas/BiomassUnit","default":"kg"}},"additionalProperties":false,"type":"object","required":["column"],"title":"InventoryBiomassColumn","description":"Inventory column containing per-tree biomass for one component."},"InventoryCanopyBand":{"type":"string","enum":["cbd","cbh","chm","cc","cfl"],"title":"InventoryCanopyBand","description":"Selectable bands on the inventory canopy source.\n\nThe first four share keys and units with the LANDFIRE canopy source, so\ndownstream consumers (including the landscape export) accept either\ninterchangeably. ``cfl`` (canopy fuel load) is additionally available\nhere because the per-cell fuel profile is already assembled; it is not\npart of the LANDFIRE canopy band set and is not a landscape file role.","x-enum-metadata":{"cbd":{"description":"Mass of available canopy fuel per unit canopy volume.","name":"Canopy Bulk Density","type":"continuous","unit":"kg/m**3"},"cbh":{"description":"Height above ground of the base of the canopy fuel layer.","name":"Canopy Base Height","type":"continuous","unit":"m"},"cc":{"description":"Fraction of ground covered by tree canopy (%).","name":"Canopy Cover","type":"continuous","unit":"%"},"cfl":{"description":"Total available canopy fuel per unit ground area.","name":"Canopy Fuel Load","type":"continuous","unit":"kg/m**2"},"chm":{"description":"Height above ground of the canopy top.","name":"Canopy Height","type":"continuous","unit":"m"}}},"InventoryColumnCanopyBiomassSource":{"properties":{"type":{"type":"string","const":"inventory_column","title":"Type","default":"inventory_column"},"column":{"type":"string","title":"Column","description":"Inventory column holding per-tree available canopy fuel."},"unit":{"$ref":"#/components/schemas/BiomassUnit","default":"kg"}},"additionalProperties":false,"type":"object","required":["column"],"title":"InventoryColumnCanopyBiomassSource","description":"Read each tree's available canopy fuel directly from an inventory column.\n\nThe column value is used as-is: it must already be the per-tree mass of\ncanopy fuel available to a crown fire (foliage plus the burnable fine\nbranchwood). This bypasses allometry, `available_fuel`, species\ninclusion, and crown-class adjustment for fuel magnitude."},"InventoryColumnMapping":{"properties":{"tree_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tree Id","description":"Per-tree identifier to keep as the inventory's `tree_id`. Values must be non-null numbers in 1 … 2,147,483,647; they are cast to integers and must then be unique across the file; otherwise the upload fails with `SCHEMA_VALIDATION_ERROR`. If the file has no `tree_id` column and none is mapped, IDs 1 … N are generated."},"x":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X","description":"Tree position in the domain's projected CRS (m)."},"y":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Y","description":"Tree position in the domain's projected CRS (m)."},"height":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Height","description":"Total tree height (m)."},"fia_species_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fia Species Code","description":"FIA species code (SPCD)."},"fia_status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fia Status Code","description":"FIA tree status code (STATUSCD): 1 live, 2 dead, 3 removed."},"fia_crown_class_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fia Crown Class Code","description":"FIA crown class code (CCLCD): 1 open-grown, 2 dominant, 3 codominant, 4 intermediate, 5 overtopped."},"dbh":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dbh","description":"Diameter at breast height (cm)."},"crown_ratio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crown Ratio","description":"FIA compacted live crown ratio (0-1), as recorded by FIA field crews."},"crown_base_height":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crown Base Height","description":"Crown base height (m): height of the lowest live foliage, the base of a continuous, gap-free crown. At least 0 and at most `height`; equal to `height` for a tree with no live crown."},"crown_radius":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crown Radius","description":"Measured crown radius (m), > 0 and <= 20. Null for trees without a measurement."}},"additionalProperties":false,"type":"object","title":"InventoryColumnMapping","description":"Maps v2 column names to the corresponding column names in the uploaded file.\n\nOmit any entry whose column already uses the v2 name. For GeoJSON and\nGeoPackage formats, x and y are extracted from geometry — their mapping\nentries are ignored."},"InventoryColumnMaxCrownRadiusSource":{"properties":{"type":{"type":"string","const":"inventory_column","title":"Type","default":"inventory_column"},"column":{"type":"string","title":"Column"},"unit":{"$ref":"#/components/schemas/MaxCrownRadiusUnit","default":"m"}},"additionalProperties":false,"type":"object","required":["column"],"title":"InventoryColumnMaxCrownRadiusSource","description":"Read per-tree max crown radius from an inventory column.\n\nThe crown profile model still drives the crown shape — the supplied\nradius rescales it so the maximum radius matches the per-tree value."},"InventoryColumnsBiomassSource":{"properties":{"type":{"type":"string","const":"inventory_columns","title":"Type","default":"inventory_columns"},"columns":{"additionalProperties":{"$ref":"#/components/schemas/InventoryBiomassColumn"},"propertyNames":{"$ref":"#/components/schemas/BiomassComponent"},"type":"object","minProperties":1,"title":"Columns","description":"Per-component inventory columns. Values must be per-tree kg."},"components":{"items":{"$ref":"#/components/schemas/BiomassComponent"},"type":"array","minItems":1,"title":"Components"},"component_states":{"additionalProperties":{"$ref":"#/components/schemas/BiomassComponentState"},"propertyNames":{"$ref":"#/components/schemas/BiomassComponent"},"type":"object","title":"Component States","description":"Per-component live/dead biomass partition fractions."},"fine":{"anyOf":[{"$ref":"#/components/schemas/FineBiomassConfig"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["columns"],"title":"InventoryColumnsBiomassSource","description":"Read per-tree component biomass from inventory columns."},"InventoryCrownSpacingRank":{"type":"string","enum":["dbh","height"],"title":"InventoryCrownSpacingRank","description":"Column that decides which tree survives a crown-spacing conflict.\n\n- dbh: the larger diameter is kept\n- height: the taller tree is kept"},"InventoryCrownSpacingTreatment":{"properties":{"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Optional unit for `value`. Must be canonical and dimensionally compatible with the metric's native unit; converted before the treatment is applied."},"conditions":{"items":{"oneOf":[{"$ref":"#/components/schemas/InventoryGeometrySpatialCondition"},{"$ref":"#/components/schemas/InventoryFeatureSpatialCondition"}],"discriminator":{"propertyName":"source","mapping":{"feature":"#/components/schemas/InventoryFeatureSpatialCondition","geometry":"#/components/schemas/InventoryGeometrySpatialCondition"}}},"type":"array","title":"Conditions","description":"Spatial conditions restricting the treatment to a region (within/outside/intersects a geometry or Feature). An empty list applies the treatment to the entire inventory."},"metric":{"type":"string","const":"crown_spacing","title":"Metric","default":"crown_spacing"},"value":{"type":"number","exclusiveMinimum":0.0,"title":"Value","description":"Minimum horizontal gap between retained crowns, crown edge to crown edge, in m unless `unit` is set."},"rank_by":{"$ref":"#/components/schemas/InventoryCrownSpacingRank","description":"Which tree is kept when two crowns are too close: `dbh` keeps the larger diameter, `height` keeps the taller tree. Use `height` for inventories without a `dbh` column.","default":"dbh"},"max_crown_radius_source":{"oneOf":[{"$ref":"#/components/schemas/CanopyAllometryMaxCrownRadiusSource"},{"$ref":"#/components/schemas/InventoryColumnMaxCrownRadiusSource"}],"title":"Max Crown Radius Source","description":"Source of each tree's crown radius. Defaults to the `purves` allometry, the same default as tree voxelization. Set `{\"type\": \"allometry\", \"equations\": \"crookston_stage\"}` for FuelCalc crown widths, or `{\"type\": \"inventory_column\", \"column\": \"crown_radius\"}` to read a measured radius in meters. Trees with no value in the column use their `purves` radius. To keep thinned crowns from overlapping in a voxelized or canopy grid, build the grid with the same radius source.","discriminator":{"propertyName":"type","mapping":{"allometry":"#/components/schemas/CanopyAllometryMaxCrownRadiusSource","inventory_column":"#/components/schemas/InventoryColumnMaxCrownRadiusSource"}}}},"type":"object","required":["value"],"title":"InventoryCrownSpacingTreatment","description":"Thin to a minimum crown spacing.\n\nLeaves every retained crown at least ``value`` apart, edge to edge, in plan\nview. Trees are visited from the largest ``rank_by`` value down, and each is\nkept only if its crown clears every crown already kept.\n\nWith ``conditions``, only trees whose stem is in the region can be removed.\nTrees outside the region are never removed, but trees inside it must still\nclear their crowns."},"InventoryDataMetadata":{"properties":{"inventory_id":{"type":"string","title":"Inventory Id"},"num_partitions":{"type":"integer","title":"Num Partitions"},"total_rows":{"type":"integer","title":"Total Rows"},"columns":{"items":{"type":"string"},"type":"array","title":"Columns"},"partitions":{"items":{"$ref":"#/components/schemas/InventoryPartitionInfo"},"type":"array","title":"Partitions"}},"type":"object","required":["inventory_id","num_partitions","total_rows","columns","partitions"],"title":"InventoryDataMetadata"},"InventoryDataResponse":{"properties":{"partition":{"type":"integer","title":"Partition"},"num_rows":{"type":"integer","title":"Num Rows"},"columns":{"items":{"type":"string"},"type":"array","title":"Columns"},"data":{"anyOf":[{"items":{"items":{},"type":"array"},"type":"array"},{"items":{"additionalProperties":true,"type":"object"},"type":"array"}],"title":"Data"}},"type":"object","required":["partition","num_rows","columns","data"],"title":"InventoryDataResponse"},"InventoryDiameterTreatment":{"properties":{"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Optional unit for `value`. Must be canonical and dimensionally compatible with the metric's native unit; converted before the treatment is applied."},"conditions":{"items":{"oneOf":[{"$ref":"#/components/schemas/InventoryGeometrySpatialCondition"},{"$ref":"#/components/schemas/InventoryFeatureSpatialCondition"}],"discriminator":{"propertyName":"source","mapping":{"feature":"#/components/schemas/InventoryFeatureSpatialCondition","geometry":"#/components/schemas/InventoryGeometrySpatialCondition"}}},"type":"array","title":"Conditions","description":"Spatial conditions restricting the treatment to a region (within/outside/intersects a geometry or Feature). An empty list applies the treatment to the entire inventory."},"metric":{"type":"string","const":"diameter","title":"Metric","default":"diameter"},"method":{"type":"string","enum":["from_below","from_above"],"title":"Method","description":"`from_below` removes trees below the limit; `from_above` removes trees above the limit."},"value":{"type":"number","exclusiveMinimum":0.0,"title":"Value","description":"Diameter-at-breast-height limit, in cm unless `unit` is set."}},"type":"object","required":["method","value"],"title":"InventoryDiameterTreatment","description":"Thin to a diameter-at-breast-height limit.\n\nA hard cutoff: ``from_below`` removes trees smaller than ``value``,\n``from_above`` removes trees larger than ``value``. ``proportional`` does not\napply to a diameter limit and is not an option here."},"InventoryExportFormat":{"type":"string","enum":["parquet","csv","geojson","geopackage"],"title":"InventoryExportFormat","description":"Supported inventory export formats."},"InventoryExpressionCondition":{"properties":{"expression":{"type":"string","title":"Expression","description":"Boolean expression using dbh, height, crown_base_height"}},"type":"object","required":["expression"],"title":"InventoryExpressionCondition","description":"Boolean expression condition evaluated against tree attributes.\n\nExpressions use native units (cm, m). No unit field\nis provided — convert values in the expression yourself.\n\nExample: \"dbh < 5 and height < 2\""},"InventoryFeatureSpatialCondition":{"properties":{"source":{"type":"string","const":"feature","title":"Source","description":"Discriminator selecting this variant. Must be the literal string `\"feature\"`. Use `\"geometry\"` instead to supply inline GeoJSON."},"operator":{"$ref":"#/components/schemas/SpatialOperator","description":"The spatial relationship to test between each tree's point and the feature's geometry: `within`, `outside`, or `intersects`."},"feature_id":{"type":"string","title":"Feature Id","description":"ID of a Feature resource (road, water, building, or layerset) hosted in the same domain as the inventory. Cross-domain references are rejected; the feature must be in `completed` status. A Feature with no geometry matches no trees with `within` or `intersects` and every tree with `outside`."},"buffer_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Buffer M","description":"Optional buffer distance in meters applied to the feature geometry (in the domain's projected CRS) before testing. Use it to widen the selection beyond the feature, e.g. a corridor around road polygons. Road features are already polygons (OSM roads are buffered to road-class widths), so no buffer is needed to select trees on the road surface itself."}},"type":"object","required":["source","operator","feature_id"],"title":"InventoryFeatureSpatialCondition","description":"Spatial condition that tests tree locations against a persisted Feature\nresource.\n\nThe referenced Feature must belong to the same domain as the inventory.\nThe processing service loads the feature's geometry, reprojects it into\nthe domain CRS, optionally buffers it, and then evaluates the spatial\noperator against each tree's point coordinate.\n\nA Feature with no geometry (e.g. OSM water over a domain with none)\nmatches no trees with ``within`` or ``intersects`` and every tree with\n``outside``.","x-input-requirements":[{"field":"feature_id","resource":"feature"}]},"InventoryGeometrySpatialCondition":{"properties":{"source":{"type":"string","const":"geometry","title":"Source","description":"Discriminator selecting this variant. Must be the literal string `\"geometry\"`. Use `\"feature\"` instead to reference a persisted Feature resource by id."},"operator":{"$ref":"#/components/schemas/SpatialOperator","description":"The spatial relationship to test between each tree's point and the geometry: `within` (tree is inside the geometry), `outside` (tree is not inside the geometry), or `intersects`."},"geometry":{"additionalProperties":true,"type":"object","title":"Geometry","description":"Inline GeoJSON geometry. Polygon and MultiPolygon are the common shapes; LineString geometries should typically be paired with a non-zero `buffer_m` since a tree point almost never lies exactly on a line."},"crs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Crs","description":"CRS of `geometry`, expressed as a GeoJSON CRS object (`{\"type\": \"name\", \"properties\": {\"name\": \"EPSG:...\"}}`). Defaults to the domain CRS when null."},"buffer_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Buffer M","description":"Optional buffer distance in meters applied to the geometry (in the domain's projected CRS) before testing. Use a non-zero buffer to widen the masked region beyond the literal geometry."}},"type":"object","required":["source","operator","geometry"],"title":"InventoryGeometrySpatialCondition","description":"Spatial condition that tests tree locations against an inline GeoJSON\ngeometry.\n\nTrees are points, so the test is always point-in-(optionally-buffered)-geometry.\nUse this variant when the geometry is supplied directly in the request; for a\npersisted geometry hosted as a Feature resource, use\n``InventoryFeatureSpatialCondition``."},"InventoryGeoreference":{"properties":{"crs":{"type":"string","title":"Crs"},"bounds":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4,"title":"Bounds"}},"type":"object","required":["crs","bounds"],"title":"InventoryGeoreference","description":"Spatial reference for an inventory, computed from the domain geometry."},"InventoryJsonOrientation":{"type":"string","enum":["split","records"],"title":"InventoryJsonOrientation"},"InventoryModification":{"properties":{"conditions":{"items":{"anyOf":[{"$ref":"#/components/schemas/InventoryModificationCondition"},{"$ref":"#/components/schemas/InventoryExpressionCondition"},{"oneOf":[{"$ref":"#/components/schemas/InventoryGeometrySpatialCondition"},{"$ref":"#/components/schemas/InventoryFeatureSpatialCondition"}],"discriminator":{"propertyName":"source","mapping":{"feature":"#/components/schemas/InventoryFeatureSpatialCondition","geometry":"#/components/schemas/InventoryGeometrySpatialCondition"}}}]},"type":"array","title":"Conditions","description":"Conditions that must all be true (ANDed) for the actions to apply. An empty list applies the actions to the entire inventory — every tree."},"actions":{"items":{"anyOf":[{"$ref":"#/components/schemas/InventoryModificationAction"},{"$ref":"#/components/schemas/RemoveAction"}]},"type":"array","minItems":1,"title":"Actions"}},"type":"object","required":["actions"],"title":"InventoryModification","description":"A modification rule: when all conditions match, apply actions.\n\nAn empty ``conditions`` list applies the actions to the whole inventory —\nevery tree. Combined with a RemoveAction this clears the inventory.\n\nIf a RemoveAction is present, it must be the only action."},"InventoryModificationAction":{"properties":{"attribute":{"$ref":"#/components/schemas/InventoryAttribute","description":"The tree attribute to change. `tree_id` cannot be changed."},"modifier":{"$ref":"#/components/schemas/Modifier","description":"How the action changes the selected attribute: `add`, `subtract`, `multiply`, `divide` (arithmetic against `value`), or `replace` (overwrite with `value`). To drop matching trees entirely, use a remove action instead."},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"}],"title":"Value","description":"The value to use with the modifier"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Optional pint-compatible unit for the value."}},"type":"object","required":["attribute","modifier","value"],"title":"InventoryModificationAction","description":"Action that modifies a tree attribute value.\n\nOptionally specify a unit to convert the value to the attribute's\nnative unit before applying the modifier."},"InventoryModificationCondition":{"properties":{"attribute":{"$ref":"#/components/schemas/InventoryAttribute","description":"The tree attribute to test. `fia_species_code` and `tree_id` support only `eq`/`ne`. `tree_id` selects individual trees by their inventory ID."},"operator":{"$ref":"#/components/schemas/Operator","description":"The comparison operator that tests the attribute against `value` (e.g. `le` selects trees where attribute ≤ value). Conditions only select trees; they do not change data."},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"},{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"}]},"type":"array"}],"title":"Value","description":"The value(s) to compare against. A list with `eq` matches any of its values; with `ne`, none of them."},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Optional pint-compatible unit for the value (e.g., 'in', 'ft', 'mm'). Converted to the attribute's native unit before comparison."}},"type":"object","required":["attribute","operator","value"],"title":"InventoryModificationCondition","description":"Condition that checks a tree attribute against a value.\n\nOptionally specify a unit (e.g., \"in\", \"ft\") to convert the value\nto the attribute's native unit before comparison."},"InventoryPartitionInfo":{"properties":{"index":{"type":"integer","title":"Index"},"num_rows":{"type":"integer","title":"Num Rows"}},"type":"object","required":["index","num_rows"],"title":"InventoryPartitionInfo"},"InventorySortField":{"type":"string","enum":["created_on","modified_on","name"],"title":"InventorySortField","description":"Fields available for sorting inventory list results."},"InventoryTreatmentMethod":{"type":"string","enum":["from_below","from_above","proportional"],"title":"InventoryTreatmentMethod","description":"Tree-selection strategy for a silvicultural treatment.\n\n- from_below: low thinning — remove smaller/suppressed trees first\n- from_above: crown thinning — remove larger/dominant trees first\n- proportional: remove across all diameter classes proportionally"},"InventoryType":{"type":"string","enum":["tree"],"title":"InventoryType","description":"Type of entities in the inventory."},"InventoryUploadCreatedResponse":{"properties":{"inventory":{"$ref":"#/components/schemas/Inventory"},"upload":{"$ref":"#/components/schemas/InventoryUploadSpec"}},"type":"object","required":["inventory","upload"],"title":"InventoryUploadCreatedResponse"},"InventoryUploadFormat":{"type":"string","enum":["csv","geojson","geopackage"],"title":"InventoryUploadFormat"},"InventoryUploadSpec":{"properties":{"method":{"type":"string","const":"PUT","title":"Method","default":"PUT"},"url":{"type":"string","title":"Url"},"headers":{"additionalProperties":{"type":"string"},"type":"object","title":"Headers"},"content_type":{"type":"string","title":"Content Type"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"max_size_bytes":{"type":"integer","title":"Max Size Bytes"}},"type":"object","required":["url","headers","content_type","expires_at","max_size_bytes"],"title":"InventoryUploadSpec"},"JobError":{"properties":{"code":{"type":"string","title":"Code","description":"Machine-readable error code"},"message":{"type":"string","title":"Message","description":"User-friendly error message"},"suggestion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suggestion","description":"Actionable suggestion for the user"},"traceback":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Traceback","description":"Full stack trace (stored but not exposed in API responses)"}},"type":"object","required":["code","message"],"title":"JobError","description":"Error information for failed async jobs.\n\nProvides structured error information with user-facing messages and\ndeveloper debugging information. The traceback is stored in Firestore\nbut excluded from API responses.\n\nAttributes:\n    code: Machine-readable error code for programmatic handling.\n        Examples: \"LANDFIRE_COVERAGE_ERROR\", \"SOURCE_GRID_NOT_FOUND\"\n    message: User-friendly explanation of what went wrong.\n    suggestion: Optional actionable advice for resolving the error.\n    traceback: Full Python stack trace for debugging. Stored in Firestore\n        but not included in API responses."},"JobProgress":{"properties":{"percent":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Percent","description":"Completion percentage (0-100), null if indeterminate"},"message":{"type":"string","title":"Message","description":"Human-readable status message, e.g. 'Fetching LANDFIRE data...'"}},"type":"object","required":["message"],"title":"JobProgress","description":"Progress information for running async jobs.\n\nProvides real-time feedback during long-running operations.\n\nAttributes:\n    percent: Completion percentage (0-100). Null for indeterminate operations\n        like \"Connecting to LANDFIRE...\" where progress can't be quantified.\n    message: Human-readable status message describing what's happening."},"JobResourceUsage":{"properties":{"active":{"$ref":"#/components/schemas/UsageCount","description":"Concurrent in-flight (pending/running) jobs vs. the active limit."},"total":{"$ref":"#/components/schemas/UsageCount","description":"Total resources of this type vs. the count limit."},"storage":{"$ref":"#/components/schemas/UsageStorage","description":"Summed stored-artifact bytes vs. the per-type storage limit."}},"type":"object","required":["active","total","storage"],"title":"JobResourceUsage","description":"Usage for a resource type that produces jobs and stores artifacts."},"JobStatus":{"type":"string","enum":["pending","running","completed","failed"],"title":"JobStatus","description":"Status of an async job."},"Key":{"properties":{"id":{"type":"string","title":"Id","description":"Unique identifier for the key (SHA-256 hash of the secret)."},"owner_id":{"type":"string","title":"Owner Id","description":"The unique ID of the user or application who owns the key."},"creator_id":{"type":"string","title":"Creator Id","description":"The unique ID of the human user who created the key."},"name":{"type":"string","title":"Name","description":"A name to semantically identify the key."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"An optional description of the key's purpose."},"valid_days":{"type":"integer","title":"Valid Days","description":"Number of days for which this key will be valid.","default":30},"scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array","title":"Scopes","description":"A list of scopes available to the key.","default":["read"]},"access":{"$ref":"#/components/schemas/Access","description":"Access type for the API key.","default":"personal"},"application_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Id","description":"Application ID accessed by the API key."},"created_on":{"type":"string","format":"date-time","title":"Created On","description":"The date and time the key was created."},"expires_on":{"type":"string","format":"date-time","title":"Expires On","description":"The date at which this key is no longer valid."}},"type":"object","required":["id","owner_id","creator_id","name"],"title":"Key","description":"Represents an API key for authenticating programmatic API access."},"LandfireCanopyFuelBand":{"type":"string","enum":["chm","cbd","cbh","cc"],"title":"LandfireCanopyFuelBand","description":"Selectable bands on the LANDFIRE canopy fuel source.\n\nThese are the four LANDFIRE canopy fuel products: canopy height\n(``chm``), canopy bulk density (``cbd``), canopy base height\n(``cbh``), and canopy cover (``cc``). The ``chm`` member shares its\nband key with the Meta and NAIP CHM sources so downstream consumers\nthat read a single ``chm`` band can use any of the three.","x-enum-metadata":{"cbd":{"description":"Mass of available canopy fuel per unit canopy volume.","name":"Canopy Bulk Density","type":"continuous","unit":"kg/m**3"},"cbh":{"description":"Height above ground of the base of the canopy fuel layer.","name":"Canopy Base Height","type":"continuous","unit":"m"},"cc":{"description":"Fraction of ground covered by tree canopy (%).","name":"Canopy Cover","type":"continuous","unit":"%"},"chm":{"description":"Height above ground of the canopy top.","name":"Canopy Height","type":"continuous","unit":"m"}}},"LandfireCanopyVersion":{"type":"string","enum":["2024","2025"],"title":"LandfireCanopyVersion"},"LandfireCoverage":{"type":"string","enum":["full","partial","none","unpublished"],"title":"LandfireCoverage","description":"How much of a domain a LANDFIRE release covers."},"LandfireCoverageResponse":{"properties":{"product":{"type":"string","title":"Product"},"latest":{"anyOf":[{"$ref":"#/components/schemas/LandfireReleaseCoverage"},{"type":"null"}],"description":"The release representing the most recent point in time that fully covers the domain. Null when none does."},"releases":{"items":{"$ref":"#/components/schemas/LandfireReleaseCoverage"},"type":"array","title":"Releases","description":"Every release the API serves, newest first by the time the data represents. Seasons LANDFIRE hasn't published yet are listed where they will land once published."}},"type":"object","required":["product","latest","releases"],"title":"LandfireCoverageResponse","description":"Response model for the LANDFIRE release coverage pre-flight check."},"LandfireCreateLink":{"properties":{"href":{"type":"string","title":"Href","description":"Path of the create endpoint on the API host, including `/v2`."},"method":{"type":"string","const":"POST","title":"Method","default":"POST"},"body":{"additionalProperties":true,"type":"object","title":"Body","description":"Request body selecting this release."}},"type":"object","required":["href","body"],"title":"LandfireCreateLink","description":"The create request that fetches a release for this domain."},"LandfireDisturbanceRequest":{"properties":{"source":{"type":"string","const":"landfire","title":"Source","description":"Where the disturbance comes from. Only 'landfire' is supported."}},"type":"object","required":["source"],"title":"LandfireDisturbanceRequest","description":"Request for a disturbance-adjusted LANDFIRE fuel model grid.\n\nThe API chooses the baseline version and disturbance layers, and\nstores that choice on the grid as a `LandfireDisturbancePlan`."},"LandfireDisturbanceVersion":{"type":"string","enum":["2025"],"title":"LandfireDisturbanceVersion"},"LandfireFbfm13Version":{"type":"string","enum":["2023","2024","2025"],"title":"LandfireFbfm13Version"},"LandfireFbfm40Version":{"type":"string","enum":["2019","2020","2022","2023","2024","2025"],"title":"LandfireFbfm40Version"},"LandfireFccsVersion":{"type":"string","enum":["2023","2025"],"title":"LandfireFccsVersion"},"LandfireReleaseCoverage":{"properties":{"version":{"type":"string","title":"Version","description":"LANDFIRE landscape vintage year."},"season":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Season","description":"LANDFIRE Seasonal Fuels window, or null for the annual product."},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year","description":"Calendar year the data represents: the vintage for annual releases, the projected season year for seasonal ones. Null for a season LANDFIRE hasn't published yet."},"coverage":{"$ref":"#/components/schemas/LandfireCoverage","description":"`full` or `partial` releases can be created for this domain; `none` is served elsewhere but not here; `unpublished` isn't served anywhere yet."},"links":{"$ref":"#/components/schemas/LandfireReleaseLinks"}},"type":"object","required":["version","season","year","coverage","links"],"title":"LandfireReleaseCoverage","description":"One release of a LANDFIRE product and its coverage of the domain."},"LandfireReleaseLinks":{"properties":{"create":{"anyOf":[{"$ref":"#/components/schemas/LandfireCreateLink"},{"type":"null"}],"description":"Request that creates a grid from this release. Null when the release doesn't cover the domain, so the create would be rejected."}},"type":"object","required":["create"],"title":"LandfireReleaseLinks","description":"Actions available for a release on this domain."},"LandfireSeason":{"type":"string","enum":["ES","SP","SU","FA"],"title":"LandfireSeason"},"LandfireTopographyVersion":{"type":"string","enum":["2020"],"title":"LandfireTopographyVersion","description":"Available LANDFIRE topography data versions."},"LandscapeExportAlignmentDomainTarget":{"properties":{"target":{"type":"string","const":"domain","title":"Target","default":"domain"},"resolution":{"type":"number","exclusiveMinimum":0.0,"title":"Resolution","description":"Landscape cell size in meters. Defaults to 30 m, LANDFIRE's native resolution.","default":30.0}},"type":"object","title":"LandscapeExportAlignmentDomainTarget","description":"Anchor the landscape to the Domain bounding box.\n\nOutput cells tile the Domain bbox at `resolution`, padded outward if the\nbbox isn't already a whole multiple. The default 30 m matches LANDFIRE's\nnative resolution."},"LandscapeExportAlignmentGridTarget":{"properties":{"target":{"type":"string","const":"grid","title":"Target"},"grid_id":{"type":"string","title":"Grid Id","description":"Existing grid whose lattice (CRS, transform, shape) the landscape should match exactly."}},"type":"object","required":["target","grid_id"],"title":"LandscapeExportAlignmentGridTarget","description":"Anchor the landscape to an existing grid's lattice.\n\nUseful when role grids share a non-Domain-anchored lattice (e.g. all\nchained off a `target=\"native\"` master grid). The referenced grid's\nCRS, transform, and shape become the landscape lattice.","x-input-requirements":[{"field":"grid_id","resource":"grid"}]},"LandscapeExportRequest":{"properties":{"alignment":{"oneOf":[{"$ref":"#/components/schemas/LandscapeExportAlignmentDomainTarget"},{"$ref":"#/components/schemas/LandscapeExportAlignmentGridTarget"}],"title":"Alignment","description":"How the landscape lattice is defined. Discriminated by `target`: `'domain'` (default) tiles the Domain bbox at `resolution`; `'grid'` matches an existing grid's lattice exactly. Omit for the default Domain-anchored 30 m landscape.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/LandscapeExportAlignmentDomainTarget","grid":"#/components/schemas/LandscapeExportAlignmentGridTarget"}}},"fire_behavior_fuel_model":{"type":"string","enum":["fbfm13","fbfm40"],"title":"Fire Behavior Fuel Model","description":"How the `fuel_model` band's codes should be interpreted: `'fbfm40'` (Scott-Burgan 40) or `'fbfm13'` (Anderson 13). Recorded in the landscape file so fire behavior tools apply the right classification."},"elevation":{"$ref":"#/components/schemas/LandscapeFieldSource","description":"2D elevation (m), e.g. a topography-grid 'elevation' band."},"slope":{"$ref":"#/components/schemas/LandscapeFieldSource","description":"2D slope (deg), e.g. a topography-grid 'slope' band."},"aspect":{"$ref":"#/components/schemas/LandscapeFieldSource","description":"2D aspect (deg, azimuth from north), e.g. a topography-grid 'aspect' band."},"fuel_model":{"$ref":"#/components/schemas/LandscapeFieldSource","description":"2D categorical fire behavior fuel model codes, e.g. an fbfm40-grid 'fbfm' band. Interpreted per `fire_behavior_fuel_model`."},"canopy_cover":{"$ref":"#/components/schemas/LandscapeFieldSource","description":"2D canopy cover (%), e.g. a canopy-grid 'cc' band."},"canopy_height":{"$ref":"#/components/schemas/LandscapeFieldSource","description":"2D canopy height (m), e.g. a canopy-grid 'chm' band."},"canopy_base_height":{"$ref":"#/components/schemas/LandscapeFieldSource","description":"2D canopy base height (m), e.g. a canopy-grid 'cbh' band."},"canopy_bulk_density":{"$ref":"#/components/schemas/LandscapeFieldSource","description":"2D canopy bulk density (kg/m**3), e.g. a canopy-grid 'cbd' band."},"expiration_days":{"type":"integer","maximum":7.0,"minimum":1.0,"title":"Expiration Days","description":"Days until the signed download URL expires (max 7).","default":7},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"}},"type":"object","required":["fire_behavior_fuel_model","elevation","slope","aspect","fuel_model","canopy_cover","canopy_height","canopy_base_height","canopy_bulk_density"],"title":"LandscapeExportRequest","description":"Request body for creating a landscape export.\n\nEight required roles produce an 8-band landscape GeoTIFF in LANDFIRE band\norder: elevation, slope, aspect, fuel model, canopy cover, canopy height,\ncanopy base height, canopy bulk density. This is the shape modern fire\nbehavior tools consume — IFTDSS requires all eight bands for upload.\n\nThe landscape lattice is defined by the `alignment` field — either the\nDomain bounding box tiled at `resolution` (default 30 m, LANDFIRE-native),\nor the lattice of an existing grid. Every role grid must be lattice-aligned\nto the landscape and cover its full extent; otherwise the request is\nrejected with 422. The exporter only crops oversized roles by integer\nslicing — it never resamples or reprojects. To change a grid's resolution\nor anchor, use `POST /v2/domains/{domain_id}/grids/{grid_id}/resample`."},"LandscapeFieldSource":{"properties":{"grid_id":{"type":"string","title":"Grid Id","description":"Grid containing the source band."},"band":{"type":"string","title":"Band","description":"Band key on that grid (e.g. 'elevation')."}},"type":"object","required":["grid_id","band"],"title":"LandscapeFieldSource","description":"A single landscape band drawn from one band on one grid."},"LayersetCrs":{"properties":{"type":{"type":"string","title":"Type","default":"name"},"properties":{"additionalProperties":true,"type":"object","title":"Properties"}},"type":"object","title":"LayersetCrs","description":"Optional GeoJSON crs block.\n\nPer RFC 7946, ``crs`` is deprecated at the GeoJSON level (and\n``geojson_pydantic`` therefore omits it), but the team's pipeline emits\nit and downstream consumers (geopandas, this server) read it to anchor\nbounds and the projected-CRS check in the upload router."},"LayersetFeature":{"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":{"$ref":"#/components/schemas/LayersetProperties"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","required":["type","geometry","properties"],"title":"LayersetFeature","description":"One Feature in the layerset FeatureCollection.\n\nInherits coordinate validation from ``geojson_pydantic``. Both\n``Polygon`` and ``MultiPolygon`` are accepted because standard tooling\n(QGIS, GDAL, geopandas) emits ``Polygon`` for single-ring features and\n``MultiPolygon`` for multi-ring ones. ``properties`` is narrowed to\nnon-Optional because every fuelbed row must carry the rasterizer's\nrequired columns."},"LayersetProperties":{"properties":{"strata_fb":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Strata Fb"},"fuel_type":{"type":"string","title":"Fuel Type"},"fuel_loading":{"type":"number","title":"Fuel Loading"},"fuel_height":{"type":"number","title":"Fuel Height"},"percent_cover":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Percent Cover"},"distribution":{"$ref":"#/components/schemas/Distribution"},"patch_size":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Patch Size"},"live_fuel_moisture":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Live Fuel Moisture"},"dead_fuel_moisture":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dead Fuel Moisture"},"heat_of_combustion":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heat Of Combustion"},"patch_std_dev":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Patch Std Dev"}},"type":"object","required":["fuel_type","fuel_loading","fuel_height","percent_cover","distribution"],"title":"LayersetProperties","description":"Per-feature properties — one row of input to ``rasterize_layerset``.\n\nRequired fields match the rasterizer's required input columns. Optional\nfields map to the rasterizer's optional bands; omitting them leaves the\ncorresponding output band as NaN."},"LeafluxBand":{"type":"string","enum":["irradiance.canopy.relative","irradiance.surface.relative"],"title":"LeafluxBand","description":"Available output bands for LeafLux irradiance grids.\n\nEach value is the band's dot-notation key as it appears in the stored\nGrid document. Band definitions (type, unit) live in LEAFLUX_BAND_DEFS.","x-enum-metadata":{"irradiance.canopy.relative":{"description":"Per-voxel relative irradiance within the canopy [0-1], from Beer-Lambert attenuation through leaf area density.","name":"Relative Irradiance in Canopy","type":"continuous"},"irradiance.surface.relative":{"description":"Relative irradiance on the terrain surface [0-1] beneath the canopy.","name":"Relative Irradiance on Surface","type":"continuous"}}},"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"},"ListApplicationsResponse":{"properties":{"current_page":{"type":"integer","title":"Current Page","description":"The current page number (zero-indexed)."},"page_size":{"type":"integer","title":"Page Size","description":"The number of items per page."},"total_items":{"type":"integer","title":"Total Items","description":"The total number of items across all pages."},"applications":{"items":{"$ref":"#/components/schemas/Application"},"type":"array","title":"Applications","description":"A list of applications."}},"type":"object","required":["current_page","page_size","total_items","applications"],"title":"ListApplicationsResponse","description":"Paginated response for listing applications."},"ListDomainsResponse":{"properties":{"current_page":{"type":"integer","title":"Current Page","description":"The current page number (zero-indexed)."},"page_size":{"type":"integer","title":"Page Size","description":"The number of items per page."},"total_items":{"type":"integer","title":"Total Items","description":"The total number of items across all pages."},"domains":{"items":{"$ref":"#/components/schemas/Domain"},"type":"array","title":"Domains","description":"The list of domain resources for the current page."}},"type":"object","required":["current_page","page_size","total_items","domains"],"title":"ListDomainsResponse","description":"Paginated response for listing domain resources."},"ListExportsResponse":{"properties":{"current_page":{"type":"integer","title":"Current Page","description":"The current page number (zero-indexed)."},"page_size":{"type":"integer","title":"Page Size","description":"The number of items per page."},"total_items":{"type":"integer","title":"Total Items","description":"The total number of items across all pages."},"exports":{"items":{"$ref":"#/components/schemas/Export"},"type":"array","title":"Exports"}},"type":"object","required":["current_page","page_size","total_items","exports"],"title":"ListExportsResponse","description":"Paginated response for listing exports."},"ListFeaturesResponse":{"properties":{"current_page":{"type":"integer","title":"Current Page","description":"The current page number (zero-indexed)."},"page_size":{"type":"integer","title":"Page Size","description":"The number of items per page."},"total_items":{"type":"integer","title":"Total Items","description":"The total number of items across all pages."},"features":{"items":{"$ref":"#/components/schemas/Feature"},"type":"array","title":"Features"}},"type":"object","required":["current_page","page_size","total_items","features"],"title":"ListFeaturesResponse","description":"Paginated response for listing features."},"ListGridsResponse":{"properties":{"current_page":{"type":"integer","title":"Current Page","description":"The current page number (zero-indexed)."},"page_size":{"type":"integer","title":"Page Size","description":"The number of items per page."},"total_items":{"type":"integer","title":"Total Items","description":"The total number of items across all pages."},"grids":{"items":{"$ref":"#/components/schemas/Grid"},"type":"array","title":"Grids"}},"type":"object","required":["current_page","page_size","total_items","grids"],"title":"ListGridsResponse","description":"Paginated response for listing grids."},"ListInventoriesResponse":{"properties":{"current_page":{"type":"integer","title":"Current Page","description":"The current page number (zero-indexed)."},"page_size":{"type":"integer","title":"Page Size","description":"The number of items per page."},"total_items":{"type":"integer","title":"Total Items","description":"The total number of items across all pages."},"inventories":{"items":{"$ref":"#/components/schemas/Inventory"},"type":"array","title":"Inventories"}},"type":"object","required":["current_page","page_size","total_items","inventories"],"title":"ListInventoriesResponse","description":"Paginated response for listing inventories."},"ListKeysResponse":{"properties":{"current_page":{"type":"integer","title":"Current Page","description":"The current page number (zero-indexed)."},"page_size":{"type":"integer","title":"Page Size","description":"The number of items per page."},"total_items":{"type":"integer","title":"Total Items","description":"The total number of items across all pages."},"keys":{"items":{"$ref":"#/components/schemas/Key"},"type":"array","title":"Keys","description":"A list of API keys."}},"type":"object","required":["current_page","page_size","total_items","keys"],"title":"ListKeysResponse","description":"Paginated response for listing API keys."},"ListPointCloudsResponse":{"properties":{"current_page":{"type":"integer","title":"Current Page","description":"The current page number (zero-indexed)."},"page_size":{"type":"integer","title":"Page Size","description":"The number of items per page."},"total_items":{"type":"integer","title":"Total Items","description":"The total number of items across all pages."},"point_clouds":{"items":{"$ref":"#/components/schemas/PointCloud"},"type":"array","title":"Point Clouds"}},"type":"object","required":["current_page","page_size","total_items","point_clouds"],"title":"ListPointCloudsResponse","description":"Paginated response for listing point clouds."},"MaxCrownRadiusUnit":{"type":"string","enum":["m"],"title":"MaxCrownRadiusUnit","description":"Accepted inventory max crown radius units."},"MetaCHMVersion":{"type":"string","enum":["1","2"],"title":"MetaCHMVersion","description":"Available Meta CHM data versions."},"Modifier":{"type":"string","enum":["multiply","divide","add","subtract","replace"],"title":"Modifier","description":"Modifiers for action clauses: how a selected value is changed.\n\nAn action ``{attribute, modifier, value}`` mutates the attribute of every\nselected cell/tree: ``add``/``subtract``/``multiply``/``divide`` apply the\narithmetic operation against ``value``; ``replace`` overwrites with\n``value``. ``add`` and friends are arithmetic operators, so they *are*\noperators too — the field is named ``modifier`` rather than ``operator``\nto keep it distinct from a condition's comparison operator (see\n:class:`Operator`) and because ``replace`` is an assignment, not\narithmetic."},"MoistureModel":{"properties":{"live":{"anyOf":[{"$ref":"#/components/schemas/UniformMoistureValue"},{"type":"null"}]},"dead":{"anyOf":[{"$ref":"#/components/schemas/UniformMoistureValue"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"MoistureModel","description":"Live/dead fuel moisture settings."},"Monleon2004Eq1Model":{"properties":{"name":{"type":"string","const":"monleon_2004_eq1","title":"Name","default":"monleon_2004_eq1"}},"type":"object","title":"Monleon2004Eq1Model","description":"Monleon, Azuma and Gedney (2004) Eq. 1, fitted in California, Oregon and\nWashington from crown ratio, dbh and height. Covers 28 species plus other\npines and oaks; other species get no crown base."},"Monleon2004Eq2Model":{"properties":{"name":{"type":"string","const":"monleon_2004_eq2","title":"Name","default":"monleon_2004_eq2"}},"type":"object","title":"Monleon2004Eq2Model","description":"Monleon, Azuma and Gedney (2004) Eq. 2, fitted in California, Oregon and\nWashington from crown ratio and dbh. Covers the Eq. 1 species plus other\npines and oaks; other species get no crown base."},"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"},"NaipChmCoverage":{"type":"string","enum":["full","partial","none"],"title":"NaipChmCoverage","description":"How much of a domain a NAIP year covers."},"NaipChmCoverageResponse":{"properties":{"product":{"type":"string","const":"naip","title":"Product","default":"naip"},"default":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Default","description":"Year a create request without `year` uses: the latest year that fully covers the domain. Null when no single year does; such a request then uses the latest year available in each part of the domain."},"years":{"items":{"$ref":"#/components/schemas/NaipChmYearCoverageResponse"},"type":"array","title":"Years","description":"Every NAIP year in the dataset, newest first."}},"type":"object","required":["default","years"],"title":"NaipChmCoverageResponse","description":"Response model for the NAIP CHM coverage pre-flight check.","examples":[{"default":2023,"product":"naip","years":[{"coverage":"partial","links":{"create":{"body":{"year":2025},"href":"/v2/domains/abc123/grids/canopy/naip","method":"POST"}},"percent":62.76,"year":2025},{"coverage":"full","links":{"create":{"body":{"year":2023},"href":"/v2/domains/abc123/grids/canopy/naip","method":"POST"}},"percent":100.0,"year":2023},{"coverage":"none","links":{},"percent":0.0,"year":2022}]}]},"NaipChmCreateLink":{"properties":{"href":{"type":"string","title":"Href","description":"Path of the create endpoint on the API host, including `/v2`."},"method":{"type":"string","const":"POST","title":"Method","default":"POST"},"body":{"additionalProperties":true,"type":"object","title":"Body","description":"Request body selecting this year."}},"type":"object","required":["href","body"],"title":"NaipChmCreateLink","description":"The create request that builds a grid from one NAIP year."},"NaipChmYearCoverageResponse":{"properties":{"year":{"type":"integer","title":"Year","description":"NAIP acquisition year."},"coverage":{"$ref":"#/components/schemas/NaipChmCoverage","description":"`full` or `partial` years can be created for this domain; a `partial` year leaves the uncovered part of the domain nodata. `none` years don't cover the domain."},"percent":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Percent","description":"Share of the domain this year covers, in percent."},"links":{"$ref":"#/components/schemas/NaipChmYearLinks"}},"type":"object","required":["year","coverage","percent","links"],"title":"NaipChmYearCoverageResponse","description":"One NAIP year and its coverage of the domain."},"NaipChmYearLinks":{"properties":{"create":{"anyOf":[{"$ref":"#/components/schemas/NaipChmCreateLink"},{"type":"null"}],"description":"Request that creates a grid from this year. Null when the year doesn't cover the domain, so the create would be rejected."}},"type":"object","required":["create"],"title":"NaipChmYearLinks","description":"Actions available for a NAIP year on this domain."},"NonBurnableFuelModel":{"type":"string","enum":["NB1","NB2","NB3","NB8","NB9"],"title":"NonBurnableFuelModel","description":"Non-burnable LANDFIRE fuel model codes, shared across FBFM40/FBFM13."},"Operator":{"type":"string","enum":["eq","ne","gt","lt","ge","le"],"title":"Operator","description":"Comparison operators for condition clauses.\n\nA condition ``{attribute, operator, value}`` *tests* the attribute against\nthe value (e.g. ``le`` selects where attribute ≤ value) to choose which\ncells/trees an action applies to. Conditions only select; they never\nchange data. These are relational operators; the arithmetic side of a\nmodification is spelled ``modifier`` (see :class:`Modifier`) so the two\nclause roles stay distinct."},"OverlapMethod":{"type":"string","enum":["mean","max","min"],"title":"OverlapMethod","description":"Per-cell reduction when multiple polygons of the same ``fuel_type``\noverlap a cell. Applies to ``height`` and the optional bands only —\n``loading`` is always summed by ``fastfuels_core.rasterize_layerset``\nregardless of this setting."},"ParametricCrownGeometrySource":{"properties":{"type":{"type":"string","const":"parametric","title":"Type","default":"parametric"}},"additionalProperties":false,"type":"object","title":"ParametricCrownGeometrySource","description":"Draw every crown from `crown_profile_model` (default)."},"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"},"PointCloud":{"properties":{"id":{"type":"string","title":"Id","description":"Unique 32-character hex identifier for this point cloud."},"domain_id":{"type":"string","title":"Domain Id","description":"Identifier of the domain this point cloud belongs to."},"type":{"$ref":"#/components/schemas/PointCloudType","description":"How the cloud was acquired: `als` (airborne) or `tls` (terrestrial). Set when the point cloud is created and never changes. Filter a list by this field to separate airborne scans from terrestrial ones."},"name":{"type":"string","title":"Name","description":"Human-readable name for the point cloud.","default":""},"description":{"type":"string","title":"Description","description":"Longer free-text description of the point cloud.","default":""},"status":{"$ref":"#/components/schemas/JobStatus","description":"Processing state: `pending` (queued), `running` (ingesting), `completed` (ready to use), or `failed`. Derived fields are populated only once `completed`."},"progress":{"anyOf":[{"$ref":"#/components/schemas/JobProgress"},{"type":"null"}],"description":"Progress info while `status` is `running`. Null otherwise."},"created_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created On","description":"When the point cloud was created."},"modified_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Modified On","description":"When the point cloud was last modified."},"checksum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checksum","description":"Version marker for this point cloud's content. It changes each time the point cloud is rebuilt and is unaffected by metadata-only edits (name, description, tags). A resource derived from this point cloud stores the checksum it was built from; comparing that stored value against this field reveals whether this point cloud has changed since. May be null for point clouds created before checksums were introduced."},"source":{"additionalProperties":true,"type":"object","title":"Source","description":"Provenance of the point cloud — where its points came from. Always carries a `name` discriminator (`upload` for a user-supplied file, `3dep` for a USGS 3DEP fetch) alongside source-specific parameters. Stored verbatim so the cloud can be reproduced from its origin.","examples":[{"name":"3dep"},{"name":"upload"}]},"georeference":{"anyOf":[{"$ref":"#/components/schemas/PointCloudGeoreference"},{"type":"null"}],"description":"Coordinate reference system and 3D extent of the points. Null until the backend finishes ingesting the cloud."},"summary":{"anyOf":[{"$ref":"#/components/schemas/PointCloudSummary"},{"type":"null"}],"description":"Summary statistics — point count, classification codes present, and density — describing the cloud's contents. Null until the backend finishes ingesting the cloud."},"error":{"anyOf":[{"$ref":"#/components/schemas/JobError"},{"type":"null"}],"description":"Details when `status` is `failed`. The traceback is stored but not exposed in API responses."},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"User-assigned tags for organizing and filtering point clouds."}},"type":"object","required":["id","domain_id","type","status","source"],"title":"PointCloud","description":"A laser-scanned point cloud scoped to a single domain.\n\nPoint clouds are created asynchronously: a creation request returns\nimmediately with ``status=\"pending\"`` and the file is ingested in the\nbackground. While ``status`` is ``\"pending\"`` or ``\"running\"`` the\nderived fields (`georeference`) are ``null``; the backend fills them in once\ningestion succeeds and flips ``status`` to ``\"completed\"``. If ingestion\nfails, ``status`` becomes ``\"failed\"`` and `error` explains why.\n\nA completed point cloud is an input you compose with other resources — most\ndirectly, an ALS cloud feeds a canopy-height-model grid, which feeds a tree\ninventory.","examples":[{"checksum":"c0ffee00c0ffee00c0ffee00c0ffee00","created_on":"2026-06-01T17:42:10Z","description":"3DEP airborne lidar over the Bridger study area.","domain_id":"1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d","georeference":{"bounds":[500000.0,5060000.0,1800.0,501000.0,5061000.0,1980.0],"crs":"EPSG:32612"},"id":"9f1c2a7b4e0d4c8a9b2e1f3a5c6d7e8f","modified_on":"2026-06-01T17:48:55Z","name":"Bridger ALS 2020","source":{"catalog_fetched_on":"2026-06-01T17:42:10Z","coverage_fraction":1.0,"datasets":["WY_Southwest_1_2020"],"name":"3dep"},"status":"completed","summary":{"density":18.7,"point_classes":[1,2,3,4,5],"point_count":12873402},"tags":["bridger","als"],"type":"als"},{"checksum":"feedface00feedface00feedface0011","created_on":"2026-06-09T12:00:00Z","description":"","domain_id":"1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d","id":"0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a","modified_on":"2026-06-09T12:00:00Z","name":"Plot 14 TLS","source":{"name":"upload"},"status":"pending","tags":["plot-14"],"type":"tls"}]},"PointCloudDataMetadata":{"properties":{"tile_m":{"type":"number","exclusiveMinimum":0.0,"title":"Tile M","description":"Tile width and height in the horizontal units of `crs`.","examples":[383.90732487570494]},"lod_levels":{"type":"integer","minimum":1.0,"title":"Lod Levels","description":"Number of cumulative levels of detail. Valid `lod` query values are `0` through `lod_levels - 1`; omitting `lod` reads the final, complete level.","examples":[6]},"crs":{"type":"string","title":"Crs","description":"Coordinate reference system for decoded X/Y coordinates and all reported horizontal bounds.","examples":["EPSG:32612"]},"bounds":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4,"title":"Bounds","description":"Overall horizontal point extent as `[min_x, min_y, max_x, max_y]` in `crs`.","examples":[[294094.992,5198981.67,294784.075,5199749.485]]},"scales":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":3,"minItems":3,"title":"Scales","description":"Coordinate scale factors in X/Y/Z order. Decode axis `i` with `stored_integer * scales[i] + offsets[i]`.","examples":[[0.001,0.001,0.001]]},"offsets":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":3,"minItems":3,"title":"Offsets","description":"Coordinate offsets in X/Y/Z order. Decode axis `i` with `stored_integer * scales[i] + offsets[i]`.","examples":[[294094.0,5198981.0,0.0]]},"columns":{"additionalProperties":{"type":"string"},"type":"object","title":"Columns","description":"Public stored column names mapped to NumPy-compatible dtypes. Use these names in the comma-separated `columns` query parameter. X/Y/Z remain scaled integers on the wire.","examples":[{"X":"int32","Y":"int32","Z":"int32","classification":"uint8","intensity":"uint16"}]},"tiles":{"items":{"$ref":"#/components/schemas/PointCloudTileMetadata"},"type":"array","title":"Tiles","description":"Occupied tiles sorted by `(tile_x, tile_y)`. Empty positions are omitted; only listed tile coordinates are valid data requests."}},"type":"object","required":["tile_m","lod_levels","crs","bounds","scales","offsets","columns","tiles"],"title":"PointCloudDataMetadata","description":"Public tile index used to discover and budget point-data requests.","examples":[{"bounds":[294094.992,5198981.67,294784.075,5199749.485],"columns":{"X":"int32","Y":"int32","Z":"int32","classification":"uint8","intensity":"uint16"},"crs":"EPSG:32612","lod_levels":6,"offsets":[294094.0,5198981.0,0.0],"scales":[0.001,0.001,0.001],"tile_m":383.90732487570494,"tiles":[{"bounds":[294094.992,5199365.577,294478.9,5199749.485],"points_by_lod":[2898,11592,46368,185472,741887,2967547],"tile_x":0,"tile_y":1}]}]},"PointCloudGeoreference":{"properties":{"crs":{"type":"string","title":"Crs","description":"Coordinate reference system the points are stored in, as an authority code (e.g. `EPSG:32613`). This is always the domain's CRS: uploads in a different CRS are reprojected during ingestion. Only horizontal coordinates are transformed — elevations are stored exactly as the source provided them and are never converted between reference surfaces.","examples":["EPSG:32613","EPSG:5070"]},"bounds":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6,"title":"Bounds","description":"Axis-aligned 3D bounding box of every point, given as `[min_x, min_y, min_z, max_x, max_y, max_z]` in the units of `crs`. Point clouds are three-dimensional, so the box includes a vertical (z) extent. Use it to check coverage against a domain before deriving products from the cloud.","examples":[[500000.0,4300000.0,1800.0,501000.0,4301000.0,1950.0]]}},"type":"object","required":["crs","bounds"],"title":"PointCloudGeoreference","description":"The coordinate reference system and 3D extent of a point cloud.\n\nPopulated by the backend after the cloud is ingested and inspected; it is\n``null`` while the point cloud is still ``pending`` or ``running``."},"PointCloudSortField":{"type":"string","enum":["created_on","modified_on","name"],"title":"PointCloudSortField","description":"Fields available for sorting point cloud list results."},"PointCloudSummary":{"properties":{"point_count":{"type":"integer","title":"Point Count","description":"Total number of points in the cloud.","examples":[12873402]},"point_classes":{"items":{"type":"integer"},"type":"array","title":"Point Classes","description":"ASPRS standard classification codes present in the cloud, sorted ascending. Common codes include `1` (unclassified), `2` (ground), and `3`, `4`, `5` (low, medium, high vegetation).","examples":[[1,2,3,4,5]]},"density":{"type":"number","title":"Density","description":"Average point density over the cloud's horizontal extent, in points per square meter.","examples":[18.7]}},"type":"object","required":["point_count","point_classes","density"],"title":"PointCloudSummary","description":"Summary statistics describing the contents of a point cloud.\n\nPopulated by the backend after the cloud is ingested and inspected; it is\n``null`` while the point cloud is still ``pending`` or ``running``. Use it to\ngauge a cloud's size, density, and composition without downloading it."},"PointCloudTileDataResponse":{"properties":{"tile_x":{"type":"integer","title":"Tile X","description":"Requested horizontal tile index."},"tile_y":{"type":"integer","title":"Tile Y","description":"Requested vertical tile index."},"bounds":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4,"title":"Bounds","description":"Horizontal tile bounds as `[min_x, min_y, max_x, max_y]` in the point cloud's CRS."},"lod":{"type":"integer","minimum":0.0,"title":"Lod","description":"Inclusive LOD ceiling used for this response. The response contains stored levels `0` through this value."},"classes":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Classes","description":"Sorted ASPRS classes retained by the request, or null when no classification filter was applied."},"scales":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":3,"minItems":3,"title":"Scales","description":"Coordinate scales in X/Y/Z order. Decode coordinate axis `i` with `stored_integer * scales[i] + offsets[i]`."},"offsets":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":3,"minItems":3,"title":"Offsets","description":"Coordinate offsets in X/Y/Z order."},"columns":{"additionalProperties":{"type":"string"},"type":"object","title":"Columns","description":"Returned column names mapped to their NumPy-compatible dtypes. Only requested columns are present."},"data":{"additionalProperties":{"items":{"type":"integer"},"type":"array"},"type":"object","title":"Data","description":"Columnar point values. Every array has equal length, and values at the same array index describe the same point. X/Y/Z values are stored integers decoded with `scales` and `offsets`."}},"type":"object","required":["tile_x","tile_y","bounds","lod","classes","scales","offsets","columns","data"],"title":"PointCloudTileDataResponse","description":"Columnar JSON values for one point-cloud tile selection.","examples":[{"bounds":[293711.08485993545,5198981.669894749,294094.99218481116,5199365.577219625],"classes":[1,2],"columns":{"X":"int32","Y":"int32","Z":"int32","classification":"uint8"},"data":{"X":[992,992],"Y":[346497,64586],"Z":[1077190,1051360],"classification":[1,2]},"lod":5,"offsets":[294094.0,5198981.0,0.0],"scales":[0.001,0.001,0.001],"tile_x":-1,"tile_y":0}]},"PointCloudTileMetadata":{"properties":{"tile_x":{"type":"integer","title":"Tile X","description":"Horizontal tile index. Pass this value as `tile_x` to a point-cloud data endpoint. Negative indices are valid for boundary points that fall just west of the tiling origin.","examples":[0]},"tile_y":{"type":"integer","title":"Tile Y","description":"Vertical tile index. Pass this value as `tile_y` to a point-cloud data endpoint. Negative indices are valid.","examples":[1]},"bounds":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4,"title":"Bounds","description":"Horizontal tile bounds as `[min_x, min_y, max_x, max_y]` in the metadata response's `crs`. A boundary tile can extend beyond the point cloud's overall bounds.","examples":[[294094.99,5199365.58,294478.9,5199749.49]]},"points_by_lod":{"items":{"type":"integer"},"type":"array","minItems":1,"title":"Points By Lod","description":"Cumulative point counts by LOD. Element `k` is the exact number of rows returned by `lod=k` before optional classification filtering. Counts never decrease; the final value is the complete tile. Repeated values are valid for sparse tiles.","examples":[[2898,11592,46368,185472,741887,2967547]]}},"type":"object","required":["tile_x","tile_y","bounds","points_by_lod"],"title":"PointCloudTileMetadata","description":"Location and cumulative LOD costs for one occupied point-cloud tile."},"PointCloudType":{"type":"string","enum":["als","tls"],"title":"PointCloudType","description":"How a point cloud was acquired.\n\nThe acquisition platform determines the cloud's geometry and which downstream\nproducts it can feed, so it is recorded as a first-class, filterable field.\n\n- ``als`` — **Airborne Laser Scanning.** Captured from an aircraft or drone\n  looking down. Covers large areas from above and is the basis for canopy\n  height models and individual-tree detection. Available from an upload or\n  from USGS 3DEP.\n- ``tls`` — **Terrestrial Laser Scanning.** Captured from a tripod-mounted\n  scanner on the ground looking out and up. Resolves fine sub-canopy and\n  stem structure over a small plot. Available from an upload only (3DEP is\n  airborne and cannot produce terrestrial scans)."},"PointCloudUploadCreatedResponse":{"properties":{"point_cloud":{"$ref":"#/components/schemas/PointCloud","description":"The created point cloud, with `status` set to `pending`."},"upload":{"$ref":"#/components/schemas/PointCloudUploadSpec","description":"Where and how to upload the source file."}},"type":"object","required":["point_cloud","upload"],"title":"PointCloudUploadCreatedResponse","description":"Response returned when a point cloud upload is created."},"PointCloudUploadSpec":{"properties":{"method":{"type":"string","const":"PUT","title":"Method","default":"PUT"},"url":{"type":"string","title":"Url","description":"Signed URL to upload the source file to."},"headers":{"additionalProperties":{"type":"string"},"type":"object","title":"Headers","description":"HTTP headers that must be sent with the PUT request, exactly as given. The signed URL commits to these headers; the upload is rejected if any is missing or altered."},"content_type":{"type":"string","title":"Content Type","description":"Value the `Content-Type` header must use when uploading."},"expires_at":{"type":"string","format":"date-time","title":"Expires At","description":"When the signed URL expires."},"max_size_bytes":{"type":"integer","title":"Max Size Bytes","description":"Maximum allowed size of the uploaded file, in bytes."}},"type":"object","required":["url","headers","content_type","expires_at","max_size_bytes"],"title":"PointCloudUploadSpec","description":"Where and how to upload the source file.\n\nPUT the file to `url`, sending every header in `headers` exactly as given.\nThe upload must complete before `expires_at` and must not exceed\n`max_size_bytes`."},"PointProcess":{"type":"string","enum":["inhomogeneous_poisson"],"title":"PointProcess","description":"Spatial point process for tree coordinate assignment."},"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},"QUICFireExportAlignmentDomainTarget":{"properties":{"target":{"type":"string","const":"domain","title":"Target","default":"domain"},"dx":{"type":"number","exclusiveMinimum":0.0,"title":"Dx","description":"Horizontal fire-grid cell size in x (UTM east-west), in meters. QUIC-Fire recommends 2 m.","default":2.0},"dy":{"type":"number","exclusiveMinimum":0.0,"title":"Dy","description":"Horizontal fire-grid cell size in y (UTM north-south), in meters. Must equal `dx` — non-square fire-grid cells are not supported.","default":2.0},"dz":{"type":"number","exclusiveMinimum":0.0,"title":"Dz","description":"Vertical fire-grid cell size, in meters. QUIC-Fire recommends 1 m. Must equal the 3D tree grid's voxelization vertical resolution (`resolution.vertical`): the exporter never resamples vertically, so a mismatch is rejected with 422 rather than silently applied.","default":1.0}},"type":"object","title":"QUICFireExportAlignmentDomainTarget","description":"Anchor the fire grid to the Domain bounding box.\n\nOutput cells tile the Domain bbox at the given `dx` / `dy`, padded\noutward if the bbox isn't already a whole multiple. `dz` sets the\nuniform vertical cell size; the exporter always writes `aa1=1` so\nfuel layers map 1:1 to QUIC-Fire cells. Defaults are QUIC-Fire's\nrecommended values (2 m horizontal, 1 m vertical)."},"QUICFireExportAlignmentGridTarget":{"properties":{"target":{"type":"string","const":"grid","title":"Target"},"grid_id":{"type":"string","title":"Grid Id","description":"Existing grid whose horizontal lattice (CRS, transform, shape) the fire grid should match exactly."}},"type":"object","required":["target","grid_id"],"title":"QUICFireExportAlignmentGridTarget","description":"Anchor the fire grid to an existing grid's lattice.\n\nUseful when role grids share a non-Domain-anchored lattice (e.g. all\nchained off a `target=\"native\"` master grid). The referenced grid's\nCRS, transform, and shape become the fire grid's horizontal lattice;\nvertical cell size and layer count are taken from the canopy grid.","x-input-requirements":[{"field":"grid_id","resource":"grid"}]},"QuicfireExportRequest":{"properties":{"alignment":{"oneOf":[{"$ref":"#/components/schemas/QUICFireExportAlignmentDomainTarget"},{"$ref":"#/components/schemas/QUICFireExportAlignmentGridTarget"}],"title":"Alignment","description":"How the fire grid lattice is defined. Discriminated by `target`: `'domain'` (default) pads the Domain bbox to `(dx, dy)`; `'grid'` matches an existing grid's lattice exactly. Omit for the default Domain-anchored 2 m / 1 m fire grid.","discriminator":{"propertyName":"target","mapping":{"domain":"#/components/schemas/QUICFireExportAlignmentDomainTarget","grid":"#/components/schemas/QUICFireExportAlignmentGridTarget"}}},"canopy_bulk_density":{"$ref":"#/components/schemas/FieldSource","description":"3D canopy bulk density (kg/m**3). Must reference a band on a 3D tree grid, e.g. 'bulk_density.foliage.live'."},"canopy_moisture":{"$ref":"#/components/schemas/FieldSource","description":"3D canopy fuel moisture (%). Typically a tree-grid band, e.g. 'fuel_moisture.live'."},"canopy_savr":{"anyOf":[{"$ref":"#/components/schemas/FieldSource"},{"type":"null"}],"description":"3D canopy SAVR (1/m), optional. When provided, must be paired with `surface_savr`; together they produce `treesss.dat` in the output zip."},"surface_fuel_load":{"$ref":"#/components/schemas/FieldSource","description":"2D surface fuel load (kg/m**2). Typically a lookup-grid band, e.g. 'fuel_load.1hr'."},"surface_fuel_depth":{"$ref":"#/components/schemas/FieldSource","description":"2D surface fuel bed depth (m). Typically a lookup-grid band, e.g. 'fuel_depth'."},"surface_moisture":{"$ref":"#/components/schemas/FieldSource","description":"2D surface fuel moisture (%). Often a uniform-grid band, e.g. 'fuel_moisture.1hr'."},"surface_savr":{"anyOf":[{"$ref":"#/components/schemas/FieldSource"},{"type":"null"}],"description":"2D surface SAVR (1/m), optional. Pairs with `canopy_savr`."},"topography":{"anyOf":[{"$ref":"#/components/schemas/FieldSource"},{"type":"null"}],"description":"2D elevation (m), optional. When provided, produces `topo.dat`."},"rhof_merge":{"type":"string","const":"sum","title":"Rhof Merge","description":"How to combine canopy and surface bulk density at the bottom slab (k=0). Currently only 'sum' is supported: `merged[0] = canopy[0] + surface_load / dz`. Mass-additive.","default":"sum"},"moist_merge":{"type":"string","enum":["max","weighted_avg"],"title":"Moist Merge","description":"How to combine canopy and surface fuel moisture at the bottom slab (k=0). `'max'` (default, v1-parity): `merged[0] = max(canopy_moist[0], surface_moist)`. `'weighted_avg'`: `merged[0] = (canopy_rhof[0] * canopy_moist[0] + surface_rhof_layer * surface_moist) / (canopy_rhof[0] + surface_rhof_layer)` (both moistures already converted to fraction).","default":"max"},"savr_merge":{"type":"string","const":"weighted_avg","title":"Savr Merge","description":"How to combine canopy and surface SAVR at the bottom slab. Currently only 'weighted_avg' is supported (mass-weighted SAVR, then converted to particle size scale `2/SAVR` before write). Only applies when both `canopy_savr` and `surface_savr` are set.","default":"weighted_avg"},"expiration_days":{"type":"integer","maximum":7.0,"minimum":1.0,"title":"Expiration Days","description":"Days until the signed download URL expires (max 7).","default":7},"name":{"type":"string","maxLength":255,"title":"Name","default":""},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags"}},"type":"object","required":["canopy_bulk_density","canopy_moisture","surface_fuel_load","surface_fuel_depth","surface_moisture"],"title":"QuicfireExportRequest","description":"Request body for creating a QUIC-Fire combined export.\n\nFive required roles produce `treesrhof.dat`, `treesmoist.dat`, and\n`treesfueldepth.dat`. `topography` (optional) produces `topo.dat`. The\nSAVR pair (optional, both-or-neither) produces `treesss.dat`.\n\nThe fire grid is defined by the `alignment` field — either the Domain\nbounding box padded to `(dx, dy)` (with `dz` vertical), or the lattice\nof an existing grid. Every role grid must be lattice-aligned to this\nfire grid and cover its full extent; otherwise the request is rejected.\nThe exporter only crops oversized roles by integer slicing — it never\nresamples or reprojects.\n\nThe output resolution is set here, on the export, via `alignment.dx`/`dy`\n(default 2 m, QUIC-Fire's recommended value). It is a separate setting\nfrom the resolution of each grid you built — changing your grids does not\nchange the export, and vice versa. Because the exporter never resamples,\nevery role grid must already be built at the fire-grid resolution. To\nexport at 1 m, for example, set `dx`/`dy` to 1 and build all role grids at\n1 m (2D grids at 1 m via their `alignment.resolution`, and the 3D tree\ngrid at 1 m via `resolution.horizontal` — 3D grids cannot be resampled).\nThe same holds vertically: `alignment.dz` must equal the 3D tree grid's\n`resolution.vertical`, or the request is rejected with 422."},"QuotaExceededDetail":{"properties":{"reason":{"type":"string","title":"Reason","description":"Machine-readable error code.","default":"QUOTA_EXCEEDED"},"quota":{"type":"string","title":"Quota","description":"The Quotas field that was exceeded."},"message":{"type":"string","title":"Message","description":"Human-readable explanation and next steps."},"current":{"type":"integer","title":"Current","description":"The owner's current usage for this quota."},"limit":{"type":"integer","title":"Limit","description":"The limit that was reached."},"window_reset_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Window Reset On","description":"When a windowed (weekly) quota resets; absent for non-windowed quotas."}},"type":"object","required":["quota","message","current","limit"],"title":"QuotaExceededDetail","description":"Structured ``detail`` for a 429 quota rejection.\n\nThe flat ``{reason, quota, message, current, limit}`` shape is the template\nfor future structured error details: a machine-readable ``reason`` code plus\nflat, typed context fields."},"Quotas":{"properties":{"max_active_grids":{"type":"integer","title":"Max Active Grids","default":25},"max_active_exports":{"type":"integer","title":"Max Active Exports","default":10},"max_active_inventories":{"type":"integer","title":"Max Active Inventories","default":10},"max_active_features":{"type":"integer","title":"Max Active Features","default":10},"max_active_pointclouds":{"type":"integer","title":"Max Active Pointclouds","default":5},"max_domains":{"type":"integer","title":"Max Domains","default":50},"max_grids":{"type":"integer","title":"Max Grids","default":1000},"max_exports":{"type":"integer","title":"Max Exports","default":500},"max_inventories":{"type":"integer","title":"Max Inventories","default":500},"max_features":{"type":"integer","title":"Max Features","default":500},"max_pointclouds":{"type":"integer","title":"Max Pointclouds","default":50},"max_api_keys":{"type":"integer","title":"Max Api Keys","default":50},"max_applications":{"type":"integer","title":"Max Applications","default":5},"max_grid_storage_bytes":{"type":"integer","title":"Max Grid Storage Bytes","default":53687091200},"max_export_storage_bytes":{"type":"integer","title":"Max Export Storage Bytes","default":26843545600},"max_inventory_storage_bytes":{"type":"integer","title":"Max Inventory Storage Bytes","default":10737418240},"max_feature_storage_bytes":{"type":"integer","title":"Max Feature Storage Bytes","default":1073741824},"max_pointcloud_storage_bytes":{"type":"integer","title":"Max Pointcloud Storage Bytes","default":53687091200},"max_weekly_grid_dispatches":{"type":"integer","title":"Max Weekly Grid Dispatches","description":"Grid worker jobs allowed per ISO week (Monday 00:00 UTC reset): creates, modifications, duplicates, and uploads all count. Deleting grids does not refund spent budget.","default":500},"max_weekly_export_dispatches":{"type":"integer","title":"Max Weekly Export Dispatches","description":"Export worker jobs allowed per ISO week (Monday 00:00 UTC reset). Deleting exports does not refund spent budget.","default":250},"max_weekly_inventory_dispatches":{"type":"integer","title":"Max Weekly Inventory Dispatches","description":"Inventory worker jobs allowed per ISO week (Monday 00:00 UTC reset): creates, modifications, treatments, duplicates, and uploads all count. Deleting inventories does not refund spent budget.","default":250},"max_weekly_feature_dispatches":{"type":"integer","title":"Max Weekly Feature Dispatches","description":"Feature worker jobs allowed per ISO week (Monday 00:00 UTC reset). Synchronous layerset creates are exempt. Deleting features does not refund spent budget.","default":250},"max_weekly_pointcloud_dispatches":{"type":"integer","title":"Max Weekly Pointcloud Dispatches","description":"Point cloud worker jobs allowed per ISO week (Monday 00:00 UTC reset): each upload counts. Deleting point clouds does not refund spent budget.","default":50},"resource_ttl_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Resource Ttl Days","default":180},"failed_resource_ttl_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Failed Resource Ttl Days","default":14}},"type":"object","title":"Quotas","description":"Usage limits for an owner. Field defaults are the standard tier."},"Randolph2010Model":{"properties":{"name":{"type":"string","const":"randolph_2010","title":"Name","default":"randolph_2010"}},"type":"object","title":"Randolph2010Model","description":"Randolph (2010), fitted in the South (AL, AR, FL, GA, KY, LA, NC, SC, TN,\nTX, VA). Covers 24 species, 10 genera and several junipers; other species get\nno crown base."},"ReimputationMethod":{"properties":{"name":{"type":"string","const":"reimputation","title":"Name","default":"reimputation"},"resolution":{"type":"number","exclusiveMinimum":0.0,"title":"Resolution","description":"Resolution (meters) the PIM is resampled to before conditioning. Must be no finer than the CHM cell and no coarser than the PIM cell.","default":7.5},"min_height":{"type":"number","minimum":0.0,"title":"Min Height","description":"CHM height (meters) above which a cell counts as canopy.","default":2.0},"cover_threshold":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Cover Threshold","description":"Minimum canopy cover fraction (0-1) a resampled cell needs to keep its plot. Cells at or below this become gaps (no trees).","default":0.2}},"type":"object","title":"ReimputationMethod","description":"The v1 fusion algorithm (``fastfuels_core.onramps.hag_pim``).\n\nResample the PIM to ``resolution``, keep a cell's plot only where the CHM's\ncanopy cover — the fraction of CHM cells taller than ``min_height`` — exceeds\n``cover_threshold``, then expand the surviving plots as ``tree/pim``.\n``resolution`` and ``min_height`` are the v1 production values;\n``cover_threshold`` defaults to 0.2. ``fastfuels-core``'s own defaults are\n1.0 m and 0.25."},"RelativeElevation":{"type":"string","enum":["below","near","above"],"title":"RelativeElevation","description":"Site elevation relative to the reference weather station.\n\nThis is a Fosberg correction category, NOT the topography elevation band:\n`below` = 1000-2000 ft below the station, `near` = within 1000 ft (no\ncorrection), `above` = 1000-2000 ft above the station."},"RemoveAction":{"properties":{"modifier":{"type":"string","const":"remove","title":"Modifier","default":"remove"}},"type":"object","title":"RemoveAction","description":"Action that removes matching trees from the inventory."},"ResampleDomainTarget":{"properties":{"target":{"type":"string","const":"domain","title":"Target","default":"domain"},"resolution":{"type":"number","minimum":1.0,"title":"Resolution"},"method":{"anyOf":[{"$ref":"#/components/schemas/ResamplingMethod"},{"type":"null"}]}},"type":"object","required":["resolution"],"title":"ResampleDomainTarget","description":"Anchor output to the domain origin at the given cell size."},"ResampleNativeTarget":{"properties":{"target":{"type":"string","const":"native","title":"Target"},"resolution":{"type":"number","minimum":1.0,"title":"Resolution"},"method":{"anyOf":[{"$ref":"#/components/schemas/ResamplingMethod"},{"type":"null"}]}},"type":"object","required":["target","resolution"],"title":"ResampleNativeTarget","description":"Preserve the source grid's pixel anchor at the given cell size."},"ResamplingMethod":{"type":"string","enum":["nearest","bilinear","cubic","cubic_spline","lanczos","average","mode","max","min","median","first_quartile","third_quartile","sum","root_mean_square"],"title":"ResamplingMethod"},"Resolution3D":{"properties":{"horizontal":{"type":"number","exclusiveMinimum":0.0,"title":"Horizontal","description":"Cell size in x and y, meters."},"vertical":{"type":"number","exclusiveMinimum":0.0,"title":"Vertical","description":"Cell size in z, meters."}},"additionalProperties":false,"type":"object","required":["horizontal","vertical"],"title":"Resolution3D","description":"Voxel resolution for a 3D grid.\n\n`horizontal` applies to both x and y (fastfuels-core requires isotropic\nhorizontal resolution). `vertical` is independent."},"Scope":{"type":"string","enum":["read","write"],"title":"Scope","description":"Available permissions for an API key."},"SortOrder":{"type":"string","enum":["ascending","descending"],"title":"SortOrder","description":"Sort order for list results."},"SparseGridData":{"properties":{"format":{"type":"string","const":"sparse","title":"Format"},"fill_value":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Fill Value","description":"The band's fill value; cells holding it are omitted from `indices`. `null` when the fill is nodata (a float band's NaN) or the band declares none."},"indices":{"items":{"type":"integer"},"type":"array","title":"Indices"},"values":{"items":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}]},"type":"array","title":"Values","description":"Values of the cells named by `indices`. `null` marks a cell with no data, which only arises when the band declares no fill value and so every cell is listed."}},"type":"object","required":["format","fill_value","indices","values"],"title":"SparseGridData"},"SpatialOperator":{"type":"string","enum":["within","outside","intersects"],"title":"SpatialOperator","description":"Spatial relationship operators for geometry-based conditions.\n\n- within: Select items whose target (centroid or cell) is inside the geometry\n- outside: Select items whose target is outside the geometry (inverse of within)\n- intersects: Select items whose target overlaps with the geometry"},"StemIsolationLmf":{"properties":{"name":{"type":"string","const":"lmf","title":"Name","default":"lmf"},"min_height":{"type":"number","minimum":0.0,"title":"Min Height","description":"Minimum height threshold (in meters) for a treetop.","default":2.0},"max_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Height","description":"Maximum height threshold (in meters) for a treetop. CHM returns taller than this are treated as artifacts (e.g. LiDAR noise spikes) and excluded before detection. Defaults to 120, above the tallest known tree; set to null to disable the ceiling.","default":120.0},"footprint_size":{"type":"integer","title":"Footprint Size","description":"Diameter of the circular footprint in pixels. Must be an odd integer.","default":3}},"type":"object","title":"StemIsolationLmf","description":"Parameters for Local Maximum Filter (LMF) stem isolation.\n\nWhen set, ``max_height`` must be greater than ``min_height``."},"StemIsolationVwf":{"properties":{"name":{"type":"string","const":"vwf","title":"Name","default":"vwf"},"min_height":{"type":"number","minimum":0.0,"title":"Min Height","description":"Minimum height threshold (in meters) for a treetop.","default":2.0},"max_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Height","description":"Maximum height threshold (in meters) for a treetop. CHM returns taller than this are treated as artifacts (e.g. LiDAR noise spikes) and excluded before detection. Defaults to 120, above the tallest known tree; set to null to disable the ceiling.","default":120.0},"spatial_resolution":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spatial Resolution","description":"Spatial resolution of the CHM. If omitted, it will be automatically inferred from the source grid metadata."},"crown_ratio":{"type":"number","title":"Crown Ratio","description":"Window diameter added per meter of height. The search window diameter (in meters) is crown_offset + crown_ratio × height, converted to a whole, odd number of pixels of at least 3. This is a slope of the search-window size, not a measurement of any tree's crown ratio.","default":0.05},"crown_offset":{"type":"number","title":"Crown Offset","description":"Window diameter (in meters) at zero height.","default":3.0}},"type":"object","title":"StemIsolationVwf","description":"Parameters for Variable Window Filter (VWF) stem isolation.\n\nWhen set, ``max_height`` must be greater than ``min_height``."},"ThreeDepCoverageResponse":{"properties":{"resolution":{"$ref":"#/components/schemas/ThreeDepResolution","description":"3DEP source product, in meters. 1: Seamless 1-Meter DEM (S1M), falling back to the 1 m lidar project DEM tiles where S1M has no tiles. 2: the 1 m lidar project DEM tiles, read at their 2 m overview. 10: 1/3 arc-second seamless DEM. 30: 1 arc-second seamless DEM."},"available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Available","description":"Whether 3DEP data covers the domain. null means coverage could not be determined because a USGS service did not respond; try again shortly."},"coverage_fraction":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Coverage Fraction","description":"For 1m and 2m, the fraction of the domain, from 0 to 1, where USGS collected lidar. null for 10m and 30m, and when it could not be determined."},"tile_count":{"type":"integer","title":"Tile Count"},"tiles":{"items":{"type":"string"},"type":"array","title":"Tiles"},"acquisition_dates":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Acquisition Dates"},"unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unavailable Reason","description":"Why coverage could not be determined. Set only when `available` is null."}},"type":"object","required":["resolution","available","tile_count","tiles"],"title":"TopographyThreeDepCoverageResponse","description":"Response model for 3DEP tile coverage pre-flight check."},"ThreeDepDatasetCoverage":{"properties":{"name":{"type":"string","title":"Name","description":"USGS acquisition name. Pass it in `datasets` on a create request to pin the fetch to this acquisition.","examples":["WY_Southwest_1_2020"]},"url":{"type":"string","title":"Url","description":"Location of the acquisition's Entwine Point Tile index."},"contribution_fraction":{"type":"number","title":"Contribution Fraction","description":"Fraction of the domain this acquisition would supply, from `0.0` to `1.0`. Acquisitions overlap each other freely, so this is the share left over after the acquisitions listed before it have taken their part — not the raw overlap. The values are therefore disjoint and sum to `coverage_fraction`.","examples":[0.81]},"estimated_density":{"type":"number","title":"Estimated Density","description":"Average point density of the acquisition, in points per square metre, computed over its full published extent.","examples":[6.81]},"estimated_points":{"type":"integer","title":"Estimated Points","description":"Approximate number of points this acquisition would contribute. Derived from its density and the area it covers, so treat it as an order-of-magnitude figure rather than an exact count.","examples":[1702335]}},"type":"object","required":["name","url","contribution_fraction","estimated_density","estimated_points"],"title":"ThreeDepDatasetCoverage","description":"One 3DEP acquisition available over a domain, and what it would supply."},"ThreeDepResolution":{"type":"integer","enum":[1,2,10,30],"title":"ThreeDepResolution","description":"3DEP source products, by resolution in meters.\n\n- 1: Seamless 1-Meter DEM (S1M); where S1M has no tiles, the 1 m lidar\n  project DEM tiles\n- 2: the 1 m lidar project DEM tiles, read at their 2 m overview\n- 10: 1/3 arc-second seamless DEM\n- 30: 1 arc-second seamless DEM"},"ToneyReeves2009Model":{"properties":{"name":{"type":"string","const":"toney_reeves_2009","title":"Name","default":"toney_reeves_2009"}},"type":"object","title":"ToneyReeves2009Model","description":"Toney and Reeves (2009), fitted in the Interior West (ID, MT, WY, NV, UT,\nCO, AZ, NM). Covers 31 species; other species get no crown base."},"TopographyBand":{"type":"string","enum":["elevation","slope","aspect"],"title":"TopographyBand","description":"Available bands for topographic data.","x-enum-metadata":{"aspect":{"description":"Downslope compass direction, degrees clockwise from north (0-360). Flat cells are 0.","name":"Aspect","type":"continuous","unit":"deg"},"elevation":{"description":"Height above sea level.","name":"Elevation","type":"continuous","unit":"m"},"slope":{"description":"Terrain slope (0-90 degrees).","name":"Slope","type":"continuous","unit":"deg"}}},"TreeBand":{"type":"string","enum":["bulk_density.foliage.live","bulk_density.foliage.dead","bulk_density.branchwood.live","bulk_density.branchwood.dead","bulk_density.fine.live","bulk_density.fine.dead","leaf_area_density","fuel_moisture.live","fuel_moisture.dead","savr.foliage","spcd","tree_id","volume_fraction"],"title":"TreeBand","description":"Available output bands for tree fuel grids.\n\nEach value is the band's dot-notation key as it appears in the stored\nGrid document. Band definitions (type, unit) live in TREE_BAND_DEFS.","x-enum-metadata":{"bulk_density.branchwood.dead":{"description":"Per-voxel bulk density of dead branchwood.","name":"Dead Branchwood Bulk Density","type":"continuous","unit":"kg/m**3"},"bulk_density.branchwood.live":{"description":"Per-voxel bulk density of live branchwood.","name":"Live Branchwood Bulk Density","type":"continuous","unit":"kg/m**3"},"bulk_density.fine.dead":{"description":"Per-voxel bulk density of dead fine fuels (foliage + fine branchwood).","name":"Dead Fine Fuel Bulk Density","type":"continuous","unit":"kg/m**3"},"bulk_density.fine.live":{"description":"Per-voxel bulk density of live fine fuels (foliage + fine branchwood).","name":"Live Fine Fuel Bulk Density","type":"continuous","unit":"kg/m**3"},"bulk_density.foliage.dead":{"description":"Per-voxel bulk density of dead foliage.","name":"Dead Foliage Bulk Density","type":"continuous","unit":"kg/m**3"},"bulk_density.foliage.live":{"description":"Per-voxel bulk density of live foliage.","name":"Live Foliage Bulk Density","type":"continuous","unit":"kg/m**3"},"fuel_moisture.dead":{"description":"Moisture content of dead canopy fuels (% of oven-dry weight).","name":"Dead Fuel Moisture","type":"continuous","unit":"%"},"fuel_moisture.live":{"description":"Moisture content of live canopy fuels (% of oven-dry weight).","name":"Live Fuel Moisture","type":"continuous","unit":"%"},"leaf_area_density":{"description":"Per-voxel one-sided leaf area per unit canopy volume (m**2 of leaf area per m**3), which reduces to the canonical 1/m.","name":"Leaf Area Density","type":"continuous","unit":"1/m"},"savr.foliage":{"description":"Surface-area-to-volume ratio of foliage.","name":"Foliage Surface-Area-to-Volume Ratio","type":"continuous","unit":"1/m"},"spcd":{"description":"FIA species code (SPCD) of the dominant tree in the voxel.","name":"Species Code","type":"categorical"},"tree_id":{"description":"The source inventory's `tree_id` of the dominant tree contributing to the voxel; 0 where no tree.","name":"Tree ID","type":"categorical"},"volume_fraction":{"description":"Fraction of the voxel occupied by tree crown.","name":"Crown Volume Fraction","type":"continuous"}}},"TreeForestryMetrics":{"properties":{"type":{"type":"string","const":"tree","title":"Type"},"tree_count":{"type":"integer","title":"Tree Count","description":"Total trees in the inventory."},"basal_area_per_area":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Basal Area Per Area","description":"Stand basal area divided by domain area. Unit: ft**2/acre."},"tree_density":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tree Density","description":"Trees per unit domain area (TPA). Unit: 1/acre."},"quadratic_mean_diameter":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quadratic Mean Diameter","description":"Quadratic mean DBH. Unit: in."},"dominant_species_groups":{"items":{"$ref":"#/components/schemas/FIASpeciesGroupShare"},"type":"array","title":"Dominant Species Groups","description":"The N FIA species groups with the largest basal area share, sorted descending (N defaults to 5). Only the top N are returned; any remaining groups are omitted, so the listed shares may sum to less than 1."}},"type":"object","required":["type","tree_count","basal_area_per_area","tree_density","quadratic_mean_diameter"],"title":"TreeForestryMetrics","description":"Stand-level forestry scalars for a tree inventory."},"TreeMapBand":{"type":"string","enum":["tm_id","plt_cn"],"title":"TreeMapBand","description":"Available bands for TreeMap data.","x-enum-metadata":{"plt_cn":{"description":"FIA plot condition number (CN), derived from the tree table (large integer).","name":"FIA Plot Condition Number","type":"categorical"},"tm_id":{"description":"TreeMap raster pixel value identifying the matched FIA plot (small integer, ~1-70k).","name":"TreeMap ID","type":"categorical"}}},"TreeMapVersion":{"type":"string","enum":["2014","2016","2020","2022"],"title":"TreeMapVersion","description":"Available TreeMap data versions."},"UniformBand":{"type":"string","enum":["fuel_moisture.1hr","fuel_moisture.10hr","fuel_moisture.100hr","fuel_moisture.live_herb","fuel_moisture.live_woody","curing","fuel_load.1hr","fuel_load.10hr","fuel_load.100hr","fuel_load.live_herb","fuel_load.live_woody","fuel_depth"],"title":"UniformBand","description":"Predefined bands available for uniform grids.","x-enum-metadata":{"curing":{"description":"Fraction of herbaceous fuel that has cured/dried (%).","name":"Herbaceous Curing","type":"continuous","unit":"%"},"fuel_depth":{"description":"Vertical depth of the surface fuel bed.","name":"Fuel Bed Depth","type":"continuous","unit":"m"},"fuel_load.100hr":{"description":"Oven-dry mass per unit area of 100-hour timelag dead surface fuels.","name":"100-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.10hr":{"description":"Oven-dry mass per unit area of 10-hour timelag dead surface fuels.","name":"10-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.1hr":{"description":"Oven-dry mass per unit area of 1-hour timelag dead surface fuels.","name":"1-hour Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.live_herb":{"description":"Oven-dry mass per unit area of live herbaceous fuels.","name":"Live Herbaceous Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_load.live_woody":{"description":"Oven-dry mass per unit area of live woody fuels.","name":"Live Woody Fuel Load","type":"continuous","unit":"kg/m**2"},"fuel_moisture.100hr":{"description":"Moisture content of 100-hour timelag dead surface fuels (% of oven-dry weight).","name":"100-hour Fuel Moisture","type":"continuous","unit":"%"},"fuel_moisture.10hr":{"description":"Moisture content of 10-hour timelag dead surface fuels (% of oven-dry weight).","name":"10-hour Fuel Moisture","type":"continuous","unit":"%"},"fuel_moisture.1hr":{"description":"Moisture content of 1-hour timelag dead surface fuels (% of oven-dry weight).","name":"1-hour Fuel Moisture","type":"continuous","unit":"%"},"fuel_moisture.live_herb":{"description":"Moisture content of live herbaceous fuels (% of oven-dry weight).","name":"Live Herbaceous Fuel Moisture","type":"continuous","unit":"%"},"fuel_moisture.live_woody":{"description":"Moisture content of live woody fuels (% of oven-dry weight).","name":"Live Woody Fuel Moisture","type":"continuous","unit":"%"}}},"UniformBandInput":{"properties":{"key":{"$ref":"#/components/schemas/UniformBand"},"value":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Value"}},"type":"object","required":["key","value"],"title":"UniformBandInput","description":"A single band specification for a uniform grid.\n\nUsers provide a band key (from the predefined list) and a constant value.\nThe API resolves the key to unit and type."},"UniformMoistureValue":{"properties":{"method":{"type":"string","const":"uniform","title":"Method","default":"uniform"},"value":{"type":"number","title":"Value","description":"Fuel moisture content (%), applied uniformly.","default":100.0}},"type":"object","title":"UniformMoistureValue","description":"Uniform fuel moisture for one fuel state."},"UpdateApplicationRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name","description":"New name for the application."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"New description for the application."}},"additionalProperties":false,"type":"object","title":"UpdateApplicationRequest","description":"Request body for updating an application."},"UpdateDomainRequestBody":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name","description":"The name of the domain."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"A description of the domain."},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tags","description":"A list of tags associated with the domain."},"style":{"anyOf":[{"$ref":"#/components/schemas/DomainStyle"},{"type":"null"}],"description":"Update visual style fields. Only provided sub-fields are merged into the existing style; unspecified sub-fields preserve their current values."}},"type":"object","title":"UpdateDomainRequestBody","description":"Request body for updating a domain's metadata.\n\nAll fields are optional. Only provided fields will be updated.\nGeometry (features) and CRS cannot be modified after creation."},"UpdateExportRequestBody":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tags"}},"type":"object","title":"UpdateExportRequestBody","description":"Request body for updating export metadata."},"UpdateFeatureRequestBody":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tags"}},"type":"object","title":"UpdateFeatureRequestBody","description":"Request body for updating feature metadata."},"UpdateGridRequestBody":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tags"}},"type":"object","title":"UpdateGridRequestBody","description":"Request body for updating grid metadata."},"UpdateInventoryRequestBody":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tags"}},"type":"object","title":"UpdateInventoryRequestBody","description":"Request body for updating inventory metadata."},"UpdatePointCloudRequestBody":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name","description":"New name. Omit to leave unchanged."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"New description. Omit to leave unchanged."},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tags","description":"New tags (replaces the existing list). Omit to leave unchanged."}},"type":"object","title":"UpdatePointCloudRequestBody","description":"Request body for updating point cloud metadata.\n\nOnly metadata is mutable. The point cloud's content, source, and derived\nfields cannot be changed through this endpoint, so updates never alter the\n`checksum`."},"UploadBandDefinition":{"properties":{"key":{"type":"string","pattern":"^(annual_disturbance|aspect|bulk_density|cbd|cbh|cc|cfl|chm|curing|duff_depth|elevation|fbfm|fbfm13|fccs|fdist|fuel_depth|fuel_load|fuel_moisture|heat_content|irradiance|leaf_area_density|plt_cn|savr|slope|spcd|tm_id|tree_id|volume_fraction)(\\.[a-z0-9_]+)*$","title":"Key","description":"Band key `<quantity>` or `<quantity>.<label>`, e.g. `fbfm`, `fuel_load.1hr`, `fuel_moisture.live.shrub`. The quantity sets the band's type and unit: `annual_disturbance` (categorical), `aspect` (continuous, deg), `bulk_density` (continuous, kg/m**3), `cbd` (continuous, kg/m**3), `cbh` (continuous, m), `cc` (continuous, %), `cfl` (continuous, kg/m**2), `chm` (continuous, m), `curing` (continuous, %), `duff_depth` (continuous, m), `elevation` (continuous, m), `fbfm` (categorical), `fbfm13` (categorical), `fccs` (categorical), `fdist` (categorical), `fuel_depth` (continuous, m), `fuel_load` (continuous, kg/m**2), `fuel_moisture` (continuous, %), `heat_content` (continuous, kJ/kg), `irradiance` (continuous), `leaf_area_density` (continuous, 1/m), `plt_cn` (categorical), `savr` (continuous, 1/m), `slope` (continuous, deg), `spcd` (categorical), `tm_id` (categorical), `tree_id` (categorical), `volume_fraction` (continuous). The label is lowercase letters, digits and underscores."},"type":{"anyOf":[{"$ref":"#/components/schemas/BandType"},{"type":"null"}],"description":"Optional; set by the key's quantity. If given, it must match."},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Optional; set by the key's quantity. If given, it must match, in UDUNITS-2-conformant ASCII form with `**` for exponents (e.g. `kg/m**3`, `1/m`, `%`).","examples":["kg/m**3","1/m","%","m"]}},"type":"object","required":["key"],"title":"UploadBandDefinition"},"Usage":{"properties":{"grids":{"$ref":"#/components/schemas/JobResourceUsage"},"exports":{"$ref":"#/components/schemas/JobResourceUsage"},"inventories":{"$ref":"#/components/schemas/JobResourceUsage"},"features":{"$ref":"#/components/schemas/JobResourceUsage"},"pointclouds":{"$ref":"#/components/schemas/JobResourceUsage"},"domains":{"$ref":"#/components/schemas/CountUsage"},"applications":{"$ref":"#/components/schemas/CountUsage"},"api_keys":{"$ref":"#/components/schemas/CountUsage"},"lifecycle":{"$ref":"#/components/schemas/UsageLifecycle"}},"type":"object","required":["grids","exports","inventories","features","pointclouds","domains","applications","api_keys","lifecycle"],"title":"Usage","description":"An owner's current usage against their resolved limits."},"UsageCount":{"properties":{"usage":{"type":"integer","title":"Usage","description":"Current count."},"limit":{"type":"integer","title":"Limit","description":"The limit this count is measured against."}},"type":"object","required":["usage","limit"],"title":"UsageCount","description":"A count-based usage/limit pair (resources or concurrent jobs)."},"UsageLifecycle":{"properties":{"resource_ttl_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Resource Ttl Days","description":"Days a resource is retained after last modification; null never expires."},"failed_resource_ttl_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Failed Resource Ttl Days","description":"Shorter retention for failed resources; null never expires."},"next_expiry_on":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Expiry On","description":"When the owner's next resource is scheduled to expire. Populated once retention enforcement ships."}},"type":"object","required":["resource_ttl_days","failed_resource_ttl_days"],"title":"UsageLifecycle","description":"Retention policy in effect for the owner's resources."},"UsageStorage":{"properties":{"usage_bytes":{"type":"integer","title":"Usage Bytes","description":"Summed GCS artifact bytes in use."},"limit_bytes":{"type":"integer","title":"Limit Bytes","description":"The storage limit, in bytes."}},"type":"object","required":["usage_bytes","limit_bytes"],"title":"UsageStorage","description":"A storage usage/limit pair, in bytes."},"UserMeResponse":{"properties":{"id":{"type":"string","title":"Id","description":"The authenticated owner's unique ID."},"kind":{"type":"string","enum":["user","application"],"title":"Kind","description":"Whether the credential authenticated a user or an application."},"tier":{"type":"string","title":"Tier","description":"The quota tier in effect for this owner. Anonymous (guest) sign-ins resolve to the `guest` tier: reduced limits, and resources are deleted 24 hours after they are created. Convert to a full account to keep them."},"quotas":{"$ref":"#/components/schemas/Quotas","description":"The owner's resolved usage limits (defaults, tier, and overrides)."}},"type":"object","required":["id","kind","tier","quotas"],"title":"UserMeResponse","description":"The authenticated owner's identity and resolved quota configuration."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"Westfall2019Model":{"properties":{"name":{"type":"string","const":"westfall_2019","title":"Name","default":"westfall_2019"}},"type":"object","title":"Westfall2019Model","description":"Westfall, Westfall and Randolph (2019), fitted in the 24 northern US\nstates. Covers 27 of FIA's eastern species groups; species outside them get\nno crown base."},"api__resources__point_clouds__threedep__schema__ThreeDepCoverageResponse":{"properties":{"available":{"type":"boolean","title":"Available","description":"Whether any 3DEP lidar covers this domain. When false, a create request for this domain is rejected."},"coverage_fraction":{"type":"number","title":"Coverage Fraction","description":"Fraction of the domain covered by 3DEP lidar, from `0.0` to `1.0`. This is the union of every available acquisition, so it never exceeds 1.0 no matter how much the acquisitions overlap.","examples":[1.0]},"datasets":{"items":{"$ref":"#/components/schemas/ThreeDepDatasetCoverage"},"type":"array","title":"Datasets","description":"Acquisitions that would be read, in the order they would be used. Empty when no lidar covers the domain."},"estimated_point_count":{"type":"integer","title":"Estimated Point Count","description":"Approximate total number of points a fetch would return, summed across acquisitions.","examples":[1702335]}},"type":"object","required":["available","coverage_fraction","datasets","estimated_point_count"],"title":"PointCloudThreeDepCoverageResponse","description":"Response model for the 3DEP point cloud coverage pre-flight check.","examples":[{"available":true,"coverage_fraction":1.0,"datasets":[{"contribution_fraction":1.0,"estimated_density":6.81,"estimated_points":1702335,"name":"WY_Southwest_1_2020","url":"https://s3-us-west-2.amazonaws.com/usgs-lidar-public/WY_Southwest_1_2020/ept.json"}],"estimated_point_count":1702335}]}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"api-key"},"HTTPBearer":{"type":"http","scheme":"bearer"}}},"tags":[{"name":"Index","description":"Service metadata and welcome endpoint."},{"name":"Domains","description":"Geographic areas of interest. All other resources hang off a domain."},{"name":"Features","description":"Vector layers (roads, water, etc.) attached to a domain."},{"name":"Inventories","description":"Tree and fuel inventories sampled within a domain."},{"name":"Grids","description":"Rasterized surface, canopy, and topography fields aligned to a domain's grid."},{"name":"Exports","description":"Packaged outputs generated from a domain's inventories and grids."},{"name":"Point Clouds","description":"Airborne (ALS) and terrestrial (TLS) laser-scan point clouds attached to a domain."},{"name":"Keys","description":"Manage API keys used to authenticate requests."},{"name":"Applications","description":"Applications registered against the FastFuels API."},{"name":"Users","description":"The authenticated owner's identity, tier, quotas, and current usage."}]}