Database tables¶
Introduction¶
How tables are created¶
The add command creates all the tables below.
How values are extracted¶
Most values are extracted from OCDS JSON as SQL text. This is the case even if the JSON value is of a different type; for example, if the value of an id
field is serialized as a JSON integer, it will be stored as text in the SQL tables.
There are two cases in which other types are used:
Date fields are converted to the
timestamp
type. Warning: If the value is an invalid date like"2020-02-30"
, or if the year is less than or equal to0000
, it will be converted toNULL
.Number fields are converted to the
numeric
type. Warning: If the value is an invalid number like"123a"
, it will be converted toNULL
.
Metadata¶
These tables are created and populated by the add command.
summaries.selected_collections¶
This table is created (if it doesn’t exist) by the add command, in a separate summaries
schema. It is a many-to-many relationship between the schema name, and each of the collection IDs that the user provided when creating each schema. It is not removed by the remove command, but the entries for that schema are removed.
If you need to change the collections to be summarized, remove the schema with the remove command and re-create it with the add command. This ensures that the schema’s name reflects its contents.
Column Name |
Data Type |
Description |
---|---|---|
schema |
text |
A Postgres schema name |
collection_id |
integer |
A Kingfisher Process collection ID |
note¶
This table contains the note that the user provided when creating the schema.
Column Name |
Data Type |
Description |
---|---|---|
id |
integer |
An auto-incrementing integer |
note |
text |
A user-assigned note |
created_at |
timestamp |
The UTC time at which the note was created |
Fields¶
field_counts¶
Column Name |
Data Type |
Description |
---|---|---|
collection_id |
bigint |
|
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release” |
path |
text |
JSON path of the field, excluding array indices |
object_property |
bigint |
Number of occurrences of the field, across all array entries and all releases |
array_count |
bigint |
If the field is an array, cumulative length of its occurrences, across all array entries and all releases |
distinct_releases |
bigint |
Number of releases in which the field occurs |
Releases¶
release_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
table_id |
integer |
|
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
package_data_id |
integer |
|
package_version |
text |
Value of the |
date |
timestamp |
Value of the |
tag |
jsonb |
Value of the |
language |
text |
Value of the |
parties_role_counts |
jsonb |
JSONB object in which each key is a unique |
total_parties_roles |
numeric |
Cumulative length of all |
total_parties |
bigint |
Length of the |
total_planning_documents |
bigint |
Length of the |
planning_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_tender_documents |
bigint |
Length of the |
tender_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_awards |
bigint |
Length of the |
first_award_date |
timestamp |
Earliest |
last_award_date |
timestamp |
Latest |
total_award_documents |
numeric |
Cumulative length of all |
total_award_items |
numeric |
Cumulative length of all |
total_award_suppliers |
bigint |
Cumulative length of all |
sum_awards_value_amount |
numeric |
Sum of all |
total_unique_award_suppliers |
bigint |
Number of distinct suppliers across all award objects, using the |
award_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_contracts |
bigint |
Length of the |
total_contract_link_to_awards |
bigint |
Number of |
first_contract_datesigned |
timestamp |
Earliest |
last_contract_datesigned |
timestamp |
Latest |
total_contract_documents |
numeric |
Cumulative length of all |
total_contract_milestones |
numeric |
Cumulative length of all |
total_contract_items |
numeric |
Cumulative length of all |
sum_contracts_value_amount |
numeric |
Sum of all |
total_contract_implementation_documents |
numeric |
Cumulative length of all |
total_contract_implementation_milestones |
numeric |
Cumulative length of all |
contract_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
contract_milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
contract_implementation_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
contract_implementation_milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_documents |
numeric |
Cumulative length of all document arrays |
milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
total_milestones |
numeric |
Cumulative length of all milestone arrays |
source_id |
text |
|
data_version |
timestamp |
|
store_start_at |
timestamp |
|
store_end_at |
timestamp |
|
sample |
boolean |
|
transform_type |
text |
|
transform_from_collection_id |
integer |
|
deleted_at |
timestamp |
|
release |
jsonb |
|
package_data |
jsonb |
|
release_check |
jsonb |
|
record_check |
jsonb |
|
field_list |
jsonb |
All JSON paths in the release object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
release_summary_no_data¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
table_id |
integer |
|
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
package_data_id |
integer |
|
package_version |
text |
Value of the |
date |
timestamp |
Value of the |
tag |
jsonb |
Value of the |
language |
text |
Value of the |
parties_role_counts |
jsonb |
JSONB object in which each key is a unique |
total_parties_roles |
numeric |
Cumulative length of all |
total_parties |
bigint |
Length of the |
total_planning_documents |
bigint |
Length of the |
planning_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_tender_documents |
bigint |
Length of the |
tender_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_awards |
bigint |
Length of the |
first_award_date |
timestamp |
Earliest |
last_award_date |
timestamp |
Latest |
total_award_documents |
numeric |
Cumulative length of all |
total_award_items |
numeric |
Cumulative length of all |
total_award_suppliers |
bigint |
Cumulative length of all |
sum_awards_value_amount |
numeric |
Sum of all |
total_unique_award_suppliers |
bigint |
Number of distinct suppliers across all award objects, using the |
award_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_contracts |
bigint |
Length of the |
total_contract_link_to_awards |
bigint |
Number of |
first_contract_datesigned |
timestamp |
Earliest |
last_contract_datesigned |
timestamp |
Latest |
total_contract_documents |
numeric |
Cumulative length of all |
total_contract_milestones |
numeric |
Cumulative length of all |
total_contract_items |
numeric |
Cumulative length of all |
sum_contracts_value_amount |
numeric |
Sum of all |
total_contract_implementation_documents |
numeric |
Cumulative length of all |
total_contract_implementation_milestones |
numeric |
Cumulative length of all |
contract_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
contract_milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
contract_implementation_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
contract_implementation_milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_documents |
numeric |
Cumulative length of all document arrays |
milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
total_milestones |
numeric |
Cumulative length of all milestone arrays |
Parties¶
parties_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
party_index |
bigint |
Position of the party in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
party_id |
text |
Value of the |
name |
text |
Value of the |
roles |
jsonb |
Value of the |
identifier |
text |
Hyphenation of |
unique_identifier_attempt |
text |
Value of the |
additionalidentifiers_ids |
jsonb |
Hyphenation of |
total_additionalidentifiers |
integer |
Length of the |
party |
jsonb |
The party object |
field_list |
jsonb |
All JSON paths in the party object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
buyer_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
buyer |
jsonb |
The buyer object |
buyer_id |
text |
Value of the |
name |
text |
Value of the |
identifier |
text |
Hyphenation of |
unique_identifier_attempt |
text |
Value of the |
additionalidentifiers_ids |
jsonb |
Hyphenation of |
total_additionalidentifiers |
integer |
Length of the |
link_to_parties |
integer |
1 if any |
link_with_role |
integer |
1 if the buyer’s entry in the parties array has ‘buyer’ in its |
party_index |
bigint |
Position of the buyer in the |
field_list |
jsonb |
All JSON paths in the buyer object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
procuringEntity_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
procuringentity |
jsonb |
The procuring entity object |
procuringentity_id |
text |
Value of the |
name |
text |
Value of the |
identifier |
text |
Hyphenation of |
unique_identifier_attempt |
text |
Value of the |
additionalidentifiers_ids |
jsonb |
Hyphenation of |
total_additionalidentifiers |
integer |
Length of the |
link_to_parties |
integer |
1 if any |
link_with_role |
integer |
1 if the procuring entity’s entry in the parties array has ‘procuringEntity’ in its |
party_index |
bigint |
Position of the procuring entity in the |
field_list |
jsonb |
All JSON paths in the procuringentity object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
tenderers_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
tenderer_index |
bigint |
Position of the tenderer in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
tenderer |
jsonb |
The tenderer object |
tenderer_id |
text |
Value of the |
name |
text |
Value of the |
identifier |
text |
Hyphenation of |
unique_identifier_attempt |
text |
Value of the |
additionalidentifiers_ids |
jsonb |
Hyphenation of |
total_additionalidentifiers |
integer |
Length of the |
link_to_parties |
integer |
1 if any |
link_with_role |
integer |
1 if the tenderer’s entry in the parties array has ‘tenderer’ in its |
party_index |
bigint |
Position of the tenderer in the |
field_list |
jsonb |
All JSON paths in the tenderer object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
Planning section¶
planning_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
budget_amount_amount |
numeric |
Value of the |
budget_amount_currency |
text |
Value of the |
budget_projectid |
text |
Value of the |
total_documents |
bigint |
Length of the |
document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_milestones |
bigint |
Length of the |
milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
planning |
jsonb |
The planning object |
field_list |
jsonb |
All JSON paths in the planning object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
planning_documents_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
document_index |
bigint |
Position of the document in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
document |
jsonb |
The document object |
documenttype |
text |
Value of the |
format |
text |
Value of the |
field_list |
jsonb |
All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
planning_milestones_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
milestone_index |
bigint |
Position of the milestone in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
milestone |
jsonb |
The milestone object |
type |
text |
Value of the |
code |
text |
Value of the |
status |
text |
Value of the |
field_list |
jsonb |
All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
Tender section¶
tender_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
tender_id |
text |
Value of the |
title |
text |
Value of the |
status |
text |
Value of the |
description |
text |
Value of the |
value_amount |
numeric |
Value of the |
value_currency |
text |
Value of the |
minvalue_amount |
numeric |
Value of the |
minvalue_currency |
text |
Value of the |
procurementmethod |
text |
Value of the |
mainprocurementcategory |
text |
Value of the |
additionalprocurementcategories |
jsonb |
Value of the |
awardcriteria |
text |
Value of the |
submissionmethod |
text |
Value of the |
tenderperiod_startdate |
timestamp |
Value of the |
tenderperiod_enddate |
timestamp |
Value of the |
tenderperiod_maxextentdate |
timestamp |
Value of the |
tenderperiod_durationindays |
numeric |
Value of the |
enquiryperiod_startdate |
timestamp |
Value of the |
enquiryperiod_enddate |
timestamp |
Value of the |
enquiryperiod_maxextentdate |
timestamp |
Value of the |
enquiryperiod_durationindays |
numeric |
Value of the |
hasenquiries |
text |
Value of the |
eligibilitycriteria |
text |
Value of the |
awardperiod_startdate |
timestamp |
Value of the |
awardperiod_enddate |
timestamp |
Value of the |
awardperiod_maxextentdate |
timestamp |
Value of the |
awardperiod_durationindays |
numeric |
Value of the |
contractperiod_startdate |
timestamp |
Value of the |
contractperiod_enddate |
timestamp |
Value of the |
contractperiod_maxextentdate |
timestamp |
Value of the |
contractperiod_durationindays |
numeric |
Value of the |
numberoftenderers |
numeric |
Value of the |
total_tenderers |
integer |
Length of the |
total_documents |
bigint |
Length of the |
document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_milestones |
bigint |
Length of the |
milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
total_items |
bigint |
Length of the |
tender |
jsonb |
The tender object |
field_list |
jsonb |
All JSON paths in the tender object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
tender_summary_no_data¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
tender_id |
text |
Value of the |
title |
text |
Value of the |
status |
text |
Value of the |
description |
text |
Value of the |
value_amount |
numeric |
Value of the |
value_currency |
text |
Value of the |
minvalue_amount |
numeric |
Value of the |
minvalue_currency |
text |
Value of the |
procurementmethod |
text |
Value of the |
mainprocurementcategory |
text |
Value of the |
additionalprocurementcategories |
jsonb |
Value of the |
awardcriteria |
text |
Value of the |
submissionmethod |
text |
Value of the |
tenderperiod_startdate |
timestamp |
Value of the |
tenderperiod_enddate |
timestamp |
Value of the |
tenderperiod_maxextentdate |
timestamp |
Value of the |
tenderperiod_durationindays |
numeric |
Value of the |
enquiryperiod_startdate |
timestamp |
Value of the |
enquiryperiod_enddate |
timestamp |
Value of the |
enquiryperiod_maxextentdate |
timestamp |
Value of the |
enquiryperiod_durationindays |
numeric |
Value of the |
hasenquiries |
text |
Value of the |
eligibilitycriteria |
text |
Value of the |
awardperiod_startdate |
timestamp |
Value of the |
awardperiod_enddate |
timestamp |
Value of the |
awardperiod_maxextentdate |
timestamp |
Value of the |
awardperiod_durationindays |
numeric |
Value of the |
contractperiod_startdate |
timestamp |
Value of the |
contractperiod_enddate |
timestamp |
Value of the |
contractperiod_maxextentdate |
timestamp |
Value of the |
contractperiod_durationindays |
numeric |
Value of the |
numberoftenderers |
numeric |
Value of the |
total_tenderers |
integer |
Length of the |
total_documents |
bigint |
Length of the |
document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_milestones |
bigint |
Length of the |
milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
total_items |
bigint |
Length of the |
tender_items_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
item_index |
bigint |
Position of the item in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
item |
jsonb |
The item object |
item_id |
text |
Value of the |
quantity |
numeric |
Value of the |
unit_value_amount |
numeric |
Value of the |
unit_value_currency |
text |
Value of the |
classification |
text |
Hyphenation |
additionalclassifications_ids |
jsonb |
Hyphenation of |
total_additionalclassifications |
integer |
Length of the |
field_list |
jsonb |
All JSON paths in the item object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
tender_documents_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
document_index |
bigint |
Position of the document in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
document |
jsonb |
The document object |
documenttype |
text |
Value of the |
format |
text |
Value of the |
field_list |
jsonb |
All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
tender_milestones_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
milestone_index |
bigint |
Position of the milestone in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
milestone |
jsonb |
The milestone object |
type |
text |
Value of the |
code |
text |
Value of the |
status |
text |
Value of the |
field_list |
jsonb |
All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
Awards section¶
awards_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
award_index |
bigint |
Position of the award in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
award_id |
text |
Value of the |
title |
text |
Value of the |
status |
text |
Value of the |
description |
text |
Value of the |
value_amount |
numeric |
Value of the |
value_currency |
text |
Value of the |
date |
timestamp |
Value of the |
contractperiod_startdate |
timestamp |
Value of the |
contractperiod_enddate |
timestamp |
Value of the |
contractperiod_maxextentdate |
timestamp |
Value of the |
contractperiod_durationindays |
numeric |
Value of the |
total_suppliers |
integer |
Length of the |
total_documents |
bigint |
Length of the |
document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_items |
bigint |
Length of the |
award |
jsonb |
The award object |
field_list |
jsonb |
All JSON paths in the award object as well as in the related contracts’ contract object (prefixed by contracts/), expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
award_suppliers_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
award_index |
bigint |
Position of the award in the |
supplier_index |
bigint |
Position of the supplier in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
supplier |
jsonb |
The supplier object |
supplier_id |
text |
Value of the |
name |
text |
Value of the |
identifier |
text |
Hyphenation of |
unique_identifier_attempt |
text |
Value of the |
additionalidentifiers_ids |
jsonb |
Hyphenation of |
total_additionalidentifiers |
integer |
Length of the |
link_to_parties |
integer |
1 if any |
link_with_role |
integer |
1 if the supplier’s entry in the parties array has ‘supplier’ in its |
party_index |
bigint |
Position of the supplier in the |
field_list |
jsonb |
All JSON paths in the supplier object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
award_items_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
award_index |
bigint |
Position of the award in the |
item_index |
bigint |
Position of the item in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
item |
jsonb |
The item object |
item_id |
text |
Value of the |
quantity |
numeric |
Value of the |
unit_value_amount |
numeric |
Value of the |
unit_value_currency |
text |
Value of the |
classification |
text |
Hyphenation |
additionalclassifications_ids |
jsonb |
Hyphenation of |
total_additionalclassifications |
integer |
Length of the |
field_list |
jsonb |
All JSON paths in the item object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
award_documents_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
award_index |
bigint |
Position of the award in the |
document_index |
bigint |
Position of the document in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
document |
jsonb |
The document object |
documenttype |
text |
Value of the |
format |
text |
Value of the |
field_list |
jsonb |
All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
Contracts section¶
contracts_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
contract_index |
bigint |
Position of the contract in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
awardid |
text |
Value of the |
link_to_awards |
integer |
1 if any |
contract_id |
text |
Value of the |
title |
text |
Value of the |
status |
text |
Value of the |
description |
text |
Value of the |
value_amount |
numeric |
Value of the |
value_currency |
text |
Value of the |
datesigned |
timestamp |
Value of the |
period_startdate |
timestamp |
Value of the |
period_enddate |
timestamp |
Value of the |
period_maxextentdate |
timestamp |
Value of the |
period_durationindays |
numeric |
Value of the |
total_documents |
bigint |
Length of the |
document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_milestones |
bigint |
Length of the |
milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
total_items |
bigint |
Length of the |
total_implementation_documents |
bigint |
Length of the |
implementation_document_documenttype_counts |
jsonb |
JSONB object in which each key is a unique |
total_implementation_milestones |
bigint |
Length of the |
implementation_milestone_type_counts |
jsonb |
JSONB object in which each key is a unique |
contract |
jsonb |
The contract object |
field_list |
jsonb |
All JSON paths in the contract object as well as in the related award’s award object (prefixed by awards/), expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
contract_items_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
contract_index |
bigint |
Position of the contract in the |
item_index |
bigint |
Position of the item in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
item |
jsonb |
The item object |
item_id |
text |
Value of the |
quantity |
numeric |
Value of the |
unit_value_amount |
numeric |
Value of the |
unit_value_currency |
text |
Value of the |
classification |
text |
Hyphenation |
additionalclassifications_ids |
jsonb |
Hyphenation of |
total_additionalclassifications |
integer |
Length of the |
field_list |
jsonb |
All JSON paths in the item object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
contract_documents_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
contract_index |
bigint |
Position of the contract in the |
document_index |
bigint |
Position of the document in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
document |
jsonb |
The document object |
documenttype |
text |
Value of the |
format |
text |
Value of the |
field_list |
jsonb |
All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
contract_milestones_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
contract_index |
bigint |
Position of the contract in the |
milestone_index |
bigint |
Position of the milestone in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
milestone |
jsonb |
The milestone object |
type |
text |
Value of the |
code |
text |
Value of the |
status |
text |
Value of the |
field_list |
jsonb |
All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
Contract implementation section¶
contract_implementation_transactions_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
contract_index |
bigint |
Position of the contract in the |
transaction_index |
bigint |
Position of the transaction in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
transaction |
jsonb |
The transaction object |
date |
text |
Value of the |
value_amount |
numeric |
Value of the |
value_currency |
text |
Value of the |
field_list |
jsonb |
All JSON paths in the transaction object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
contract_implementation_documents_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
contract_index |
bigint |
Position of the contract in the |
document_index |
bigint |
Position of the document in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
document |
jsonb |
The document object |
documenttype |
text |
Value of the |
format |
text |
Value of the |
field_list |
jsonb |
All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |
contract_implementation_milestones_summary¶
Column Name |
Data Type |
Description |
---|---|---|
id |
bigint |
An identifier for a row in the Kingfisher Process |
contract_index |
bigint |
Position of the contract in the |
milestone_index |
bigint |
Position of the milestone in the |
release_type |
text |
Either “release”, “compiled_release”, “record” or “embedded_release”. If “release”, the data was read from the |
collection_id |
integer |
|
ocid |
text |
Value of the |
release_id |
text |
Value of the |
data_id |
integer |
|
milestone |
jsonb |
The milestone object |
type |
text |
Value of the |
code |
text |
Value of the |
status |
text |
Value of the |
field_list |
jsonb |
All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the –field-lists option is used. |