{
  "definitions": {
    "Tender": {
      "properties": {
        "designContest": {
          "title": "Design contest",
          "description": "Information about the organization of a design contest.",
          "$ref": "#/definitions/DesignContest"
        }
      }
    },
    "Lot": {
      "properties": {
        "designContest": {
          "title": "Design contest",
          "description": "Information about the organization of a design contest.",
          "$ref": "#/definitions/DesignContest"
        }
      }
    },
    "DesignContest": {
      "title": "Design contest",
      "description": "Information about the organization of a design contest.",
      "type": "object",
      "properties": {
        "selectedParticipants": {
          "title": "Selected participants",
          "description": "The organizations that have already been selected to participate in the design contest.",
          "type": "array",
          "items": {
            "$ref": "#/definitions/OrganizationReference"
          },
          "uniqueItems": true,
          "minItems": 1
        },
        "hasPrizes": {
          "title": "Has prizes",
          "description": "Whether prizes will be awarded in the design contest.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "prizes": {
          "title": "Prizes",
          "description": "Information about the prizes awarded in the design contest.",
          "$ref": "#/definitions/Prizes"
        },
        "rewardsDetails": {
          "title": "Rewards details",
          "description": "The details and conditions of the payments to be made to the participants.",
          "type": [
            "string",
            "null"
          ],
          "minLength": 1
        },
        "followUpContracts": {
          "title": "Follow-up contracts",
          "description": "Whether any contracts following the design contest will be awarded to the winner or winners of the design contest.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "bindingJuryDecision": {
          "title": "Binding jury decision",
          "description": "Whether the jury\u2019s decision is binding on the procuring entity.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "juryMembers": {
          "title": "Jury members",
          "description": "The members of the jury.",
          "type": "array",
          "items": {
            "$ref": "#/definitions/JuryMember"
          },
          "wholeListMerge": true,
          "uniqueItems": true,
          "minItems": 1
        }
      },
      "minProperties": 1
    },
    "JuryMember": {
      "title": "Jury member",
      "description": "Member of the jury.",
      "type": "object",
      "properties": {
        "name": {
          "title": "Name",
          "description": "The name of the jury member.",
          "type": [
            "string",
            "null"
          ],
          "minLength": 1
        }
      },
      "minProperties": 1
    },
    "Prizes": {
      "title": "Prizes",
      "description": "Information about the prizes awarded in a design contest.",
      "type": "object",
      "properties": {
        "description": {
          "title": "Description",
          "description": "The description of the prizes.",
          "type": [
            "string",
            "null"
          ],
          "minLength": 1
        },
        "details": {
          "title": "Details",
          "description": "Information about the individual prizes.",
          "type": "array",
          "items": {
            "$ref": "#/definitions/Prize"
          },
          "uniqueItems": true,
          "minItems": 1
        }
      },
      "minProperties": 1
    },
    "Prize": {
      "title": "Prize",
      "description": "Information about an individual prize awarded in a design contest.",
      "type": "object",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "title": "Identifier",
          "description": "The locally unique identifier for the prize.",
          "type": [
            "string"
          ],
          "versionId": true,
          "minLength": 1
        },
        "description": {
          "title": "Description",
          "description": "The description of the prize.",
          "type": [
            "string",
            "null"
          ],
          "minLength": 1
        },
        "value": {
          "title": "Value",
          "description": "The value of the prize.",
          "$ref": "#/definitions/Value"
        }
      },
      "minProperties": 1
    }
  }
}
