{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/u-s-geological-survey/refs/heads/main/json-schema/usgs-earthquake-api-earthquake-feature-collection-schema.json",
  "title": "EarthquakeFeatureCollection",
  "description": "GeoJSON FeatureCollection containing earthquake event records from the USGS ComCat earthquake catalog.",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "GeoJSON object type (always FeatureCollection).",
      "example": "FeatureCollection"
    },
    "metadata": {
      "$ref": "#/components/schemas/EarthquakeMetadata"
    },
    "features": {
      "type": "array",
      "description": "Array of earthquake event GeoJSON Features.",
      "items": {
        "$ref": "#/components/schemas/EarthquakeFeature"
      }
    },
    "bbox": {
      "type": "array",
      "description": "Bounding box for the collection [min_lon, min_lat, max_lon, max_lat].",
      "items": {
        "type": "number"
      },
      "example": [
        -180.0,
        -90.0,
        180.0,
        90.0
      ]
    }
  }
}