invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Motions: Open Besluitvorming Motions

read only per partition REST

  • Catalog: OpenBesluitvorming
  • Schema: Export
  • Primary Keys: entity_id
  • Label: Motions

Can only retrieve data.

Summary

The motions and amendments, with their outcome. Around 40 percent have no text; the votes per member are in MotionVotes. 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 50,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 Motions 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
agenda_item_hint varchar2 Agenda Item Hint filters on the platform, writable The raw text of the source system naming the agenda item, when no reference could be made.
agenda_item_id varchar2 Agenda Item ID filters on the platform, writable The agenda item it was decided under.
attachment_entity_id varchar2 Attachment ID filters on the platform, writable The document with the text of the motion.
changed_at 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.
co_proposers varchar2 Co-Proposers filters on the platform, writable The members who co-signed it.
commit_id varchar2 Version ID filters on the platform, writable The id of this version.
content_hash varchar2 Content Hash filters on the platform, writable The SHA-256 of the content of this version; equal for equal content.
description varchar2 Description filters on the platform, writable The description of the motion.
entity_id varchar2 ID filters on the platform, writable The id of the motion, such as motion:ibabs:gemeente:houten:; stable, and the argument of the functions of the schema Entities.
last_discussed_at 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_entity_id varchar2 Meeting ID filters on the platform, writable The meeting in which it was decided; empty when the reference could not be resolved.
motion_date datetime Motion Date filters on the platform, writable A date the source system gives the motion, UTC.
motion_type varchar2 Motion Type filters on the platform, writable Motion or amendment, as the source system words it.
name varchar2 Name filters on the platform, writable The name of the motion as the source system gives it.
organization_id varchar2 Organisation ID filters on the platform, writable The organisation, such as organization:nl:gemeente:houten.
parties varchar2 Parties filters on the platform, writable The parties derived from the proposers; often empty. For the party of a vote use MotionVotes.group_name.
proposers varchar2 Proposers filters on the platform, writable The members who submitted it, separated by a comma.
result varchar2 Result filters on the platform, writable The outcome normalised: aangenomen, verworpen, ingetrokken, aangehouden or overig. overig also covers a tie and a status about the follow-up. Empty with votes present: the outcome was not written down.
schema_version 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_key varchar2 Source Key filters on the platform, writable The source, which is also the partition.
status varchar2 Status filters on the platform, writable The outcome as the source system words it.
supplier varchar2 Supplier filters on the platform, writable The council information system it was read from.
vote_summary varchar2 Vote Summary filters on the platform, writable A breakdown of the vote as free text, for the few sources that publish only that.
votes_against int32 Votes Against filters on the platform, writable The number of votes against.
votes_in_favour int32 Votes in Favour filters on the platform, writable The number of votes in favour.

Keys

Key Column Refers to Kind Description
Motions_agenda_item_id_txt agenda_item_id MeetingAgendaItems.agenda_item_id Textual The agenda item under which the motion was decided; the key of an agenda item includes its meeting, which may differ from the meeting of the motion.
Motions_attachment_entity_id_fk attachment_entity_id Documents.entity_id Key
Motions_meeting_entity_id_fk meeting_entity_id Meetings.entity_id Key
Motions_source_key_txt source_key Sources.source_key Textual The source, which is also the partition.

Referenced By