{
  "type": "data-catalog",
  "description": "Browse fused.catalog collections, preview one on a map over time and copy the code that reads it",
  "hasChildren": false,
  "propsSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "catalog": {
        "description": "The fused.catalog reader whose collections show first: \"imagery\". Defaults to \"imagery\".",
        "type": "string",
        "enum": [
          "imagery"
        ]
      },
      "collection": {
        "description": "A collection to open on load, by id (e.g. \"hls2-s30\"). Accepts a $param reference. Omit it to start on the list of collections.",
        "type": "string"
      },
      "param": {
        "description": "Canvas parameter the widget writes with what the open collection shows: { collection, bounds: [west, south, east, north], time: \"start/end\" or null, bands: [...], mask_clouds }. A UDF downstream can pass it to fused.catalog.imagery.",
        "type": "string"
      },
      "style": {
        "description": "CSS string for the outer element.",
        "type": "string"
      }
    },
    "description": "Browses the datasets fused.catalog serves and previews one. The list shows every collection with a thumbnail, its resolution, time range and bands, by category and search. Opening a collection draws its pixels over the map view straight from the reader (no UDF runs), steps through the scenes of a date range on a time bar with the band's mean over time, and gives the UDF code that reads the same area, dates and bands, ready to copy.\n\n## Example\n\n```json\n{ \"type\": \"data-catalog\", \"props\": { \"style\": \"height: 720px\" } }\n```\n\nOpen one collection and share what it shows:\n\n```json\n{ \"type\": \"data-catalog\", \"props\": { \"collection\": \"hls2-s30\", \"param\": \"imagery\" } }\n```"
  }
}
