Restructuring of Opentrack-lite JSON

Further to our meeting this morning, we're making some changes to the
"opentrack-lite" specification.  We aim to have this done, with sample
data, by the call next week, so we can then move onto schemas and
validation code.

The current, fairly messy and repetitive, JSON can be seen here for
some World Champs events:
       https://data.opentrack.run/x/2017/GBR/wc/json/

1. In general, if something has a name, we are adding 'Local'-suffixed
fields to hold the text in non-Latin scripts.  e.g. for personal
names, we have

  firstName, firstNameLocal
  lastName, lastNameLocal

This is necessary to do results for Cyrillic countries, Japan etc.

2. Each Competitor will have a list of the event_ids they are entered
for.  Right now, we list the category and discipline (e.g. ["Senior",
"PV"], but it's hard to get from this to the specific event, and it's
not sufficient because there might be a separate pole vault in the
decathlon and open competition.

3. We will stop repeating peoples' names everywhere.  Details about
the Person lives under 'Competitors'; within start lists or results,
we just output the competitor_id (which is often their bib number).

I'll update the list when this is done.

- Andy

Received on Wednesday, 18 October 2017 15:59:06 UTC