{
  "@context": "http://www.w3.org/ns/csvw",
  "columns": [
    {
      "name": "notice_id",
      "titles": "Notice ID",
      "dc:description": "Joins to the notices table. Source: id. (published)",
      "datatype": "string",
      "required": true
    },
    {
      "name": "ocid",
      "titles": "Procurement ID (OCID)",
      "dc:description": "Open Contracting ID. Source: ocid. (published)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "notice_type",
      "titles": "Notice type code",
      "dc:description": "UK6 award notices and UK7 contract details notices are the main sources of winners. Source: as notices.notice_type. (derived)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "buyer_name",
      "titles": "Buyer",
      "dc:description": "Repeated here so the table can be used on its own. Source: as notices.buyer_name. (published)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "contract_key",
      "titles": "Contract or award ID",
      "dc:description": "Identifies the contract within the notice, so an award notice and the contract details notice that follows it can be matched. Source: contracts[].awardID, else contracts[].id, else awards[].id. (published)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "contract_key_basis",
      "titles": "What the contract ID is",
      "dc:description": "awardID, contractId, awardId, position or single. (derived)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "supplier_name",
      "titles": "Supplier",
      "dc:description": "The winning supplier. Blank when the notice names none. Source: party referenced by awards[].suppliers. (published)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "supplier_id",
      "titles": "Supplier ID",
      "dc:description": "Companies House numbers are the most reliable way to match the same supplier across notices. Source: party identifier scheme-id (for example GB-COH-01234567), else GB-PPON, else party id. (published)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "supplier_size",
      "titles": "Supplier size",
      "dc:description": "For example sme or large, as declared. Source: party details.scale. (published)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "supplier_is_vcse",
      "titles": "Supplier is a charity or social enterprise",
      "dc:description": "yes if declared as a VCSE. Source: party details.vcse. (published)",
      "datatype": {
        "base": "boolean",
        "format": "yes|no"
      },
      "required": false
    },
    {
      "name": "supplier_country",
      "titles": "Supplier country",
      "dc:description": "United Kingdom for any UK nation; “(not stated)” when no address is published. Source: party address.countryName. (published)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "suppliers_on_contract",
      "titles": "Suppliers sharing this contract",
      "dc:description": "When more than one supplier shares a contract, each gets a row with the same contract value. Do not add those values up. (derived)",
      "datatype": "integer",
      "required": false
    },
    {
      "name": "value_excluding_vat",
      "titles": "Contract value excluding VAT",
      "dc:description": "The value of this contract, not a share of it. Source: contracts[].value.amount, else the award’s value. (published)",
      "datatype": "decimal",
      "required": false
    },
    {
      "name": "value_including_vat",
      "titles": "Contract value including VAT",
      "dc:description": "Including VAT, where published. Source: value.amountGross. (published)",
      "datatype": "decimal",
      "required": false
    },
    {
      "name": "currency",
      "titles": "Currency",
      "dc:description": "Usually GBP. Source: value.currency. (published)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "award_date",
      "titles": "Award decision date",
      "dc:description": "When this contract was awarded. Source: the matching awards[].date. (published)",
      "datatype": "date",
      "required": false
    },
    {
      "name": "contract_signed_date",
      "titles": "Date contract signed",
      "dc:description": "When this contract was signed. Source: the matching contracts[].dateSigned. (published)",
      "datatype": "date",
      "required": false
    }
  ],
  "foreignKeys": [
    {
      "columnReference": "notice_id",
      "reference": {
        "resource": "notices",
        "columnReference": "notice_id"
      }
    }
  ]
}