addedOutput schema / properties / tenders
Added value: +{
+ "description": "With more_references: each tender's own answer, in the order asked.",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "awards": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "date": {
+ "type": "string"
+ },
+ "ends": {
+ "type": "string"
+ },
+ "suppliers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "buyer": {
+ "additionalProperties": {},
+ "properties": {
+ "contact": {
+ "type": "string"
+ },
+ "locality": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "competition": {
+ "additionalProperties": {},
+ "properties": {
+ "bidsReceived": {
+ "additionalProperties": {},
+ "description": "How many bids similar contracts drew: the median, and how many notices gave a count.",
+ "properties": {
+ "notices": {
+ "type": "number"
+ },
+ "typical": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "typical",
+ "notices"
+ ],
+ "type": "object"
+ },
+ "history": {
+ "description": "The buyer's similar past contracts the read is from, newest first.",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "awardedAt": {
+ "type": "string"
+ },
+ "bidsReceived": {
+ "type": "number"
+ },
+ "contractEnd": {
+ "type": "string"
+ },
+ "contractStart": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "suppliers": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "companyNumber": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "tenderId": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "value": {
+ "additionalProperties": {},
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "valuePerYear": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "tenderId",
+ "title",
+ "reference",
+ "awardedAt",
+ "suppliers"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "holder": {
+ "additionalProperties": {},
+ "description": "Who holds the work now: the winner of the buyer's latest similar contract that hasn't ended, or ended within the last 12 months. Dates in ISO 8601.",
+ "properties": {
+ "companyNumber": {
+ "type": "string"
+ },
+ "contractEnds": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "since": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "since"
+ ],
+ "type": "object"
+ },
+ "read": {
+ "description": "Tenda's read of the competition, from the rules in why: never odds.",
+ "enum": [
+ "worth chasing",
+ "open contest",
+ "long shot"
+ ],
+ "type": "string"
+ },
+ "valueRange": {
+ "additionalProperties": {},
+ "description": "What similar contracts were worth a year, lowest and highest, in one currency.",
+ "properties": {
+ "contracts": {
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "high": {
+ "type": "number"
+ },
+ "low": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "low",
+ "high",
+ "currency",
+ "contracts"
+ ],
+ "type": "object"
+ },
+ "why": {
+ "description": "The facts behind the read, in plain words.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "read",
+ "why",
+ "history"
+ ],
+ "type": "object"
+ },
+ "conditions": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "mandatory": {
+ "type": "boolean"
+ },
+ "requirement": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "words": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "credit": {
+ "type": "string"
+ },
+ "found": {
+ "type": "boolean"
+ },
+ "howItIsRun": {
+ "type": "string"
+ },
+ "howItIsScored": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "keyDates": {
+ "additionalProperties": {},
+ "properties": {
+ "bidsClose": {
+ "type": "string"
+ },
+ "clarificationsClose": {
+ "type": "string"
+ },
+ "contractEnds": {
+ "type": "string"
+ },
+ "contractStarts": {
+ "type": "string"
+ },
+ "expressionsOfInterestClose": {
+ "type": "string"
+ },
+ "latestEndWithExtensions": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "lots": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "suitableForSme": {
+ "type": "boolean"
+ },
+ "title": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "notInTheNotice": {
+ "type": "string"
+ },
+ "publishedDocuments": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "rules": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "tender": {
+ "additionalProperties": {},
+ "description": "The same facts as a search_tenders result.",
+ "properties": {
+ "buyer": {
+ "type": "string"
+ },
+ "closesAt": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "ocid": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "valueAmount": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "ocid",
+ "reference",
+ "title",
+ "buyer"
+ ],
+ "type": "object"
+ },
+ "whatTheyWant": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "summary",
+ "found"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}