Skip to content

Earthquake Schema

A critical component of integrating seismic alerts is guaranteeing mapping engines (such as TrueTopo) can natively plot latitude/longitude geometries.

{
"$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"]
}
}