competitionFactory
The Tennis Open Data Standards provide a document-based representation of all of the elements of a tennis tournament including participants, events, draws, matchUps, contacts, and references to online resources.
The competitionFactory is a collection of "engines" for transforming/mutating TODS documents and is intended to insure the integrity of TODS documents by managing all state transformations.
Engines
Engines manage different concerns within a document structure representing a tournament and may contain accessors, generators, getters, governors and test suites.
- competitionEngine - for managaging resources which may be shared by multiple tournaments, such as venues (courts & other locations); includes scheduling
- tournamentEngine - for managing tournament participants and general tournament information
- drawEngine - generates drawDefinitions and manages participant movement through matchUps within structures
Installation
npm install tods-competition-factory
IMPORTANT
competitionFactory is based on a combination of TODS v0.8 and elements which have been proposed for TODS v1.0