Earthquake Schema
Earthquake JSON Schema
Section titled “Earthquake JSON Schema”A critical component of integrating seismic alerts is guaranteeing mapping engines (such as TrueTopo) can natively plot latitude/longitude geometries.
Schema Definition
Section titled “Schema Definition”{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "AlaskaIntel Seismic Array", "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "magnitude": { "type": "number", "minimum": 0 }, "location": { "type": "string" }, "depth_km": { "type": "number" }, "time": { "type": "string", "format": "date-time" }, "coordinate": { "type": "object", "properties": { "lat": { "type": "number" }, "lon": { "type": "number" } }, "required": ["lat", "lon"] } }, "required": ["id", "magnitude", "location", "time", "coordinate"] }}