{
    "openapi": "3.1.0",
    "info": {
        "title": "API publique Easy Béton",
        "summary": "Entreprise, distributeurs de béton, options, pages, articles et témoignages, en lecture seule.",
        "description": "API publique en lecture seule du site Easy Béton (fabricant vendéen de distributeurs automatiques de béton en libre-service), destinée aux agents IA et aux intégrations.\n\n- Pas d'authentification (pas de clé, pas d'OAuth, pas de webhook).\n- Réponses en JSON par défaut, en Markdown avec `Accept: text/markdown` ou `?format=markdown`.\n- Erreurs au format RFC 9457 (`application/problem+json`).\n- Données en français, générées en temps réel depuis le site. Mettez les réponses en cache (`ETag`, `Cache-Control`).\n- Aucune écriture : les demandes de devis se font sur https://www.easybeton.net/contact/ (formulaire réservé aux humains).",
        "version": "1.0.0",
        "contact": {
            "name": "Easy Béton",
            "email": "contact@easybeton.net",
            "url": "https://www.easybeton.net/contact/"
        }
    },
    "servers": [
        {
            "url": "https://www.easybeton.net",
            "description": "Production"
        }
    ],
    "tags": [
        {
            "name": "Public",
            "description": "Lecture seule, sans authentification."
        }
    ],
    "externalDocs": {
        "description": "llms.txt (index du site pour les agents IA)",
        "url": "https://www.easybeton.net/llms.txt"
    },
    "paths": {
        "/api/v1": {
            "get": {
                "operationId": "getApiIndex",
                "summary": "Liste des endpoints",
                "description": "Point d'entrée : liens vers la documentation et liste des endpoints.",
                "tags": [
                    "Public"
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Accept"
                    },
                    {
                        "$ref": "#/components/parameters/Format"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK. Markdown si demandé (`Accept: text/markdown` ou `?format=markdown`).",
                        "headers": {
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiIndex"
                                }
                            },
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Non modifié (en-tête If-None-Match identique à l'ETag)."
                    },
                    "400": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "406": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/company": {
            "get": {
                "operationId": "getCompany",
                "summary": "Fiche de l'entreprise",
                "description": "Identité, coordonnées, mode de vente et produits d'Easy Béton (Green'Tech).",
                "tags": [
                    "Public"
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Accept"
                    },
                    {
                        "$ref": "#/components/parameters/Format"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK. Markdown si demandé (`Accept: text/markdown` ou `?format=markdown`).",
                        "headers": {
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Company"
                                }
                            },
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Non modifié (en-tête If-None-Match identique à l'ETag)."
                    },
                    "400": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "406": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/models": {
            "get": {
                "operationId": "listModels",
                "summary": "Distributeurs de béton",
                "description": "Gamme de distributeurs automatiques de béton en libre-service, dans l'ordre du site, avec les caractéristiques principales et le prix « à partir de ».",
                "tags": [
                    "Public"
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Accept"
                    },
                    {
                        "$ref": "#/components/parameters/Format"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK. Markdown si demandé (`Accept: text/markdown` ou `?format=markdown`).",
                        "headers": {
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ModelList"
                                }
                            },
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Non modifié (en-tête If-None-Match identique à l'ETag)."
                    },
                    "400": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "406": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/models/{modelId}": {
            "get": {
                "operationId": "getModel",
                "summary": "Fiche complète d'un modèle",
                "description": "Caractéristiques techniques, chiffres clés, points forts, options incluses / proposées (par version Start et Pro le cas échéant), galerie photo, fiche technique.",
                "tags": [
                    "Public"
                ],
                "parameters": [
                    {
                        "name": "modelId",
                        "in": "path",
                        "required": true,
                        "description": "Identifiant du modèle (voir listModels).",
                        "schema": {
                            "type": "string",
                            "examples": [
                                "en-i",
                                "en-t",
                                "compact"
                            ]
                        }
                    },
                    {
                        "$ref": "#/components/parameters/Accept"
                    },
                    {
                        "$ref": "#/components/parameters/Format"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK. Markdown si demandé (`Accept: text/markdown` ou `?format=markdown`).",
                        "headers": {
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Model"
                                }
                            },
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Non modifié (en-tête If-None-Match identique à l'ETag)."
                    },
                    "400": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "406": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/options": {
            "get": {
                "operationId": "listOptions",
                "summary": "Catalogue des options",
                "description": "Toutes les options proposées sur les distributeurs (identifiants utilisés dans les fiches modèles).",
                "tags": [
                    "Public"
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Accept"
                    },
                    {
                        "$ref": "#/components/parameters/Format"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK. Markdown si demandé (`Accept: text/markdown` ou `?format=markdown`).",
                        "headers": {
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/OptionList"
                                }
                            },
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Non modifié (en-tête If-None-Match identique à l'ETag)."
                    },
                    "400": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "406": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/pages": {
            "get": {
                "operationId": "listPages",
                "summary": "Pages du site",
                "description": "Pages publiées (Easy Vrac, Notre histoire, Contact…), hors accueil et pages légales.",
                "tags": [
                    "Public"
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Accept"
                    },
                    {
                        "$ref": "#/components/parameters/Format"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK. Markdown si demandé (`Accept: text/markdown` ou `?format=markdown`).",
                        "headers": {
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PageList"
                                }
                            },
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Non modifié (en-tête If-None-Match identique à l'ETag)."
                    },
                    "400": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "406": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/pages/{pageId}": {
            "get": {
                "operationId": "getPage",
                "summary": "Contenu d'une page",
                "description": "Page avec son texte en Markdown simplifié.",
                "tags": [
                    "Public"
                ],
                "parameters": [
                    {
                        "name": "pageId",
                        "in": "path",
                        "required": true,
                        "description": "Identifiant de la page (voir listPages).",
                        "schema": {
                            "type": "string",
                            "examples": [
                                "contact",
                                "easy-vrac",
                                "notre-histoire"
                            ]
                        }
                    },
                    {
                        "$ref": "#/components/parameters/Accept"
                    },
                    {
                        "$ref": "#/components/parameters/Format"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK. Markdown si demandé (`Accept: text/markdown` ou `?format=markdown`).",
                        "headers": {
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Page"
                                }
                            },
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Non modifié (en-tête If-None-Match identique à l'ETag)."
                    },
                    "400": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "406": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/articles": {
            "get": {
                "operationId": "listArticles",
                "summary": "Articles « Découvrir »",
                "description": "Articles publiés, du plus récent au plus ancien. Liste vide tant que la rubrique n'est pas ouverte.",
                "tags": [
                    "Public"
                ],
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "Numéro de page.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "default": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "description": "Articles par page.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50,
                            "default": 10
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "Identifiant (slug) d'une catégorie.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "$ref": "#/components/parameters/Accept"
                    },
                    {
                        "$ref": "#/components/parameters/Format"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK. Markdown si demandé (`Accept: text/markdown` ou `?format=markdown`).",
                        "headers": {
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ArticleList"
                                }
                            },
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Non modifié (en-tête If-None-Match identique à l'ETag)."
                    },
                    "400": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "406": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/articles/{articleId}": {
            "get": {
                "operationId": "getArticle",
                "summary": "Contenu d'un article",
                "description": "Article avec son texte en Markdown simplifié.",
                "tags": [
                    "Public"
                ],
                "parameters": [
                    {
                        "name": "articleId",
                        "in": "path",
                        "required": true,
                        "description": "Identifiant de l'article (voir listArticles).",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "$ref": "#/components/parameters/Accept"
                    },
                    {
                        "$ref": "#/components/parameters/Format"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK. Markdown si demandé (`Accept: text/markdown` ou `?format=markdown`).",
                        "headers": {
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Article"
                                }
                            },
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Non modifié (en-tête If-None-Match identique à l'ETag)."
                    },
                    "400": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "406": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/testimonials": {
            "get": {
                "operationId": "listTestimonials",
                "summary": "Témoignages clients",
                "description": "Témoignages publiés (citation, exploitant, ville, modèle, vidéo).",
                "tags": [
                    "Public"
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Accept"
                    },
                    {
                        "$ref": "#/components/parameters/Format"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK. Markdown si demandé (`Accept: text/markdown` ou `?format=markdown`).",
                        "headers": {
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TestimonialList"
                                }
                            },
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Non modifié (en-tête If-None-Match identique à l'ETag)."
                    },
                    "400": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    },
                    "406": {
                        "description": "Erreur (RFC 9457).",
                        "content": {
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Problem"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "Problem": {
                "type": "object",
                "properties": {
                    "type": {
                        "type": "string",
                        "format": "uri"
                    },
                    "title": {
                        "type": "string"
                    },
                    "status": {
                        "type": "integer"
                    },
                    "detail": {
                        "type": "string"
                    },
                    "code": {
                        "type": "string"
                    },
                    "hint": {
                        "type": "string"
                    },
                    "instance": {
                        "type": "string"
                    }
                },
                "required": [
                    "type",
                    "title",
                    "status",
                    "detail",
                    "code",
                    "hint"
                ]
            },
            "ApiIndex": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "version": {
                        "type": "string"
                    },
                    "documentation": {
                        "type": "string",
                        "format": "uri"
                    },
                    "openapi": {
                        "type": "string",
                        "format": "uri"
                    },
                    "catalog": {
                        "type": "string",
                        "format": "uri"
                    },
                    "llmsTxt": {
                        "type": "string",
                        "format": "uri"
                    },
                    "authentication": {
                        "type": "string"
                    },
                    "rateLimit": {
                        "type": "string"
                    },
                    "formats": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "contact": {
                        "type": "string"
                    },
                    "endpoints": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "method": {
                                    "type": "string"
                                },
                                "path": {
                                    "type": "string"
                                },
                                "operationId": {
                                    "type": "string"
                                },
                                "summary": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "method",
                                "path",
                                "operationId",
                                "summary"
                            ]
                        }
                    }
                },
                "required": [
                    "name",
                    "documentation",
                    "openapi",
                    "endpoints"
                ]
            },
            "Company": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "legalName": {
                        "type": "string"
                    },
                    "legalForm": {
                        "type": "string"
                    },
                    "siren": {
                        "type": "string"
                    },
                    "vatId": {
                        "type": "string"
                    },
                    "founded": {
                        "type": "integer"
                    },
                    "founders": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "description": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "phoneE164": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "headquarters": {
                        "type": "object",
                        "properties": {
                            "streetAddress": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "postalCode": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "addressLocality": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "addressRegion": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "addressCountry": {
                                "type": "string"
                            },
                            "formatted": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        },
                        "required": [
                            "addressCountry"
                        ]
                    },
                    "salesModel": {
                        "type": "string"
                    },
                    "customers": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "areaServed": {
                        "type": "string"
                    },
                    "languages": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "logo": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri"
                    },
                    "sameAs": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "format": "uri"
                        }
                    },
                    "contactUrl": {
                        "type": "string",
                        "format": "uri"
                    },
                    "quoteUrl": {
                        "type": "string",
                        "format": "uri"
                    },
                    "products": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "type": "string",
                                    "enum": [
                                        "concrete-dispenser",
                                        "aggregate-dispenser"
                                    ]
                                },
                                "id": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "string"
                                },
                                "url": {
                                    "type": "string",
                                    "format": "uri"
                                },
                                "apiUrl": {
                                    "type": "string",
                                    "format": "uri"
                                }
                            },
                            "required": [
                                "type",
                                "id",
                                "name",
                                "url",
                                "apiUrl"
                            ]
                        }
                    },
                    "links": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "string",
                            "format": "uri"
                        }
                    }
                },
                "required": [
                    "name",
                    "url",
                    "email",
                    "description",
                    "headquarters"
                ]
            },
            "Price": {
                "type": "object",
                "properties": {
                    "from": {
                        "type": [
                            "number",
                            "null"
                        ],
                        "description": "Prix « à partir de » hors taxes ; null = sur devis."
                    },
                    "currency": {
                        "type": "string",
                        "const": "EUR"
                    },
                    "taxes": {
                        "type": "string",
                        "const": "HT"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "required": [
                    "from",
                    "currency",
                    "taxes",
                    "label"
                ]
            },
            "Spec": {
                "type": "object",
                "properties": {
                    "key": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "required": [
                    "key",
                    "label",
                    "value"
                ]
            },
            "Option": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "comingSoon": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "id",
                    "label",
                    "comingSoon"
                ]
            },
            "Image": {
                "type": [
                    "object",
                    "null"
                ],
                "properties": {
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "fullUrl": {
                        "type": "string",
                        "format": "uri"
                    },
                    "alt": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "caption": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "url",
                    "fullUrl",
                    "alt",
                    "caption"
                ]
            },
            "Term": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "required": [
                    "id",
                    "name"
                ]
            },
            "ModelSummary": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string",
                        "description": "Identifiant (slug de la fiche)."
                    },
                    "name": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "apiUrl": {
                        "type": "string",
                        "format": "uri"
                    },
                    "tagline": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "price": {
                        "$ref": "#/components/schemas/Price"
                    },
                    "image": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri"
                    },
                    "keySpecs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Spec"
                        }
                    },
                    "hasVersions": {
                        "type": "boolean",
                        "description": "Existe en version Start et Pro."
                    },
                    "quoteUrl": {
                        "type": "string",
                        "format": "uri",
                        "description": "Formulaire de demande de devis prérempli (humains)."
                    }
                },
                "required": [
                    "id",
                    "name",
                    "url",
                    "apiUrl",
                    "tagline",
                    "price",
                    "image",
                    "keySpecs",
                    "hasVersions",
                    "quoteUrl"
                ]
            },
            "Model": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string",
                        "description": "Identifiant (slug de la fiche)."
                    },
                    "name": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "apiUrl": {
                        "type": "string",
                        "format": "uri"
                    },
                    "tagline": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "price": {
                        "$ref": "#/components/schemas/Price"
                    },
                    "image": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri"
                    },
                    "keySpecs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Spec"
                        }
                    },
                    "hasVersions": {
                        "type": "boolean",
                        "description": "Existe en version Start et Pro."
                    },
                    "quoteUrl": {
                        "type": "string",
                        "format": "uri",
                        "description": "Formulaire de demande de devis prérempli (humains)."
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "keyFigures": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "value": {
                                    "type": "string"
                                },
                                "label": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                }
                            },
                            "required": [
                                "value",
                                "label"
                            ]
                        }
                    },
                    "specs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Spec"
                        }
                    },
                    "highlights": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "title": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "text": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "image": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "format": "uri"
                                }
                            },
                            "required": [
                                "title",
                                "text",
                                "image"
                            ]
                        }
                    },
                    "options": {
                        "type": "object",
                        "properties": {
                            "included": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Option"
                                }
                            },
                            "available": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Option"
                                }
                            }
                        },
                        "required": [
                            "included",
                            "available"
                        ]
                    },
                    "versions": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "string",
                                    "enum": [
                                        "start",
                                        "pro"
                                    ]
                                },
                                "name": {
                                    "type": "string"
                                },
                                "subtitle": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "options": {
                                    "type": "object",
                                    "properties": {
                                        "included": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Option"
                                            }
                                        },
                                        "available": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Option"
                                            }
                                        },
                                        "predisposition": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Option"
                                            }
                                        }
                                    },
                                    "required": [
                                        "included",
                                        "available",
                                        "predisposition"
                                    ]
                                },
                                "specOverrides": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/Spec"
                                    }
                                }
                            },
                            "required": [
                                "id",
                                "name",
                                "subtitle",
                                "options",
                                "specOverrides"
                            ]
                        }
                    },
                    "gallery": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Image"
                        }
                    },
                    "datasheetUrl": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri"
                    },
                    "updatedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    }
                },
                "required": [
                    "id",
                    "name",
                    "url",
                    "apiUrl",
                    "tagline",
                    "price",
                    "image",
                    "keySpecs",
                    "hasVersions",
                    "quoteUrl",
                    "summary",
                    "keyFigures",
                    "specs",
                    "highlights",
                    "options",
                    "versions",
                    "gallery",
                    "datasheetUrl",
                    "updatedAt"
                ]
            },
            "ModelList": {
                "type": "object",
                "properties": {
                    "models": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ModelSummary"
                        }
                    }
                },
                "required": [
                    "models"
                ]
            },
            "OptionList": {
                "type": "object",
                "properties": {
                    "options": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Option"
                        }
                    }
                },
                "required": [
                    "options"
                ]
            },
            "PageSummary": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "apiUrl": {
                        "type": "string",
                        "format": "uri"
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "image": {
                        "$ref": "#/components/schemas/Image"
                    },
                    "updatedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    }
                },
                "required": [
                    "id",
                    "title",
                    "url",
                    "apiUrl",
                    "summary",
                    "image",
                    "updatedAt"
                ]
            },
            "Page": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "apiUrl": {
                        "type": "string",
                        "format": "uri"
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "image": {
                        "$ref": "#/components/schemas/Image"
                    },
                    "updatedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "content": {
                        "type": "string",
                        "description": "Texte en Markdown simplifié (blocs statiques de la page ; les sections dynamiques ne sont pas incluses)."
                    }
                },
                "required": [
                    "id",
                    "title",
                    "url",
                    "apiUrl",
                    "summary",
                    "image",
                    "updatedAt",
                    "content"
                ]
            },
            "PageList": {
                "type": "object",
                "properties": {
                    "pages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PageSummary"
                        }
                    }
                },
                "required": [
                    "pages"
                ]
            },
            "ArticleSummary": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "apiUrl": {
                        "type": "string",
                        "format": "uri"
                    },
                    "publishedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "updatedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "categories": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Term"
                        }
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Term"
                        }
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "image": {
                        "$ref": "#/components/schemas/Image"
                    }
                },
                "required": [
                    "id",
                    "title",
                    "url",
                    "apiUrl",
                    "publishedAt",
                    "updatedAt",
                    "categories",
                    "tags",
                    "summary",
                    "image"
                ]
            },
            "Article": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "apiUrl": {
                        "type": "string",
                        "format": "uri"
                    },
                    "publishedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "updatedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "categories": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Term"
                        }
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Term"
                        }
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "image": {
                        "$ref": "#/components/schemas/Image"
                    },
                    "content": {
                        "type": "string",
                        "description": "Texte en Markdown simplifié (blocs statiques de la page ; les sections dynamiques ne sont pas incluses)."
                    }
                },
                "required": [
                    "id",
                    "title",
                    "url",
                    "apiUrl",
                    "publishedAt",
                    "updatedAt",
                    "categories",
                    "tags",
                    "summary",
                    "image",
                    "content"
                ]
            },
            "ArticleList": {
                "type": "object",
                "properties": {
                    "articles": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ArticleSummary"
                        }
                    },
                    "page": {
                        "type": "integer"
                    },
                    "perPage": {
                        "type": "integer"
                    },
                    "total": {
                        "type": "integer"
                    },
                    "totalPages": {
                        "type": "integer"
                    }
                },
                "required": [
                    "articles",
                    "page",
                    "perPage",
                    "total",
                    "totalPages"
                ]
            },
            "Testimonial": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "quote": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "operator": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Exploitant (client) de la machine."
                    },
                    "city": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "model": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            },
                            "url": {
                                "type": "string",
                                "format": "uri"
                            }
                        }
                    },
                    "video": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "url": {
                                "type": "string",
                                "format": "uri"
                            },
                            "mimeType": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "duration": {
                                "type": [
                                    "integer",
                                    "null"
                                ],
                                "description": "Durée en secondes."
                            },
                            "poster": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "uri"
                            }
                        }
                    }
                },
                "required": [
                    "id",
                    "title",
                    "quote",
                    "operator",
                    "city",
                    "model",
                    "video"
                ]
            },
            "TestimonialList": {
                "type": "object",
                "properties": {
                    "testimonials": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Testimonial"
                        }
                    }
                },
                "required": [
                    "testimonials"
                ]
            }
        },
        "parameters": {
            "Accept": {
                "name": "Accept",
                "in": "header",
                "required": false,
                "description": "Format de la réponse.",
                "schema": {
                    "type": "string",
                    "enum": [
                        "application/json",
                        "text/markdown"
                    ],
                    "default": "application/json"
                }
            },
            "Format": {
                "name": "format",
                "in": "query",
                "required": false,
                "description": "Alternative à l'en-tête Accept (prioritaire sur celui-ci).",
                "schema": {
                    "type": "string",
                    "enum": [
                        "json",
                        "markdown"
                    ]
                }
            }
        }
    }
}