{
  "@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": "cpv_code",
      "titles": "CPV code",
      "dc:description": "Common Procurement Vocabulary code. Source: tender.classification, tender.items[] and awards[].items[] classifications. (published)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "cpv_description",
      "titles": "Description",
      "dc:description": " Source: classification.description. (published)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "cpv_division",
      "titles": "CPV division",
      "dc:description": "The broad group, for example 72 (IT services) or 45 (construction work). Source: first two digits of cpv_code. (derived)",
      "datatype": "string",
      "required": false
    },
    {
      "name": "is_main",
      "titles": "Main code",
      "dc:description": "yes for the notice’s main CPV code. Source: tender.classification. (published)",
      "datatype": {
        "base": "boolean",
        "format": "yes|no"
      },
      "required": false
    }
  ],
  "foreignKeys": [
    {
      "columnReference": "notice_id",
      "reference": {
        "resource": "notices",
        "columnReference": "notice_id"
      }
    }
  ]
}