Data (JSON)
The findings, the contributions and their statuses are also published as JSON files, for tools and for other projects. The files hold what the site shows: the text of the records, statuses, dates and links. They hold no inventory files.
Addresses are relative to https://sentier-dev.github.io/sentier-agribalyse/. Inside api/v1/ a field is never renamed or removed, and fields may be added. A change that would break a reader gets a new folder, api/v2/, beside the old one.
| File | What it holds |
|---|---|
api/v1/findings.json | The status vocabulary and one entry per finding: number, title, kind, status, dataset codes, releases, patches, the date of each step. |
api/v1/findings/F7.json | One file per finding: the full record and what is derived from it. Replace F7 by any finding's number. |
api/v1/datasets.json | For every dataset code a finding names: its name and location, the findings with their role, the patches. |
api/v1/contributions.json | The classes and one entry per contribution. |
api/v1/status.json | The number of findings by status and the identity of the build. |
api/v1/last-run.json | The last build: GitHub's record of the run, the manifest it kept and every line it printed. |
schema/finding.schema.json | The JSON Schema of a finding record. |
schema/contribution.schema.json | The JSON Schema of a contribution record. |
ledger.md | The findings as one table, one line each, in Markdown. |
feed.xml | What changed, as an Atom feed. |
sitemap.xml | Every page of the site. |
The source register lists the public material and the cases that cite it. The case register links each observation to its sources, review status and any registered patch.
The two files under schema/ are the JSON Schema of a finding record and of a contribution record. They are the rules that the records in the repository are checked against.
The files have the same shape on every Sentier dataset site, so a tool that reads one site reads the others. For that reason the schema value inside a file names the format, sentier-bafu/findings/1 and so on, also on this site. It does not say that the content is about BAFU's data.
AGRIBALYSE processes have a name and a process identifier of letters and digits, and no number, so api/v1/datasets.json is empty here. A finding says in its scope what it is about, for a single process with its process identifier.