{
 "title": "Goberera Tracker open data: data dictionary",
 "publisher": "Goberera Initiative (U) Limited",
 "licence": "https://creativecommons.org/licenses/by/4.0/",
 "standard": "OC4IDS 0.9.5 and CoST IDS core",
 "tables": {
  "projects": [
   {
    "column": "project_id",
    "type": "string",
    "description": "Tracker identifier (GBR-SMB-0000). The OC4IDS id is this with the prefix oc4ids-giu000-",
    "oc4ids": "identifiers / id"
   },
   {
    "column": "name",
    "type": "string",
    "description": "Project name as published",
    "oc4ids": "title"
   },
   {
    "column": "sector",
    "type": "string",
    "description": "Sector (Tracker list)",
    "oc4ids": "sector"
   },
   {
    "column": "project_type",
    "type": "string",
    "description": "Type of works",
    "oc4ids": "additionalClassifications"
   },
   {
    "column": "stage",
    "type": "string",
    "description": "Identification, Preparation, Procurement, Implementation, Completed, Operational, Stalled or Cancelled",
    "oc4ids": "status"
   },
   {
    "column": "description",
    "type": "string",
    "description": "Description, including the report lines it is built from",
    "oc4ids": "description"
   },
   {
    "column": "objective",
    "type": "string",
    "description": "Socio-economic purpose",
    "oc4ids": "purpose"
   },
   {
    "column": "agency",
    "type": "string",
    "description": "Public authority that owns the project",
    "oc4ids": "publicAuthority / parties[publicAuthority]"
   },
   {
    "column": "implementing_unit",
    "type": "string",
    "description": "Department or unit that implements it",
    "oc4ids": "parties[administrativeEntity]"
   },
   {
    "column": "funding_source",
    "type": "string",
    "description": "Grant or source of funds as stated",
    "oc4ids": "parties[funder]"
   },
   {
    "column": "district",
    "type": "string",
    "description": "District",
    "oc4ids": "locations.address.region"
   },
   {
    "column": "subcounty",
    "type": "string",
    "description": "Sub-county or town council",
    "oc4ids": "locations.address.locality"
   },
   {
    "column": "parish_village",
    "type": "string",
    "description": "Parish or village where known",
    "oc4ids": "locations.description"
   },
   {
    "column": "lat",
    "type": "number",
    "description": "Latitude (WGS84)",
    "oc4ids": "locations.geometry.coordinates[1]"
   },
   {
    "column": "lng",
    "type": "number",
    "description": "Longitude (WGS84)",
    "oc4ids": "locations.geometry.coordinates[0]"
   },
   {
    "column": "location_precision",
    "type": "string",
    "description": "What the map point represents",
    "oc4ids": "locations.description"
   },
   {
    "column": "financial_year",
    "type": "string",
    "description": "Government financial year (July to June)",
    "oc4ids": "budget.description"
   },
   {
    "column": "planned_start",
    "type": "date",
    "description": "Planned start",
    "oc4ids": "period.startDate"
   },
   {
    "column": "planned_end",
    "type": "date",
    "description": "Planned completion",
    "oc4ids": "period.endDate"
   },
   {
    "column": "revised_end",
    "type": "date",
    "description": "Revised completion",
    "oc4ids": "period.endDate"
   },
   {
    "column": "actual_end",
    "type": "date",
    "description": "Actual completion",
    "oc4ids": "completion.endDate"
   },
   {
    "column": "procurement_ref",
    "type": "string",
    "description": "Procurement reference number",
    "oc4ids": "contractingProcesses.summary.title"
   },
   {
    "column": "procurement_method",
    "type": "string",
    "description": "Procurement method",
    "oc4ids": "contractingProcesses.summary.tender.procurementMethodDetails"
   },
   {
    "column": "contractor",
    "type": "string",
    "description": "Contractor or supplier",
    "oc4ids": "contractingProcesses.summary.suppliers"
   },
   {
    "column": "contract_value_original",
    "type": "number",
    "description": "Original contract value (UGX)",
    "oc4ids": "contractingProcesses.summary.contractValue"
   },
   {
    "column": "budget_ugx",
    "type": "number",
    "description": "Latest approved budget (UGX)",
    "oc4ids": "budget.amount"
   },
   {
    "column": "spent_ugx",
    "type": "number",
    "description": "Total reported spending (UGX)",
    "oc4ids": "transactions"
   },
   {
    "column": "operational_status",
    "type": "string",
    "description": "Latest status note",
    "oc4ids": "completion.finalScope"
   },
   {
    "column": "last_reviewed",
    "type": "date",
    "description": "Date GIU last reviewed the record",
    "oc4ids": "updated"
   },
   {
    "column": "cost_ids_score",
    "type": "number",
    "description": "Share of applicable CoST IDS proactive points disclosed (0 to 1)",
    "oc4ids": "(Goberera calculation)"
   },
   {
    "column": "cost_ids_missing",
    "type": "string",
    "description": "CoST IDS points not yet disclosed (codes P1-P20, C1-C19; see cost_ids_points.csv)",
    "oc4ids": "(Goberera calculation)"
   },
   {
    "column": "open_data_url",
    "type": "string",
    "description": "This project in the read-only API",
    "oc4ids": "(link)"
   }
  ],
  "financial_events": [
   {
    "column": "project_id",
    "type": "string",
    "description": "Project",
    "oc4ids": ""
   },
   {
    "column": "date",
    "type": "date",
    "description": "Date of the event",
    "oc4ids": "budget.approvalDate / transactions.date"
   },
   {
    "column": "event_type",
    "type": "string",
    "description": "Budget approved, Budget revised, Release, Expenditure, Payment certified, Contract signed or Contract variation",
    "oc4ids": ""
   },
   {
    "column": "amount",
    "type": "number",
    "description": "Amount (UGX)",
    "oc4ids": "budget.amount / transactions.value"
   },
   {
    "column": "financial_year",
    "type": "string",
    "description": "Financial year",
    "oc4ids": ""
   },
   {
    "column": "label",
    "type": "string",
    "description": "Evidence label: official, verified, citizen, calculated or disputed",
    "oc4ids": ""
   },
   {
    "column": "source_id",
    "type": "string",
    "description": "Source (sources.csv)",
    "oc4ids": ""
   },
   {
    "column": "note",
    "type": "string",
    "description": "Note",
    "oc4ids": ""
   }
  ],
  "evidence": [
   {
    "column": "project_id",
    "type": "string",
    "description": "Project",
    "oc4ids": ""
   },
   {
    "column": "evidence_id",
    "type": "string",
    "description": "Evidence id",
    "oc4ids": "documents.id"
   },
   {
    "column": "date",
    "type": "date",
    "description": "Date",
    "oc4ids": "documents.datePublished"
   },
   {
    "column": "evidence_type",
    "type": "string",
    "description": "Kind of evidence",
    "oc4ids": ""
   },
   {
    "column": "title",
    "type": "string",
    "description": "Title",
    "oc4ids": "documents.title"
   },
   {
    "column": "label",
    "type": "string",
    "description": "Evidence label",
    "oc4ids": ""
   },
   {
    "column": "source_id",
    "type": "string",
    "description": "Source",
    "oc4ids": ""
   },
   {
    "column": "url",
    "type": "string",
    "description": "Link",
    "oc4ids": "documents.url"
   },
   {
    "column": "page_or_section",
    "type": "string",
    "description": "Page or section",
    "oc4ids": "documents.pageStart"
   }
  ],
  "milestones": [
   {
    "column": "project_id",
    "type": "string",
    "description": "Project",
    "oc4ids": ""
   },
   {
    "column": "code",
    "type": "string",
    "description": "Milestone code",
    "oc4ids": "milestones.id"
   },
   {
    "column": "name",
    "type": "string",
    "description": "Milestone",
    "oc4ids": "milestones.title"
   },
   {
    "column": "planned_start",
    "type": "date",
    "description": "Planned start",
    "oc4ids": ""
   },
   {
    "column": "planned_end",
    "type": "date",
    "description": "Due date",
    "oc4ids": "milestones.dueDate"
   },
   {
    "column": "actual_date",
    "type": "date",
    "description": "Date met",
    "oc4ids": "milestones.dateMet"
   },
   {
    "column": "status",
    "type": "string",
    "description": "Status",
    "oc4ids": "milestones.status"
   },
   {
    "column": "source_id",
    "type": "string",
    "description": "Source",
    "oc4ids": ""
   }
  ],
  "right_of_reply": [
   {
    "column": "request_id",
    "type": "string",
    "description": "Request id",
    "oc4ids": "documents.id"
   },
   {
    "column": "project_id",
    "type": "string",
    "description": "Project",
    "oc4ids": ""
   },
   {
    "column": "office",
    "type": "string",
    "description": "Office asked to respond",
    "oc4ids": ""
   },
   {
    "column": "questions",
    "type": "string",
    "description": "Questions asked",
    "oc4ids": "documents[informationRequest].description"
   },
   {
    "column": "sent_on",
    "type": "date",
    "description": "Date sent",
    "oc4ids": "documents.datePublished"
   },
   {
    "column": "deadline",
    "type": "date",
    "description": "Response deadline (21 days, Access to Information Act 2005)",
    "oc4ids": ""
   },
   {
    "column": "status",
    "type": "string",
    "description": "Awaiting response, Answered, Partly answered or No response by deadline",
    "oc4ids": ""
   },
   {
    "column": "response_on",
    "type": "date",
    "description": "Date of response",
    "oc4ids": "documents[informationRequestResponse].datePublished"
   },
   {
    "column": "response_summary",
    "type": "string",
    "description": "Summary of the response",
    "oc4ids": "documents[informationRequestResponse].description"
   }
  ],
  "citizen_reports": [
   {
    "column": "project_id",
    "type": "string",
    "description": "Project",
    "oc4ids": ""
   },
   {
    "column": "report_id",
    "type": "string",
    "description": "Report reference",
    "oc4ids": ""
   },
   {
    "column": "received_on",
    "type": "date",
    "description": "Date received",
    "oc4ids": ""
   },
   {
    "column": "summary",
    "type": "string",
    "description": "Moderated public summary (the raw report and the reporter's details are never published)",
    "oc4ids": ""
   },
   {
    "column": "channel",
    "type": "string",
    "description": "Web, SMS, USSD, radio or phone",
    "oc4ids": ""
   },
   {
    "column": "official_response",
    "type": "string",
    "description": "Official response",
    "oc4ids": ""
   },
   {
    "column": "status",
    "type": "string",
    "description": "Open or Resolved",
    "oc4ids": ""
   }
  ],
  "sources": [
   {
    "column": "source_id",
    "type": "string",
    "description": "Source id",
    "oc4ids": ""
   },
   {
    "column": "organisation",
    "type": "string",
    "description": "Organisation",
    "oc4ids": ""
   },
   {
    "column": "title",
    "type": "string",
    "description": "Title",
    "oc4ids": ""
   },
   {
    "column": "source_type",
    "type": "string",
    "description": "Type",
    "oc4ids": ""
   },
   {
    "column": "url",
    "type": "string",
    "description": "Link",
    "oc4ids": ""
   },
   {
    "column": "retrieved",
    "type": "date",
    "description": "Date retrieved",
    "oc4ids": ""
   },
   {
    "column": "period",
    "type": "string",
    "description": "Period covered",
    "oc4ids": ""
   },
   {
    "column": "licence_note",
    "type": "string",
    "description": "Reuse terms",
    "oc4ids": ""
   }
  ],
  "cost_ids_points": [
   {
    "column": "code",
    "type": "string",
    "description": "CoST IDS point code",
    "oc4ids": ""
   },
   {
    "column": "stage",
    "type": "string",
    "description": "Stage",
    "oc4ids": ""
   },
   {
    "column": "element",
    "type": "string",
    "description": "CoST IDS element",
    "oc4ids": ""
   },
   {
    "column": "oc4ids_field",
    "type": "string",
    "description": "Where it is published in OC4IDS",
    "oc4ids": ""
   }
  ]
 }
}