/openprocurement-ocds-mapping

Data mappings from Openprocurement schema to ODCS compatible data format

Primary LanguagePython

Openprocurement data mapping in OCDS compatible format


Purpose:

Repository contains mapping configuration which can be applied to produce OCDS data from Openprocurement API. Mainly used with galleon package

schemas folder contains release schemas in jsonpatch format

  1. schemas/1.1-schema.json

    Contains pure schema for OCDS 1.1 data format

  2. schemas/1.1-extended-schema.json

    Contains schema with applied Openprocurement extensions

mapping

Folder contains mappings itself for 1.1 adn 1.1 extended format

extensions

Folder contains Openprocurement extensions for OCDS 1.1 to fit all data available

OCDS 1.1 progress:

  • done

OCDS 1.1 extended:

  • Bid
  • Auction
  • Lot
  • Complaints
  • AdditionalContactPoints
  • ContractID
  • ContractNumber
  • ContractSuppliers
  • Delivery
  • Eligibility
  • Enquiries
  • Guarantee
  • LinkedDocuments
  • MEAT
  • Negotiation
  • PendingCancellation
  • procurmentMethodDetails
  • Qualification
  • Qualification Documents
  • ShortlistedFirm
  • tenderID
  • unitCode
  • valueAddedTax

Build dev environment:

pyenv virtualenv env
pyenv activate env
pip install -r requirements.txt

Run transform on test data

cat test-data/tender-simple.json | python ocds.py pure | jq