football-docs 0.17.0 → 0.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -314,18 +314,18 @@ metrics:sources` re-checks every card quote against its live source.
314
314
  | BeSoccer | 16 | api-access, api-endpoints, data-provenance |
315
315
  | Driblab | 32 | api-access, api-endpoints, data-model, data-provenance |
316
316
  | ESPN | 21 | api-access, scoreboard, match-summary, teams-and-standings, identity-and-coverage |
317
- | Reep | 29 | overview, identity-and-ids, download-duckdb-csv, api, data-provenance |
317
+ | Reep | 31 | overview, identity-and-ids, download-duckdb-csv, api, data-provenance |
318
318
  | TheSportsDB | 20 | api-access, api-endpoints, livescore, identity-surfaces, data-provenance |
319
319
  | FotMob | 5 | identity-surfaces, data-provenance |
320
320
  | Soccerdonna | 5 | identity-surfaces, data-provenance |
321
- | Transfermarkt | 5 | identity-surfaces, data-provenance |
321
+ | Transfermarkt | 10 | identity-surfaces, data-provenance, transfermarkt-datasets |
322
322
  | STATSports | 70 | api-access, api-endpoints, data-model, drill-kpi-metrics (all 319 DrillKpiV7 fields), identity-surfaces, data-provenance |
323
323
  | Firstbeat | 79 | api-access, api-endpoints, data-model, variables (100 scalars, 17 time series), identity-surfaces, data-provenance |
324
324
  | Hawkin Dynamics | 69 | api-access, api-endpoints, data-model, test-metrics (535 metrics across 13 test types), identity-surfaces, data-provenance |
325
325
  | VALD | 318 | api-access, api-endpoints, per-product endpoints and schemas (tenants, profiles, forcedecks, nordbord, forceframe, smartspeed, dynamo, humantrak), identity-surfaces, data-provenance |
326
326
  | Metric cards | 101 | xg, npxg, xg_assisted, xa, ppda, progressive_passes, progressive_carries, xt, vaep, field_tilt, pass_completion; see [Metric cards](#metric-cards) |
327
327
 
328
- **3,506 searchable chunks** across 31 providers and tools (the metric cards count as one).
328
+ **3,513 searchable chunks** across 31 providers and tools (the metric cards count as one).
329
329
 
330
330
  STATSports, Firstbeat, Hawkin Dynamics and VALD sell wearables and testing devices.
331
331
  Their APIs return a customer's own athlete data, which includes personal and health
package/data/docs.db CHANGED
Binary file
package/dist/reep.js CHANGED
@@ -73,6 +73,26 @@ async function localRegister(path, options) {
73
73
  openFiles.set(path, { mtimeMs, ...opened });
74
74
  return opened.register;
75
75
  }
76
+ /**
77
+ * Follow merge redirects to the survivor (bounded, in case of a chain). A row
78
+ * with an empty to_id is a tombstone, not a merge: stop there. Bridges can name
79
+ * a merged ID too, so every hit goes through this, not only Reep ID lookups.
80
+ */
81
+ async function followRedirects(register, start) {
82
+ let current = start;
83
+ for (let hop = 0; hop < 5; hop++) {
84
+ const next = await register.query("SELECT to_id, reason FROM redirects WHERE from_id = $id", { id: current });
85
+ if (!next.length)
86
+ break;
87
+ const to = next[0].to_id == null ? "" : String(next[0].to_id).trim();
88
+ if (!to) {
89
+ const reason = next[0].reason == null ? "" : String(next[0].reason).trim();
90
+ return { id: current, tombstone: { id: current, reason, requested_id: current === start ? undefined : start } };
91
+ }
92
+ current = to;
93
+ }
94
+ return { id: current };
95
+ }
76
96
  async function localLookup(register, q) {
77
97
  let ids = [];
78
98
  if (q.kind === "provider") {
@@ -90,18 +110,11 @@ async function localLookup(register, q) {
90
110
  ids = (await register.query(`${sql} LIMIT ${MAX_RESULTS}`, params)).map((r) => ({
91
111
  reep_id: String(r.reep_id),
92
112
  matched: `${q.provider} / ${String(r.namespace ?? "")}: ${q.id}`,
113
+ matched_namespace: String(r.namespace ?? ""),
93
114
  }));
94
115
  }
95
116
  else if (q.kind === "reep_id") {
96
- // Follow merge redirects to the survivor (bounded, in case of a chain).
97
- let current = q.reepId;
98
- for (let hop = 0; hop < 5; hop++) {
99
- const next = await register.query("SELECT to_id FROM redirects WHERE from_id = $id", { id: current });
100
- if (!next.length)
101
- break;
102
- current = String(next[0].to_id);
103
- }
104
- ids = [{ reep_id: current, requested_id: current === q.reepId ? undefined : q.reepId }];
117
+ ids = [{ reep_id: q.reepId }];
105
118
  }
106
119
  else {
107
120
  const pattern = `%${q.name.replace(/[\\%_]/g, (c) => `\\${c}`)}%`;
@@ -117,19 +130,31 @@ async function localLookup(register, q) {
117
130
  }));
118
131
  }
119
132
  const found = [];
133
+ const tombstones = [];
134
+ const seen = new Set();
120
135
  for (const hit of ids) {
136
+ const target = await followRedirects(register, hit.reep_id);
137
+ if (target.tombstone) {
138
+ tombstones.push({ ...target.tombstone, matched: hit.matched });
139
+ continue;
140
+ }
141
+ // Two bridges (or search hits) can lead to the same survivor.
142
+ if (seen.has(target.id))
143
+ continue;
144
+ seen.add(target.id);
121
145
  const entity = await register.query("SELECT reep_id, label, entity_type FROM entities WHERE reep_id = $id", {
122
- id: hit.reep_id,
146
+ id: target.id,
123
147
  });
124
148
  if (!entity.length)
125
149
  continue;
126
- const bridges = await register.query("SELECT provider, namespace, external_id FROM bridges WHERE reep_id = $id ORDER BY provider, namespace, external_id", { id: hit.reep_id });
150
+ const bridges = await register.query("SELECT provider, namespace, external_id FROM bridges WHERE reep_id = $id ORDER BY provider, namespace, external_id", { id: target.id });
127
151
  found.push({
128
- reep_id: hit.reep_id,
152
+ reep_id: target.id,
129
153
  label: String(entity[0].label),
130
154
  entity_type: String(entity[0].entity_type),
131
- requested_id: hit.requested_id,
155
+ requested_id: target.id === hit.reep_id ? undefined : hit.reep_id,
132
156
  matched: hit.matched,
157
+ matched_namespace: hit.matched_namespace,
133
158
  bridges: bridges.map((b) => ({
134
159
  provider: String(b.provider),
135
160
  namespace: String(b.namespace ?? ""),
@@ -137,7 +162,43 @@ async function localLookup(register, q) {
137
162
  })),
138
163
  });
139
164
  }
140
- return found;
165
+ if (q.kind === "reep_id" && tombstones.length)
166
+ return { found: [], tombstone: tombstones[0], tombstones };
167
+ return { found, tombstones };
168
+ }
169
+ /** What a tombstone means, from the redirects table's published schema note. */
170
+ function tombstoneText(t) {
171
+ const matched = t.matched ? `${t.matched} points at ${t.requested_id ?? t.id}. ` : "";
172
+ const via = t.requested_id ? `${t.requested_id} was merged into ${t.id}, and ` : "";
173
+ const what = t.reason === "de_corroborated"
174
+ ? "is withdrawn (reason: de_corroborated). It was in an earlier release, and this release no longer admits it " +
175
+ "because its corroboration fell below the register's threshold."
176
+ : t.reason === "withheld"
177
+ ? "is withheld (reason: withheld). It is a live, corroborated ID that a publication rule (for example named " +
178
+ "teams or the season horizon) keeps out of this release."
179
+ : `has a tombstone in the redirects table (reason: ${t.reason || "none given"}) with no survivor.`;
180
+ return (`${matched}${via}Reep ID ${t.id} ${what} It is not a merge, so there is no survivor ID. Do not treat it as an unknown ID: ` +
181
+ "it was published, and the ID will never be reused.");
182
+ }
183
+ /**
184
+ * A provider-ID lookup without a namespace. Reep keys bridges on (provider,
185
+ * namespace, external_id), and providers reuse numbers across entity types, so
186
+ * a single match can still be the wrong kind of entity.
187
+ */
188
+ function namespaceNote(q, found) {
189
+ if (q.kind !== "provider" || q.namespace || !found.length)
190
+ return "";
191
+ const namespaces = [...new Set(found.map((f) => f.matched_namespace).filter((n) => Boolean(n)))];
192
+ if (namespaces.length > 1) {
193
+ return (`\n\n**No namespace was given, and this ID matches in ${namespaces.length} namespaces.** ${q.provider} reuses ` +
194
+ "numbers across entity types. Pass namespace to pick the one you mean.");
195
+ }
196
+ if (q.type)
197
+ return "";
198
+ const where = namespaces.length ? ` It matched only in namespace "${namespaces[0]}".` : "";
199
+ return (`\n\n**No namespace was given.**${where} Reep keys provider IDs on provider, namespace and ID, and ` +
200
+ `${q.provider} may use the same number for different kinds of entity. Pass namespace (or type) to be sure this ` +
201
+ "is the entity you meant.");
141
202
  }
142
203
  // Keyed by the fetch implementation, so an injected fetch never sees another's cache.
143
204
  const latestCache = new WeakMap();
@@ -239,8 +300,13 @@ async function apiLookup(q, key, base, fetchImpl) {
239
300
  return textResult("The Reep API rate limit or monthly lookup allowance is used up (HTTP 429). For bulk work, use the free " +
240
301
  `download instead: set REEP_DUCKDB_PATH to a copy of ${REEP_DOWNLOAD_URL}. To raise the limit, email ${REEP_CONTACT}.`, true);
241
302
  }
242
- if (response.status === 404)
243
- return textResult(`No Reep entity matches that query.${footer ? `\n\n${footer}` : ""}`);
303
+ if (response.status === 404) {
304
+ // Keep the API's own error code and message: a removed entity leaves a
305
+ // tombstone, and "not found" alone would hide that it was ever published.
306
+ const error = (await response.json().catch(() => null));
307
+ const why = [error?.error, error?.message, error?.detail].filter(Boolean).join(": ");
308
+ return textResult(`No Reep entity matches that query${why ? ` (${why})` : ""}.${footer ? `\n\n${footer}` : ""}`);
309
+ }
244
310
  let body;
245
311
  try {
246
312
  body = (await response.json());
@@ -258,8 +324,13 @@ async function apiLookup(q, key, base, fetchImpl) {
258
324
  const found = (q.kind === "reep_id" ? [body] : (body.results ?? [])).map(fromApi);
259
325
  if (!found.length)
260
326
  return textResult(`No Reep entity matches that query.${footer ? `\n\n${footer}` : ""}`);
327
+ if (q.kind === "provider") {
328
+ for (const f of found) {
329
+ f.matched_namespace = f.bridges?.find((b) => b.provider === q.provider && b.external_id === q.id)?.namespace;
330
+ }
331
+ }
261
332
  const hint = q.kind === "name" ? "\n\nSearch results carry no provider IDs. Call again with reep_id to get every provider ID." : "";
262
- return textResult(`Found ${found.length} result(s) via the Reep API:\n\n${formatFound(found)}${hint}${footer ? `\n\n${footer}` : ""}`);
333
+ return textResult(`Found ${found.length} result(s) via the Reep API:\n\n${formatFound(found)}${hint}${namespaceNote(q, found)}${footer ? `\n\n${footer}` : ""}`);
263
334
  }
264
335
  // ---------------------------------------------------------------------------
265
336
  // Source 3: neither configured
@@ -267,9 +338,13 @@ function sqlFor(q) {
267
338
  const quote = (s) => `'${s.replace(/'/g, "''")}'`;
268
339
  if (q.kind === "provider") {
269
340
  return [
270
- "SELECT e.reep_id, e.label, e.entity_type, o.provider, o.namespace, o.external_id",
341
+ "-- A bridge can name a merged Reep ID: follow its redirect to the survivor. An empty",
342
+ "-- to_id is a tombstone (redirect_reason de_corroborated or withheld), not a merge.",
343
+ "SELECT b.reep_id AS bridged_id, r.reason AS redirect_reason, e.reep_id, e.label, e.entity_type,",
344
+ " o.provider, o.namespace, o.external_id",
271
345
  "FROM bridges b",
272
- "JOIN entities e USING (reep_id)",
346
+ "LEFT JOIN redirects r ON r.from_id = b.reep_id",
347
+ "JOIN entities e ON e.reep_id = coalesce(nullif(r.to_id, ''), b.reep_id)",
273
348
  "JOIN bridges o ON o.reep_id = e.reep_id",
274
349
  `WHERE b.provider = ${quote(q.provider)}${q.namespace ? ` AND b.namespace = ${quote(q.namespace)}` : ""}`,
275
350
  ` AND b.external_id = ${quote(q.id)}`,
@@ -278,10 +353,15 @@ function sqlFor(q) {
278
353
  }
279
354
  if (q.kind === "reep_id") {
280
355
  return [
281
- "-- Follow a merge redirect first, then list every provider ID.",
356
+ "-- First check for a tombstone: a redirect with an empty to_id means the ID was withdrawn",
357
+ "-- (reason de_corroborated) or withheld, not merged.",
358
+ `SELECT from_id, to_id, reason FROM redirects WHERE from_id = ${quote(q.reepId)};`,
359
+ "",
360
+ "-- Then follow a merge redirect to the survivor, and list every provider ID.",
282
361
  "SELECT e.reep_id, e.label, e.entity_type, b.provider, b.namespace, b.external_id",
283
362
  "FROM entities e JOIN bridges b USING (reep_id)",
284
- `WHERE e.reep_id = coalesce((SELECT to_id FROM redirects WHERE from_id = ${quote(q.reepId)}), ${quote(q.reepId)})`,
363
+ `WHERE e.reep_id = coalesce((SELECT nullif(to_id, '') FROM redirects WHERE from_id = ${quote(q.reepId)}), ${quote(q.reepId)})`,
364
+ ` AND NOT EXISTS (SELECT 1 FROM redirects WHERE from_id = ${quote(q.reepId)} AND coalesce(to_id, '') = '')`,
285
365
  "ORDER BY b.provider, b.namespace;",
286
366
  ].join("\n");
287
367
  }
@@ -350,16 +430,16 @@ export async function resolveEntity(args, options = {}) {
350
430
  if (path) {
351
431
  try {
352
432
  const register = await localRegister(path, options);
353
- const found = await localLookup(register, q);
433
+ const { found, tombstone, tombstones } = await localLookup(register, q);
354
434
  const note = await freshnessNote(path, register.stamp, fetchImpl);
355
- if (!found.length)
356
- return textResult(`No Reep entity matches that query in the local register.\n\n${note}`);
357
- const namespaces = new Set(found.map((f) => f.matched?.split(":")[0]));
358
- const warning = q.kind === "provider" && !q.namespace && namespaces.size > 1
359
- ? `\n\n**No namespace was given, and this ID matches in ${namespaces.size} namespaces.** ${q.provider} reuses ` +
360
- "numbers across entity types. Pass namespace to pick the one you mean."
361
- : "";
362
- return textResult(`Found ${found.length} result(s) in the local Reep register:\n\n${formatFound(found)}${warning}\n\n${note}`);
435
+ if (tombstone)
436
+ return textResult(`${tombstoneText(tombstone)}\n\n${note}`);
437
+ const gone = tombstones.map((t) => tombstoneText(t)).join("\n\n");
438
+ if (!found.length) {
439
+ return textResult(`${gone || "No Reep entity matches that query in the local register."}\n\n${note}`);
440
+ }
441
+ return textResult(`Found ${found.length} result(s) in the local Reep register:\n\n${formatFound(found)}${namespaceNote(q, found)}` +
442
+ `${gone ? `\n\n${gone}` : ""}\n\n${note}`);
363
443
  }
364
444
  catch (error) {
365
445
  const reason = error instanceof Error ? error.message : String(error);
package/docs/reep/api.md CHANGED
@@ -2,7 +2,7 @@
2
2
  source_url: https://reep.football/api
3
3
  source_type: curated
4
4
  upstream_version: null
5
- crawled_at: 2026-09-22
5
+ crawled_at: 2026-10-09
6
6
  ---
7
7
 
8
8
  # Reep API
@@ -11,20 +11,33 @@ The API serves the current release over HTTP for single, live lookups. It
11
11
  exposes nothing the free download does not. Base URL:
12
12
  `https://reep.football/api/v1`. The full contract is the OpenAPI specification
13
13
  at https://reep.football/openapi.yaml, rendered at https://reep.football/docs.
14
- Written on 2026-09-22.
14
+ Checked on 2026-10-09 against release `20261005T180536Z`.
15
15
 
16
16
  ## Getting a key
17
17
 
18
- **Keys are issued by hand; there is no self-service sign-up.** Email
19
- getintouch+nutmeg@withqwerty.com with your organisation, what you are matching and
20
- roughly how many lookups you expect. An evaluation key starts at 1,000 lookups a
21
- month at 2 requests a second; limits are raised for partners on request. For bulk
22
- work, use the download instead.
18
+ **Keys are issued by hand; there is no self-service sign-up.** Keys go to three
19
+ groups:
20
+
21
+ - **Data partners:** providers whose IDs the register bridges, checking and
22
+ maintaining those bridges.
23
+ - **Organisations evaluating the register:** federations and FAs, clubs, and
24
+ analytics companies testing it against their own data. A free evaluation key
25
+ is unmetered at 20 requests a second and expires automatically after 30 days.
26
+ It is extended on request, and the key value stays the same.
27
+ - **Production access:** a paid service for teams that want Reep lookups in a
28
+ live system. Volume, rate, uptime and support terms are on request.
29
+
30
+ Email getintouch+nutmeg@withqwerty.com with your organisation, which group you
31
+ are in and what you are matching. Keys and limits never unlock extra fields or
32
+ providers. For bulk work, use the download instead.
23
33
 
24
34
  Send the key as `Authorization: Bearer <key>`. Search, entity, bridge, overlay,
25
- relationship and resolve calls each cost one lookup, and the remaining count
26
- comes back in `X-Reep-Credits-Remaining`. Metadata and changes endpoints cost
27
- nothing. Every endpoint is subject to the key's per-second rate limit.
35
+ relationship and resolve calls each count as one lookup, as does each page of
36
+ matches. The remaining count comes back in `X-Reep-Credits-Remaining`. Metadata
37
+ and changes endpoints do not count. Every endpoint is subject to the key's
38
+ per-second rate limit. A key that expires also gets `X-Reep-Key-Expires` (ISO
39
+ time) and `X-Reep-Key-Days-Remaining` on every authenticated response, and
40
+ `GET /api/v1/key` shows the key's status.
28
41
 
29
42
  Source: [API guide](https://reep.football/api).
30
43
 
@@ -34,6 +47,7 @@ Source: [API guide](https://reep.football/api).
34
47
  |---|---|---|
35
48
  | `GET /api/v1/meta` | Current release stamp and its predecessor | none |
36
49
  | `GET /api/v1/providers` | Providers with bridge counts, entity types and role | none |
50
+ | `GET /api/v1/key` | The calling key's plan, expiry and remaining allowance | none |
37
51
  | `GET /api/v1/resolve/{provider}/{external_id}` | Provider ID to Reep entity; takes `namespace` and `type` | one |
38
52
  | `POST /api/v1/batch` | Up to 100 entity items or 20 resolve items per request | one per item |
39
53
  | `GET /api/v1/entities/{reep_id}` | Entity detail | one |
@@ -41,6 +55,7 @@ Source: [API guide](https://reep.football/api).
41
55
  | `GET /api/v1/entities/{reep_id}/overlay` | Wikidata overlay for one entity | one |
42
56
  | `GET /api/v1/entities/{reep_id}/relationships` | Relationship summary | one |
43
57
  | `GET /api/v1/search` | Name and alias search; takes `q`, `type`, `sort`, `limit` | one |
58
+ | `GET /api/v1/matches` | Published matches mapped across providers, filtered by team, competition or season | one per page |
44
59
  | `GET /api/v1/changes/summary` | Change counts since a stamp | none |
45
60
  | `GET /api/v1/changes` | Paged change events, filtered by `type` or `provider` | none |
46
61
  | `GET /api/v1/changes/releases` | The list of published releases | none |
@@ -90,3 +105,64 @@ sync, then page `GET /api/v1/changes` for the events: entities added, IDs
90
105
  redirected with their survivor, and bridges added or removed. Use `from` and `to`
91
106
  for any two published releases. Both endpoints return an `ETag`, and a matching
92
107
  `If-None-Match` returns 304 with no body.
108
+
109
+ ## Key status
110
+
111
+ `GET /api/v1/key` returns the calling key's status and costs no lookup:
112
+
113
+ - `key`: `plan` (for example `evaluation`), `access_model`, `organisation`,
114
+ `provider`, `expires_at`, `days_remaining`, `expiring_soon`,
115
+ `credits_remaining` and `rate_limit_remaining`. Each can be null except
116
+ `expiring_soon`, which turns true 7 days before `expires_at`.
117
+ - `extend`: how to extend the key (`how`, `contact`), or null for a key that
118
+ never expires.
119
+
120
+ ## Matches mapped across providers
121
+
122
+ `GET /api/v1/matches` returns published matches with their IDs at every
123
+ provider. It is available only when the register's generation mode is on; when
124
+ it is off or in shadow, the endpoint returns 404.
125
+
126
+ ```bash
127
+ curl -H "Authorization: Bearer $REEP_API_KEY" \
128
+ "https://reep.football/api/v1/matches?team=<reep_id or provider:namespace:id>&from=2026-08-01&to=2026-08-31&require=opta,wyscout"
129
+ ```
130
+
131
+ - **Anchors:** at least one `team`, `competition` or `season` is required. Each
132
+ takes a Reep ID or `provider:namespace:id`, up to five values. Repeat the
133
+ parameter for more than one value (`team=a&team=b`); do not comma-separate.
134
+ Values within one anchor are ORed, and different filters intersect.
135
+ - **Other filters:** `opponent` and `venue` (`home`, `away` or `any`, default
136
+ `any`) need exactly one `team`. `from` and `to` are inclusive register dates,
137
+ with no time-zone conversion. `state` takes comma-separated states (`played`,
138
+ `scheduled`, `postponed`, `cancelled`, `awarded`, `abandoned`, or `none` for a
139
+ null state). `providers` limits the bridges returned; `require` and `missing`
140
+ keep matches that have, or do not have, a publishable bridge at each named
141
+ provider. `sort` is `desc` (default) or `asc` by date, and `limit` is 1 to 100
142
+ (default 20).
143
+ - **Default window:** with no `season` and no date bound, the window is the last
144
+ 30 calendar dates including today (UTC). A `season` removes the default
145
+ window, and a single date bound leaves the other end open. Undated matches
146
+ are left out whenever a date bound applies.
147
+ - **Paging:** a page holds at most 100 rows and 262,144 bytes, so it can hold
148
+ fewer than `limit`. Continue with `cursor=<next_cursor>`. Cursors are signed,
149
+ expire after 24 hours and are bound to the filters and the generation; a
150
+ changed filter or generation, or an expired cursor, returns 400
151
+ `stale_cursor`, and you restart without it.
152
+ - **Response:** `matches`, `count`, `generation`, `unresolved` (anchors that
153
+ did not resolve, which give an empty page) and `next_cursor`. Each match has
154
+ `reep_id`, `played_on`, `state`, `home`, `away`, `competition`, `season` and
155
+ `stage` (each a `reep_id` with a `label`), `home_score`, `away_score`,
156
+ `shootout_home`, `shootout_away`, `result_form`, `score_basis`, `leg`,
157
+ `aggregate_of`, `bridges` (`provider`, `namespace`, `external_id`) and
158
+ `generation`.
159
+ - **Nulls:** null means the register holds no published value, never zero or
160
+ unknown. Scores are after-play goals and exclude shoot-out kicks. No date,
161
+ score, state or structure is inferred.
162
+ - **Errors** carry the code in `error`: 400 for an invalid query (for example
163
+ `anchor_required`, `single_team_required`, `invalid_id`) or `stale_cursor`,
164
+ 409 `ambiguous_provider_id`, 422 `wrong_entity_type`, and 503
165
+ `generation_unavailable` or `match_response_too_large`.
166
+
167
+ Source: [OpenAPI specification](https://reep.football/openapi.yaml), release
168
+ `20261005T180536Z`.
@@ -2,7 +2,7 @@
2
2
  source_url: https://reep.football/get-started
3
3
  source_type: curated
4
4
  upstream_version: null
5
- crawled_at: 2026-09-29
5
+ crawled_at: 2026-10-09
6
6
  ---
7
7
 
8
8
  # Reep register overview
@@ -31,9 +31,10 @@ download the file and join. Use the API for a single lookup from a running
31
31
  application.
32
32
 
33
33
  **API keys are not self-service.** There is no sign-up form. Email
34
- getintouch+nutmeg@withqwerty.com with your organisation, what you are matching and
35
- roughly how many lookups you expect, and a key is issued by hand. The download
36
- needs nothing from anyone.
34
+ getintouch+nutmeg@withqwerty.com with your organisation, which group you are in
35
+ (data partner, organisation evaluating the register, or production access) and
36
+ what you are matching, and a key is issued by hand. A free evaluation key lasts
37
+ 30 days and is extended on request. The download needs nothing from anyone.
37
38
 
38
39
  Sources: [get-started guide](https://reep.football/get-started),
39
40
  [API guide](https://reep.football/api).
@@ -52,7 +53,20 @@ source that is set up in the MCP server's environment:
52
53
  getintouch+nutmeg@withqwerty.com). There is no self-service sign-up.
53
54
 
54
55
  With neither set, the tool explains both options and returns the DuckDB query
55
- that answers the question from the download. Example MCP configuration:
56
+ that answers the question from the download.
57
+
58
+ What the answers say:
59
+
60
+ - A merged Reep ID is followed to its survivor, and the answer names both IDs.
61
+ This includes a provider ID whose bridge still names the merged ID.
62
+ - A withdrawn or withheld Reep ID (a tombstone in `redirects`, with an empty
63
+ `to_id`) is reported as withdrawn or withheld, with the reason. It is not
64
+ reported as unknown: it was published, and the ID is never reused.
65
+ - A provider ID looked up without a namespace gets a note: which namespace it
66
+ matched in, or a warning when it matched in more than one. Pass the
67
+ namespace (or the entity type) to be sure of the entity.
68
+
69
+ Example MCP configuration:
56
70
 
57
71
  ```json
58
72
  {
@@ -43,8 +43,8 @@ A season's stages carry `phase`, a coarse stage name such as `regular season`.
43
43
  Several distinct stages share the same `phase` value: Apertura, Clausura and a
44
44
  group stage can all arrive as `regular season`.
45
45
 
46
- The OpenAPI specs (Soccer v4 and Soccer Extended v4, checked 2026-09-29) add
47
- `phase_type` to the stage object. It is an enumerated, more granular stage type,
46
+ The OpenAPI specs (Soccer v4 and Soccer Extended v4, checked 2026-10-09) add
47
+ `phase_type` to the stage objects `season_stage` and `season_brackets_stage`. It is an enumerated, more granular stage type,
48
48
  for example `apertura`, `clausura`, `group_stage`, `knockout_stage` or
49
49
  `regular_season`. `phase` is unchanged for backward compatibility. Use `type`
50
50
  plus `phase_type` as the key for a stage within a season, and fall back to
@@ -0,0 +1,106 @@
1
+ ---
2
+ source_type: curated
3
+ source_url: https://github.com/dcaribou/transfermarkt-datasets
4
+ upstream_version: release of 2026-09-05 (commit e44f186)
5
+ crawled_at: 2026-10-08
6
+ ---
7
+
8
+ # Transfermarkt datasets (dcaribou/transfermarkt-datasets)
9
+
10
+ `transfermarkt-datasets` is a community project, not Transfermarkt's own
11
+ data. It scrapes Transfermarkt pages and publishes the result as CSV files.
12
+ The repository licence is CC0-1.0. The files are published at
13
+ `https://pub-e682421888d945d684bcae8890b0ec20.r2.dev/data/<name>.csv.gz`
14
+ (for example `player_valuations.csv.gz`, `players.csv.gz`, `clubs.csv.gz`).
15
+ The notes below were checked against the release of 2026-09-05 (files last
16
+ modified 2026-09-05, repository commit `e44f186`).
17
+
18
+ ## Status: updates paused since July 2026
19
+
20
+ The project's updates are paused, and the data is frozen. Its README and its
21
+ status announcement (discussion #383, 2026-09-05) say the collection pipeline
22
+ stopped completing in mid-July 2026: the last successful collection run was
23
+ on 10 July 2026 and the last data update was published on 11 July 2026.
24
+ There is no estimated date for updates to resume.
25
+
26
+ | File | Nothing after |
27
+ |---|---|
28
+ | `games`, `game_events` | 2026-07-06 |
29
+ | `appearances` | 2026-06-28 |
30
+ | `player_valuations` | 2026-06-12 |
31
+
32
+ 2026/27 squads are not covered. The files published before the pause are
33
+ still available to download. The 2026-09-05 release changed only the CSV
34
+ quoting and the README, not the data. Do not treat the latest
35
+ `player_valuations` row as a player's current value, or `players.csv` as
36
+ current squads.
37
+
38
+ ## player_valuations columns
39
+
40
+ `player_valuations.csv.gz` has one row per market value record. The project
41
+ describes it as "one row per player value record. Player value records appear
42
+ as a result of a change in the player market value." The primary key is
43
+ (`player_id`, `date`).
44
+
45
+ | Column | Where it comes from |
46
+ |---|---|
47
+ | `player_id` | Transfermarkt player ID |
48
+ | `date` | Date of the market value record |
49
+ | `market_value_in_eur` | The market value, in euros |
50
+ | `current_club_name` | The club name in the player's market value history, for that record |
51
+ | `current_club_id` | Derived by the project: see below. Not the club at the valuation date. |
52
+ | `player_club_domestic_competition_id` | The domestic competition of the club in `current_club_id`, so it has the same problem |
53
+
54
+ ## current_club_id is not the club at the valuation date
55
+
56
+ In `player_valuations`, `current_club_id` is not Transfermarkt's club for that
57
+ valuation. The project derives it (`dbt/models/curated/player_valuations.sql`,
58
+ changed on 2026-02-14 to fix issue #137):
59
+
60
+ - the `to_club_id` of the player's latest transfer in the project's
61
+ `transfers` table dated on or before the valuation date;
62
+ - if there is no such transfer, the player's `current_club_id` from
63
+ `players.csv`, which is the club at scrape time.
64
+
65
+ So when the `transfers` table misses a move (for example a loan or a
66
+ lower-league transfer), `current_club_id` keeps the club of an earlier
67
+ recorded transfer, or holds the club at scrape time. `current_club_name`
68
+ comes from the market value history itself and follows the player's moves.
69
+ `player_club_domestic_competition_id` is looked up from `current_club_id`,
70
+ so it can also name the wrong competition.
71
+
72
+ Checked on the release of 2026-09-05, over the 407,084 valuation rows dated
73
+ from 2018-06-01:
74
+
75
+ - `current_club_id` is found in `clubs.csv` for 81.8% of rows. Of those, the
76
+ club's name agrees with `current_club_name` (first six characters,
77
+ ignoring case) for 63.9%.
78
+ - 49% of the 37,640 players have more than one `current_club_id` in the
79
+ period, and 82% have more than one `current_club_name`.
80
+ - Example: player 143219 is valued on 2023-02-22 and 2023-06-07 with
81
+ `current_club_name` "Budafoki MTE", but `current_club_id` 31 (Liverpool FC)
82
+ and `player_club_domestic_competition_id` "GB1".
83
+ - Where the transfers are recorded, the two agree: player 203460 (Jack
84
+ Grealish) has Aston Villa (405) up to 2021-05-28 and Manchester City (281)
85
+ from 2021-10-05 in both columns.
86
+
87
+ ### Building a club's squad value at a past date
88
+
89
+ - Do not assign valuations to clubs by `current_club_id` or by
90
+ `player_club_domestic_competition_id`.
91
+ - Use `current_club_name` for the club at the valuation date: take each
92
+ player's latest valuation on or before the date and group by
93
+ `current_club_name`.
94
+ - To get a club ID, join `current_club_name` to `clubs.csv` by name, and
95
+ check the result. `clubs.csv` holds 796 clubs (the clubs in the
96
+ competitions the project scrapes), and an exact name match finds a club
97
+ for 53.0% of the rows from 2018-06-01. The other rows need a manual or
98
+ fuzzy name match, or have no club in `clubs.csv`.
99
+ - Some rows have `current_club_name` "Unknown".
100
+
101
+ Sources: the project's model SQL and asset definition at commit `e44f186`
102
+ (https://github.com/dcaribou/transfermarkt-datasets), issue #137
103
+ (https://github.com/dcaribou/transfermarkt-datasets/issues/137, closed
104
+ 2026-02-14), the status announcement
105
+ (https://github.com/dcaribou/transfermarkt-datasets/discussions/383), and the 2026-09-05 files `player_valuations.csv.gz`,
106
+ `players.csv.gz` and `clubs.csv.gz`. Checked 2026-10-08.
@@ -398,8 +398,8 @@ The 33 component schemas of the ForceDecks spec, in spec order. No field has a d
398
398
  | Field | Type | Format | Nullable | Description |
399
399
  | --- | --- | --- | --- | --- |
400
400
  | `teamId` | `string` | `uuid` | | |
401
- | `id` | `string` | `uuid` | | |
402
- | `hubId` | `string` | `uuid` | yes | |
401
+ | `id` | `string` | `uuid` | | Unique athlete Id. For teams merged with Vald Hub this is the original ForceDecks Athlete Id in ForceDecks prior to the merge. |
402
+ | `hubId` | `string` | `uuid` | yes | Unique profile (athlete) Id in Vald Hub for merged teams. The Id is not present for ForceDecks- only teams. This is also the Id reported as Athlete ID within ForceDecks client applications for a merged team. |
403
403
  | `name` | `string` | | yes | **Personal data.** |
404
404
  | `givenName` | `string` | | yes | **Personal data.** |
405
405
  | `familyName` | `string` | | yes | **Personal data.** |
@@ -431,23 +431,23 @@ Type `string`.
431
431
 
432
432
  ### `DeletedAthleteDTO`
433
433
 
434
- | Field | Type | Format | Nullable |
435
- | --- | --- | --- | --- |
436
- | `teamId` | `string` | `uuid` | |
437
- | `id` | `string` | `uuid` | |
438
- | `hubId` | `string` | `uuid` | yes |
439
- | `isHardDeleted` | `boolean` | | |
440
- | `deletedUTC` | `string` | `date-time` | |
434
+ | Field | Type | Format | Nullable | Description |
435
+ | --- | --- | --- | --- | --- |
436
+ | `teamId` | `string` | `uuid` | | |
437
+ | `id` | `string` | `uuid` | | Unique athlete Id. For teams merged with Vald Hub this is the original ForceDecks Athlete Id in ForceDecks prior to the merge. |
438
+ | `hubId` | `string` | `uuid` | yes | Unique profile (athlete) Id in Vald Hub for merged teams. The Id is not present for ForceDecks- only teams. This is also the Id reported as Athlete ID within ForceDecks client applications for a merged team. |
439
+ | `isHardDeleted` | `boolean` | | | True if the deletion is a hard (permanent), as opposed to soft (un-doable) deletion. |
440
+ | `deletedUTC` | `string` | `date-time` | | |
441
441
 
442
442
  ### `DeletedTestDTO`
443
443
 
444
- | Field | Type | Format | Nullable |
445
- | --- | --- | --- | --- |
446
- | `id` | `string` | `uuid` | |
447
- | `teamId` | `string` | `uuid` | |
448
- | `athleteId` | `string` | `uuid` | |
449
- | `hubAthleteId` | `string` | `uuid` | yes |
450
- | `deletedUTC` | `string` | `date-time` | |
444
+ | Field | Type | Format | Nullable | Description |
445
+ | --- | --- | --- | --- | --- |
446
+ | `id` | `string` | `uuid` | | |
447
+ | `teamId` | `string` | `uuid` | | |
448
+ | `athleteId` | `string` | `uuid` | | Unique athlete Id. For teams merged with Vald Hub this is the original ForceDecks Athlete Id in ForceDecks prior to the merge. |
449
+ | `hubAthleteId` | `string` | `uuid` | yes | Unique profile (athlete) Id in Vald Hub for merged teams. The Id is not present for ForceDecks- only teams. This is also the Id reported as Athlete ID within ForceDecks client applications for a merged team. |
450
+ | `deletedUTC` | `string` | `date-time` | | |
451
451
 
452
452
  ### `DetailedTestDTO`
453
453
 
@@ -455,8 +455,8 @@ Type `string`.
455
455
  | --- | --- | --- | --- | --- |
456
456
  | `id` | `string` | `uuid` | | |
457
457
  | `teamId` | `string` | `uuid` | | |
458
- | `athleteId` | `string` | `uuid` | | |
459
- | `hubAthleteId` | `string` | `uuid` | yes | |
458
+ | `athleteId` | `string` | `uuid` | | Unique athlete Id. For teams merged with Vald Hub this is the original ForceDecks Athlete Id in ForceDecks prior to the merge. |
459
+ | `hubAthleteId` | `string` | `uuid` | yes | Unique profile (athlete) Id in Vald Hub for merged teams. The Id is not present for ForceDecks- only teams. This is also the Id reported as Athlete ID within ForceDecks client applications for a merged team. |
460
460
  | `fullName` | `string` | | yes | **Personal data.** |
461
461
  | `recordedUTC` | `string` | `date-time` | | |
462
462
  | `recordedOffset` | `integer` | `int32` | | |
@@ -531,23 +531,23 @@ Type `string`.
531
531
 
532
532
  ### `RecordingDTO`
533
533
 
534
- | Field | Type | Format | Nullable |
535
- | --- | --- | --- | --- |
536
- | `id` | `string` | `uuid` | |
537
- | `athleteId` | `string` | `uuid` | |
538
- | `hubAthleteId` | `string` | `uuid` | yes |
539
- | `recordedUTC` | `string` | `date-time` | |
540
- | `recordedOffset` | `integer` | `int32` | |
541
- | `recordedTimezone` | `string` | | yes |
542
- | `recordingInfo` | `string` | | yes |
543
- | `dataSource` | `string` | | yes |
544
- | `recordingType` | `RecordingType` | | |
545
- | `recordingOutput` | `RecordingOutput` | | |
546
- | `samplingFrequency` | `integer` | `int32` | |
547
- | `duration` | `number` | `double` | |
548
- | `lastModifiedUTC` | `string` | `date-time` | |
549
- | `recordingDataHeader` | array of `string` | | yes |
550
- | `recordingData` | array of array of `number` | | yes |
534
+ | Field | Type | Format | Nullable | Description |
535
+ | --- | --- | --- | --- | --- |
536
+ | `id` | `string` | `uuid` | | |
537
+ | `athleteId` | `string` | `uuid` | | Unique athlete Id. For teams merged with Vald Hub this is the original ForceDecks Athlete Id in ForceDecks prior to the merge. |
538
+ | `hubAthleteId` | `string` | `uuid` | yes | Unique profile (athlete) Id in Vald Hub for merged teams. The Id is not present for ForceDecks- only teams. This is also the Id reported as Athlete ID within ForceDecks client applications for a merged team. |
539
+ | `recordedUTC` | `string` | `date-time` | | |
540
+ | `recordedOffset` | `integer` | `int32` | | |
541
+ | `recordedTimezone` | `string` | | yes | |
542
+ | `recordingInfo` | `string` | | yes | |
543
+ | `dataSource` | `string` | | yes | |
544
+ | `recordingType` | `RecordingType` | | | |
545
+ | `recordingOutput` | `RecordingOutput` | | | |
546
+ | `samplingFrequency` | `integer` | `int32` | | Sample frequency (Hz) of the recording. |
547
+ | `duration` | `number` | `double` | | Duration/length of the recording in seconds. |
548
+ | `lastModifiedUTC` | `string` | `date-time` | | |
549
+ | `recordingDataHeader` | array of `string` | | yes | Defines the sample point elements mapped to RecordingData array indexes. |
550
+ | `recordingData` | array of array of `number` | | yes | Recording raw sample data. |
551
551
 
552
552
  ### `RecordingOutput`
553
553
 
@@ -621,30 +621,30 @@ Type `string`.
621
621
 
622
622
  ### `SummaryTestDTO`
623
623
 
624
- | Field | Type | Format | Nullable |
625
- | --- | --- | --- | --- |
626
- | `id` | `string` | `uuid` | |
627
- | `teamId` | `string` | `uuid` | |
628
- | `athleteId` | `string` | `uuid` | |
629
- | `hubAthleteId` | `string` | `uuid` | yes |
630
- | `testType` | `string` | | yes |
631
- | `recordingId` | `string` | `uuid` | |
632
- | `recordedUTC` | `string` | `date-time` | |
633
- | `recordedOffset` | `integer` | `int32` | |
634
- | `samplingFrequency` | `integer` | `int32` | |
635
- | `duration` | `number` | `double` | |
636
- | `dataSource` | `string` | | yes |
637
- | `analysedUTC` | `string` | `date-time` | |
638
- | `analysedOffset` | `integer` | `int32` | |
639
- | `analysisInfo` | `string` | | yes |
640
- | `lastModifiedUTC` | `string` | `date-time` | |
624
+ | Field | Type | Format | Nullable | Description |
625
+ | --- | --- | --- | --- | --- |
626
+ | `id` | `string` | `uuid` | | |
627
+ | `teamId` | `string` | `uuid` | | |
628
+ | `athleteId` | `string` | `uuid` | | Unique athlete Id. For teams merged with Vald Hub this is the original ForceDecks Athlete Id in ForceDecks prior to the merge. |
629
+ | `hubAthleteId` | `string` | `uuid` | yes | Unique profile (athlete) Id in Vald Hub for merged teams. The Id is not present for ForceDecks- only teams. This is also the Id reported as Athlete ID within ForceDecks client applications for a merged team. |
630
+ | `testType` | `string` | | yes | |
631
+ | `recordingId` | `string` | `uuid` | | |
632
+ | `recordedUTC` | `string` | `date-time` | | |
633
+ | `recordedOffset` | `integer` | `int32` | | |
634
+ | `samplingFrequency` | `integer` | `int32` | | |
635
+ | `duration` | `number` | `double` | | |
636
+ | `dataSource` | `string` | | yes | |
637
+ | `analysedUTC` | `string` | `date-time` | | |
638
+ | `analysedOffset` | `integer` | `int32` | | |
639
+ | `analysisInfo` | `string` | | yes | |
640
+ | `lastModifiedUTC` | `string` | `date-time` | | |
641
641
 
642
642
  ### `TeamDTO`
643
643
 
644
644
  | Field | Type | Format | Nullable | Description |
645
645
  | --- | --- | --- | --- | --- |
646
- | `id` | `string` | `uuid` | | |
647
- | `name` | `string` | | yes | |
646
+ | `id` | `string` | `uuid` | | Team/Tenant Id in ForceDecks and Vald Hub. |
647
+ | `name` | `string` | | yes | Team name. |
648
648
  | `region` | `AzureRegion` | | | |
649
649
  | `links` | object (map of `string`) | | yes | readOnly: `true` |
650
650
 
@@ -663,8 +663,8 @@ Type `string`.
663
663
  | --- | --- | --- | --- | --- |
664
664
  | `id` | `string` | `uuid` | | |
665
665
  | `teamId` | `string` | `uuid` | | |
666
- | `athleteId` | `string` | `uuid` | | |
667
- | `hubAthleteId` | `string` | `uuid` | yes | |
666
+ | `athleteId` | `string` | `uuid` | | Unique athlete Id. For teams merged with Vald Hub this is the original ForceDecks Athlete Id in ForceDecks prior to the merge. |
667
+ | `hubAthleteId` | `string` | `uuid` | yes | Unique profile (athlete) Id in Vald Hub for merged teams. The Id is not present for ForceDecks- only teams. This is also the Id reported as Athlete ID within ForceDecks client applications for a merged team. |
668
668
  | `recordingId` | `string` | `uuid` | | |
669
669
  | `recordedUTC` | `string` | `date-time` | | |
670
670
  | `recordedOffset` | `integer` | `int32` | | |
@@ -696,8 +696,8 @@ Type `string`.
696
696
 
697
697
  | Field | Type | Format | Description |
698
698
  | --- | --- | --- | --- |
699
- | `resultId` | `integer` | `int32` | readOnly: `true` |
700
- | `value` | `number` | `double` | readOnly: `true` |
699
+ | `resultId` | `integer` | `int32` | Gets test parameter type unqiue id. readOnly: `true` |
700
+ | `value` | `number` | `double` | Gets the parameter value for the test. readOnly: `true` |
701
701
  | `definition` | `ResultDefinition` | | |
702
702
 
703
703
  ### `TestParameterResponse`
@@ -731,13 +731,13 @@ Type `string`.
731
731
 
732
732
  ### `TestTypeSummaryDTO`
733
733
 
734
- | Field | Type | Format | Nullable |
735
- | --- | --- | --- | --- |
736
- | `teamId` | `string` | `uuid` | |
737
- | `athleteId` | `string` | `uuid` | |
738
- | `hubAthleteId` | `string` | `uuid` | yes |
739
- | `testType` | `string` | | yes |
740
- | `count` | `integer` | `int32` | |
734
+ | Field | Type | Format | Nullable | Description |
735
+ | --- | --- | --- | --- | --- |
736
+ | `teamId` | `string` | `uuid` | | |
737
+ | `athleteId` | `string` | `uuid` | | Unique athlete Id. For teams merged with Vald Hub this is the original ForceDecks Athlete Id in ForceDecks prior to the merge. |
738
+ | `hubAthleteId` | `string` | `uuid` | yes | Unique profile (athlete) Id in Vald Hub for merged teams. The Id is not present for ForceDecks- only teams. This is also the Id reported as Athlete ID within ForceDecks client applications for a merged team. |
739
+ | `testType` | `string` | | yes | |
740
+ | `count` | `integer` | `int32` | | |
741
741
 
742
742
  ### `TrendDirection`
743
743
 
@@ -751,19 +751,19 @@ Type `string`.
751
751
 
752
752
  ### `TrialDTO`
753
753
 
754
- | Field | Type | Format | Nullable |
755
- | --- | --- | --- | --- |
756
- | `id` | `string` | `uuid` | |
757
- | `athleteId` | `string` | `uuid` | |
758
- | `hubAthleteId` | `string` | `uuid` | yes |
759
- | `recordedUTC` | `string` | `date-time` | |
760
- | `recordedOffset` | `integer` | `int32` | |
761
- | `recordedTimezone` | `string` | | yes |
762
- | `startTime` | `number` | `double` | |
763
- | `endTime` | `number` | `double` | |
764
- | `results` | array of `TrialResultDTO` | | yes |
765
- | `lastModifiedUTC` | `string` | `date-time` | |
766
- | `limb` | `TrialLimb` | | |
754
+ | Field | Type | Format | Nullable | Description |
755
+ | --- | --- | --- | --- | --- |
756
+ | `id` | `string` | `uuid` | | |
757
+ | `athleteId` | `string` | `uuid` | | Unique athlete Id. For teams merged with Vald Hub this is the original ForceDecks Athlete Id in ForceDecks prior to the merge. |
758
+ | `hubAthleteId` | `string` | `uuid` | yes | Unique profile (athlete) Id in Vald Hub for merged teams. The Id is not present for ForceDecks- only teams. This is also the Id reported as Athlete ID within ForceDecks client applications for a merged team. |
759
+ | `recordedUTC` | `string` | `date-time` | | |
760
+ | `recordedOffset` | `integer` | `int32` | | |
761
+ | `recordedTimezone` | `string` | | yes | |
762
+ | `startTime` | `number` | `double` | | |
763
+ | `endTime` | `number` | `double` | | |
764
+ | `results` | array of `TrialResultDTO` | | yes | |
765
+ | `lastModifiedUTC` | `string` | `date-time` | | |
766
+ | `limb` | `TrialLimb` | | | |
767
767
 
768
768
  ### `TrialLimb`
769
769
 
@@ -777,14 +777,14 @@ Type `string`.
777
777
 
778
778
  ### `TrialResultDTO`
779
779
 
780
- | Field | Type | Format | Nullable |
781
- | --- | --- | --- | --- |
782
- | `resultId` | `integer` | `int32` | |
783
- | `value` | `number` | `double` | yes |
784
- | `time` | `number` | `double` | |
785
- | `limb` | `ResultLimb` | | |
786
- | `repeat` | `integer` | `int32` | |
787
- | `definition` | `ResultDefinition` | | |
780
+ | Field | Type | Format | Nullable | Description |
781
+ | --- | --- | --- | --- | --- |
782
+ | `resultId` | `integer` | `int32` | | Result type definition unqiue id. |
783
+ | `value` | `number` | `double` | yes | |
784
+ | `time` | `number` | `double` | | |
785
+ | `limb` | `ResultLimb` | | | |
786
+ | `repeat` | `integer` | `int32` | | Rep index for repeated results (hop, multi-jump tests). |
787
+ | `definition` | `ResultDefinition` | | | |
788
788
 
789
789
  ### `UnitType`
790
790
 
@@ -48,7 +48,7 @@ crawled_at: 2026-09-30
48
48
  | `GET /version` | | `200` OK: `string` |
49
49
  | `GET /liveness` | | `204` No Content |
50
50
  | `GET /readiness` | | `204` No Content<br>`503` Service Unavailable |
51
- | `GET /diagnostics` | `Diagnostics-Key` (header, string) | `401` Unauthorized: `Microsoft.AspNetCore.Mvc.ProblemDetails`<br>`200` OK: `Vald.Api.ExternalForceFrame.V1.Models.GetDiagnosticsHttpResponse` |
51
+ | `GET /diagnostics` | `Diagnostics-Key` (header, string) | `401` Unauthorized: `Microsoft.AspNetCore.Mvc.ProblemDetails`<br>`200` OK: `Vald.Api.ExternalForceFrame.V1.Features.Diagnostics.Responses.GetDiagnosticsResponse` |
52
52
  <!-- generated:vald-forceframe-health end -->
53
53
 
54
54
  ## VALD ForceFrame: `GET /tests/{testId}/forceframetrace`
@@ -64,7 +64,7 @@ Responses:
64
64
 
65
65
  - `404` Not Found: `Microsoft.AspNetCore.Mvc.ProblemDetails`
66
66
  - `403` Forbidden: `Microsoft.AspNetCore.Mvc.ProblemDetails`
67
- - `200` OK: `Vald.Api.ExternalForceFrame.V1.Models.GetTraceResponse`
67
+ - `200` OK: `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTraceResponse`
68
68
  - `400` Bad Request: `Microsoft.AspNetCore.Mvc.ValidationProblemDetails`
69
69
 
70
70
  ## VALD ForceFrame: `GET /tests/{testId}`
@@ -80,7 +80,7 @@ Responses:
80
80
 
81
81
  - `404` Not Found: `Microsoft.AspNetCore.Mvc.ProblemDetails`
82
82
  - `403` Forbidden: `Microsoft.AspNetCore.Mvc.ProblemDetails`
83
- - `200` OK: `Vald.Api.ExternalForceFrame.V1.Models.GetTestSummaryResponse`
83
+ - `200` OK: `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTestSummaryResponse`
84
84
  - `400` Bad Request: `Microsoft.AspNetCore.Mvc.ValidationProblemDetails`
85
85
 
86
86
  ## VALD ForceFrame: `GET /tests/{testId}/repetitions`
@@ -92,7 +92,7 @@ Parameters:
92
92
 
93
93
  Responses:
94
94
 
95
- - `200` OK: array of `Vald.Api.ExternalForceFrame.V1.Messages.GetTestRepetitions.GetTestRepetitionsResponse`
95
+ - `200` OK: array of `Vald.Api.ExternalForceFrame.V1.Features.Tests.Messages.GetTestRepetitions.GetTestRepetitionsResult`
96
96
  - `400` Bad Request: `Microsoft.AspNetCore.Mvc.ProblemDetails`
97
97
  - `401` Unauthorized: `Microsoft.AspNetCore.Mvc.ProblemDetails`
98
98
  - `403` Forbidden: `Microsoft.AspNetCore.Mvc.ProblemDetails`
@@ -116,7 +116,7 @@ Responses:
116
116
 
117
117
  - `204` No Content
118
118
  - `403` Forbidden: `Microsoft.AspNetCore.Mvc.ProblemDetails`
119
- - `200` OK: `Vald.Api.ExternalForceFrame.V1.Models.GetTestsByDateRangeResponse`
119
+ - `200` OK: `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTestsByDateRangeResponse`
120
120
  - `400` Bad Request: `Microsoft.AspNetCore.Mvc.ValidationProblemDetails`
121
121
 
122
122
  ## VALD ForceFrame: `GET /tests/v2`
@@ -133,7 +133,7 @@ Responses:
133
133
 
134
134
  - `204` No Content
135
135
  - `403` Forbidden: `Microsoft.AspNetCore.Mvc.ProblemDetails`
136
- - `200` OK: `Vald.Api.ExternalForceFrame.V1.Models.GetTestsByModifiedDateResponse`
136
+ - `200` OK: `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTestsByModifiedDateResponse`
137
137
  - `400` Bad Request: `Microsoft.AspNetCore.Mvc.ValidationProblemDetails`
138
138
 
139
139
  ## VALD ForceFrame: `GET /tests/{testId}/metrics`
@@ -149,7 +149,7 @@ Responses:
149
149
 
150
150
  - `404` Not Found: `Microsoft.AspNetCore.Mvc.ProblemDetails`
151
151
  - `403` Forbidden: `Microsoft.AspNetCore.Mvc.ProblemDetails`
152
- - `200` OK: `Vald.Api.ExternalForceFrame.V1.Messages.GetTestSummaryAdditionalMetricsResponse`
152
+ - `200` OK: `Vald.Api.ExternalForceFrame.V1.Features.Tests.Messages.GetTestSummaryAdditionalMetrics.GetTestSummaryAdditionalMetricsResult`
153
153
  - `400` Bad Request: `Microsoft.AspNetCore.Mvc.ValidationProblemDetails`
154
154
 
155
155
  ## VALD ForceFrame: `GET /training/programs/current`
@@ -163,7 +163,7 @@ Parameters:
163
163
 
164
164
  Responses:
165
165
 
166
- - `200` OK: array of `Vald.Api.ExternalForceFrame.V1.Models.GetTrainingProgram.GetTrainingProgramResponse`
166
+ - `200` OK: array of `Vald.Api.ExternalForceFrame.V1.Features.Training.Responses.GetTrainingProgramResponse`
167
167
  - `400` Bad Request: `Microsoft.AspNetCore.Mvc.ValidationProblemDetails`
168
168
  - `403` Forbidden: `Microsoft.AspNetCore.Mvc.ProblemDetails`
169
169
  - `204` No Content
@@ -181,7 +181,7 @@ Parameters:
181
181
 
182
182
  Responses:
183
183
 
184
- - `200` OK: array of `Vald.Api.ExternalForceFrame.V1.Models.GetTrainingSessions.GetTrainingSessionsResponse`
184
+ - `200` OK: array of `Vald.Api.ExternalForceFrame.V1.Features.Training.Responses.GetTrainingSessionsResponse`
185
185
  - `400` Bad Request: `Microsoft.AspNetCore.Mvc.ValidationProblemDetails`
186
186
  - `403` Forbidden: `Microsoft.AspNetCore.Mvc.ProblemDetails`
187
187
  - `204` No Content
@@ -199,7 +199,7 @@ Parameters:
199
199
 
200
200
  Responses:
201
201
 
202
- - `200` OK: array of `Vald.Api.ExternalForceFrame.V1.Models.GetTrainingSessionExercises.GetTrainingSessionExercisesResponse`
202
+ - `200` OK: array of `Vald.Api.ExternalForceFrame.V1.Features.Training.Responses.GetTrainingSessionExercisesResponse`
203
203
  - `400` Bad Request: `Microsoft.AspNetCore.Mvc.ValidationProblemDetails`
204
204
  - `403` Forbidden: `Microsoft.AspNetCore.Mvc.ProblemDetails`
205
205
  - `204` No Content
@@ -217,7 +217,7 @@ Parameters:
217
217
 
218
218
  Responses:
219
219
 
220
- - `200` OK: array of `Vald.Api.ExternalForceFrame.V1.Models.GetTrainingSessionExerciseRepetitions.GetTrainingSessionExerciseRepetitionsResponse`
220
+ - `200` OK: array of `Vald.Api.ExternalForceFrame.V1.Features.Training.Responses.GetTrainingSessionExerciseRepetitionsResponse`
221
221
  - `400` Bad Request: `Microsoft.AspNetCore.Mvc.ValidationProblemDetails`
222
222
  - `403` Forbidden: `Microsoft.AspNetCore.Mvc.ProblemDetails`
223
223
  - `204` No Content
@@ -253,7 +253,7 @@ The 22 component schemas of the ForceFrame spec, in spec order. No field has a d
253
253
  | `instance` | `string` | | yes |
254
254
  | `errors` | object (map of array of `string`) | | yes |
255
255
 
256
- ### `Vald.Api.ExternalForceFrame.V1.Core.Defaults.ForceTarget`
256
+ ### `Vald.Api.ExternalForceFrame.V1.Domain.Defaults.ForceTarget`
257
257
 
258
258
  Type `string`.
259
259
 
@@ -263,7 +263,7 @@ Type `string`.
263
263
  | `Max` |
264
264
  | `Average` |
265
265
 
266
- ### `Vald.Api.ExternalForceFrame.V1.Core.Defaults.Joint`
266
+ ### `Vald.Api.ExternalForceFrame.V1.Domain.Defaults.Joint`
267
267
 
268
268
  Type `string`.
269
269
 
@@ -279,7 +279,7 @@ Type `string`.
279
279
  | `Dyno` |
280
280
  | `Custom` |
281
281
 
282
- ### `Vald.Api.ExternalForceFrame.V1.Core.Defaults.Laterality`
282
+ ### `Vald.Api.ExternalForceFrame.V1.Domain.Defaults.Laterality`
283
283
 
284
284
  Type `string`.
285
285
 
@@ -291,7 +291,7 @@ Type `string`.
291
291
  | `Right` |
292
292
  | `NA` |
293
293
 
294
- ### `Vald.Api.ExternalForceFrame.V1.Core.Defaults.Movement`
294
+ ### `Vald.Api.ExternalForceFrame.V1.Domain.Defaults.Movement`
295
295
 
296
296
  Type `string`.
297
297
 
@@ -317,15 +317,7 @@ Type `string`.
317
317
  | `InnerPaddles` |
318
318
  | `OuterPaddles` |
319
319
 
320
- ### `Vald.Api.ExternalForceFrame.V1.DiagnosticsResult`
321
-
322
- | Field | Type | Nullable |
323
- | --- | --- | --- |
324
- | `key` | `string` | yes |
325
- | `isOk` | `boolean` | |
326
- | `message` | `string` | yes |
327
-
328
- ### `Vald.Api.ExternalForceFrame.V1.Enums.SensorType`
320
+ ### `Vald.Api.ExternalForceFrame.V1.Domain.Defaults.SensorType`
329
321
 
330
322
  Type `string`.
331
323
 
@@ -338,13 +330,28 @@ Type `string`.
338
330
  | `FlatLeft` |
339
331
  | `FlatRight` |
340
332
 
341
- ### `Vald.Api.ExternalForceFrame.V1.Messages.GetTestRepetitions.GetTestRepetitionsResponse`
333
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Diagnostics.DiagnosticsResult`
334
+
335
+ | Field | Type | Nullable |
336
+ | --- | --- | --- |
337
+ | `key` | `string` | yes |
338
+ | `isOk` | `boolean` | |
339
+ | `message` | `string` | yes |
340
+
341
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Diagnostics.Responses.GetDiagnosticsResponse`
342
+
343
+ | Field | Type | Nullable |
344
+ | --- | --- | --- |
345
+ | `machineName` | `string` | yes |
346
+ | `results` | array of `Vald.Api.ExternalForceFrame.V1.Features.Diagnostics.DiagnosticsResult` | yes |
347
+
348
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Tests.Messages.GetTestRepetitions.GetTestRepetitionsResult`
342
349
 
343
350
  | Field | Type | Format | Nullable |
344
351
  | --- | --- | --- | --- |
345
352
  | `id` | `string` | `uuid` | |
346
353
  | `testId` | `string` | `uuid` | |
347
- | `sensorType` | `Vald.Api.ExternalForceFrame.V1.Enums.SensorType` | | |
354
+ | `sensorType` | `Vald.Api.ExternalForceFrame.V1.Domain.Defaults.SensorType` | | |
348
355
  | `repNumber` | `integer` | `int32` | |
349
356
  | `startOffsetSeconds` | `number` | `double` | yes |
350
357
  | `endOffsetSeconds` | `number` | `double` | yes |
@@ -364,7 +371,7 @@ Type `string`.
364
371
  | `impulse200msNewtonSeconds` | `number` | `double` | yes |
365
372
  | `impulse250msNewtonSeconds` | `number` | `double` | yes |
366
373
 
367
- ### `Vald.Api.ExternalForceFrame.V1.Messages.GetTestSummaryAdditionalMetricsResponse`
374
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Tests.Messages.GetTestSummaryAdditionalMetrics.GetTestSummaryAdditionalMetricsResult`
368
375
 
369
376
  | Field | Type | Format | Nullable |
370
377
  | --- | --- | --- | --- |
@@ -475,7 +482,7 @@ Type `string`.
475
482
  | `outerLeftAvgImpulse250msNewtonSeconds` | `number` | `double` | yes |
476
483
  | `outerRightAvgImpulse250msNewtonSeconds` | `number` | `double` | yes |
477
484
 
478
- ### `Vald.Api.ExternalForceFrame.V1.Models.Force`
485
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.Force`
479
486
 
480
487
  | Field | Type | Format |
481
488
  | --- | --- | --- |
@@ -485,14 +492,7 @@ Type `string`.
485
492
  | `outerLeftForce` | `number` | `double` |
486
493
  | `outerRightForce` | `number` | `double` |
487
494
 
488
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetDiagnosticsHttpResponse`
489
-
490
- | Field | Type | Nullable |
491
- | --- | --- | --- |
492
- | `machineName` | `string` | yes |
493
- | `results` | array of `Vald.Api.ExternalForceFrame.V1.DiagnosticsResult` | yes |
494
-
495
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetTestSummaryResponse`
495
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTestSummaryResponse`
496
496
 
497
497
  | Field | Type | Format | Nullable |
498
498
  | --- | --- | --- | --- |
@@ -523,7 +523,7 @@ Type `string`.
523
523
  | `testTypeName` | `string` | | yes |
524
524
  | `testPositionName` | `string` | | yes |
525
525
 
526
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetTestSummaryResponseV2`
526
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTestSummaryResponseV2`
527
527
 
528
528
  | Field | Type | Format | Nullable |
529
529
  | --- | --- | --- | --- |
@@ -554,21 +554,21 @@ Type `string`.
554
554
  | `testTypeName` | `string` | | yes |
555
555
  | `testPositionName` | `string` | | yes |
556
556
 
557
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetTestsByDateRangeResponse`
557
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTestsByDateRangeResponse`
558
558
 
559
559
  | Field | Type | Format | Nullable |
560
560
  | --- | --- | --- | --- |
561
- | `tests` | array of `Vald.Api.ExternalForceFrame.V1.Models.GetTestSummaryResponse` | | yes |
561
+ | `tests` | array of `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTestSummaryResponse` | | yes |
562
562
  | `page` | `integer` | `int32` | |
563
563
  | `pageCount` | `integer` | `int32` | |
564
564
 
565
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetTestsByModifiedDateResponse`
565
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTestsByModifiedDateResponse`
566
566
 
567
567
  | Field | Type | Nullable |
568
568
  | --- | --- | --- |
569
- | `tests` | array of `Vald.Api.ExternalForceFrame.V1.Models.GetTestSummaryResponseV2` | yes |
569
+ | `tests` | array of `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTestSummaryResponseV2` | yes |
570
570
 
571
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetTraceResponse`
571
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.GetTraceResponse`
572
572
 
573
573
  | Field | Type | Format | Nullable |
574
574
  | --- | --- | --- | --- |
@@ -578,45 +578,23 @@ Type `string`.
578
578
  | `testTypeName` | `string` | | yes |
579
579
  | `testPositionId` | `string` | `uuid` | |
580
580
  | `testPositionName` | `string` | | yes |
581
- | `forces` | array of `Vald.Api.ExternalForceFrame.V1.Models.Force` | | yes |
581
+ | `forces` | array of `Vald.Api.ExternalForceFrame.V1.Features.Tests.Responses.Force` | | yes |
582
582
  | `device` | `string` | | yes |
583
583
  | `testDateUTC` | `string` | `date-time` | |
584
584
  | `notes` | `string` | | yes |
585
585
 
586
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetTrainingProgram.GetTrainingProgramResponse`
586
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Training.Responses.GetTrainingProgramResponse`
587
587
 
588
588
  | Field | Type | Format | Nullable |
589
589
  | --- | --- | --- | --- |
590
590
  | `id` | `string` | `uuid` | |
591
591
  | `name` | `string` | | yes |
592
- | `exercises` | array of `Vald.Api.ExternalForceFrame.V1.Models.GetTrainingProgram.TrainingExercise` | | yes |
592
+ | `exercises` | array of `Vald.Api.ExternalForceFrame.V1.Features.Training.Responses.TrainingExercise` | | yes |
593
593
  | `scheduledDatesUTC` | array of `string` | `date-time` | yes |
594
594
  | `addedDate` | `string` | `date-time` | |
595
595
  | `modifiedDate` | `string` | `date-time` | |
596
596
 
597
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetTrainingProgram.TrainingExercise`
598
-
599
- | Field | Type | Format | Nullable | Required | Description |
600
- | --- | --- | --- | --- | --- | --- |
601
- | `id` | `string` | `uuid` | | yes | |
602
- | `contractionTime` | `string` | `date-span` | | yes | |
603
- | `forceGoal` | `number` | `double` | | yes | |
604
- | `trainingZone` | `Vald.Api.ExternalForceFrame.V1.Core.Defaults.ForceTarget` | | | yes | |
605
- | `laterality` | `Vald.Api.ExternalForceFrame.V1.Core.Defaults.Laterality` | | | yes | |
606
- | `movement` | `Vald.Api.ExternalForceFrame.V1.Core.Defaults.Movement` | | | yes | |
607
- | `joint` | `Vald.Api.ExternalForceFrame.V1.Core.Defaults.Joint` | | | yes | |
608
- | `repetitions` | `integer` | `int32` | | yes | |
609
- | `restTime` | `string` | `date-span` | | yes | |
610
- | `restTimeAfterSet` | `string` | `date-span` | | yes | |
611
- | `tolerance` | `number` | `double` | | yes | |
612
- | `toleranceUnit` | `string` | | | yes | minLength: `1` |
613
- | `order` | `integer` | `int32` | | yes | minimum: `1` maximum: `2147483647` |
614
- | `trainingPositionId` | `string` | `uuid` | | yes | |
615
- | `testTypeName` | `string` | | yes | | |
616
- | `testTypeId` | `string` | `uuid` | yes | | |
617
- | `testPositionId` | `string` | `uuid` | yes | | |
618
-
619
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetTrainingSessionExerciseRepetitions.GetTrainingSessionExerciseRepetitionsResponse`
597
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Training.Responses.GetTrainingSessionExerciseRepetitionsResponse`
620
598
 
621
599
  | Field | Type | Format | Nullable |
622
600
  | --- | --- | --- | --- |
@@ -637,7 +615,7 @@ Type `string`.
637
615
  | `impulseLeft` | `number` | `double` | |
638
616
  | `impulseRight` | `number` | `double` | |
639
617
 
640
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetTrainingSessionExercises.GetTrainingSessionExercisesResponse`
618
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Training.Responses.GetTrainingSessionExercisesResponse`
641
619
 
642
620
  | Field | Type | Format | Nullable |
643
621
  | --- | --- | --- | --- |
@@ -655,7 +633,7 @@ Type `string`.
655
633
  | `stabilityLeft` | `number` | `double` | yes |
656
634
  | `stabilityRight` | `number` | `double` | yes |
657
635
 
658
- ### `Vald.Api.ExternalForceFrame.V1.Models.GetTrainingSessions.GetTrainingSessionsResponse`
636
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Training.Responses.GetTrainingSessionsResponse`
659
637
 
660
638
  | Field | Type | Format |
661
639
  | --- | --- | --- |
@@ -671,4 +649,26 @@ Type `string`.
671
649
  | `stabilityRight` | `number` | `double` |
672
650
  | `timeInZoneLeft` | `number` | `double` |
673
651
  | `timeInZoneRight` | `number` | `double` |
652
+
653
+ ### `Vald.Api.ExternalForceFrame.V1.Features.Training.Responses.TrainingExercise`
654
+
655
+ | Field | Type | Format | Nullable | Required | Description |
656
+ | --- | --- | --- | --- | --- | --- |
657
+ | `id` | `string` | `uuid` | | yes | |
658
+ | `contractionTime` | `string` | `date-span` | | yes | |
659
+ | `forceGoal` | `number` | `double` | | yes | |
660
+ | `trainingZone` | `Vald.Api.ExternalForceFrame.V1.Domain.Defaults.ForceTarget` | | | yes | |
661
+ | `laterality` | `Vald.Api.ExternalForceFrame.V1.Domain.Defaults.Laterality` | | | yes | |
662
+ | `movement` | `Vald.Api.ExternalForceFrame.V1.Domain.Defaults.Movement` | | | yes | |
663
+ | `joint` | `Vald.Api.ExternalForceFrame.V1.Domain.Defaults.Joint` | | | yes | |
664
+ | `repetitions` | `integer` | `int32` | | yes | |
665
+ | `restTime` | `string` | `date-span` | | yes | |
666
+ | `restTimeAfterSet` | `string` | `date-span` | | yes | |
667
+ | `tolerance` | `number` | `double` | | yes | |
668
+ | `toleranceUnit` | `string` | | | yes | minLength: `1` |
669
+ | `order` | `integer` | `int32` | | yes | minimum: `1` maximum: `2147483647` |
670
+ | `trainingPositionId` | `string` | `uuid` | | yes | |
671
+ | `testTypeName` | `string` | | yes | | |
672
+ | `testTypeId` | `string` | `uuid` | yes | | |
673
+ | `testPositionId` | `string` | `uuid` | yes | | |
674
674
  <!-- generated:vald-forceframe-schemas end -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "football-docs",
3
- "version": "0.17.0",
3
+ "version": "0.17.2",
4
4
  "description": "Searchable football data provider documentation for AI coding agents. Like Context7 for football data.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.34.4",
package/providers.json CHANGED
@@ -348,7 +348,7 @@
348
348
  "access_level": "open-source",
349
349
  "licence_status": "Open-source library documentation; provider support may depend on licensed input files.",
350
350
  "public_safety_notes": "Use public library docs and general provider-mapping guidance only.",
351
- "version": "3.19.0",
351
+ "version": "3.19.1",
352
352
  "package": { "type": "pypi", "name": "kloppy" },
353
353
  "sources": [
354
354
  { "url": "https://kloppy.pysport.org/", "type": "readthedocs" },