8000 GitHub - fipguide/fip-information: Information about FIP
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

fipguide/fip-information

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FIP Information

(Logo hier einfügen)

Table of Contents

English

This repository provides the data foundation for the [FIPGuide](INSERT LINK HERE). Everyone is welcome to help make the information clearer, update it, or add new information. An overview of the repository’s data structure and how information can be contributed can be found in the [Wiki](INSERT LINK HERE).

Deutsch

Dieses Repository bildet die Datengrundlage für den [FIPGuide](LINK HIER EINFÜGEN). Jeder ist willkommen Informationen besser verständlich zu machen, zu aktualisieren oder neue hinzuzufügen. Ein Überblick über die Datenstruktur des Repositorys und wie Informationen beigetragen werden können ist im [Wiki](LINK HIER EINFÜGEN) zu finden.

####################################### Abschitt für spätere Wikiseiten #######################################

Deutsch

Datenstruktur

Ordnerstruktur

Die Dateien sind nach folgender Ordnerstruktur aufgebaut

information
├── companies [^1]
│   └── <company X> [^2]
│       ├── <company X>.png [^3]
│       ├── <company X>_<lang>.md [^4]
│       ├── <company X>_<lang>.json [^5]
│       └── images [^6]
│           ├── <image 1>
│           └── <image 2>
├── countries [^7]
│   ├── index_<lang>.json [^8]
│   └── <country A> [^9]
│       ├── <country A>.png [^10]
│       ├── <country A>.json [^11]
│       ├── information_<lang>.md [^12]
│       └── images [^13]
│           ├── <image 3>
│           └── <image 4>
└── general [^14]
    ├── generalFipGuides_<lang>.md [^15]
    └── generalTravelGuides_<lang>.md [^16]

Dateiformate

Genaue technische Schemas der JSON Dateien sind im Frontend Repository zu finden.

Bahngesellschaft Informationen

Die Datei information/companies/<company>/<company>_<lang>.md enthält Informationen zur jeweiligen Bahngesellschaft.

Folgende Überschriften erkannt und mit dem passenden Text pro Sprache dargestellt:

  • generellInformation
  • reservations
  • validityOfFipTickets
  • summaryOfParticularities
  • trainCategories
  • ticketPurchase
  • arrivals
  • borders
  • reducedTickets
  • specialTariffRules

Angegebene Informationen sollten soweit möglich mit Quellen hinterlegt werden. Dazu kann eine Fußnote erstellt werden.

Information.[^1]

[^1]: Quelle

Bahngesellschaft Metadaten

Die Datei information/companies/<company>/<company>_<lang>.json enthält Metadaten die zum Anzeigen der Bahngesellschaft des Landes angegeben werden.

  • name: string der geläufigste Name der Bahngesellschaft in der jeweiligen Sprache
  • abbreviation: string die Abkürzung der Bahngesellschaft
  • authors: string[] eine Liste der Autoren der Informationen der Bahngesellschaft
  • created: "YYYY-MM-DD" Datum der Erstellung
  • edited: "YYYY-MM-DD" Datum der letzten Aktualisierung

Länder Index

Die Datei information/countries/index_<lang>.json enthält Metadaten die zum Anzeigen der Länder im Menü in der jeweiligen Sprache notwendig sind. Eine Liste aus Objekten die jeweils besteht aus:

  • name: string der Name des Landes in der jeweiligen Sprache
  • path: string der Pfad zu Informationen des Landes

Land Metadaten

Die Datei information/countries/<country>/<country>_<lang>.json enthält Metadaten die zum Anzeigen der passenden Bahngesellschaften des Landes angegeben werden. Sie besteht aus:

  • insideEu: boolean gibt an, ob das Land Mitglied der europäischen Union ist
  • fipCompanys: string[] eine Liste der Bahngesellschaften des Landes die FIP akzeptieren. In der Liste muss der Pfad der Bahngesellschaft angegeben werden.
  • nonFipCompanies: string[] eine Liste der Unternehmen, die kein FIP akzeptieren.

Land Informationen

TOBECREATED

#########################################

Englisch

Data structure

Folder structure

Die Dateien sind nach folgender Ordnerstruktur aufgebaut

information
├── companies [^1]
│   └── <company X> [^2]
│       ├── <company X>.png [^3]
│       ├── <company X>_<lang>.md [^4]
│       ├── <company X>_<lang>.json [^5]
│       └── images [^6]
│           ├── <image 1>
│           └── <image 2>
├── countries [^7]
│   ├── index_<lang>.json [^8]
│   └── <country A> [^9]
│       ├── <country A>.png [^10]
│       ├── <country A>.json [^11]
│       ├── information_<lang>.md [^12]
│       └── images [^13]
│           ├── <image 3>
│           └── <image 4>
└── general [^14]
    ├── generalFipGuides_<lang>.md [^15]
    └── generalTravelGuides_<lang>.md [^16]

File formats

The detailed technical schemas of the JSON files can be found in the frontend repository.

Railway company informationen

The file information/companies/<company>/<company>_<lang>.md contains information about the respective railway company.

The following headings are recognized and displayed with the appropriate text in each language:

  • generalInformation
  • reservations
  • validityOfFipTickets
  • summaryOfParticularities
  • trainCategories
  • ticketPurchase
  • arrivals
  • borders
  • reducedTickets
  • specialTariffRules

Information provided should be accompanied by sources where possible. A footnote can be created for this purpose.

Information.[^1]

[^1]: Source

Railway company metadata

The file information/companies/<company>/<company>_<lang>.json contains metadata used to display the railway company for the country.

  • name: string the most common name of the railway company in the respective language
  • abbreviation: string the abbreviation of the railway company
  • authors: string[] a list of the authors of the railway company information
  • created: "YYYY-MM-DD" date of creation
  • edited: "YYYY-MM-DD" date of last update

Countries index

The file information/countries/index_<lang>.json contains metadata necessary for displaying countries in the menu in the respective language. It consists of a list of objects, each containing:

  • name: string the name of the country in the respective language
  • path: string the path to information about the country

Country metadata

The file information/countries/<country>/<country>_<lang>.json contains metadata used to display the relevant railway companies for the country. It consists of:

  • insideEu: boolean indicates whether the country is a member of the European Union
  • fipCompanies: string[] a list of the country's railway companies that accept FIP. The list must include the path to the railway company.
  • nonFipCompanies: string[] a list of companies that do not accept FIP.

Country information

TOBECREATED

About

Information about FIP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0