F1DB is the most comprehensive free open source database with all-time Formula 1 racing data and statistics.
Whether you are building a custom website, mobile application or just using F1DB to query data, here is what we provide:
New releases will be available as soon as possible after every race. See also Versioning.
Release artifacts are available in the following formats:
v2024.19.0
qualificationPositionNumber
and qualificationPositionText
) to race results and starting grid positions.totalPoints
) to constructors and engine manufacturers.ConstructorPreviousNextConstructor
to ConstructorChronology
positionDisplayOrder
to DriverFamilyRelationship
, ConstructorChronology
, PracticeResult
, QualifyingResult
, StartingGridPosition
, RaceResult
, FastestLap
, PitStop
, DriverOfTheDayResult
, RaceDriverStanding
, RaceConstructorStanding
, SeasonDriverStanding
and SeasonConstructorStanding
.To accommodate these (breaking) changes the JSON Schema is bumped to version v5.0.0
.
The main f1db.schema.json
schema file contains all F1DB object definitions and serves as the main documentation.
For the splitted distributions the splitted schema files must be used.
Both the JSON and Smile artifacts validate against the F1DB Json Schema.
Version | Schema Version |
---|---|
>= v2024.19.0
|
f1db.schema.json v5.0.0 , f1db-*.schema.json v5.0.0 splitted
|
>= v2024.0.0.beta2
|
f1db.schema.json v4.1.0 , f1db-*.schema.json v4.1.0 splitted
|
>= v2024.0.0.beta1
|
f1db.schema.json v4.0.0 , f1db-*.schema.json v4.0.0 splitted
|
>= v2023.22.0
|
onlyf1-db.schema.json v3.2.0 , onlyf1-db-*.schema.json v3.2.0 splitted
|
>= v2023.8.0
|
onlyf1-db.schema.json v3.1.0 , onlyf1-db-*.schema.json v3.1.0 splitted
|
>= v2023.4.0
|
onlyf1-db.schema.json v3.0.0 , onlyf1-db-*.schema.json v3.0.0 splitted
|
>= v2023.0.0.beta1
|
onlyf1-db.schema.json v2.0.0 , onlyf1-db-*.schema.json v2.0.0 splitted
|
>= v2022.1.1
|
f1db-json-schema-v1.4.0.json |
>= v2022.0.0
|
f1db-json-schema-v1.3.0.json |
>= v2022.0.0.beta4
|
f1db-json-schema-v1.3.0.json |
>= v2022.0.0.beta3
|
f1db-json-schema-v1.2.0.json |
>= v2022.0.0.beta2
|
f1db-json-schema-v1.1.0.json |
>= v2022.0.0.alpha1
|
f1db-json-schema-v1.0.0.json |
The SQLite database artifact contains all data in a relational database format and can be used to directly query the data instead of processing the JSON format.
The database file could also serve students who want to learn SQL.
We suggest to use SQLiteStudio for querying the database file. Of course any SQLite compliant SQL client can be used as well.
Since v2024.3.0
SQL artifacts are available for MySQL, PostgreSQL and SQLite
that provide .sql dump files to import the schema and data directly in these database systems.
If you want to populate another database system (e.g. H2) then most likely the PostgreSQL .sql dump file is your best option. If that doesn't work, and you want a .sql dump file for another database system to be added to the release artifacts, then please create a feature request.
Releases are versioned using a "customized" CalVer versioning scheme:
YYYY.RR.MICRO(.MODIFIER)
which uses the following conventions:
2024
, ..0
, 1
, 2
, .., 10
, 11
, ..0
, 1
, 2
, ..dev
, alpha
, beta
, rc
, ..Note this is basically the YYYY.MINOR.MICRO(.MODIFIER)
pattern where MINOR
indicates the round number (RR
).
Examples:
As you can see we use a special RR 0
for pre-season releases.
The F1DB community can be found on GitHub Discussions, where you can ask and answer questions, voice ideas, and share your projects.
Keep in touch with us by following us on X — @F1DB_com.
We use GitHub Issues to track data issues or related problems.
If you found a data issue which is not reported yet, please create a new issue.
To build the distribution zips simply run:
./gradlew clean dist assemble
Requires Java 21.
GitHub Actions is used to build and upload new releases by creating a new git tag.
Follow these steps:
gradle.properties
git commit -am "Release v<version>"
git push
git tag -a v<version> -m "Release v<version>"
git push origin v<version>
and the release action is automatically triggered by pushing the new tag.
F1DB is licensed under a Creative Commons Attribution 4.0 International License.