voc / schedule

http://c3voc.de/wiki/schedule
14 stars 18 forks source link

Request for spec: track vs. type #131

Open johnjohndoe opened 8 months ago

johnjohndoe commented 8 months ago

:information_source: This topic was initially been posted here. In order to give everyone interested in the topic access to comment it was decided to continue the discussion here. This repository is more appropriate for more general topics related to the schedule data specification.


Context

Both the schedule.xml and schedule.json contain track and type nodes resp. properties for an event.
The values of these properties are very similar - describing which category an event belongs to.

Android

In lack of a specification for these properties their values are merged in the 37C3 Fahrplan app, while giving track priority.

Request for specification

I would like to find out about the original purpose of these properties in Pentabarf, Frab, Pretalx.


@saerdnaer , @toto, @manno, @rixx - please be welcome copy/paste your former responses here. That would be great.

saerdnaer commented 8 months ago

https://github.com/frab/frab/blob/7ddfe97fe8ca2466eba6277f9385808013e0ba30/app/models/event.rb#L10

  TYPES = %w(lecture workshop podium lightning_talk meeting film concert djset performance other).freeze

We could add these to the schedule.xsd as examples like in the json schema: https://github.com/voc/schedule/blob/89a4a34c78f2df8111e65164c9acce110313fe6d/validator/json/schema.json#L243-L254

but first we should probably harmonise the values... there the repo also contains already an method for that: https://github.com/voc/schedule/blob/master/voc/tools.py#L280-L329

rixx commented 7 months ago

but first we should probably harmonise the values

fwiw, in pretalx, event types are user generated, as such, harmonising the data will always be event-dependent.