Elk product heeft deze velden. Optionele velden ontbreken als ze leeg zijn.
id · string- Vast id, ook het einde van het adres van de productpagina.
name · string- Productnaam.
description · string- Beschrijving in één zin.
audience · string[]- Voor wie het is: b2b, individual of beide.
country · string- Land van herkomst.
website · uri- De website van het product.
longDescription · string- Een paar alinea’s over het product.
features · string[]- Belangrijkste functies.
useCases · string[]- Eén tot vier toepassings-id’s.
category · string- Categorie-id, zoals in /categories/{id}.
verified · boolean- optioneel · true als de maker het eigendom heeft bevestigd; anders ontbreekt het.
logoUrl · uri- optioneel · Logo (PNG, JPEG of WebP); ontbreekt als er geen is.
Hetzelfde als TypeScript-types:
export interface Software {
/** Stable id, also the end of the product’s page address. */
id: string;
/** Product name. */
name: string;
/** One-sentence description. */
description: string;
/** Who it’s for: b2b, individual or both. */
audience: ("b2b" | "individual")[];
/** Country of origin. */
country: string;
/** The product’s website. */
website: string;
/** A few paragraphs about the product. */
longDescription: string;
/** Main features. */
features: string[];
/** One to four use-case ids. */
useCases: string[];
/** Category id, as in /categories/{id}. */
category: string;
/** true when the maker verified ownership; absent otherwise. */
verified?: true;
/** Logo (PNG, JPEG or WebP); absent when there is none. */
logoUrl?: string;
}
/** countries.json, GET /api/software/countries */
export type Countries = string[];
/** categories.json, GET /api/categories/counts */
export type CategoryCounts = Record<string, number>;
/** One entry of alternatives.json */
export interface Alternative {
tool: string;
name: string;
page: string;
ids: string[];
}