{
  "openapi" : "3.1.0",
  "info" : {
    "description" : "Read-only access to the public data of Check & Vote: legislative bills, decrees, reports and European texts, roll-call votes, people and mandates, political groups and themes. The data come from official open data (Assemblée nationale, Sénat, Journal officiel, EUR-Lex and the European Parliament); every record carries its source.\n\n**No key, no account.** Every route is a GET on public data. There is nothing to write and nothing personal: users of the application are never exposed.\n\n**MCP.** An AI assistant can also query this data through an MCP server, without reading this             description: `https://www.checkandvote.eu/mcp` (read-only, no authentication). Set-up for Claude             Desktop, Claude Code and any MCP client: https://www.checkandvote.eu/connect-ai.html A second MCP server, `https://www.checkandvote.eu/mcp/compte`, acts on behalf of a signed-in person with their OAuth authorization (positions, follows, delegation, forum, profile).\n\n**Declare AI calls.** If your caller is an AI (agent, assistant, tool), add `ai=true` to the query, or the header `X-AI-Client: true`. It lets us measure how AI uses the API. It never changes the response.\n\n**Language.** Names, fields and enumeration values are in English. Texts (titles, summaries, bill content) are in French, the language of the sources. European bills are also served in the 24 languages of the Union when a translation exists: send `Accept-Language`.\n\n**Pagination.** Lists take `page` (from 0) and `size` (default 20, maximum 100) and answer `items`, `page`, `size`, `totalItems`.\n\n**Errors.** RFC 9457 problem details (`application/problem+json`) in English. A per-IP limit applies (120 requests per minute by default): beyond it the answer is `429` with a `Retry-After` header (seconds).\n\n**Stability.** This is version 1. A field is never renamed or removed in v1: such a change opens `/api/public/v2`. New fields may be added.",
    "title" : "Check & Vote public API",
    "version" : "1.0.0"
  },
  "servers" : [ {
    "url" : "https://www.checkandvote.eu",
    "description" : "Production"
  } ],
  "tags" : [ {
    "description" : "Political groups, themes and governments.",
    "name" : "Reference data"
  }, {
    "description" : "The reasons citizens give to their opinion on a bill, anonymous.",
    "name" : "Reasons"
  }, {
    "description" : "Elected officials, ministers and public figures, with their mandates, votes and activity.",
    "name" : "People"
  }, {
    "description" : "Roll-call votes of the National Assembly, the Senate and the European Parliament, and how each member voted.",
    "name" : "Votes"
  }, {
    "description" : "Legislative bills, their texts, official texts and decrees.",
    "name" : "Bills and texts"
  }, {
    "description" : "Find bills, decrees and reports.",
    "name" : "Search and lists"
  }, {
    "description" : "Amendments tabled on a bill, with their wording, author and fate.",
    "name" : "Amendments"
  } ],
  "paths" : {
    "/api/public/v1/amendments/{id}" : {
      "get" : {
        "description" : "The amendment with its author, fate, amended wording, justification and the roll-call votes that put it to the vote.",
        "operationId" : "getAmendment",
        "parameters" : [ {
          "description" : "Amendment identifier, from /bills/{id}/amendments or /votes/{id}/amendments.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "id" : 4210,
                  "uid" : "AMANR5L17PO1234B1500P0D1N000123",
                  "number" : "123",
                  "article" : "Article 4",
                  "authorLabel" : "Mme Jeanne Dupont",
                  "authorId" : 321,
                  "groupRef" : "PO800490",
                  "authorKind" : "Député",
                  "outcomeLabel" : "Adopté",
                  "outcome" : "ADOPTED",
                  "depositDate" : "2026-09-29",
                  "outcomeDate" : "2026-10-02T18:42:54+02:00",
                  "enactingTermsHtml" : "<p>Remplacer « 30 » par « 40 ».</p>",
                  "justificationHtml" : "<p>Cet amendement relève l'objectif.</p>",
                  "summary" : "Remplace le chiffre 30 par 40 à l'article 4.",
                  "sourceUrl" : "https://example.org/amendements/123",
                  "billId" : 88,
                  "billTitle" : "Projet de loi relatif à la transition énergétique (exemple)",
                  "cosignatories" : [ {
                    "personId" : 322,
                    "name" : "Marc Martin",
                    "department" : "Gironde",
                    "groupAcronym" : "EXG",
                    "groupName" : "Groupe exemple",
                    "governmentId" : null
                  } ],
                  "votes" : [ {
                    "voteId" : 555,
                    "number" : 212,
                    "date" : "2026-10-02",
                    "title" : "l'amendement n° 123 à l'article 4",
                    "outcome" : "ADOPTED",
                    "chamber" : "NATIONAL_ASSEMBLY"
                  } ],
                  "chamber" : "NATIONAL_ASSEMBLY",
                  "commissionOpinion" : null,
                  "governmentOpinion" : null
                },
                "schema" : {
                  "$ref" : "#/components/schemas/AmendmentDetail"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "An amendment",
        "tags" : [ "Amendments" ]
      }
    },
    "/api/public/v1/bills" : {
      "get" : {
        "description" : "Bills (dossiers législatifs) of the French Parliament, and European legislative files with jurisdiction=EU. Open /bills/{id} for the detail.",
        "operationId" : "listBills",
        "parameters" : [ {
          "description" : "Search terms. Every word must be found.",
          "in" : "query",
          "name" : "q",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "description" : "FR (French Parliament) or EU (European Union). Default: both.",
          "in" : "query",
          "name" : "jurisdiction",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Jurisdiction of a bill: FR (French Parliament) or EU (European Union).",
            "enum" : [ "FR", "EU" ]
          }
        }, {
          "description" : "IN_PROGRESS or PROMULGATED.",
          "in" : "query",
          "name" : "status",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Progress of a bill through the legislative process.",
            "enum" : [ "IN_PROGRESS", "PROMULGATED", "REJECTED", "WITHDRAWN" ]
          }
        }, {
          "description" : "Earliest date of last action (inclusive), ISO yyyy-MM-dd.",
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "description" : "Latest date of last action (inclusive), ISO yyyy-MM-dd.",
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "description" : "Identifier of a government (see /governments). Keeps only the bills filed while it was in office, dated by their earliest filing in either chamber. The government in office on a date is the last one appointed on or before it: a government that has resigned stays in office until its successor is appointed, and on the day of the handover the new one is in office. Unknown identifier: 400.",
          "in" : "query",
          "name" : "government",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "description" : "true removes international treaty ratification bills (bills marked as such in either chamber). Applies to bills only.",
          "in" : "query",
          "name" : "excludeTreaties",
          "required" : false,
          "schema" : {
            "type" : "boolean",
            "default" : false
          }
        }, {
          "description" : "Sort criterion. Default: RELEVANCE with 'q', DATE without.",
          "in" : "query",
          "name" : "sort",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Sort criterion of the search endpoints.",
            "enum" : [ "RELEVANCE", "DATE", "TITLE" ]
          }
        }, {
          "description" : "Sort direction. Default: the criterion's own.",
          "in" : "query",
          "name" : "order",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Sort direction. When omitted, the default direction of the criterion applies.",
            "enum" : [ "ASC", "DESC" ]
          }
        }, {
          "description" : "Page number, starting at 0.",
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "description" : "Items per page (default 20, maximum 100).",
          "in" : "query",
          "name" : "size",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "items" : [ {
                    "kind" : "BILL",
                    "id" : 1234,
                    "title" : "Projet de loi relatif à la transition énergétique (exemple)",
                    "jurisdiction" : "FR",
                    "legislature" : 17,
                    "origin" : null,
                    "status" : "IN_PROGRESS",
                    "nature" : null,
                    "mention" : "Procédure accélérée",
                    "date" : "2026-09-30",
                    "dateKind" : "LAST_ACTION",
                    "automaticTranslation" : false,
                    "author" : {
                      "personId" : 321,
                      "name" : "Jeanne Dupont",
                      "department" : "Gironde",
                      "groupAcronym" : "EXG",
                      "groupName" : "Groupe exemple",
                      "governmentId" : null
                    },
                    "acceleratedProcedure" : true,
                    "acceleratedProcedureDate" : "2026-06-12",
                    "amendment" : null,
                    "billId" : null
                  } ],
                  "page" : 0,
                  "size" : 20,
                  "totalItems" : 57,
                  "translatedQuery" : null
                },
                "schema" : {
                  "$ref" : "#/components/schemas/TextSearchResult"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "List or search legislative bills",
        "tags" : [ "Search and lists" ]
      }
    },
    "/api/public/v1/bills/{id}" : {
      "get" : {
        "description" : "The bill with its steps, roll-call votes, text versions and themes. Content is in French unless Accept-Language asks for another language of the Union and a translation exists (European bills).",
        "operationId" : "getBill",
        "parameters" : [ {
          "description" : "Bill identifier, from /bills or /search.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "id" : 1234,
                  "assemblyUid" : "DLR5L17N12345",
                  "legislature" : 17,
                  "title" : "Projet de loi relatif à la transition énergétique (exemple)",
                  "typeLabel" : "Projet de loi",
                  "procedureCode" : "DEFAULT",
                  "procedureLabel" : "Projet de loi ordinaire",
                  "status" : "IN_PROGRESS",
                  "promulgationDate" : null,
                  "lastActionDate" : "2026-09-30",
                  "author" : {
                    "personId" : 321,
                    "name" : "Jeanne Dupont",
                    "department" : "Gironde",
                    "groupAcronym" : "EXG",
                    "groupName" : "Groupe exemple",
                    "governmentId" : null
                  },
                  "cosignatories" : [ ],
                  "leadBodyLabel" : "Commission des affaires économiques",
                  "shortSummary" : "Le texte fixe de nouveaux objectifs de production d'énergie renouvelable.",
                  "longSummary" : null,
                  "longSummaryTextId" : 5001,
                  "explanatoryMemorandum" : "Exposé des motifs…",
                  "steps" : [ {
                    "id" : 10,
                    "actionCode" : "AN1-DEPOT",
                    "actionLabel" : "Dépôt du projet de loi",
                    "date" : "2026-06-12",
                    "stageCode" : "AN1",
                    "stageLabel" : "1re lecture (Assemblée nationale)",
                    "conclusionStatus" : null,
                    "voteRef" : null,
                    "textId" : 5001,
                    "textTypeLabel" : "Projet de loi",
                    "textIds" : [ 5001 ]
                  } ],
                  "votes" : [ {
                    "id" : 555,
                    "number" : 212,
                    "date" : "2026-09-30",
                    "title" : "l'ensemble du projet de loi",
                    "outcomeLabel" : "adopté",
                    "outcome" : "ADOPTED",
                    "chamber" : "NATIONAL_ASSEMBLY",
                    "outcomeComputed" : false
                  } ],
                  "texts" : [ {
                    "id" : 5001,
                    "typeLabel" : "Projet de loi",
                    "natureLabel" : "Texte déposé",
                    "roleLabel" : "Texte initial",
                    "adoptionStatus" : null,
                    "number" : 1500,
                    "numberSuffix" : null,
                    "bodyLabel" : "Assemblée nationale",
                    "title" : "Projet de loi relatif à la transition énergétique (exemple)",
                    "filingDate" : "2026-06-12",
                    "publicationDate" : null,
                    "sourceUrl" : "https://example.org/textes/1500",
                    "pdfUrl" : "https://example.org/textes/1500.pdf",
                    "authorName" : "Le Gouvernement",
                    "authorId" : null,
                    "authorIsRapporteur" : false,
                    "contentAvailable" : true,
                    "pdfAvailable" : true,
                    "annexes" : [ ],
                    "automaticTranslation" : false
                  } ],
                  "themes" : [ {
                    "id" : 4,
                    "code" : "ENVIRONMENT",
                    "label" : "Environnement"
                  } ],
                  "jurisdiction" : "FR",
                  "contentLanguage" : "fr",
                  "automaticTranslation" : false,
                  "summarySourceLanguage" : "fr",
                  "acceleratedProcedure" : true,
                  "acceleratedProcedureDate" : "2026-06-12"
                },
                "schema" : {
                  "$ref" : "#/components/schemas/Bill"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "A legislative bill",
        "tags" : [ "Bills and texts" ]
      }
    },
    "/api/public/v1/bills/{id}/amendments" : {
      "get" : {
        "description" : "The amendments tabled on a bill, most recently tabled first, with author, article and fate. Search them with 'q' (keywords, or an amendment number such as I-1358, 1-1358 or 1358): the results then come by relevance, an exact number first, and at most 100 are ranked. Filter by fate with 'outcome' and by signatory with 'author' and by chamber (National Assembly or Senate) with 'chamber'. Open one with /amendments/{id} for its wording and justification.",
        "operationId" : "listBillAmendments",
        "parameters" : [ {
          "description" : "Bill identifier, from /bills or /search.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "description" : "Search terms within this bill's amendments: number, article, summary, wording. Every word must be found; 'or' and \"quoted phrases\" are accepted. A bare number (I-1358, 1-1358, I 1358, 1358) finds the amendment under any spelling; without a tome, every amendment of that number is returned. Without 'q', the list is unchanged.",
          "in" : "query",
          "name" : "q",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "description" : "Restrict to amendments with this fate. PENDING means not yet discussed.",
          "in" : "query",
          "name" : "outcome",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Fate of an amendment.",
            "enum" : [ "ADOPTED", "REJECTED", "FELL", "WITHDRAWN", "NOT_MOVED", "PENDING", "OTHER" ]
          }
        }, {
          "description" : "Identifier of a person (see /people): keeps only the amendments this person signed, as 'authorRole' says. Combines with 'q' and 'outcome'. An unknown person is refused (400).",
          "in" : "query",
          "name" : "author",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "description" : "Role of 'author': AUTHOR (first signatory), COSIGNATORY (a co-signer) or ANY (default). No effect without 'author'.",
          "in" : "query",
          "name" : "authorRole",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Role of the person given as 'author' in a search. AUTHOR: the first signatory of a bill or amendment, the rapporteur of a report, a signatory of a decree. COSIGNATORY: a co-signer who has not withdrawn (bills and amendments only; reports and decrees have none). ANY: either.",
            "enum" : [ "AUTHOR", "COSIGNATORY", "ANY" ]
          }
        }, {
          "description" : "Restrict to amendments tabled in this chamber (NATIONAL_ASSEMBLY or SENATE). Default: both. A bill that went through both chambers has an amendment 'n° 12' on each side.",
          "in" : "query",
          "name" : "chamber",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Parliamentary chamber: the French National Assembly, the French Senate or the European Parliament.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          }
        }, {
          "description" : "Page number, starting at 0.",
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "description" : "Items per page (default 20, maximum 100).",
          "in" : "query",
          "name" : "size",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "items" : [ {
                    "id" : 4210,
                    "number" : "123",
                    "article" : "Article 4",
                    "authorLabel" : "Mme Jeanne Dupont",
                    "groupRef" : "PO800490",
                    "outcomeLabel" : "Adopté",
                    "outcome" : "ADOPTED",
                    "depositDate" : "2026-09-29",
                    "summary" : "Remplace le chiffre 30 par 40 à l'article 4.",
                    "chamber" : "NATIONAL_ASSEMBLY"
                  } ],
                  "page" : 0,
                  "size" : 20,
                  "totalItems" : 312
                },
                "schema" : {
                  "$ref" : "#/components/schemas/PagedAmendmentSummary"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "Amendments of a bill",
        "tags" : [ "Amendments" ]
      }
    },
    "/api/public/v1/bills/{id}/decrees" : {
      "get" : {
        "description" : "Decrees applying the law that came out of this bill, with the link that was used to find them. Empty when the bill is not a promulgated law.",
        "operationId" : "listBillDecrees",
        "parameters" : [ {
          "description" : "Bill identifier.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "law" : {
                    "lawJorfId" : "JORFTEXT000000000001",
                    "lawNumber" : "2026-100",
                    "lawTitle" : "Loi relative à la transition énergétique (exemple)",
                    "match" : "CERTAIN",
                    "score" : null
                  },
                  "decrees" : [ {
                    "id" : 88,
                    "jorfId" : "JORFTEXT000000000088",
                    "nature" : "DECREE",
                    "number" : "2026-123",
                    "title" : "Décret n° 2026-123 portant application de l'article 4 (exemple)",
                    "signatureDate" : "2026-08-12",
                    "publicationDate" : "2026-08-14",
                    "ministry" : "Ministère de la transition écologique",
                    "shortSummary" : "Précise les modalités d'application de l'article 4.",
                    "summaryIsAi" : true
                  } ]
                },
                "schema" : {
                  "$ref" : "#/components/schemas/BillDecrees"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "The implementing decrees of a bill",
        "tags" : [ "Bills and texts" ]
      }
    },
    "/api/public/v1/bills/{id}/long-summary" : {
      "get" : {
        "description" : "The long summary, translated on demand according to Accept-Language.",
        "operationId" : "getBillLongSummary",
        "parameters" : [ {
          "description" : "Bill identifier.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "text" : "Résumé détaillé du projet de loi…",
                  "contentLanguage" : "fr",
                  "automaticTranslation" : false
                },
                "schema" : {
                  "$ref" : "#/components/schemas/LongSummary"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "The long summary of a bill",
        "tags" : [ "Bills and texts" ]
      }
    },
    "/api/public/v1/bills/{id}/official-texts" : {
      "get" : {
        "description" : "The versions of the official EU text (proposal, Parliament position, adopted act) with the languages each exists in. Empty for French bills. Read one with /texts/{textId}/official-text.",
        "operationId" : "listBillOfficialTexts",
        "parameters" : [ {
          "description" : "Bill identifier.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : [ {
                  "textId" : 7001,
                  "stage" : "UE_PROPOSITION",
                  "celex" : "52026PC0123",
                  "date" : "2026-03-01",
                  "languages" : [ "bg", "de", "en", "fr" ]
                } ],
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/OfficialTextVersion"
                  }
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "Official texts of a European bill",
        "tags" : [ "Bills and texts" ]
      }
    },
    "/api/public/v1/bills/{id}/reasons" : {
      "get" : {
        "description" : "The published reasons that citizens of the application give to one opinion (FOR, AGAINST or ABSTENTION) on a bill, the most shared first, with how many citizens share each. Anonymous: no author, ever. These are opinions of the application's users, not an official source and not a representative poll.",
        "operationId" : "listBillReasons",
        "parameters" : [ {
          "description" : "Bill identifier, from /bills or /search.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "description" : "The opinion whose reasons are listed.",
          "in" : "query",
          "name" : "stance",
          "required" : true,
          "schema" : {
            "type" : "string",
            "description" : "The opinion a reason belongs to: what citizens of the application chose to say about a bill.",
            "enum" : [ "FOR", "AGAINST", "ABSTENTION" ]
          }
        }, {
          "description" : "Maximum number of reasons (default 20, maximum 100).",
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "stance" : "AGAINST",
                  "reasons" : [ {
                    "id" : 42,
                    "stance" : "AGAINST",
                    "text" : "Le texte ajoute une charge administrative sans financement (exemple).",
                    "shares" : 12
                  }, {
                    "id" : 57,
                    "stance" : "AGAINST",
                    "text" : "Les délais d'application sont irréalistes (exemple).",
                    "shares" : 3
                  } ]
                },
                "schema" : {
                  "$ref" : "#/components/schemas/BillReasons"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "Reasons citizens give on a bill",
        "tags" : [ "Reasons" ]
      }
    },
    "/api/public/v1/decrees" : {
      "get" : {
        "description" : "Regulatory texts published in the Journal officiel. Open /decrees/{id} for the articles.",
        "operationId" : "listDecrees",
        "parameters" : [ {
          "description" : "Search terms. Every word must be found.",
          "in" : "query",
          "name" : "q",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "description" : "Restrict to these natures, comma-separated.",
          "in" : "query",
          "name" : "nature",
          "required" : false,
          "schema" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "description" : "Nature of a regulatory text.",
              "enum" : [ "DECREE", "ORDINANCE" ]
            }
          }
        }, {
          "description" : "Earliest publication date (inclusive), ISO yyyy-MM-dd.",
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "description" : "Latest publication date (inclusive), ISO yyyy-MM-dd.",
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "description" : "Identifier of a government (see /governments). Keeps only the decrees and ordinances signed while it was in office. The government in office on a date is the last one appointed on or before it: a government that has resigned stays in office until its successor is appointed, and on the day of the handover the new one is in office. Unknown identifier: 400.",
          "in" : "query",
          "name" : "government",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "description" : "Sort criterion. Default: RELEVANCE with 'q', DATE without.",
          "in" : "query",
          "name" : "sort",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Sort criterion of the search endpoints.",
            "enum" : [ "RELEVANCE", "DATE", "TITLE" ]
          }
        }, {
          "description" : "Sort direction. Default: the criterion's own.",
          "in" : "query",
          "name" : "order",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Sort direction. When omitted, the default direction of the criterion applies.",
            "enum" : [ "ASC", "DESC" ]
          }
        }, {
          "description" : "Page number, starting at 0.",
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "description" : "Items per page (default 20, maximum 100).",
          "in" : "query",
          "name" : "size",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "items" : [ {
                    "kind" : "DECREE",
                    "id" : 88,
                    "title" : "Décret n° 2026-123 portant application de l'article 4 (exemple)",
                    "jurisdiction" : "FR",
                    "legislature" : null,
                    "origin" : "Ministère de la transition écologique",
                    "status" : null,
                    "nature" : "DECREE",
                    "mention" : "2026-123",
                    "date" : "2026-08-14",
                    "dateKind" : "PUBLICATION",
                    "automaticTranslation" : false,
                    "author" : null,
                    "acceleratedProcedure" : false,
                    "acceleratedProcedureDate" : null,
                    "amendment" : null,
                    "billId" : null
                  } ],
                  "page" : 0,
                  "size" : 20,
                  "totalItems" : 310,
                  "translatedQuery" : null
                },
                "schema" : {
                  "$ref" : "#/components/schemas/TextSearchResult"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "List or search decrees and ordinances",
        "tags" : [ "Search and lists" ]
      }
    },
    "/api/public/v1/decrees/{id}" : {
      "get" : {
        "description" : "The decree with its visas, notice, articles, signatories and the laws it applies.",
        "operationId" : "getDecree",
        "parameters" : [ {
          "description" : "Decree identifier, from /decrees or /search.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "id" : 88,
                  "jorfId" : "JORFTEXT000000000088",
                  "nor" : "TREX2600001D",
                  "nature" : "DECREE",
                  "number" : "2026-123",
                  "title" : "Décret n° 2026-123 portant application de l'article 4 (exemple)",
                  "fullTitle" : "Décret n° 2026-123 du 12 août 2026 portant application de l'article 4 de la loi (exemple)",
                  "signatureDate" : "2026-08-12",
                  "publicationDate" : "2026-08-14",
                  "publicationOrigin" : "JORF",
                  "ministry" : "Ministère de la transition écologique",
                  "eli" : "https://www.legifrance.gouv.fr/eli/decret/2026/8/12/TREX2600001D/jo/texte",
                  "sourceUrl" : "https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000000000088",
                  "shortSummary" : "Précise les modalités d'application de l'article 4.",
                  "longSummary" : null,
                  "summaryModel" : "exemple-modele",
                  "summaryIsAi" : true,
                  "visas" : "Vu la loi n° 2026-100…",
                  "notice" : "Le décret précise…",
                  "articles" : [ {
                    "jorfId" : "JORFARTI000000000001",
                    "number" : "1",
                    "content" : "Les dispositions suivantes s'appliquent…"
                  } ],
                  "signatories" : [ {
                    "name" : "Jeanne Dupont",
                    "role" : "La Première ministre",
                    "personId" : 321,
                    "match" : "CERTAIN"
                  } ],
                  "appliesTo" : [ {
                    "lawJorfId" : "JORFTEXT000000000001",
                    "lawNumber" : "2026-100",
                    "lawArticle" : "4",
                    "lawSignatureDate" : "2026-07-20",
                    "lawTitle" : "Loi relative à la transition énergétique (exemple)",
                    "linkKind" : "APPLICATION",
                    "billId" : 1234,
                    "billTitle" : "Projet de loi relatif à la transition énergétique (exemple)",
                    "match" : "CERTAIN"
                  } ]
                },
                "schema" : {
                  "$ref" : "#/components/schemas/Decree"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "A decree or ordinance",
        "tags" : [ "Bills and texts" ]
      }
    },
    "/api/public/v1/governments" : {
      "get" : {
        "description" : "The governments, most recent first.",
        "operationId" : "listGovernments",
        "parameters" : [ {
          "description" : "Search terms (name of the government or its Prime Minister).",
          "in" : "query",
          "name" : "q",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "description" : "Page number, starting at 0.",
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "description" : "Items per page (default 20, maximum 100).",
          "in" : "query",
          "name" : "size",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "items" : [ {
                    "id" : 12,
                    "name" : "Gouvernement exemple",
                    "shortName" : "Exemple",
                    "rank" : 12,
                    "primeMinisterName" : "Jeanne Dupont",
                    "primeMinisterId" : 321,
                    "startDate" : "2025-01-05",
                    "endDate" : null,
                    "inOffice" : true,
                    "memberCount" : 35
                  } ],
                  "page" : 0,
                  "size" : 20,
                  "totalItems" : 25
                },
                "schema" : {
                  "$ref" : "#/components/schemas/PagedGovernment"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "Governments of the French Republic",
        "tags" : [ "Reference data" ]
      }
    },
    "/api/public/v1/governments/{id}" : {
      "get" : {
        "description" : "The government and its members with their function and dates.",
        "operationId" : "getGovernment",
        "parameters" : [ {
          "description" : "Government identifier, from /governments.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "government" : {
                    "id" : 12,
                    "name" : "Gouvernement exemple",
                    "shortName" : "Exemple",
                    "rank" : 12,
                    "primeMinisterName" : "Jeanne Dupont",
                    "primeMinisterId" : 321,
                    "startDate" : "2025-01-05",
                    "endDate" : null,
                    "inOffice" : true,
                    "memberCount" : 35
                  },
                  "sourceUrl" : "https://example.org/gouvernements/12",
                  "members" : [ {
                    "personId" : 321,
                    "name" : "Jeanne Dupont",
                    "function" : "Première ministre",
                    "quality" : "Première ministre",
                    "startDate" : "2025-01-05",
                    "endDate" : null,
                    "linkInferred" : false
                  } ]
                },
                "schema" : {
                  "$ref" : "#/components/schemas/GovernmentDetail"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "A government with its members",
        "tags" : [ "Reference data" ]
      }
    },
    "/api/public/v1/groups" : {
      "get" : {
        "description" : "The groups currently sitting in the chamber; former groups with includeFormer=true.",
        "operationId" : "listGroups",
        "parameters" : [ {
          "description" : "NATIONAL_ASSEMBLY, SENATE or EUROPEAN_PARLIAMENT.",
          "in" : "query",
          "name" : "chamber",
          "required" : false,
          "schema" : {
            "type" : "string",
            "default" : "NATIONAL_ASSEMBLY",
            "description" : "Parliamentary chamber: the French National Assembly, the French Senate or the European Parliament.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          }
        }, {
          "description" : "Also list groups that no longer exist.",
          "in" : "query",
          "name" : "includeFormer",
          "required" : false,
          "schema" : {
            "type" : "boolean",
            "default" : false
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : [ {
                  "id" : 3,
                  "acronym" : "EXG",
                  "name" : "Groupe exemple",
                  "color" : "#CC0000",
                  "chamber" : "NATIONAL_ASSEMBLY",
                  "current" : true,
                  "successorAcronym" : null,
                  "successorName" : null
                } ],
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/PoliticalGroup"
                  }
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "Political groups of a chamber",
        "tags" : [ "Reference data" ]
      }
    },
    "/api/public/v1/people" : {
      "get" : {
        "description" : "Parliamentarians (deputies, senators, MEPs), ministers, presidents and public figures; candidates in the 2024 French legislative election on request (kind=CANDIDATE). The 'status', 'group' and 'country' filters apply to parliamentarians only; 'department' also applies to candidates (the department of the constituency they stood in). Open /people/{id} for mandates, groups and candidacies.",
        "operationId" : "listPeople",
        "parameters" : [ {
          "description" : "Search terms. Every word must be found in the name, department, profession...",
          "in" : "query",
          "name" : "q",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "description" : "Kinds of person, comma-separated. Default: every kind except CONTENT_CREATOR and CANDIDATE. CONTENT_CREATOR selects political content creators (video makers, media outlets, magazines, columnists), parliamentarians included; combined with other kinds it adds them to the result. CANDIDATE selects the candidates in the 2024 French legislative election (official list of the French Ministry of the Interior), elected or not. Candidates who never held a mandate are returned ONLY when CANDIDATE is requested: when a name returns nothing, retry with kind=CANDIDATE. Their nuance is attributed by the Ministry of the Interior; it is not a party.",
          "in" : "query",
          "name" : "kind",
          "required" : false,
          "schema" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "description" : "Kind of person. The public API never exposes citizens (users of the application), only elected officials, public figures and election candidates. CONTENT_CREATOR and CANDIDATE are filters, never a role.",
              "enum" : [ "DEPUTY", "SENATOR", "MEP", "MINISTER", "PRESIDENT", "PUBLIC_FIGURE", "CONTENT_CREATOR", "CANDIDATE" ]
            }
          }
        }, {
          "description" : "IN_OFFICE or FORMER.",
          "in" : "query",
          "name" : "status",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Whether a mandate is currently held.",
            "enum" : [ "IN_OFFICE", "FORMER" ]
          }
        }, {
          "description" : "Identifiers of political groups, comma-separated (see /groups).",
          "in" : "query",
          "name" : "group",
          "required" : false,
          "schema" : {
            "type" : "array",
            "items" : {
              "type" : "integer",
              "format" : "int64"
            }
          }
        }, {
          "description" : "Department, by number (77, 2A, 971) or name (Seine-et-Marne). Applies to parliamentarians and to candidates (the department of the constituency they stood in).",
          "in" : "query",
          "name" : "department",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "description" : "Countries represented (MEPs), ISO 3166-1 alpha-2, comma-separated or repeated.",
          "in" : "query",
          "name" : "country",
          "required" : false,
          "schema" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          }
        }, {
          "description" : "Sort criterion. PARTICIPATION and LOYALTY require exactly one 'kind' among DEPUTY, SENATOR and MEP.",
          "in" : "query",
          "name" : "sort",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Sort criterion of the people list. PARTICIPATION and LOYALTY need a single 'kind' of parliamentarian.",
            "enum" : [ "NAME", "DEPARTMENT", "PARTICIPATION", "LOYALTY" ]
          }
        }, {
          "description" : "Sort direction. Default: the criterion's own.",
          "in" : "query",
          "name" : "order",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Sort direction. When omitted, the default direction of the criterion applies.",
            "enum" : [ "ASC", "DESC" ]
          }
        }, {
          "description" : "Page number, starting at 0.",
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "description" : "Items per page (default 20, maximum 100).",
          "in" : "query",
          "name" : "size",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "items" : [ {
                    "id" : 321,
                    "civility" : "Mme",
                    "firstName" : "Jeanne",
                    "lastName" : "Dupont",
                    "department" : "Gironde",
                    "constituency" : "3",
                    "roles" : [ {
                      "kind" : "DEPUTY",
                      "status" : "IN_OFFICE"
                    } ],
                    "groupAcronym" : "EXG",
                    "groupName" : "Groupe exemple",
                    "groupOriginAcronym" : null,
                    "groupOriginName" : null,
                    "publicFigure" : false,
                    "mainProfession" : "Enseignante",
                    "country" : "FR",
                    "representedCountry" : null,
                    "participationRate" : 0.82,
                    "loyaltyRate" : 0.95,
                    "ministerRank" : null,
                    "contentCreator" : false,
                    "contentFormat" : null,
                    "candidate" : true
                  } ],
                  "page" : 0,
                  "size" : 20,
                  "totalItems" : 577
                },
                "schema" : {
                  "$ref" : "#/components/schemas/PagedPersonSummary"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "List or search people",
        "tags" : [ "People" ]
      }
    },
    "/api/public/v1/people/{id}" : {
      "get" : {
        "description" : "Biography, public contact details, mandates, political group memberships and candidacies in the 2024 French legislative election. Citizens (users of the application) are never exposed.",
        "operationId" : "getPerson",
        "parameters" : [ {
          "description" : "Person identifier, from /people.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "id" : 321,
                  "displayName" : "Jeanne Dupont",
                  "civility" : "Mme",
                  "firstName" : "Jeanne",
                  "lastName" : "Dupont",
                  "birthDate" : "1975-04-12",
                  "deathDate" : null,
                  "profession" : "Enseignante",
                  "occupations" : null,
                  "biography" : null,
                  "biographySourceUrl" : null,
                  "biographyLicence" : null,
                  "officialWebsiteUrl" : "https://example.org/jeanne-dupont",
                  "sourceUrl" : "https://example.org/deputes/321",
                  "contacts" : [ {
                    "kind" : "WEBSITE",
                    "label" : "Site officiel",
                    "value" : "https://example.org/jeanne-dupont",
                    "title" : null,
                    "streetNumber" : null,
                    "street" : null,
                    "addressLine2" : null,
                    "postalCode" : null,
                    "city" : null
                  } ],
                  "hatvpUri" : "https://example.org/hatvp/dupont-jeanne",
                  "roles" : [ {
                    "kind" : "DEPUTY",
                    "status" : "IN_OFFICE"
                  } ],
                  "mandates" : [ {
                    "legislature" : 17,
                    "startDate" : "2024-07-08",
                    "endDate" : null,
                    "endCause" : null,
                    "department" : "Gironde",
                    "departmentNumber" : "033",
                    "constituencyNumber" : "3",
                    "kind" : "DEPUTY",
                    "function" : null,
                    "quality" : null,
                    "government" : null,
                    "representedCountry" : null
                  } ],
                  "groups" : [ {
                    "acronym" : "EXG",
                    "name" : "Groupe exemple",
                    "legislature" : 17,
                    "startDate" : "2024-07-08",
                    "endDate" : null,
                    "chamber" : "NATIONAL_ASSEMBLY"
                  } ],
                  "representedCountry" : null,
                  "contentCreator" : false,
                  "contentFormat" : null,
                  "candidacies" : [ {
                    "election" : "LEGISLATIVES_2024",
                    "year" : 2024,
                    "round" : 1,
                    "nuance" : "UG",
                    "nuanceLabel" : "Union de la gauche",
                    "constituencyCode" : "0102",
                    "constituencyLabel" : "Ain, 2e circonscription",
                    "votes" : 18234,
                    "elected" : false,
                    "substitute" : "Paul Exemple"
                  }, {
                    "election" : "LEGISLATIVES_2024",
                    "year" : 2024,
                    "round" : 2,
                    "nuance" : "UG",
                    "nuanceLabel" : "Union de la gauche",
                    "constituencyCode" : "0102",
                    "constituencyLabel" : "Ain, 2e circonscription",
                    "votes" : 26410,
                    "elected" : true,
                    "substitute" : "Paul Exemple"
                  } ]
                },
                "schema" : {
                  "$ref" : "#/components/schemas/Person"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "A person of the public registry",
        "tags" : [ "People" ]
      }
    },
    "/api/public/v1/people/{id}/activity" : {
      "get" : {
        "description" : "Participation in roll-call votes and alignment with the person's group. 404 when the person has no parliamentary mandate.",
        "operationId" : "getPersonActivity",
        "parameters" : [ {
          "description" : "Person identifier.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "chamber" : "NATIONAL_ASSEMBLY",
                  "legislature" : 17,
                  "from" : "2024-07-08",
                  "to" : "2026-10-01",
                  "votesInPeriod" : 1200,
                  "votesCounted" : 1100,
                  "participated" : 900,
                  "absent" : 150,
                  "prevented" : 50,
                  "byProxy" : 20,
                  "voteCorrections" : 3,
                  "textsFiled" : 12,
                  "participationRelevant" : true,
                  "loyalty" : {
                    "agreed" : 850,
                    "disagreed" : 40,
                    "ofWhichAbstentions" : 25,
                    "groupWithoutLine" : 10
                  }
                },
                "schema" : {
                  "$ref" : "#/components/schemas/Activity"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "Parliamentary activity of a person",
        "tags" : [ "People" ]
      }
    },
    "/api/public/v1/people/{id}/proposals" : {
      "get" : {
        "description" : "The texts the parliamentarian filed or co-signed as author.",
        "operationId" : "listPersonProposals",
        "parameters" : [ {
          "description" : "Person identifier.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : [ {
                  "textId" : 6001,
                  "typeLabel" : "Proposition de loi",
                  "number" : 900,
                  "title" : "Proposition de loi visant à… (exemple)",
                  "filingDate" : "2026-02-03",
                  "billId" : 1300,
                  "sourceUrl" : "https://example.org/textes/900"
                } ],
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/Proposal"
                  }
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "Bills filed by a parliamentarian",
        "tags" : [ "People" ]
      }
    },
    "/api/public/v1/people/{id}/votes" : {
      "get" : {
        "description" : "The roll-call votes of a parliamentarian, newest first. Default kinds: WHOLE_TEXT, MOTION and OTHER.",
        "operationId" : "listPersonVotes",
        "parameters" : [ {
          "description" : "Person identifier.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "description" : "Kinds of vote, comma-separated. Default: WHOLE_TEXT, MOTION, OTHER.",
          "in" : "query",
          "name" : "kind",
          "required" : false,
          "schema" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "description" : "What a roll-call vote is about.",
              "enum" : [ "AMENDMENT", "MOTION", "WHOLE_TEXT", "ARTICLE", "OTHER" ]
            }
          }
        }, {
          "description" : "Page number, starting at 0.",
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "description" : "Items per page (default 20, maximum 100).",
          "in" : "query",
          "name" : "size",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "items" : [ {
                    "voteId" : 555,
                    "number" : 212,
                    "date" : "2026-09-30",
                    "title" : "l'ensemble du projet de loi",
                    "outcomeLabel" : "adopté",
                    "position" : "FOR",
                    "byProxy" : false,
                    "chamber" : "NATIONAL_ASSEMBLY",
                    "kind" : "WHOLE_TEXT"
                  } ],
                  "page" : 0,
                  "size" : 20,
                  "totalItems" : 64
                },
                "schema" : {
                  "$ref" : "#/components/schemas/PagedPersonVote"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "How a parliamentarian voted",
        "tags" : [ "People" ]
      }
    },
    "/api/public/v1/reports" : {
      "get" : {
        "description" : "Reports filed in Parliament. A report has no page of its own: its content belongs to its bill (see /bills/{id}).",
        "operationId" : "listReports",
        "parameters" : [ {
          "description" : "Search terms. Every word must be found.",
          "in" : "query",
          "name" : "q",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "description" : "Earliest filing date (inclusive), ISO yyyy-MM-dd.",
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "description" : "Latest filing date (inclusive), ISO yyyy-MM-dd.",
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "description" : "Sort criterion. Default: RELEVANCE with 'q', DATE without.",
          "in" : "query",
          "name" : "sort",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Sort criterion of the search endpoints.",
            "enum" : [ "RELEVANCE", "DATE", "TITLE" ]
          }
        }, {
          "description" : "Sort direction. Default: the criterion's own.",
          "in" : "query",
          "name" : "order",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Sort direction. When omitted, the default direction of the criterion applies.",
            "enum" : [ "ASC", "DESC" ]
          }
        }, {
          "description" : "Page number, starting at 0.",
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "description" : "Items per page (default 20, maximum 100).",
          "in" : "query",
          "name" : "size",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "items" : [ {
                    "kind" : "REPORT",
                    "id" : 9,
                    "title" : "Rapport d'information sur l'évaluation d'une politique publique (exemple)",
                    "jurisdiction" : "FR",
                    "legislature" : null,
                    "origin" : "Commission des finances",
                    "status" : null,
                    "nature" : null,
                    "mention" : "Rapport d'information n° 736, tome 2",
                    "date" : "2026-07-02",
                    "dateKind" : "FILING",
                    "automaticTranslation" : false,
                    "author" : null,
                    "acceleratedProcedure" : false,
                    "acceleratedProcedureDate" : null,
                    "amendment" : null,
                    "billId" : null
                  } ],
                  "page" : 0,
                  "size" : 20,
                  "totalItems" : 24,
                  "translatedQuery" : null
                },
                "schema" : {
                  "$ref" : "#/components/schemas/TextSearchResult"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "List or search parliamentary reports",
        "tags" : [ "Search and lists" ]
      }
    },
    "/api/public/v1/search" : {
      "get" : {
        "description" : "Full-text and semantic search across the three text corpora (bills, decrees, reports) in one paginated list. Omit 'type' to search all three: amendments are never part of the default search. Use type=AMENDMENT, alone, to search the amendments of the National Assembly and of the Senate by keywords or by number (I-1358, 1-1358, 1358): the way to find a precise measure (a tax, a mechanism) that no bill title mentions, especially in finance bills. Each amendment row gives the number, article, fate, short summary, chamber, filing date and 'billId'; narrow to one chamber with 'chamber'; open it with /amendments/{id}. A query in another language than French is translated when possible (see 'translatedQuery').",
        "operationId" : "searchTexts",
        "parameters" : [ {
          "description" : "Search terms. Every word must be found; if nothing comes out, rephrase with legal vocabulary. 'or' and \"quoted phrases\" are accepted for amendments. With type=AMENDMENT, a bare amendment number (I-1358, 1-1358, I 1358, 1358) finds that amendment under any spelling.",
          "in" : "query",
          "name" : "q",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "description" : "Corpora to search, comma-separated (BILL, DECREE, REPORT, AMENDMENT). Default: BILL, DECREE and REPORT, never AMENDMENT. AMENDMENT must be asked alone: mixed with another type, the request is refused (400).",
          "in" : "query",
          "name" : "type",
          "required" : false,
          "schema" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "description" : "Kind of document in the text search. AMENDMENT is never part of the default search: it is searched alone, on request.",
              "enum" : [ "BILL", "DECREE", "REPORT", "AMENDMENT" ]
            }
          }
        }, {
          "description" : "Restrict bills to FR or EU. EU excludes decrees and reports.",
          "in" : "query",
          "name" : "jurisdiction",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Jurisdiction of a bill: FR (French Parliament) or EU (European Union).",
            "enum" : [ "FR", "EU" ]
          }
        }, {
          "description" : "Earliest date (inclusive), ISO yyyy-MM-dd. For amendments, the filing date.",
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "description" : "Latest date (inclusive), ISO yyyy-MM-dd. For amendments, the filing date.",
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "description" : "Restrict decrees to these natures, comma-separated. Does not apply to amendments.",
          "in" : "query",
          "name" : "nature",
          "required" : false,
          "schema" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "description" : "Nature of a regulatory text.",
              "enum" : [ "DECREE", "ORDINANCE" ]
            }
          }
        }, {
          "description" : "Restrict bills to IN_PROGRESS or PROMULGATED. Does not apply to amendments.",
          "in" : "query",
          "name" : "status",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Progress of a bill through the legislative process.",
            "enum" : [ "IN_PROGRESS", "PROMULGATED", "REJECTED", "WITHDRAWN" ]
          }
        }, {
          "description" : "Restrict amendments to this fate (PENDING means not yet discussed). Only with type=AMENDMENT; refused (400) otherwise.",
          "in" : "query",
          "name" : "outcome",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Fate of an amendment.",
            "enum" : [ "ADOPTED", "REJECTED", "FELL", "WITHDRAWN", "NOT_MOVED", "PENDING", "OTHER" ]
          }
        }, {
          "description" : "Restrict amendments to those tabled in this chamber (NATIONAL_ASSEMBLY or SENATE); default: both. Only with type=AMENDMENT; refused (400) otherwise.",
          "in" : "query",
          "name" : "chamber",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Parliamentary chamber: the French National Assembly, the French Senate or the European Parliament.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          }
        }, {
          "description" : "Identifier of a government (see /governments). Keeps only the bills filed and the decrees and ordinances signed while it was in office. The government in office on a date is the last one appointed on or before it: a government that has resigned stays in office until its successor is appointed, and on the day of the handover the new one is in office. Unknown identifier: 400. A bill is dated by its earliest filing, in either chamber; a decree by its signature date. Restricts the search to bills and decrees: reports are left out.",
          "in" : "query",
          "name" : "government",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "description" : "Identifier of a person (see /people): keeps only the texts and amendments this person signed, as 'authorRole' says. Applies to bills, decrees, reports and amendments. An unknown person is refused (400).",
          "in" : "query",
          "name" : "author",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "description" : "Role of 'author': AUTHOR (first signatory of a bill or amendment, rapporteur of a report, signatory of a decree), COSIGNATORY (a co-signer who has not withdrawn; bills and amendments only, reports and decrees have none) or ANY (default). No effect without 'author'.",
          "in" : "query",
          "name" : "authorRole",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Role of the person given as 'author' in a search. AUTHOR: the first signatory of a bill or amendment, the rapporteur of a report, a signatory of a decree. COSIGNATORY: a co-signer who has not withdrawn (bills and amendments only; reports and decrees have none). ANY: either.",
            "enum" : [ "AUTHOR", "COSIGNATORY", "ANY" ]
          }
        }, {
          "description" : "true removes international treaty ratification bills (bills marked as such in either chamber). Applies to bills only. Does not apply to amendments.",
          "in" : "query",
          "name" : "excludeTreaties",
          "required" : false,
          "schema" : {
            "type" : "boolean",
            "default" : false
          }
        }, {
          "description" : "Sort criterion. Default: RELEVANCE with 'q', DATE without.",
          "in" : "query",
          "name" : "sort",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Sort criterion of the search endpoints.",
            "enum" : [ "RELEVANCE", "DATE", "TITLE" ]
          }
        }, {
          "description" : "Sort direction. Default: the criterion's own.",
          "in" : "query",
          "name" : "order",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Sort direction. When omitted, the default direction of the criterion applies.",
            "enum" : [ "ASC", "DESC" ]
          }
        }, {
          "description" : "Page number, starting at 0.",
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "description" : "Items per page (default 20, maximum 100).",
          "in" : "query",
          "name" : "size",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "items" : [ {
                    "kind" : "BILL",
                    "id" : 1234,
                    "title" : "Projet de loi relatif à la transition énergétique (exemple)",
                    "jurisdiction" : "FR",
                    "legislature" : 17,
                    "origin" : null,
                    "status" : "IN_PROGRESS",
                    "nature" : null,
                    "mention" : "Procédure accélérée",
                    "date" : "2026-09-30",
                    "dateKind" : "LAST_ACTION",
                    "automaticTranslation" : false,
                    "author" : {
                      "personId" : 321,
                      "name" : "Jeanne Dupont",
                      "department" : "Gironde",
                      "groupAcronym" : "EXG",
                      "groupName" : "Groupe exemple",
                      "governmentId" : null
                    },
                    "acceleratedProcedure" : true,
                    "acceleratedProcedureDate" : "2026-06-12",
                    "amendment" : null,
                    "billId" : null
                  }, {
                    "kind" : "DECREE",
                    "id" : 88,
                    "title" : "Décret n° 2026-123 portant application de l'article 4 (exemple)",
                    "jurisdiction" : "FR",
                    "legislature" : null,
                    "origin" : "Ministère de la transition écologique",
                    "status" : null,
                    "nature" : "DECREE",
                    "mention" : "2026-123",
                    "date" : "2026-08-14",
                    "dateKind" : "PUBLICATION",
                    "automaticTranslation" : false,
                    "author" : null,
                    "acceleratedProcedure" : false,
                    "acceleratedProcedureDate" : null,
                    "amendment" : null,
                    "billId" : null
                  } ],
                  "page" : 0,
                  "size" : 20,
                  "totalItems" : 132,
                  "translatedQuery" : null
                },
                "schema" : {
                  "$ref" : "#/components/schemas/TextSearchResult"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "Search bills, decrees, reports and amendments",
        "tags" : [ "Search and lists" ]
      }
    },
    "/api/public/v1/texts/{id}" : {
      "get" : {
        "description" : "One version of the text of a bill (filed text, adopted text...) with its full content, summaries and the versions it can be compared with.",
        "operationId" : "getText",
        "parameters" : [ {
          "description" : "Text identifier, from a bill's 'texts' or a vote's 'textId'.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "id" : 5001,
                  "title" : "Projet de loi relatif à la transition énergétique (exemple)",
                  "typeLabel" : "Projet de loi",
                  "natureLabel" : "Texte déposé",
                  "roleLabel" : "Texte initial",
                  "adoptionStatus" : null,
                  "filingDate" : "2026-06-12",
                  "publicationDate" : null,
                  "number" : 1500,
                  "legislature" : 17,
                  "sourceUrl" : "https://example.org/textes/1500",
                  "pdfUrl" : "https://example.org/textes/1500.pdf",
                  "authorName" : "Le Gouvernement",
                  "authorId" : null,
                  "authorIsRapporteur" : false,
                  "pdfAvailable" : true,
                  "cosignatories" : [ ],
                  "explanatoryMemorandum" : "Exposé des motifs…",
                  "presentationHtml" : null,
                  "fullText" : "Article 1er\nLa présente loi…",
                  "fullTextFromPdf" : false,
                  "fullTextFromOcr" : false,
                  "shortSummary" : null,
                  "longSummary" : null,
                  "comparableVersions" : [ {
                    "id" : 5002,
                    "typeLabel" : "Texte adopté",
                    "number" : 1560,
                    "date" : "2026-09-30",
                    "earlier" : false,
                    "byDefault" : true
                  } ],
                  "billId" : 1234,
                  "billTitle" : "Projet de loi relatif à la transition énergétique (exemple)",
                  "automaticTranslation" : false
                },
                "schema" : {
                  "$ref" : "#/components/schemas/Text"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "A version of a bill's text",
        "tags" : [ "Bills and texts" ]
      }
    },
    "/api/public/v1/texts/{id}/diff" : {
      "get" : {
        "description" : "Paragraph-level comparison between this text and another version of the same bill, always from the older to the newer. 404 when no comparison is possible.",
        "operationId" : "compareText",
        "parameters" : [ {
          "description" : "Text identifier.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "description" : "Identifier of the version to compare with; default: the previous version of the procedure.",
          "in" : "query",
          "name" : "with",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "before" : {
                    "id" : 5001,
                    "typeLabel" : "Projet de loi",
                    "number" : 1500,
                    "date" : "2026-06-12"
                  },
                  "after" : {
                    "id" : 5002,
                    "typeLabel" : "Texte adopté",
                    "number" : 1560,
                    "date" : "2026-09-30"
                  },
                  "alignment" : "ALIGNED",
                  "added" : 1,
                  "removed" : 0,
                  "unchanged" : 1,
                  "modified" : 1,
                  "identical" : false,
                  "segments" : [ {
                    "kind" : "UNCHANGED",
                    "content" : "Article 1er",
                    "previousContent" : null,
                    "previousWords" : null,
                    "words" : null
                  }, {
                    "kind" : "MODIFIED",
                    "content" : "La production atteint 40 %.",
                    "previousContent" : "La production atteint 30 %.",
                    "previousWords" : [ {
                      "changed" : false,
                      "text" : "La production atteint"
                    }, {
                      "changed" : true,
                      "text" : "30 %."
                    } ],
                    "words" : [ {
                      "changed" : false,
                      "text" : "La production atteint"
                    }, {
                      "changed" : true,
                      "text" : "40 %."
                    } ]
                  } ]
                },
                "schema" : {
                  "$ref" : "#/components/schemas/TextDiff"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "Compare a text with another version",
        "tags" : [ "Bills and texts" ]
      }
    },
    "/api/public/v1/texts/{id}/official-text" : {
      "get" : {
        "description" : "The official text of a European legislative act in the requested language, with a fallback language when it does not exist in that one ('fallback' says so). 404 when there is no official text.",
        "operationId" : "getOfficialText",
        "parameters" : [ {
          "description" : "Text identifier, from /bills/{id}/official-texts.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "description" : "ISO 639-1 language code (en, fr, de...). Default: from Accept-Language.",
          "in" : "query",
          "name" : "language",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "textId" : 7001,
                  "requestedLanguage" : "en",
                  "servedLanguage" : "en",
                  "fallback" : false,
                  "xhtml" : "<html>…</html>",
                  "eurLexUrl" : "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:52026PC0123"
                },
                "schema" : {
                  "$ref" : "#/components/schemas/OfficialText"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "The official EU text, as XHTML",
        "tags" : [ "Bills and texts" ]
      }
    },
    "/api/public/v1/themes" : {
      "get" : {
        "description" : "The list of policy domains. Labels are in French.",
        "operationId" : "listThemes",
        "parameters" : [ {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : [ {
                  "id" : 4,
                  "code" : "ENVIRONMENT",
                  "label" : "Environnement"
                }, {
                  "id" : 5,
                  "code" : "HEALTH",
                  "label" : "Santé"
                } ],
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/Theme"
                  }
                }
              }
            },
            "description" : "OK"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "The themes that classify bills and votes",
        "tags" : [ "Reference data" ]
      }
    },
    "/api/public/v1/votes" : {
      "get" : {
        "description" : "Roll-call votes of one chamber, newest first by default. Open the vote detail (/votes/{id}) for the tallies per political group.",
        "operationId" : "listVotes",
        "parameters" : [ {
          "description" : "Search terms, matched against the title.",
          "in" : "query",
          "name" : "q",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "description" : "Chamber to list. NATIONAL_ASSEMBLY, SENATE or EUROPEAN_PARLIAMENT.",
          "in" : "query",
          "name" : "chamber",
          "required" : false,
          "schema" : {
            "type" : "string",
            "default" : "NATIONAL_ASSEMBLY",
            "description" : "Parliamentary chamber: the French National Assembly, the French Senate or the European Parliament.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          }
        }, {
          "description" : "Restrict to adopted or rejected votes.",
          "in" : "query",
          "name" : "outcome",
          "required" : false,
          "schema" : {
            "type" : "string",
            "description" : "Result of a roll-call vote.",
            "enum" : [ "ADOPTED", "REJECTED" ]
          }
        }, {
          "description" : "Restrict to these kinds of vote, comma-separated.",
          "in" : "query",
          "name" : "kind",
          "required" : false,
          "schema" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "description" : "What a roll-call vote is about.",
              "enum" : [ "AMENDMENT", "MOTION", "WHOLE_TEXT", "ARTICLE", "OTHER" ]
            }
          }
        }, {
          "description" : "Earliest date (inclusive), ISO yyyy-MM-dd.",
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "description" : "Latest date (inclusive), ISO yyyy-MM-dd.",
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "description" : "Sort criterion.",
          "in" : "query",
          "name" : "sort",
          "required" : false,
          "schema" : {
            "type" : "string",
            "default" : "DATE",
            "description" : "Sort criterion of the vote list.",
            "enum" : [ "DATE", "NUMBER" ]
          }
        }, {
          "description" : "Sort direction.",
          "in" : "query",
          "name" : "order",
          "required" : false,
          "schema" : {
            "type" : "string",
            "default" : "DESC",
            "description" : "Sort direction. When omitted, the default direction of the criterion applies.",
            "enum" : [ "ASC", "DESC" ]
          }
        }, {
          "description" : "Page number, starting at 0.",
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "description" : "Items per page (default 20, maximum 100).",
          "in" : "query",
          "name" : "size",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "items" : [ {
                    "id" : 555,
                    "number" : 212,
                    "legislature" : 17,
                    "date" : "2026-09-30",
                    "title" : "l'ensemble du projet de loi",
                    "outcomeLabel" : "adopté",
                    "outcome" : "ADOPTED",
                    "totalFor" : 300,
                    "totalAgainst" : 200,
                    "totalAbstentions" : 20,
                    "totalNonVoting" : 5,
                    "nominal" : true,
                    "chamber" : "NATIONAL_ASSEMBLY",
                    "outcomeComputed" : false,
                    "textTitle" : "Projet de loi relatif à la transition énergétique (exemple)"
                  } ],
                  "page" : 0,
                  "size" : 20,
                  "totalItems" : 1840
                },
                "schema" : {
                  "$ref" : "#/components/schemas/PagedVoteSummary"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "List or search roll-call votes",
        "tags" : [ "Votes" ]
      }
    },
    "/api/public/v1/votes/{id}" : {
      "get" : {
        "description" : "Totals, result, text voted on and tallies per political group.",
        "operationId" : "getVote",
        "parameters" : [ {
          "description" : "Vote identifier, from /votes.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "id" : 555,
                  "number" : 212,
                  "legislature" : 17,
                  "date" : "2026-09-30",
                  "title" : "l'ensemble du projet de loi",
                  "voteTypeLabel" : "scrutin public ordinaire",
                  "outcomeLabel" : "adopté",
                  "outcome" : "ADOPTED",
                  "nominal" : true,
                  "voters" : 520,
                  "expressedVotes" : 500,
                  "requiredVotes" : 251,
                  "totalFor" : 300,
                  "totalAgainst" : 200,
                  "totalAbstentions" : 20,
                  "totalNonVoting" : 5,
                  "billId" : 1234,
                  "textId" : 5002,
                  "jurisdiction" : "FR",
                  "byGroup" : [ {
                    "groupId" : 3,
                    "acronym" : "EXG",
                    "name" : "Groupe exemple",
                    "votesFor" : 120,
                    "votesAgainst" : 5,
                    "abstentions" : 2,
                    "nonVoting" : 1,
                    "detailedCount" : 128,
                    "politicalOrder" : 2
                  } ],
                  "chamber" : "NATIONAL_ASSEMBLY",
                  "themes" : [ {
                    "id" : 4,
                    "code" : "ENVIRONMENT",
                    "label" : "Environnement"
                  } ],
                  "outcomeComputed" : false,
                  "textTitle" : "Projet de loi relatif à la transition énergétique (exemple)",
                  "scope" : "WHOLE_TEXT",
                  "polarity" : 1,
                  "articleNumber" : null,
                  "article" : null,
                  "sourceUrl" : "https://www.assemblee-nationale.fr/dyn/17/scrutins/212"
                },
                "schema" : {
                  "$ref" : "#/components/schemas/Vote"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "A roll-call vote",
        "tags" : [ "Votes" ]
      }
    },
    "/api/public/v1/votes/{id}/amendments" : {
      "get" : {
        "description" : "The amendment(s) voted on, with author, wording and justification, most recent first (deposit date).",
        "operationId" : "listVoteAmendments",
        "parameters" : [ {
          "description" : "Vote identifier.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : [ {
                  "uid" : "AMANR5L17PO1234B1500P0D1N000123",
                  "number" : "123",
                  "article" : "Article 4",
                  "authorLabel" : "Mme Jeanne Dupont",
                  "authorId" : 321,
                  "groupRef" : "PO800490",
                  "authorKind" : "Député",
                  "outcomeLabel" : "Adopté",
                  "enactingTermsHtml" : "<p>Remplacer « 30 » par « 40 ».</p>",
                  "justificationHtml" : "<p>Cet amendement relève l'objectif.</p>",
                  "sourceUrl" : "https://example.org/amendements/123",
                  "id" : 4210,
                  "billId" : 88,
                  "outcome" : "ADOPTED",
                  "depositDate" : "2026-09-29",
                  "outcomeDate" : "2026-10-02T18:42:54+02:00",
                  "summary" : "Remplace le chiffre 30 par 40 à l'article 4.",
                  "chamber" : "NATIONAL_ASSEMBLY"
                } ],
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/Amendment"
                  }
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "Amendments of an amendment vote",
        "tags" : [ "Votes" ]
      }
    },
    "/api/public/v1/votes/{id}/member-votes" : {
      "get" : {
        "description" : "The individual vote of every member, when the vote is a roll call ('nominal' is true). Empty otherwise.",
        "operationId" : "listVoteMemberVotes",
        "parameters" : [ {
          "description" : "Vote identifier.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : [ {
                  "personId" : 321,
                  "civility" : "Mme",
                  "firstName" : "Jeanne",
                  "lastName" : "Dupont",
                  "groupAcronym" : "EXG",
                  "groupId" : 3,
                  "position" : "FOR",
                  "byProxy" : false,
                  "country" : null
                } ],
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/MemberVote"
                  }
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "How each member voted",
        "tags" : [ "Votes" ]
      }
    },
    "/api/public/v1/votes/{id}/text-context" : {
      "get" : {
        "description" : "Bill, text and summaries of what was voted on. 204 when the vote is not attached to a text.",
        "operationId" : "getVoteTextContext",
        "parameters" : [ {
          "description" : "Vote identifier.",
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "$ref" : "#/components/parameters/AiParameter"
        }, {
          "$ref" : "#/components/parameters/AiClientHeader"
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "example" : {
                  "billId" : 1234,
                  "textId" : 5002,
                  "typeLabel" : "Texte adopté",
                  "number" : 1560,
                  "filingDate" : "2026-09-30",
                  "shortSummary" : null,
                  "longSummary" : null,
                  "explanatoryMemorandum" : null,
                  "sourceUrl" : "https://example.org/textes/1560",
                  "pdfUrl" : "https://example.org/textes/1560.pdf",
                  "pdfAvailable" : true,
                  "contentAvailable" : true,
                  "nearbySummary" : {
                    "textId" : 5001,
                    "typeLabel" : "Projet de loi",
                    "number" : 1432,
                    "filingDate" : "2026-06-12",
                    "shortSummary" : "Le texte fixe de nouveaux objectifs.",
                    "longSummary" : null
                  }
                },
                "schema" : {
                  "$ref" : "#/components/schemas/TextContext"
                }
              }
            },
            "description" : "OK"
          },
          "400" : {
            "$ref" : "#/components/responses/BadRequest"
          },
          "404" : {
            "$ref" : "#/components/responses/NotFound"
          },
          "429" : {
            "$ref" : "#/components/responses/TooManyRequests"
          }
        },
        "summary" : "The text a vote relates to",
        "tags" : [ "Votes" ]
      }
    }
  },
  "components" : {
    "parameters" : {
      "AiClientHeader" : {
        "description" : "Same as the 'ai' query parameter: send 'true' to declare that this call is made by an AI. It never changes the response.",
        "in" : "header",
        "name" : "X-AI-Client",
        "required" : false,
        "schema" : {
          "type" : "boolean",
          "default" : false
        }
      },
      "AiParameter" : {
        "description" : "Declare that this call is made by an AI (agent, assistant, tool). It helps us measure the use of the API by AI. It never changes the response. Equivalent to the X-AI-Client header.",
        "in" : "query",
        "name" : "ai",
        "required" : false,
        "schema" : {
          "type" : "boolean",
          "default" : false
        }
      }
    },
    "responses" : {
      "BadRequest" : {
        "content" : {
          "application/problem+json" : {
            "schema" : {
              "$ref" : "#/components/schemas/Problem"
            }
          }
        },
        "description" : "A parameter is missing or has an invalid value. The detail names the expected values."
      },
      "NotFound" : {
        "content" : {
          "application/problem+json" : {
            "schema" : {
              "$ref" : "#/components/schemas/Problem"
            }
          }
        },
        "description" : "The resource does not exist, or is not public."
      },
      "TooManyRequests" : {
        "content" : {
          "application/problem+json" : {
            "schema" : {
              "$ref" : "#/components/schemas/Problem"
            }
          }
        },
        "description" : "Too many requests from this address. Wait the number of seconds given in Retry-After.",
        "headers" : {
          "Retry-After" : {
            "description" : "Seconds to wait before retrying.",
            "schema" : {
              "type" : "integer",
              "format" : "int32"
            }
          }
        }
      }
    },
    "schemas" : {
      "Activity" : {
        "type" : "object",
        "description" : "Parliamentary activity of a person over a period.",
        "properties" : {
          "absent" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Votes the person was absent from."
          },
          "byProxy" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Votes cast by proxy."
          },
          "chamber" : {
            "type" : "string",
            "description" : "Chamber.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "from" : {
            "type" : "string",
            "format" : "date",
            "description" : "Start of the period."
          },
          "legislature" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Legislature."
          },
          "loyalty" : {
            "$ref" : "#/components/schemas/Loyalty",
            "description" : "Alignment with the person's group."
          },
          "participated" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Votes the person took part in."
          },
          "participationRelevant" : {
            "type" : "boolean",
            "description" : "False when the participation rate is not meaningful for this chamber or period."
          },
          "prevented" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Votes the person was prevented from."
          },
          "textsFiled" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Texts filed."
          },
          "to" : {
            "type" : "string",
            "format" : "date",
            "description" : "End of the period."
          },
          "voteCorrections" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Vote corrections (mises au point)."
          },
          "votesCounted" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Votes retained for the measure."
          },
          "votesInPeriod" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Roll-call votes held over the period."
          }
        }
      },
      "Amendment" : {
        "type" : "object",
        "description" : "An amendment voted on.",
        "properties" : {
          "article" : {
            "type" : "string",
            "description" : "Article amended."
          },
          "authorId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the author in the people registry."
          },
          "authorKind" : {
            "type" : "string",
            "description" : "Kind of author, in the source's words."
          },
          "authorLabel" : {
            "type" : "string",
            "description" : "Author(s), as labelled by the source."
          },
          "billId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the bill the amendment belongs to, usable with /bills/{id}. Null when the amendment could not be attached to a bill."
          },
          "chamber" : {
            "type" : "string",
            "description" : "Chamber the amendment was tabled in: NATIONAL_ASSEMBLY or SENATE. 'uid' is the Assembly's identifier or the Senate's stable key accordingly.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "depositDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date the amendment was tabled."
          },
          "enactingTermsHtml" : {
            "type" : "string",
            "description" : "The amended wording, as HTML."
          },
          "groupRef" : {
            "type" : "string",
            "description" : "Reference of the author's group at the source."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the amendment, usable with /amendments/{id}.",
            "example" : 4210
          },
          "justificationHtml" : {
            "type" : "string",
            "description" : "The justification, as HTML."
          },
          "number" : {
            "type" : "string",
            "description" : "Full number."
          },
          "outcome" : {
            "type" : "string",
            "description" : "Normalised fate of the amendment. PENDING until it has been discussed.",
            "enum" : [ "ADOPTED", "REJECTED", "FELL", "WITHDRAWN", "NOT_MOVED", "PENDING", "OTHER" ]
          },
          "outcomeDate" : {
            "type" : "string",
            "format" : "date-time",
            "description" : "Date and time its fate was decided. Null while PENDING."
          },
          "outcomeLabel" : {
            "type" : "string",
            "description" : "Fate of the amendment, in the source's words (French)."
          },
          "sourceUrl" : {
            "type" : "string",
            "description" : "URL at the source."
          },
          "summary" : {
            "type" : "string",
            "description" : "AI-generated plain-language summary of the amendment (one or two sentences). Null when it has no usable text or is not summarised yet."
          },
          "uid" : {
            "type" : "string",
            "description" : "Identifier at the source."
          }
        }
      },
      "AmendmentDetail" : {
        "type" : "object",
        "description" : "One amendment, with its wording, its justification and the votes it went through.",
        "properties" : {
          "article" : {
            "type" : "string",
            "description" : "Article amended."
          },
          "authorId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the author, usable with /people/{id}."
          },
          "authorKind" : {
            "type" : "string",
            "description" : "Kind of author, in the source's words."
          },
          "authorLabel" : {
            "type" : "string",
            "description" : "Author(s), as labelled by the source."
          },
          "billId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the bill, usable with /bills/{id}."
          },
          "billTitle" : {
            "type" : "string",
            "description" : "Title of the bill (French)."
          },
          "chamber" : {
            "type" : "string",
            "description" : "Chamber the amendment was tabled in: NATIONAL_ASSEMBLY or SENATE.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "commissionOpinion" : {
            "type" : "string",
            "description" : "Senate only: the committee's opinion on the amendment in the chamber, as the source words it (French). Null without an opinion, and for National Assembly amendments."
          },
          "cosignatories" : {
            "type" : "array",
            "description" : "Co-signers after the first signatory (the author), in the order of the source. Empty when the source names none.",
            "items" : {
              "$ref" : "#/components/schemas/Signatory"
            }
          },
          "depositDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date the amendment was tabled."
          },
          "enactingTermsHtml" : {
            "type" : "string",
            "description" : "The amended wording, as HTML."
          },
          "governmentOpinion" : {
            "type" : "string",
            "description" : "Senate only: the Government's opinion on the amendment in the chamber, as the source words it (French). Null without an opinion, and for National Assembly amendments."
          },
          "groupRef" : {
            "type" : "string",
            "description" : "Reference of the author's group at the source."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier.",
            "example" : 4210
          },
          "justificationHtml" : {
            "type" : "string",
            "description" : "The justification, as HTML."
          },
          "number" : {
            "type" : "string",
            "description" : "Full number."
          },
          "outcome" : {
            "type" : "string",
            "description" : "Normalised fate of the amendment.",
            "enum" : [ "ADOPTED", "REJECTED", "FELL", "WITHDRAWN", "NOT_MOVED", "PENDING", "OTHER" ]
          },
          "outcomeDate" : {
            "type" : "string",
            "format" : "date-time",
            "description" : "Date and time its fate was decided. Null while PENDING."
          },
          "outcomeLabel" : {
            "type" : "string",
            "description" : "Fate of the amendment, in the source's words (French)."
          },
          "sourceUrl" : {
            "type" : "string",
            "description" : "URL at the source."
          },
          "summary" : {
            "type" : "string",
            "description" : "AI-generated plain-language summary of the amendment (one or two sentences). Null when it has no usable text or is not summarised yet."
          },
          "uid" : {
            "type" : "string",
            "description" : "Identifier at the source: the Assembly's identifier, or the Senate's stable key (session-text-kind-number) for a Senate amendment."
          },
          "votes" : {
            "type" : "array",
            "description" : "Roll-call votes that put this amendment to the vote, newest first.",
            "items" : {
              "$ref" : "#/components/schemas/AmendmentVote"
            }
          }
        }
      },
      "AmendmentHit" : {
        "type" : "object",
        "description" : "What an amendment search row says about the amendment.",
        "properties" : {
          "article" : {
            "type" : "string",
            "description" : "Article amended, as the source writes it."
          },
          "chamber" : {
            "type" : "string",
            "description" : "Chamber the amendment was tabled in: NATIONAL_ASSEMBLY or SENATE.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "number" : {
            "type" : "string",
            "description" : "Number as displayed, rectification included.",
            "example" : "I-1358"
          },
          "outcome" : {
            "type" : "string",
            "description" : "Fate. PENDING until the amendment has been discussed.",
            "enum" : [ "ADOPTED", "REJECTED", "FELL", "WITHDRAWN", "NOT_MOVED", "PENDING", "OTHER" ]
          },
          "summary" : {
            "type" : "string",
            "description" : "Short plain-language summary, when produced."
          }
        }
      },
      "AmendmentSummary" : {
        "type" : "object",
        "description" : "An amendment of a bill, as listed.",
        "properties" : {
          "article" : {
            "type" : "string",
            "description" : "Article amended."
          },
          "authorLabel" : {
            "type" : "string",
            "description" : "Author(s), as labelled by the source."
          },
          "chamber" : {
            "type" : "string",
            "description" : "Chamber the amendment was tabled in: NATIONAL_ASSEMBLY or SENATE.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "depositDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date the amendment was tabled."
          },
          "groupRef" : {
            "type" : "string",
            "description" : "Reference of the author's group at the source."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier, usable with /amendments/{id}.",
            "example" : 4210
          },
          "number" : {
            "type" : "string",
            "description" : "Full number."
          },
          "outcome" : {
            "type" : "string",
            "description" : "Normalised fate of the amendment.",
            "enum" : [ "ADOPTED", "REJECTED", "FELL", "WITHDRAWN", "NOT_MOVED", "PENDING", "OTHER" ]
          },
          "outcomeLabel" : {
            "type" : "string",
            "description" : "Fate of the amendment, in the source's words (French)."
          },
          "summary" : {
            "type" : "string",
            "description" : "AI-generated plain-language summary of the amendment (one or two sentences). Null when it has no usable text or is not summarised yet."
          }
        }
      },
      "AmendmentVote" : {
        "type" : "object",
        "description" : "A roll-call vote that put an amendment to the vote.",
        "properties" : {
          "chamber" : {
            "type" : "string",
            "description" : "Chamber that voted.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "date" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of the vote."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of the vote in its chamber."
          },
          "outcome" : {
            "type" : "string",
            "description" : "Result of the vote.",
            "enum" : [ "ADOPTED", "REJECTED" ]
          },
          "title" : {
            "type" : "string",
            "description" : "Title (French)."
          },
          "voteId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the vote, usable with /votes/{id}."
          }
        }
      },
      "Annex" : {
        "type" : "object",
        "description" : "An annex of a text.",
        "properties" : {
          "typeLabel" : {
            "type" : "string",
            "description" : "Kind of annex (French)."
          },
          "url" : {
            "type" : "string",
            "description" : "URL."
          }
        }
      },
      "AppliedLaw" : {
        "type" : "object",
        "description" : "A law applied by a decree.",
        "properties" : {
          "billId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the matching bill."
          },
          "billTitle" : {
            "type" : "string",
            "description" : "Title of the matching bill."
          },
          "lawArticle" : {
            "type" : "string",
            "description" : "Article of the law concerned."
          },
          "lawJorfId" : {
            "type" : "string",
            "description" : "JORF identifier of the law."
          },
          "lawNumber" : {
            "type" : "string",
            "description" : "Number of the law."
          },
          "lawSignatureDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of signature of the law."
          },
          "lawTitle" : {
            "type" : "string",
            "description" : "Title of the law."
          },
          "linkKind" : {
            "type" : "string",
            "description" : "Kind of link, in the source's words."
          },
          "match" : {
            "type" : "string",
            "description" : "How certain the match with the bill is.",
            "enum" : [ "CERTAIN", "INFERRED" ]
          }
        }
      },
      "Bill" : {
        "type" : "object",
        "description" : "A legislative bill (dossier législatif) with its steps, votes and texts.",
        "properties" : {
          "acceleratedProcedure" : {
            "type" : "boolean",
            "description" : "True when the accelerated procedure was engaged."
          },
          "acceleratedProcedureDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date the accelerated procedure was engaged, when known."
          },
          "assemblyUid" : {
            "type" : "string",
            "description" : "Identifier of the bill at the National Assembly, when it has one."
          },
          "author" : {
            "$ref" : "#/components/schemas/Signatory",
            "description" : "First author."
          },
          "automaticTranslation" : {
            "type" : "boolean",
            "description" : "True when title or summaries are machine translations."
          },
          "contentLanguage" : {
            "type" : "string",
            "description" : "ISO 639-1 language of the textual content returned."
          },
          "cosignatories" : {
            "type" : "array",
            "description" : "Co-signers of the filed text.",
            "items" : {
              "$ref" : "#/components/schemas/Signatory"
            }
          },
          "explanatoryMemorandum" : {
            "type" : "string",
            "description" : "Explanatory memorandum (exposé des motifs)."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier.",
            "example" : 1234
          },
          "jurisdiction" : {
            "type" : "string",
            "description" : "FR or EU.",
            "enum" : [ "FR", "EU" ]
          },
          "lastActionDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of the last recorded action."
          },
          "leadBodyLabel" : {
            "type" : "string",
            "description" : "The committee or body leading the bill (French)."
          },
          "legislature" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Legislature number."
          },
          "longSummary" : {
            "type" : "string",
            "description" : "Long summary, when already available here. See also /bills/{id}/long-summary."
          },
          "longSummaryTextId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the text the long summary comes from."
          },
          "procedureCode" : {
            "type" : "string",
            "description" : "Code of the legislative procedure."
          },
          "procedureLabel" : {
            "type" : "string",
            "description" : "Label of the legislative procedure (French)."
          },
          "promulgationDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of promulgation, when promulgated."
          },
          "shortSummary" : {
            "type" : "string",
            "description" : "Short summary."
          },
          "status" : {
            "type" : "string",
            "description" : "Progress through the legislative process.",
            "enum" : [ "IN_PROGRESS", "PROMULGATED", "REJECTED", "WITHDRAWN" ]
          },
          "steps" : {
            "type" : "array",
            "description" : "The steps of the legislative procedure, in order.",
            "items" : {
              "$ref" : "#/components/schemas/BillStep"
            }
          },
          "summarySourceLanguage" : {
            "type" : "string",
            "description" : "ISO 639-1 language the summary was written in."
          },
          "texts" : {
            "type" : "array",
            "description" : "The versions of the text (filed, adopted, final...).",
            "items" : {
              "$ref" : "#/components/schemas/BillText"
            }
          },
          "themes" : {
            "type" : "array",
            "description" : "Themes.",
            "items" : {
              "$ref" : "#/components/schemas/Theme"
            }
          },
          "title" : {
            "type" : "string",
            "description" : "Title."
          },
          "typeLabel" : {
            "type" : "string",
            "description" : "Kind of bill, in the source's words (French)."
          },
          "votes" : {
            "type" : "array",
            "description" : "Roll-call votes held on this bill.",
            "items" : {
              "$ref" : "#/components/schemas/BillVote"
            }
          }
        }
      },
      "BillDecrees" : {
        "type" : "object",
        "description" : "The implementing decrees of a bill.",
        "properties" : {
          "decrees" : {
            "type" : "array",
            "description" : "The decrees.",
            "items" : {
              "$ref" : "#/components/schemas/DecreeSummary"
            }
          },
          "law" : {
            "$ref" : "#/components/schemas/LawBridge",
            "description" : "The law the decrees were found through; null when none."
          }
        }
      },
      "BillReasons" : {
        "type" : "object",
        "description" : "The published reasons of one opinion on a bill, the most shared first.",
        "properties" : {
          "reasons" : {
            "type" : "array",
            "description" : "The reasons, most shared first, then oldest first.",
            "items" : {
              "$ref" : "#/components/schemas/Reason"
            }
          },
          "stance" : {
            "type" : "string",
            "description" : "The opinion the reasons belong to.",
            "enum" : [ "FOR", "AGAINST", "ABSTENTION" ]
          }
        }
      },
      "BillStep" : {
        "type" : "object",
        "description" : "One step of the legislative procedure of a bill.",
        "properties" : {
          "actionCode" : {
            "type" : "string",
            "description" : "Code of the action."
          },
          "actionLabel" : {
            "type" : "string",
            "description" : "Label of the action (French)."
          },
          "conclusionStatus" : {
            "type" : "string",
            "description" : "Outcome status of the step, in the source's words."
          },
          "date" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of the action."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the step."
          },
          "stageCode" : {
            "type" : "string",
            "description" : "Code of the stage (reading...)."
          },
          "stageLabel" : {
            "type" : "string",
            "description" : "Label of the stage (French)."
          },
          "textId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the text this step produced."
          },
          "textIds" : {
            "type" : "array",
            "description" : "Identifiers of every text attached to the step.",
            "items" : {
              "type" : "integer",
              "format" : "int64"
            }
          },
          "textTypeLabel" : {
            "type" : "string",
            "description" : "Kind of that text (French)."
          },
          "voteRef" : {
            "type" : "string",
            "description" : "Reference of the vote held at this step, in the source."
          }
        }
      },
      "BillText" : {
        "type" : "object",
        "description" : "A version of the text of a bill (filed text, adopted text, report...).",
        "properties" : {
          "adoptionStatus" : {
            "type" : "string",
            "description" : "Adoption status, in the source's words (French)."
          },
          "annexes" : {
            "type" : "array",
            "description" : "Annexes of the text.",
            "items" : {
              "$ref" : "#/components/schemas/Annex"
            }
          },
          "authorId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the author in the people registry."
          },
          "authorIsRapporteur" : {
            "type" : "boolean",
            "description" : "True when the filer is the rapporteur of a committee."
          },
          "authorName" : {
            "type" : "string",
            "description" : "Name of the author or filer."
          },
          "automaticTranslation" : {
            "type" : "boolean",
            "description" : "True when the title is a machine translation."
          },
          "bodyLabel" : {
            "type" : "string",
            "description" : "Body that produced the text (French)."
          },
          "contentAvailable" : {
            "type" : "boolean",
            "description" : "True when the full text is available at /texts/{id}."
          },
          "filingDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Filing date."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier, usable with /texts/{id}."
          },
          "natureLabel" : {
            "type" : "string",
            "description" : "Nature of the text (French)."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of the text."
          },
          "numberSuffix" : {
            "type" : "string",
            "description" : "Suffix of the number."
          },
          "pdfAvailable" : {
            "type" : "boolean",
            "description" : "True when a PDF is held for the text."
          },
          "pdfUrl" : {
            "type" : "string",
            "description" : "URL of the PDF at the source."
          },
          "publicationDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Publication date."
          },
          "roleLabel" : {
            "type" : "string",
            "description" : "Role of the text within the bill (French)."
          },
          "sourceUrl" : {
            "type" : "string",
            "description" : "URL of the source."
          },
          "title" : {
            "type" : "string",
            "description" : "Title."
          },
          "typeLabel" : {
            "type" : "string",
            "description" : "Kind of text (French)."
          }
        }
      },
      "BillVote" : {
        "type" : "object",
        "description" : "A roll-call vote as listed in a bill.",
        "properties" : {
          "chamber" : {
            "type" : "string",
            "description" : "Chamber that voted.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "date" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of the vote."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier, usable with /votes/{id}."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of the vote in its chamber."
          },
          "outcome" : {
            "type" : "string",
            "description" : "Result: ADOPTED or REJECTED; null when unknown.",
            "enum" : [ "ADOPTED", "REJECTED" ]
          },
          "outcomeComputed" : {
            "type" : "boolean",
            "description" : "True when the result was computed from the tallies rather than stated by the source."
          },
          "outcomeLabel" : {
            "type" : "string",
            "description" : "Result, in the source's words (French)."
          },
          "title" : {
            "type" : "string",
            "description" : "Title of the vote (French)."
          }
        }
      },
      "Candidacy" : {
        "type" : "object",
        "description" : "A candidacy in a French legislative election (one round), from the official list published by the French Ministry of the Interior.",
        "properties" : {
          "constituencyCode" : {
            "type" : "string",
            "description" : "Constituency code (department + number, for instance 7705)."
          },
          "constituencyLabel" : {
            "type" : "string",
            "description" : "Constituency label, in French."
          },
          "elected" : {
            "type" : "boolean",
            "description" : "Elected at this round; null when the result is not known."
          },
          "election" : {
            "type" : "string",
            "description" : "Election identifier.",
            "example" : "LEGISLATIVES_2024"
          },
          "nuance" : {
            "type" : "string",
            "description" : "Political shade code ATTRIBUTED BY THE FRENCH MINISTRY OF THE INTERIOR (nuance, for instance RN, UG, ENS): not a party, and not an opinion declared by the candidate."
          },
          "nuanceLabel" : {
            "type" : "string",
            "description" : "Official label of the nuance, in French; always to be presented as attributed by the Ministry of the Interior."
          },
          "round" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Round: 1 or 2."
          },
          "substitute" : {
            "type" : "string",
            "description" : "Name of the substitute (suppléant)."
          },
          "votes" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Votes obtained in this round; null when the result is not known."
          },
          "year" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Year of the election.",
            "example" : 2024
          }
        }
      },
      "ComparableVersion" : {
        "type" : "object",
        "description" : "A version a text can be compared with.",
        "properties" : {
          "byDefault" : {
            "type" : "boolean",
            "description" : "True when it is the version compared by default."
          },
          "date" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date."
          },
          "earlier" : {
            "type" : "boolean",
            "description" : "True when the version is older than this text."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier, usable as the 'with' parameter of the comparison."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number."
          },
          "typeLabel" : {
            "type" : "string",
            "description" : "Kind of text (French)."
          }
        }
      },
      "Contact" : {
        "type" : "object",
        "description" : "A contact detail of a person (office, phone, website, social network...).",
        "properties" : {
          "addressLine2" : {
            "type" : "string",
            "description" : "Address complement."
          },
          "city" : {
            "type" : "string",
            "description" : "City."
          },
          "kind" : {
            "type" : "string",
            "description" : "Kind of contact.",
            "enum" : [ "OFFICIAL", "CONSTITUENCY_OFFICE", "PHONE", "EMAIL", "WEBSITE", "SOCIAL_NETWORK", "FAX", "OTHER", "TWITTER_X", "FACEBOOK", "INSTAGRAM", "YOUTUBE", "LINKEDIN", "MASTODON", "TIKTOK", "BLUESKY" ]
          },
          "label" : {
            "type" : "string",
            "description" : "Short label."
          },
          "postalCode" : {
            "type" : "string",
            "description" : "Postal code."
          },
          "street" : {
            "type" : "string",
            "description" : "Street name."
          },
          "streetNumber" : {
            "type" : "string",
            "description" : "Street number."
          },
          "title" : {
            "type" : "string",
            "description" : "Title or caption."
          },
          "value" : {
            "type" : "string",
            "description" : "The value: a number, an address, a URL."
          }
        }
      },
      "Decree" : {
        "type" : "object",
        "description" : "A decree or ordinance published in the Journal officiel, with its articles.",
        "properties" : {
          "appliesTo" : {
            "type" : "array",
            "description" : "The laws this decree applies, with the matching bill when known.",
            "items" : {
              "$ref" : "#/components/schemas/AppliedLaw"
            }
          },
          "articles" : {
            "type" : "array",
            "description" : "The articles.",
            "items" : {
              "$ref" : "#/components/schemas/DecreeArticle"
            }
          },
          "eli" : {
            "type" : "string",
            "description" : "ELI identifier."
          },
          "fullTitle" : {
            "type" : "string",
            "description" : "Full title."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier.",
            "example" : 88
          },
          "jorfId" : {
            "type" : "string",
            "description" : "JORF identifier."
          },
          "longSummary" : {
            "type" : "string",
            "description" : "Long summary."
          },
          "ministry" : {
            "type" : "string",
            "description" : "Ministry."
          },
          "nature" : {
            "type" : "string",
            "description" : "DECREE or ORDINANCE; null for any other value of the source.",
            "enum" : [ "DECREE", "ORDINANCE" ]
          },
          "nor" : {
            "type" : "string",
            "description" : "NOR identifier."
          },
          "notice" : {
            "type" : "string",
            "description" : "The notice that accompanies the decree."
          },
          "number" : {
            "type" : "string",
            "description" : "Number, as published."
          },
          "publicationDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of publication."
          },
          "publicationOrigin" : {
            "type" : "string",
            "description" : "Where it was published."
          },
          "shortSummary" : {
            "type" : "string",
            "description" : "Short summary."
          },
          "signatories" : {
            "type" : "array",
            "description" : "The signatories.",
            "items" : {
              "$ref" : "#/components/schemas/DecreeSignatory"
            }
          },
          "signatureDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of signature."
          },
          "sourceUrl" : {
            "type" : "string",
            "description" : "URL of the source."
          },
          "summaryIsAi" : {
            "type" : "boolean",
            "description" : "True when the summary was written by an AI model."
          },
          "summaryModel" : {
            "type" : "string",
            "description" : "Model that wrote the summary, when machine-written."
          },
          "title" : {
            "type" : "string",
            "description" : "Short title."
          },
          "visas" : {
            "type" : "string",
            "description" : "The visas (recitals) of the decree."
          }
        }
      },
      "DecreeArticle" : {
        "type" : "object",
        "description" : "An article of a decree.",
        "properties" : {
          "content" : {
            "type" : "string",
            "description" : "Content."
          },
          "jorfId" : {
            "type" : "string",
            "description" : "JORF identifier of the article."
          },
          "number" : {
            "type" : "string",
            "description" : "Number of the article."
          }
        }
      },
      "DecreeSignatory" : {
        "type" : "object",
        "description" : "A signatory of a decree.",
        "properties" : {
          "match" : {
            "type" : "string",
            "description" : "How certain the match with the registry is.",
            "enum" : [ "CERTAIN", "INFERRED" ]
          },
          "name" : {
            "type" : "string",
            "description" : "Name, as published."
          },
          "personId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier in the people registry, when matched."
          },
          "role" : {
            "type" : "string",
            "description" : "Capacity (title)."
          }
        }
      },
      "DecreeSummary" : {
        "type" : "object",
        "description" : "Summary of a decree, as listed for a bill.",
        "properties" : {
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier, usable with /decrees/{id}."
          },
          "jorfId" : {
            "type" : "string",
            "description" : "JORF identifier."
          },
          "ministry" : {
            "type" : "string",
            "description" : "Ministry."
          },
          "nature" : {
            "type" : "string",
            "description" : "DECREE or ORDINANCE.",
            "enum" : [ "DECREE", "ORDINANCE" ]
          },
          "number" : {
            "type" : "string",
            "description" : "Number, as published."
          },
          "publicationDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of publication."
          },
          "shortSummary" : {
            "type" : "string",
            "description" : "Short summary."
          },
          "signatureDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of signature."
          },
          "summaryIsAi" : {
            "type" : "boolean",
            "description" : "True when the summary was written by an AI model."
          },
          "title" : {
            "type" : "string",
            "description" : "Title."
          }
        }
      },
      "DiffSegment" : {
        "type" : "object",
        "description" : "One segment (paragraph) of a comparison.",
        "properties" : {
          "content" : {
            "type" : "string",
            "description" : "The segment in the newer version (the removed text for REMOVED)."
          },
          "kind" : {
            "type" : "string",
            "description" : "How the segment changed.",
            "enum" : [ "UNCHANGED", "ADDED", "REMOVED", "MODIFIED" ]
          },
          "previousContent" : {
            "type" : "string",
            "description" : "For MODIFIED: the segment in the older version."
          },
          "previousWords" : {
            "type" : "array",
            "description" : "For MODIFIED: the words of the older version.",
            "items" : {
              "$ref" : "#/components/schemas/DiffWord"
            }
          },
          "words" : {
            "type" : "array",
            "description" : "For MODIFIED: the words of the newer version.",
            "items" : {
              "$ref" : "#/components/schemas/DiffWord"
            }
          }
        }
      },
      "DiffWord" : {
        "type" : "object",
        "description" : "A word of a modified segment.",
        "properties" : {
          "changed" : {
            "type" : "boolean",
            "description" : "True when the word differs between the two versions."
          },
          "text" : {
            "type" : "string",
            "description" : "The word."
          }
        }
      },
      "Government" : {
        "type" : "object",
        "description" : "A government of the French Republic.",
        "properties" : {
          "endDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "End date; null when in office."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier."
          },
          "inOffice" : {
            "type" : "boolean",
            "description" : "True when currently in office."
          },
          "memberCount" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of members."
          },
          "name" : {
            "type" : "string",
            "description" : "Name."
          },
          "primeMinisterId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the Prime Minister in the people registry."
          },
          "primeMinisterName" : {
            "type" : "string",
            "description" : "Name of the Prime Minister."
          },
          "rank" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Rank in the sequence of governments."
          },
          "shortName" : {
            "type" : "string",
            "description" : "Short name."
          },
          "startDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Start date."
          }
        }
      },
      "GovernmentDetail" : {
        "type" : "object",
        "description" : "A government with its members.",
        "properties" : {
          "government" : {
            "$ref" : "#/components/schemas/Government",
            "description" : "The government."
          },
          "members" : {
            "type" : "array",
            "description" : "The members.",
            "items" : {
              "$ref" : "#/components/schemas/GovernmentMember"
            }
          },
          "sourceUrl" : {
            "type" : "string",
            "description" : "URL of the source."
          }
        }
      },
      "GovernmentMember" : {
        "type" : "object",
        "description" : "A member of a government.",
        "properties" : {
          "endDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "End date."
          },
          "function" : {
            "type" : "string",
            "description" : "Function."
          },
          "linkInferred" : {
            "type" : "boolean",
            "description" : "True when the link to the registry was deduced rather than stated."
          },
          "name" : {
            "type" : "string",
            "description" : "Name."
          },
          "personId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier in the people registry."
          },
          "quality" : {
            "type" : "string",
            "description" : "Quality."
          },
          "startDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Start date."
          }
        }
      },
      "GroupMembership" : {
        "type" : "object",
        "description" : "A membership of a political group.",
        "properties" : {
          "acronym" : {
            "type" : "string",
            "description" : "Acronym."
          },
          "chamber" : {
            "type" : "string",
            "description" : "The chamber of the group.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "endDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "End date; null when current."
          },
          "legislature" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Legislature (or EU term)."
          },
          "name" : {
            "type" : "string",
            "description" : "Name."
          },
          "startDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Start date."
          }
        }
      },
      "GroupTally" : {
        "type" : "object",
        "description" : "Tallies of one political group in a vote.",
        "properties" : {
          "abstentions" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Abstentions."
          },
          "acronym" : {
            "type" : "string",
            "description" : "Acronym."
          },
          "detailedCount" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Number of members whose individual vote is known."
          },
          "groupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the group."
          },
          "name" : {
            "type" : "string",
            "description" : "Name."
          },
          "nonVoting" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Members who did not vote."
          },
          "politicalOrder" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Position of the group on the left-right axis, for ordering."
          },
          "votesAgainst" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Votes against."
          },
          "votesFor" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Votes for."
          }
        }
      },
      "LawBridge" : {
        "type" : "object",
        "description" : "The law that links a bill to its implementing decrees.",
        "properties" : {
          "lawJorfId" : {
            "type" : "string",
            "description" : "JORF identifier of the law."
          },
          "lawNumber" : {
            "type" : "string",
            "description" : "Number of the law."
          },
          "lawTitle" : {
            "type" : "string",
            "description" : "Title of the law."
          },
          "match" : {
            "type" : "string",
            "description" : "How certain the link between the bill and the law is.",
            "enum" : [ "CERTAIN", "INFERRED" ]
          },
          "score" : {
            "type" : "number",
            "format" : "double",
            "description" : "Matching score, when inferred."
          }
        }
      },
      "LongSummary" : {
        "type" : "object",
        "description" : "The long summary of a bill, translated on demand.",
        "properties" : {
          "automaticTranslation" : {
            "type" : "boolean",
            "description" : "True when 'text' is a machine translation."
          },
          "contentLanguage" : {
            "type" : "string",
            "description" : "ISO 639-1 language of 'text'."
          },
          "text" : {
            "type" : "string",
            "description" : "The summary text."
          }
        }
      },
      "Loyalty" : {
        "type" : "object",
        "description" : "Alignment of a person's votes with their political group.",
        "properties" : {
          "agreed" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Votes in line with the group."
          },
          "disagreed" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Votes against the group."
          },
          "groupWithoutLine" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Votes where the group had no line."
          },
          "ofWhichAbstentions" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Of the disagreements, those that were abstentions."
          }
        }
      },
      "Mandate" : {
        "type" : "object",
        "description" : "A mandate (an elected seat or a government post).",
        "properties" : {
          "constituencyNumber" : {
            "type" : "string",
            "description" : "Constituency number."
          },
          "department" : {
            "type" : "string",
            "description" : "Department."
          },
          "departmentNumber" : {
            "type" : "string",
            "description" : "Department number."
          },
          "endCause" : {
            "type" : "string",
            "description" : "Cause of the end, in the source's words."
          },
          "endDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "End date; null when still in office."
          },
          "function" : {
            "type" : "string",
            "description" : "Function (government posts)."
          },
          "government" : {
            "type" : "string",
            "description" : "Short name of the government (government posts)."
          },
          "kind" : {
            "type" : "string",
            "description" : "Kind of mandate.",
            "enum" : [ "DEPUTY", "SENATOR", "MEP", "MINISTER", "PRESIDENT", "OTHER" ]
          },
          "legislature" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Legislature (or EU term)."
          },
          "quality" : {
            "type" : "string",
            "description" : "Quality (government posts)."
          },
          "representedCountry" : {
            "type" : "string",
            "description" : "Country represented (European Parliament)."
          },
          "startDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Start date."
          }
        }
      },
      "MemberVote" : {
        "type" : "object",
        "description" : "How one member voted in a roll-call vote.",
        "properties" : {
          "byProxy" : {
            "type" : "boolean",
            "description" : "True when the vote was cast by proxy (délégation)."
          },
          "civility" : {
            "type" : "string",
            "description" : "Civility."
          },
          "country" : {
            "type" : "string",
            "description" : "Country represented (European Parliament)."
          },
          "firstName" : {
            "type" : "string",
            "description" : "First name."
          },
          "groupAcronym" : {
            "type" : "string",
            "description" : "Acronym of the political group."
          },
          "groupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the political group."
          },
          "lastName" : {
            "type" : "string",
            "description" : "Last name."
          },
          "personId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the person, usable with /people/{id}."
          },
          "position" : {
            "type" : "string",
            "description" : "How the member voted.",
            "enum" : [ "FOR", "AGAINST", "ABSTENTION", "NON_VOTING" ]
          }
        }
      },
      "NearbySummary" : {
        "type" : "object",
        "description" : "AI summary of a version of the text next to the one a vote relates to. Not the text voted on.",
        "properties" : {
          "filingDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Filing date."
          },
          "longSummary" : {
            "type" : "string",
            "description" : "Long summary."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number."
          },
          "shortSummary" : {
            "type" : "string",
            "description" : "Short summary."
          },
          "textId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the nearby text, usable with /texts/{id}."
          },
          "typeLabel" : {
            "type" : "string",
            "description" : "Kind of text (French)."
          }
        }
      },
      "OfficialText" : {
        "type" : "object",
        "description" : "The official text of a European legislative act, as XHTML.",
        "properties" : {
          "eurLexUrl" : {
            "type" : "string",
            "description" : "URL of the document on EUR-Lex."
          },
          "fallback" : {
            "type" : "boolean",
            "description" : "True when the requested language was not available and a fallback language was served."
          },
          "requestedLanguage" : {
            "type" : "string",
            "description" : "ISO 639-1 language requested."
          },
          "servedLanguage" : {
            "type" : "string",
            "description" : "ISO 639-1 language actually served."
          },
          "textId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the text."
          },
          "xhtml" : {
            "type" : "string",
            "description" : "The text, as XHTML."
          }
        }
      },
      "OfficialTextVersion" : {
        "type" : "object",
        "description" : "A version of the official text of a European bill, with the languages it exists in.",
        "properties" : {
          "celex" : {
            "type" : "string",
            "description" : "CELEX identifier of the EU document."
          },
          "date" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date."
          },
          "languages" : {
            "type" : "array",
            "description" : "ISO 639-1 codes of the available languages.",
            "items" : {
              "type" : "string"
            }
          },
          "stage" : {
            "type" : "string",
            "description" : "Stage of the procedure the version belongs to."
          },
          "textId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the text, usable with /texts/{id}/official-text."
          }
        }
      },
      "PagedAmendmentSummary" : {
        "type" : "object",
        "description" : "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
        "properties" : {
          "items" : {
            "type" : "array",
            "description" : "The items of this page.",
            "items" : {
              "$ref" : "#/components/schemas/AmendmentSummary"
            }
          },
          "page" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Page number, starting at 0.",
            "example" : 0
          },
          "size" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of items requested per page.",
            "example" : 20
          },
          "totalItems" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
            "example" : 132
          }
        }
      },
      "PagedGovernment" : {
        "type" : "object",
        "description" : "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
        "properties" : {
          "items" : {
            "type" : "array",
            "description" : "The items of this page.",
            "items" : {
              "$ref" : "#/components/schemas/Government"
            }
          },
          "page" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Page number, starting at 0.",
            "example" : 0
          },
          "size" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of items requested per page.",
            "example" : 20
          },
          "totalItems" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
            "example" : 132
          }
        }
      },
      "PagedPersonSummary" : {
        "type" : "object",
        "description" : "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
        "properties" : {
          "items" : {
            "type" : "array",
            "description" : "The items of this page.",
            "items" : {
              "$ref" : "#/components/schemas/PersonSummary"
            }
          },
          "page" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Page number, starting at 0.",
            "example" : 0
          },
          "size" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of items requested per page.",
            "example" : 20
          },
          "totalItems" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
            "example" : 132
          }
        }
      },
      "PagedPersonVote" : {
        "type" : "object",
        "description" : "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
        "properties" : {
          "items" : {
            "type" : "array",
            "description" : "The items of this page.",
            "items" : {
              "$ref" : "#/components/schemas/PersonVote"
            }
          },
          "page" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Page number, starting at 0.",
            "example" : 0
          },
          "size" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of items requested per page.",
            "example" : 20
          },
          "totalItems" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
            "example" : 132
          }
        }
      },
      "PagedVoteSummary" : {
        "type" : "object",
        "description" : "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
        "properties" : {
          "items" : {
            "type" : "array",
            "description" : "The items of this page.",
            "items" : {
              "$ref" : "#/components/schemas/VoteSummary"
            }
          },
          "page" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Page number, starting at 0.",
            "example" : 0
          },
          "size" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of items requested per page.",
            "example" : 20
          },
          "totalItems" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
            "example" : 132
          }
        }
      },
      "Person" : {
        "type" : "object",
        "description" : "A person of the public registry, with their mandates and group memberships.",
        "properties" : {
          "biography" : {
            "type" : "string",
            "description" : "Biography."
          },
          "biographyLicence" : {
            "type" : "string",
            "description" : "Licence of the biography."
          },
          "biographySourceUrl" : {
            "type" : "string",
            "description" : "Source of the biography."
          },
          "birthDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of birth."
          },
          "candidacies" : {
            "type" : "array",
            "description" : "Candidacies in the 2024 French legislative election, by round; empty when the person did not stand.",
            "items" : {
              "$ref" : "#/components/schemas/Candidacy"
            }
          },
          "civility" : {
            "type" : "string",
            "description" : "Civility."
          },
          "contacts" : {
            "type" : "array",
            "description" : "Public contact details.",
            "items" : {
              "$ref" : "#/components/schemas/Contact"
            }
          },
          "contentCreator" : {
            "type" : "boolean",
            "description" : "True for a political content creator (video maker, media outlet, magazine, columnist); independent of the roles."
          },
          "contentFormat" : {
            "type" : "string",
            "description" : "Format of the content, in French (for instance a political YouTube channel); null when the person is not a content creator."
          },
          "deathDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of death."
          },
          "displayName" : {
            "type" : "string",
            "description" : "Display name."
          },
          "firstName" : {
            "type" : "string",
            "description" : "First name."
          },
          "groups" : {
            "type" : "array",
            "description" : "Political group memberships.",
            "items" : {
              "$ref" : "#/components/schemas/GroupMembership"
            }
          },
          "hatvpUri" : {
            "type" : "string",
            "description" : "Identifier in the HATVP transparency register."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier."
          },
          "lastName" : {
            "type" : "string",
            "description" : "Last name."
          },
          "mandates" : {
            "type" : "array",
            "description" : "Mandates, most relevant first.",
            "items" : {
              "$ref" : "#/components/schemas/Mandate"
            }
          },
          "occupations" : {
            "type" : "string",
            "description" : "Other occupations."
          },
          "officialWebsiteUrl" : {
            "type" : "string",
            "description" : "Official website."
          },
          "profession" : {
            "type" : "string",
            "description" : "Main profession."
          },
          "representedCountry" : {
            "type" : "string",
            "description" : "Country that elected the person (MEPs, ISO country code)."
          },
          "roles" : {
            "type" : "array",
            "description" : "The roles the person holds or held.",
            "items" : {
              "$ref" : "#/components/schemas/Role"
            }
          },
          "sourceUrl" : {
            "type" : "string",
            "description" : "Source of the record."
          }
        }
      },
      "PersonSummary" : {
        "type" : "object",
        "description" : "A person of the public registry, as listed.",
        "properties" : {
          "candidate" : {
            "type" : "boolean",
            "description" : "True when the person stood in the 2024 French legislative election (elected or not). Open /people/{id} for the candidacies."
          },
          "civility" : {
            "type" : "string",
            "description" : "Civility."
          },
          "constituency" : {
            "type" : "string",
            "description" : "Constituency number."
          },
          "contentCreator" : {
            "type" : "boolean",
            "description" : "True for a political content creator (video maker, media outlet, magazine, columnist); independent of the roles."
          },
          "contentFormat" : {
            "type" : "string",
            "description" : "Format of the content, in French (for instance a political YouTube channel); null when the person is not a content creator."
          },
          "country" : {
            "type" : "string",
            "description" : "Nationality (ISO country code)."
          },
          "department" : {
            "type" : "string",
            "description" : "Department (or country) represented."
          },
          "firstName" : {
            "type" : "string",
            "description" : "First name."
          },
          "groupAcronym" : {
            "type" : "string",
            "description" : "Acronym of the current political group; when the person's own group has a successor (for instance RPR, now Les Républicains), the successor's."
          },
          "groupName" : {
            "type" : "string",
            "description" : "Name of the current political group (the successor's, see groupAcronym)."
          },
          "groupOriginAcronym" : {
            "type" : "string",
            "description" : "Acronym of the person's own group when groupAcronym is its successor; null when the group has no successor."
          },
          "groupOriginName" : {
            "type" : "string",
            "description" : "Name of the person's own group when groupName is its successor; null when the group has no successor."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier, usable with /people/{id}.",
            "example" : 321
          },
          "lastName" : {
            "type" : "string",
            "description" : "Last name."
          },
          "loyaltyRate" : {
            "type" : "number",
            "format" : "double",
            "description" : "Share of votes in line with the person's group, 0 to 1; set when the list is restricted to one chamber."
          },
          "mainProfession" : {
            "type" : "string",
            "description" : "Main profession."
          },
          "ministerRank" : {
            "type" : "string",
            "description" : "Rank of a minister, when applicable.",
            "enum" : [ "PRIME_MINISTER", "MINISTER_OF_STATE", "MINISTER", "JUNIOR_MINISTER", "SECRETARY_OF_STATE", "HIGH_COMMISSIONER" ]
          },
          "participationRate" : {
            "type" : "number",
            "format" : "double",
            "description" : "Share of roll-call votes the person took part in, 0 to 1; set when the list is restricted to one chamber."
          },
          "publicFigure" : {
            "type" : "boolean",
            "description" : "True for civil-society public figures (not parliamentarians)."
          },
          "representedCountry" : {
            "type" : "string",
            "description" : "Country that elected the person (MEPs, ISO country code)."
          },
          "roles" : {
            "type" : "array",
            "description" : "The roles the person holds or held.",
            "items" : {
              "$ref" : "#/components/schemas/Role"
            }
          }
        }
      },
      "PersonVote" : {
        "type" : "object",
        "description" : "The vote of one parliamentarian in one roll-call vote.",
        "properties" : {
          "byProxy" : {
            "type" : "boolean",
            "description" : "True when the vote was cast by proxy (délégation)."
          },
          "chamber" : {
            "type" : "string",
            "description" : "Chamber that voted.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "date" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of the vote."
          },
          "kind" : {
            "type" : "string",
            "description" : "What the vote was about.",
            "enum" : [ "AMENDMENT", "MOTION", "WHOLE_TEXT", "ARTICLE", "OTHER" ]
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of the vote in its chamber."
          },
          "outcomeLabel" : {
            "type" : "string",
            "description" : "Result, in the source's words (French)."
          },
          "position" : {
            "type" : "string",
            "description" : "How the person voted.",
            "enum" : [ "FOR", "AGAINST", "ABSTENTION", "NON_VOTING" ]
          },
          "title" : {
            "type" : "string",
            "description" : "Title (French)."
          },
          "voteId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the vote, usable with /votes/{id}."
          }
        }
      },
      "PoliticalGroup" : {
        "type" : "object",
        "description" : "A political group.",
        "properties" : {
          "acronym" : {
            "type" : "string",
            "description" : "Acronym."
          },
          "chamber" : {
            "type" : "string",
            "description" : "Chamber.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "color" : {
            "type" : "string",
            "description" : "Display colour, as a hex code: the source's, else an editorial one, else the successor's; null when none is known."
          },
          "current" : {
            "type" : "boolean",
            "description" : "True when the group currently sits."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier."
          },
          "name" : {
            "type" : "string",
            "description" : "Name."
          },
          "successorAcronym" : {
            "type" : "string",
            "description" : "Acronym of the group that succeeded this one (end of the lineage); null when there is none."
          },
          "successorName" : {
            "type" : "string",
            "description" : "Name of the group that succeeded this one; null when there is none."
          }
        }
      },
      "Problem" : {
        "description" : "Error body (RFC 9457 problem details), in English.",
        "properties" : {
          "detail" : {
            "type" : "string",
            "description" : "Explanation specific to this occurrence."
          },
          "instance" : {
            "type" : "string",
            "description" : "The request path."
          },
          "status" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "HTTP status code.",
            "example" : 404
          },
          "title" : {
            "type" : "string",
            "description" : "Short, human-readable summary.",
            "example" : "Not found"
          },
          "type" : {
            "type" : "string",
            "description" : "A URI reference that identifies the problem type.",
            "example" : "about:blank"
          }
        }
      },
      "Proposal" : {
        "type" : "object",
        "description" : "A bill filed by a parliamentarian.",
        "properties" : {
          "billId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the bill, usable with /bills/{id}."
          },
          "filingDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Filing date."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number."
          },
          "sourceUrl" : {
            "type" : "string",
            "description" : "URL of the source."
          },
          "textId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the text, usable with /texts/{id}."
          },
          "title" : {
            "type" : "string",
            "description" : "Title."
          },
          "typeLabel" : {
            "type" : "string",
            "description" : "Kind of text (French)."
          }
        }
      },
      "Reason" : {
        "type" : "object",
        "description" : "A reason that citizens of the application give to their opinion on a bill. Anonymous: it never carries an author.",
        "properties" : {
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the reason.",
            "example" : 42
          },
          "shares" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "How many citizens share this reason, its writer included."
          },
          "stance" : {
            "type" : "string",
            "description" : "The opinion this is a reason for.",
            "enum" : [ "FOR", "AGAINST", "ABSTENTION" ]
          },
          "text" : {
            "type" : "string",
            "description" : "The reason, 280 characters at most (French)."
          }
        }
      },
      "Role" : {
        "type" : "object",
        "description" : "A role a person holds or held, with its status.",
        "properties" : {
          "kind" : {
            "type" : "string",
            "description" : "Kind of role.",
            "enum" : [ "DEPUTY", "SENATOR", "MEP", "MINISTER", "PRESIDENT", "PUBLIC_FIGURE", "CONTENT_CREATOR", "CANDIDATE" ]
          },
          "status" : {
            "type" : "string",
            "description" : "Whether the role is currently held.",
            "enum" : [ "IN_OFFICE", "FORMER" ]
          }
        }
      },
      "Signatory" : {
        "type" : "object",
        "description" : "A person named as author, co-signer or signatory of a text.",
        "properties" : {
          "department" : {
            "type" : "string",
            "description" : "Department (or country) the person represents."
          },
          "governmentId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the government, when the signatory is a government."
          },
          "groupAcronym" : {
            "type" : "string",
            "description" : "Acronym of the political group at the time."
          },
          "groupName" : {
            "type" : "string",
            "description" : "Name of the political group at the time."
          },
          "name" : {
            "type" : "string",
            "description" : "Display name."
          },
          "personId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the person, usable with /people/{id}. Null when the source names someone who is not in the registry."
          }
        }
      },
      "Text" : {
        "type" : "object",
        "description" : "A version of a bill's text, with its content.",
        "properties" : {
          "adoptionStatus" : {
            "type" : "string",
            "description" : "Adoption status, in the source's words (French)."
          },
          "authorId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the author in the people registry."
          },
          "authorIsRapporteur" : {
            "type" : "boolean",
            "description" : "True when the filer is the rapporteur of a committee."
          },
          "authorName" : {
            "type" : "string",
            "description" : "Name of the author or filer."
          },
          "automaticTranslation" : {
            "type" : "boolean",
            "description" : "True when title, summaries or text are machine translations."
          },
          "billId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the bill."
          },
          "billTitle" : {
            "type" : "string",
            "description" : "Title of the bill."
          },
          "comparableVersions" : {
            "type" : "array",
            "description" : "Other versions of the same bill this text can be compared with.",
            "items" : {
              "$ref" : "#/components/schemas/ComparableVersion"
            }
          },
          "cosignatories" : {
            "type" : "array",
            "description" : "Co-signers.",
            "items" : {
              "$ref" : "#/components/schemas/Signatory"
            }
          },
          "explanatoryMemorandum" : {
            "type" : "string",
            "description" : "Explanatory memorandum."
          },
          "filingDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Filing date."
          },
          "fullText" : {
            "type" : "string",
            "description" : "The full text."
          },
          "fullTextFromOcr" : {
            "type" : "boolean",
            "description" : "True when 'fullText' came from optical character recognition (may contain errors)."
          },
          "fullTextFromPdf" : {
            "type" : "boolean",
            "description" : "True when 'fullText' was extracted from the PDF."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier."
          },
          "legislature" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Legislature."
          },
          "longSummary" : {
            "type" : "string",
            "description" : "Long summary."
          },
          "natureLabel" : {
            "type" : "string",
            "description" : "Nature of the text (French)."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of the text."
          },
          "pdfAvailable" : {
            "type" : "boolean",
            "description" : "True when a PDF is held for the text."
          },
          "pdfUrl" : {
            "type" : "string",
            "description" : "URL of the PDF at the source."
          },
          "presentationHtml" : {
            "type" : "string",
            "description" : "Presentation of the text, as HTML."
          },
          "publicationDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Publication date."
          },
          "roleLabel" : {
            "type" : "string",
            "description" : "Role of the text within the bill (French)."
          },
          "shortSummary" : {
            "type" : "string",
            "description" : "Short summary."
          },
          "sourceUrl" : {
            "type" : "string",
            "description" : "URL of the source."
          },
          "title" : {
            "type" : "string",
            "description" : "Title."
          },
          "typeLabel" : {
            "type" : "string",
            "description" : "Kind of text (French)."
          }
        }
      },
      "TextContext" : {
        "type" : "object",
        "description" : "The text a vote relates to.",
        "properties" : {
          "billId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the bill."
          },
          "contentAvailable" : {
            "type" : "boolean",
            "description" : "True when the full text is readable (see /texts/{id})."
          },
          "explanatoryMemorandum" : {
            "type" : "string",
            "description" : "Explanatory memorandum."
          },
          "filingDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Filing date."
          },
          "longSummary" : {
            "type" : "string",
            "description" : "Long summary."
          },
          "nearbySummary" : {
            "$ref" : "#/components/schemas/NearbySummary",
            "description" : "AI summary of another version of the same bill, present only when the version described here has no AI summary. It is not the text that was voted on: name it as such. Null otherwise."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number."
          },
          "pdfAvailable" : {
            "type" : "boolean",
            "description" : "True when a PDF is held for the text."
          },
          "pdfUrl" : {
            "type" : "string",
            "description" : "URL of the PDF at the source."
          },
          "shortSummary" : {
            "type" : "string",
            "description" : "Short summary."
          },
          "sourceUrl" : {
            "type" : "string",
            "description" : "URL of the source."
          },
          "textId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the text."
          },
          "typeLabel" : {
            "type" : "string",
            "description" : "Kind of text (French)."
          }
        }
      },
      "TextDiff" : {
        "type" : "object",
        "description" : "Comparison of two versions of the same bill, oldest to newest.",
        "properties" : {
          "added" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of added segments."
          },
          "after" : {
            "$ref" : "#/components/schemas/VersionRef",
            "description" : "The newer version."
          },
          "alignment" : {
            "type" : "string",
            "description" : "How the two were aligned.",
            "enum" : [ "ALIGNED", "APPROXIMATE" ]
          },
          "before" : {
            "$ref" : "#/components/schemas/VersionRef",
            "description" : "The older version."
          },
          "identical" : {
            "type" : "boolean",
            "description" : "True when the two versions are identical."
          },
          "modified" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of modified segments."
          },
          "removed" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of removed segments."
          },
          "segments" : {
            "type" : "array",
            "description" : "The segments, in reading order.",
            "items" : {
              "$ref" : "#/components/schemas/DiffSegment"
            }
          },
          "unchanged" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of unchanged segments."
          }
        }
      },
      "TextItem" : {
        "type" : "object",
        "description" : "One row of a search or list result. The same shape serves bills, decrees and reports; fields that do not apply to the kind are null.",
        "properties" : {
          "acceleratedProcedure" : {
            "type" : "boolean",
            "description" : "Bills only: true when the accelerated procedure was engaged."
          },
          "acceleratedProcedureDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Bills only: date the accelerated procedure was engaged, when known."
          },
          "amendment" : {
            "$ref" : "#/components/schemas/AmendmentHit",
            "description" : "Amendments only: number, article, fate and short summary. For an AMENDMENT row, 'id' is the amendment identifier (open it with /amendments/{id}), 'title' the title of its bill, 'origin' its author, 'date' the filing date."
          },
          "author" : {
            "$ref" : "#/components/schemas/Signatory",
            "description" : "Bills only: first author of the filed text."
          },
          "automaticTranslation" : {
            "type" : "boolean",
            "description" : "True when 'title' is a machine translation."
          },
          "billId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Amendments only: the bill the amendment was tabled on, as accepted by /bills/{id} (the merged file when the bill was merged)."
          },
          "date" : {
            "type" : "string",
            "format" : "date",
            "description" : "The date described by 'dateKind'."
          },
          "dateKind" : {
            "type" : "string",
            "description" : "Which date 'date' is.",
            "enum" : [ "LAST_ACTION", "PUBLICATION", "FILING" ]
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier within its corpus. Use it with /bills/{id} or the decree detail (/decrees/{id}). For a report, the id is the report's own.",
            "example" : 1234
          },
          "jurisdiction" : {
            "type" : "string",
            "description" : "FR or EU.",
            "enum" : [ "FR", "EU" ]
          },
          "kind" : {
            "type" : "string",
            "description" : "Which corpus the row comes from.",
            "enum" : [ "BILL", "DECREE", "REPORT", "AMENDMENT" ]
          },
          "legislature" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Legislature (or EU term), when it applies."
          },
          "mention" : {
            "type" : "string",
            "description" : "Source text with the procedure (bill), the number (decree) or the designation (report)."
          },
          "nature" : {
            "type" : "string",
            "description" : "Decrees only: DECREE or ORDINANCE.",
            "enum" : [ "DECREE", "ORDINANCE" ]
          },
          "origin" : {
            "type" : "string",
            "description" : "Who produced the text: the ministry of a decree, the filer of a report. Source text, in French."
          },
          "status" : {
            "type" : "string",
            "description" : "Bills only: progress through the legislative process.",
            "enum" : [ "IN_PROGRESS", "PROMULGATED", "REJECTED", "WITHDRAWN" ]
          },
          "title" : {
            "type" : "string",
            "description" : "Display title (in the reader's language for European bills)."
          }
        }
      },
      "TextSearchResult" : {
        "type" : "object",
        "description" : "A page of text rows, with the translated query when one was used.",
        "properties" : {
          "items" : {
            "type" : "array",
            "description" : "The rows of this page.",
            "items" : {
              "$ref" : "#/components/schemas/TextItem"
            }
          },
          "page" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Page number, starting at 0."
          },
          "size" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of items requested per page."
          },
          "totalItems" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Total number matching. Capped when 'q' is present."
          },
          "translatedQuery" : {
            "type" : "string",
            "description" : "The query as actually searched, when it was translated to French; null otherwise."
          }
        }
      },
      "Theme" : {
        "type" : "object",
        "description" : "A theme (policy domain) used to classify bills and votes.",
        "properties" : {
          "code" : {
            "type" : "string",
            "description" : "Stable code.",
            "example" : "ENVIRONMENT"
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier.",
            "example" : 4
          },
          "label" : {
            "type" : "string",
            "description" : "Label, in French."
          }
        }
      },
      "VersionRef" : {
        "type" : "object",
        "description" : "Reference to one of the two versions of a comparison.",
        "properties" : {
          "date" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number."
          },
          "typeLabel" : {
            "type" : "string",
            "description" : "Kind of text (French)."
          }
        }
      },
      "Vote" : {
        "type" : "object",
        "description" : "A roll-call vote with its tallies, per political group.",
        "properties" : {
          "article" : {
            "$ref" : "#/components/schemas/VoteArticle",
            "description" : "The article voted on, with a short AI-generated summary; null unless this is an article vote whose article could be read. Optional."
          },
          "articleNumber" : {
            "type" : "string",
            "description" : "Article number, for an article vote."
          },
          "billId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the bill voted on, usable with /bills/{id}."
          },
          "byGroup" : {
            "type" : "array",
            "description" : "Tallies per political group.",
            "items" : {
              "$ref" : "#/components/schemas/GroupTally"
            }
          },
          "chamber" : {
            "type" : "string",
            "description" : "Chamber that voted.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "date" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of the vote."
          },
          "expressedVotes" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Expressed votes."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier."
          },
          "jurisdiction" : {
            "type" : "string",
            "description" : "FR or EU.",
            "enum" : [ "FR", "EU" ]
          },
          "legislature" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Legislature; null for the Senate (sessions, not legislatures)."
          },
          "nominal" : {
            "type" : "boolean",
            "description" : "True when each member's vote is known (see /votes/{id}/member-votes)."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of the vote in its chamber."
          },
          "outcome" : {
            "type" : "string",
            "description" : "Result: ADOPTED or REJECTED; null when unknown.",
            "enum" : [ "ADOPTED", "REJECTED" ]
          },
          "outcomeComputed" : {
            "type" : "boolean",
            "description" : "True when the result was computed from the tallies rather than stated by the source."
          },
          "outcomeLabel" : {
            "type" : "string",
            "description" : "Result, in the source's words (French)."
          },
          "polarity" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Direction of the vote regarding the text: 1 when voting for supports the text, -1 when voting for opposes it; null when unknown."
          },
          "requiredVotes" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Votes required to adopt."
          },
          "scope" : {
            "type" : "string",
            "description" : "Scope of the vote.",
            "enum" : [ "WHOLE_TEXT", "ARTICLE", "AMENDMENT", "REJECTION_MOTION", "CENSURE_MOTION", "PROCEDURE" ]
          },
          "sourceUrl" : {
            "type" : "string",
            "description" : "URL of the vote on the official site of its chamber. For the European Parliament, the minutes of the day (no page per vote). Null when unknown."
          },
          "textId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the text voted on, usable with /texts/{id}."
          },
          "textTitle" : {
            "type" : "string",
            "description" : "Title of the text voted on (French)."
          },
          "themes" : {
            "type" : "array",
            "description" : "Themes inherited from the bill.",
            "items" : {
              "$ref" : "#/components/schemas/Theme"
            }
          },
          "title" : {
            "type" : "string",
            "description" : "Title (French)."
          },
          "totalAbstentions" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Abstentions."
          },
          "totalAgainst" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Votes against."
          },
          "totalFor" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Votes for."
          },
          "totalNonVoting" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Members who did not vote."
          },
          "voteTypeLabel" : {
            "type" : "string",
            "description" : "Kind of vote, in the source's words (French)."
          },
          "voters" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of members who voted."
          }
        }
      },
      "VoteArticle" : {
        "type" : "object",
        "description" : "The article of law put to the vote, as found in our text repository.",
        "properties" : {
          "available" : {
            "type" : "boolean",
            "description" : "True when the article is in our repository for this text. False: no summary and no version."
          },
          "reference" : {
            "type" : "string",
            "description" : "Normalised article reference (French): 1er, 2 bis, 5 bis A, unique.",
            "example" : "6"
          },
          "summary" : {
            "type" : "string",
            "description" : "One or two neutral sentences saying what the article does (French). Generated by AI. Null until produced, or when the article is not available."
          },
          "textId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier of the version of the text that carries the article, usable with /texts/{id}. Null when the article is not available."
          },
          "versionDate" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of that version. It is not necessarily the text that was adopted: an article is often amended in the chamber just before the vote."
          }
        }
      },
      "VoteSummary" : {
        "type" : "object",
        "description" : "A roll-call vote, as listed.",
        "properties" : {
          "chamber" : {
            "type" : "string",
            "description" : "Chamber that voted.",
            "enum" : [ "NATIONAL_ASSEMBLY", "SENATE", "EUROPEAN_PARLIAMENT" ]
          },
          "date" : {
            "type" : "string",
            "format" : "date",
            "description" : "Date of the vote."
          },
          "id" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Identifier, usable with /votes/{id}.",
            "example" : 555
          },
          "legislature" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Legislature."
          },
          "nominal" : {
            "type" : "boolean",
            "description" : "True when each member's vote is known (roll call); false when only the tallies are."
          },
          "number" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of the vote in its chamber."
          },
          "outcome" : {
            "type" : "string",
            "description" : "Result: ADOPTED or REJECTED; null when unknown.",
            "enum" : [ "ADOPTED", "REJECTED" ]
          },
          "outcomeComputed" : {
            "type" : "boolean",
            "description" : "True when the result was computed from the tallies rather than stated by the source."
          },
          "outcomeLabel" : {
            "type" : "string",
            "description" : "Result, in the source's words (French)."
          },
          "textTitle" : {
            "type" : "string",
            "description" : "Title of the text voted on (French)."
          },
          "title" : {
            "type" : "string",
            "description" : "Title (French)."
          },
          "totalAbstentions" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Abstentions."
          },
          "totalAgainst" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Votes against."
          },
          "totalFor" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Votes for."
          },
          "totalNonVoting" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Members who did not vote."
          }
        }
      }
    }
  }
}