{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"uk-tender.schema.json","title":"UK public tender","type":"object","required":["id","notice_id","title","nation","status","deadline","notice_url","source_id","source_url","retrieved_at","verification","paid_placement"],"additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^ocds-","description":"OCDS contracting process identifier (OCID); one record per procurement"},"notice_id":{"type":"string","description":"Identifier of the latest notice for this procurement"},"title":{"type":"string"},"description":{"type":["string","null"],"description":"Notice description, at most 600 characters; e-mail addresses and phone numbers removed"},"buyer_name":{"type":["string","null"]},"buyer_town":{"type":["string","null"]},"buyer_region":{"type":["string","null"],"description":"ITL or NUTS region code of the buyer address, for example UKI or UKM"},"nation":{"enum":["England","Wales","Scotland","Northern Ireland","Unknown"]},"cpv_codes":{"type":"array","items":{"type":"string","pattern":"^\\d{8}$"}},"category":{"type":["string","null"],"description":"goods, works or services"},"procedure":{"type":["string","null"]},"legal_basis":{"type":["string","null"],"description":"Procurement Act 2023 or the earlier regulations"},"status":{"type":"string","description":"active, cancelled or another OCDS tender status"},"notice_type":{"type":["string","null"],"description":"OCDS release tag of the latest notice, for example tender or tenderUpdate"},"published":{"type":["string","null"],"format":"date"},"updated":{"type":["string","null"],"format":"date"},"deadline":{"type":"string","format":"date","description":"Earliest tender or request-to-participate deadline across lots"},"deadline_time":{"type":"string","description":"Deadline with time and offset as published"},"estimated_value":{"type":["number","null"]},"currency":{"type":["string","null"]},"contract_start":{"type":["string","null"],"format":"date"},"contract_end":{"type":["string","null"],"format":"date"},"lots":{"type":["integer","null"]},"sme_suitable":{"type":["boolean","null"]},"vcse_suitable":{"type":["boolean","null"]},"delivery_locations":{"type":"array","items":{"type":"string"}},"notice_url":{"type":"string","format":"uri"},"verification":{"enum":["official-publication"]},"paid_placement":{"const":false},"source_id":{"enum":["uk-find-a-tender","uk-contracts-finder"]},"source_url":{"type":"string","format":"uri"},"retrieved_at":{"type":"string","format":"date-time"}}}