JSON schema to represent data quality issues on a map. A QA project is a collection of data quality issues generated from a source or queried live from OSM.
A JSON-compliant schema to describe a project
{
"project": {
"uid": "1001",
// Warning | Error
"category": "error",
"name": "Fixing one-ways",
"description": "Let's fix all the wrong one-ways",
"difficulty": "intermediate",
"priority": "low",
"basemap": "",
// Status: "Unpublished" | "Published" | "Completed" | "Validated" | "Invalid"
"status": "published",
"statusUpdatedAt": "2015-01-01T15:00:00Z",
"issues": {
"source": "https://github.com/osmlab/to-fix/issues/150",
"sourceUpdatedAt": "2015-01-01T10:00:00Z",
"total": 100,
"resolved": 50,
"validated": 25
},
"contributors": 8,
"severityUnits": "?"
}
}
A line-delimited list of GeoJSON Features
{ "type": "Feature", "properties": { "status": "fixed", "severity": "low", "osm_id": 1234567890, "project_id": 1001 }, "geometry": { "type": "Point", "coordinates": [ 0, 0 ] } }
{ "type": "Feature", "properties": { "status": "fixed", "severity": "low", "osm_id": 2345678901, "project_id": 1001 }, "geometry": { "type": "Point", "coordinates": [ 1, 0 ] } }