Model references above resolve to these definitions. Platform responses use GeoJSON: metadata and sensors appear inside properties.
View model definitions
{
"Error": {
"type": "object",
"description": "A detail message or field names mapped to validation error lists.",
"additionalProperties": true
},
"Sensor": {
"type": "object",
"properties": {
"short_name": {
"type": "string",
"nullable": true
},
"obs_standard_name": {
"type": "string",
"nullable": true
},
"obs_definition": {
"type": "string",
"nullable": true
},
"info_url": {
"type": "string",
"nullable": true
},
"uom_display": {
"type": "string",
"nullable": true
},
"uom_standard_name": {
"type": "string",
"nullable": true
},
"uom_definition": {
"type": "string",
"nullable": true
},
"s_order": {
"type": "integer",
"nullable": true
},
"active": {
"type": "integer",
"nullable": true
}
}
},
"Geometry": {
"type": "object",
"nullable": true,
"properties": {
"type": {
"type": "string",
"example": "Point"
},
"coordinates": {
"type": "array",
"items": {
"type": "number"
}
}
}
},
"Platform": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"$ref": "#/components/schemas/Geometry"
},
"properties": {
"type": "object",
"properties": {
"sensors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Sensor"
}
},
"begin_date": {
"type": "string",
"nullable": true
},
"end_date": {
"type": "string",
"nullable": true
},
"short_name": {
"type": "string",
"nullable": true
},
"long_name": {
"type": "string",
"nullable": true
},
"platform_handle": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"neighborhood": {
"type": "string",
"nullable": true
},
"manufacturer": {
"type": "string",
"nullable": true
},
"serial_number": {
"type": "string",
"nullable": true
},
"firmware_version": {
"type": "string",
"nullable": true
},
"country_name": {
"type": "string",
"nullable": true
},
"city": {
"type": "string",
"nullable": true
},
"url": {
"type": "string",
"nullable": true
},
"fixed_latitude": {
"type": "number",
"nullable": true
},
"fixed_longitude": {
"type": "number",
"nullable": true
},
"active": {
"type": "integer",
"nullable": true
},
"type_id": {
"type": "object",
"nullable": true
},
"images": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
}
},
"PlatformCollection": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Platform"
}
}
}
},
"PlatformConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/Platform"
},
{
"type": "object",
"properties": {
"properties": {
"type": "object",
"properties": {
"sensors": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "#/components/schemas/Sensor"
},
{
"type": "object",
"properties": {
"display": {
"type": "boolean"
}
}
}
]
}
}
}
}
}
}
]
},
"SourceConfiguration": {
"type": "object",
"properties": {
"organizations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"org_id": {
"type": "integer"
},
"short_name": {
"type": "string"
},
"long_name": {
"type": "string"
},
"platforms": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SourcePlatform"
}
}
}
}
}
}
},
"ObservationFeature": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"$ref": "#/components/schemas/Geometry"
},
"properties": {
"type": "object",
"properties": {
"platform_handle": {
"type": "string"
},
"start_date": {
"type": "string"
},
"end_date": {
"type": "string"
},
"timeseries": {
"oneOf": [
{
"type": "object",
"description": "JSON timeseries document with header and data."
},
{
"type": "array",
"maxItems": 0
}
]
}
}
}
}
},
"ObservationMapping": {
"type": "object",
"properties": {
"source_obs": {
"type": "string",
"nullable": true
},
"source_uom": {
"type": "string",
"nullable": true
},
"source_identifier": {
"type": "string",
"nullable": true
},
"target_obs": {
"type": "string",
"nullable": true
},
"target_uom": {
"type": "string",
"nullable": true
},
"source_active": {
"type": "integer",
"nullable": true
},
"target_active": {
"type": "integer",
"nullable": true
},
"sensor_id": {
"type": "integer",
"nullable": true
},
"m_type_id": {
"type": "integer",
"nullable": true
},
"s_order": {
"type": "integer",
"nullable": true
}
}
},
"SourcePlatform": {
"type": "object",
"properties": {
"observations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ObservationMapping"
}
},
"active": {
"type": "integer",
"nullable": true
},
"platform_handle": {
"type": "string",
"nullable": true
},
"short_name": {
"type": "string",
"nullable": true
},
"external_identifier": {
"type": "string",
"nullable": true
},
"country_code": {
"type": "string",
"nullable": true
},
"neighborhood": {
"type": "string",
"nullable": true
},
"latitude": {
"type": "number",
"nullable": true
},
"longitude": {
"type": "number",
"nullable": true
}
}
}
}