Documents: Open Besluitvorming Documents
read only per partition REST
- Catalog:
OpenBesluitvorming - Schema:
Export - Primary Keys:
entity_id - Label: Documents
Can only retrieve data.
Summary
The documents: proposals, letters, minutes, motions as files, attachments. The text is not in this table; read it with DocumentTextById, the file with DocumentPdfById. Read from the export of the platform, 1 000 records per request, for every selected source: a full read of every source takes over 100 minutes at the rate limit of the platform, one source of 20 000 records some 20 seconds. Narrow it with use @obv.
API Source
- Endpoint:
/api/export/snapshot
Performance Characteristics
| Characteristic | Value |
|---|---|
| Estimated rows | 5,900,000 |
| Average access latency (ms) | 497 |
| Full scan rows per minute | 58,000 |
| Point query rows per minute | 58 |
Table Columns
The columns of the table Documents are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
changed_ |
datetime |
Changed | filters on the platform, writable | When the platform recorded this version, UTC. | |
classification |
varchar2 |
Classification | filters on the platform, writable | The kind as the source system names it, such as Agenda, Moties or Raadsinformatiebrieven; several separated by a comma. | |
commit_ |
varchar2 |
Version ID | filters on the platform, writable | The id of this version. | |
content_ |
varchar2 |
Content Hash | filters on the platform, writable | The SHA-256 of the content of this version; equal for equal content. | |
content_ |
varchar2 |
Content Type | filters on the platform, writable | The kind of file, such as application/pdf. | |
date_ |
datetime |
Modified at Source | filters on the platform, writable | When the source system last changed the entry, UTC; for written questions, the day the answer was added. Never the day the document was written. | |
entity_ |
varchar2 |
ID | filters on the platform, writable | The id of the document, such as document:ibabs:gemeente:houten:; stable, and the argument of the functions of the schema Entities. | |
extraction_ |
decimal |
Extraction Quality Score | filters on the platform, writable | The score behind that status. | |
extraction_ |
varchar2 |
Extraction Quality Status | filters on the platform, writable | How well the text could be extracted, such as ok or suspect; a scan has no text. | |
file_ |
varchar2 |
File Name | filters on the platform, writable | The name of the file. | |
last_ |
datetime |
Last Discussed | filters on the platform, writable | When it was last discussed in a meeting, UTC. iBabs data before 2025 holds Dutch time marked as UTC, so a late meeting can land on the next day. | |
meeting_ |
varchar2 |
Meeting ID | filters on the platform, writable | The meeting at which the document was last discussed; empty for a register document and for an attachment of a motion. | |
name |
varchar2 |
Name | filters on the platform, writable | The name of the document as the source system gives it. | |
organization_ |
varchar2 |
Organisation ID | filters on the platform, writable | The organisation, such as organization:nl:gemeente:houten. | |
original_ |
varchar2 |
Original URL | filters on the platform, writable | Where the source system publishes the file. Part of iBabs refuses it; DocumentPdfById reads the copy of the platform. | |
page_ |
int32 |
Page Count | filters on the platform, writable | The number of pages the text was extracted from; at most 40. | |
referenced_ |
varchar2 |
Belongs To | filters on the platform, writable | What the document belongs to as the platform says it: a meeting, a motion it is attached to, or for a register document the organisation. | |
schema_ |
varchar2 |
Record Format Version | filters on the platform, writable | The version of the record format, such as v1alpha1. | |
seq |
int64 |
Sequence Number | filters on the platform, writable | The position of the version in the change feed of the source; a newer version has a higher number. | |
source_ |
varchar2 |
Source Key | filters on the platform, writable | The source, which is also the partition. | |
source_ |
int32 |
File Page Count | filters on the platform, writable | The number of pages of the file. | |
storage_ |
varchar2 |
Storage URL | filters on the platform, writable | Where the platform keeps its copy of the file. | |
supplier |
varchar2 |
Supplier | filters on the platform, writable | The council information system it was read from. |
Keys
| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
Documents_ |
meeting_ |
Meetings. |
Key | |
Documents_ |
source_ |
Sources. |
Textual | The source, which is also the partition. |
Referenced By
- Motions
attachment_entity_id(Key)