Send a top-level JSON array or a wrapped observations, records, or rows array through AltitudeOS's existing ingestion contract. The result is one consistent, reviewable observation list for synthesis and desktop reports.
The JSON exporter is a documentation layer over the existing parseFieldData implementation—not a new upload or API service. It auto-detects JSON input, validates the supported payload shape, and shapes each observation without requiring a bespoke connector for every field tool.
Bring structured species lists and sighting counts into the same record shape used by downstream ecology pipelines. Required fields are species, count, date, location, and observer.
Keep the field team's notes and context alongside the core observation. Optional notes, id, family, and lifestage fields remain available after normalization.
Send location context or tool-specific metadata as JSON fields. Unknown structured keys are preserved in extra rather than discarded, so source context stays attached to the observation.
The JSON path does the normalization work once, then hands a stable contract to the rest of AltitudeOS. This page describes the current parser behavior; it does not add client-side upload behavior or a new API endpoint.
{ or [.observations, records, or rows arrays.YYYY-MM-DD where parseable.countNumeric.sourceType: "json" and zero-based sourceLine.JSON records require five canonical fields and accept optional ecological metadata. Field matching is case- and whitespace-tolerant, so a source can use presentation-friendly keys without changing the downstream shape.
{
"observations": [
{
"species": "Acacia melanoxylon",
"count": 3,
"date": "15/03/2024",
"location": "Site 4 A",
"observer": "JD",
"notes": "mixed eucalypt stand",
"family": "Fabaceae",
"lifestage": "adult",
"surveyMethod": "transect"
}
]
}
{
species: "Acacia melanoxylon",
count: 3, countNumeric: 3,
date: "2024-03-15", dateRaw: "15/03/2024",
location: "Site 4 A", observer: "JD",
notes: "mixed eucalypt stand",
family: "Fabaceae", lifestage: "adult",
sourceType: "json", sourceLine: 0,
extra: { surveyMethod: "transect" }
}
The parser returns sourceMeta beside the records: format: "json", the selected inputKey (or null for a top-level array), rowCount, and sourceType: "json". That makes the detected dialect and wrapper key visible to the calling pipeline.
JSON ingestion is not a silent rewrite. Malformed JSON and unsupported top-level shapes produce ingestionErrors; missing required fields are also reported as errors. For rows that can be normalized, empty or malformed values produce ingestionWarnings while the record is retained. The normalized record keeps the original date in dateRaw, identifies its origin with sourceType: "json", records its zero-based sourceLine, and preserves unknown structured metadata in extra.
dateRaw keeps the source date beside the normalized ISO date; count stays available beside countNumeric, including when a value needs review.
sourceLine and sourceType identify where a record came from. JSON rows use zero-based positions, so the first array item is sourceLine: 0.
Malformed payloads and missing required fields are errors; empty species, observer, date, or count values and unparseable dates are warnings when the row remains shapeable.
JSON records use the same observation shape as synthesized species_observations. Their sourceType: "json" distinguishes the origin, while the records join the synthesized list before the Word report consumer renders species, count, location, date, and notes. Read the report synthesis engine deep-dive for the join contract or follow the desktop-reports page to see the final output.
Create a trial account to explore the AltitudeOS workflow. Compare the right fit on the pricing page, or return to the integrations hub to review JSON alongside the CSV importer.
Create a free trial account →