{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "Address": {
            "description": "An address. This may be the legally registered address of the organization, or may be a correspondence address for this particular contracting process.",
            "patternProperties": {
                "^(countryName_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "countryName": {
                    "description": "The country name. For example, United States.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "locality": {
                    "description": "The locality. For example, Mountain View.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "postalCode": {
                    "description": "The postal code. For example, 94043.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "region": {
                    "description": "The region. For example, CA.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "streetAddress": {
                    "description": "The street address. For example, 1600 Amphitheatre Pkwy.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "type": "object"
        },
        "Amendment": {
            "patternProperties": {
                "^(rationale_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "changes": {
                    "description": "Comma-seperated list of affected fields.",
                    "items": {
                        "properties": {
                            "former_value": {
                                "description": "The previous value of the changed property, in whatever type the property is.",
                                "type": [
                                    "string",
                                    "number",
                                    "integer",
                                    "array",
                                    "object",
                                    "null"
                                ]
                            },
                            "property": {
                                "description": "The property name that has been changed relative to the place the amendment is. For example if the contract value has changed, then the property under changes within the contract.amendment would be value.amount. ",
                                "type": "string"
                            }
                        },
                        "type": "object"
                    },
                    "mergeStrategy": "ocdsVersion",
                    "title": "Amended fields",
                    "type": "array"
                },
                "date": {
                    "description": "The data of this amendment.",
                    "format": "date-time",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Amendment Date",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "rationale": {
                    "description": "An explanation for the amendment.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "title": "Amendment information",
            "type": "object"
        },
        "Award": {
            "description": "An award for the given procurement. There may be more than one award per contracting process e.g. because the contract is split amongst different providers, or because it is a standing offer.",
            "patternProperties": {
                "^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(title_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "amendment": {
                    "$ref": "#/definitions/Amendment"
                },
                "date": {
                    "description": "The date of the contract award.",
                    "format": "date-time",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Award date",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "description": {
                    "description": "Award description",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "documents": {
                    "description": "All documents and attachments related to the award, including any notices.",
                    "items": {
                        "$ref": "#/definitions/Document"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "type": "array",
                    "_uniqueItems": true
                },
                "id": {
                    "description": "The identifier for this award. It must be unique and cannot change within the Open Contracting Process it is part of (defined by a single ocid). See the [identifier guidance](http://ocds.open-contracting.org/standard/r/1__0__RC/en/key_concepts/identifiers/) for further details.",
                    "mergeStrategy": "overwrite",
                    "title": "Award ID",
                    "type": [
                        "string",
                        "integer"
                    ]
                },
                "items": {
                    "description": "The goods and services awarded in this award, broken into line items wherever possible. Items should not be duplicated, but the quantity specified instead.",
                    "items": {
                        "$ref": "#/definitions/Item"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "minItems": 1,
                    "title": "Items Awarded",
                    "type": "array",
                    "_uniqueItems": true
                },
                "status": {
                    "description": "The current status of the award drawn from the [awardStatus codelist](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists/#award-status)",
                    "enum": [
                        "pending",
                        "active",
                        "cancelled",
                        "unsuccessful"
                    ],
                    "mergeStrategy": "ocdsVersion",
                    "title": "Award Status",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "suppliers": {
                    "description": "The suppliers awarded this award. If different suppliers have been awarded different items of values, these should be split into separate award blocks.",
                    "items": {
                        "$ref": "#/definitions/Organization"
                    },
                    "mergeStrategy": "ocdsVersion",
                    "type": "array",
                    "_uniqueItems": true
                },
                "title": {
                    "description": "Award title",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "value": {
                    "$ref": "#/definitions/Value",
                    "description": "The total value of this award. In the case of a framework contract this may be the total estimated lifetime value, or maximum value, of the agreement. There may be more than one award per procurement."
                }
            },
            "required": [
                "id"
            ],
            "title": "Award",
            "type": "object"
        },
        "Budget": {
            "description": "This section contain information about the budget line, and associated projects, through which this contracting process is funded. It draws upon data model of the [Budget Data Package](https://github.com/openspending/budget-data-package/blob/master/specification.md), and should be used to cross-reference to more detailed information held using a Budget Data Package, or, where no linked Budget Data Package is available, to provide enough information to allow a user to manually or automatically cross-reference with another published source of budget and project information.",
            "mergeStrategy": "ocdsVersion",
            "patternProperties": {
                "^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(project_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(source_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "amount": {
                    "$ref": "#/definitions/Value",
                    "description": "The value of the budget line item."
                },
                "description": {
                    "description": "A short free text description of the budget source. May be used to provide the title of the budget line, or the programme used to fund this project.",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Budget Source",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "id": {
                    "description": "An identifier for the budget line item which provides funds for this contracting process. This identifier should be possible to cross-reference against the provided data source.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "integer",
                        "null"
                    ]
                },
                "project": {
                    "description": "The name of the project that through which this contracting process is funded (if applicable). Some organizations maintain a registry of projects, and the data should use the name by which the project is known in that registry. No translation option is offered for this string, as translated values can be provided in third-party data, linked from the data source above.",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Project Title",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "projectID": {
                    "description": "An external identifier for the project that this contracting process forms part of, or is funded via (if applicable). Some organizations maintain a registry of projects, and the data should use the identifier from the relevant registry of projects.",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Project Identifier",
                    "type": [
                        "string",
                        "integer",
                        "null"
                    ]
                },
                "source": {
                    "description": "Used to point either to a corresponding Budget Data Package, or to a machine or human-readable source where users can find further information on the budget line item identifiers, or project identifiers, provided here.",
                    "format": "uri",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Data Source",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "uri": {
                    "description": "A URI pointing directly to a machine-readable record about the related budget or projects for this contracting process.",
                    "format": "uri",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Linked budget information",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "title": "Budget Information",
            "type": "object"
        },
        "Classification": {
            "patternProperties": {
                "^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "description": {
                    "description": "A textual description or title for the code.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "id": {
                    "description": "The classification code drawn from the selected scheme.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "integer",
                        "null"
                    ]
                },
                "scheme": {
                    "description": "An classification should be drawn from an existing scheme or list of codes. This field is used to indicate the scheme/codelist from which the classification is drawn. For line item classifications, this value should represent an known [Item Classification Scheme](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists/#item-classification-scheme) wherever possible.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "uri": {
                    "description": "A URI to identify the code. In the event individual URIs are not available for items in the identifier scheme this value should be left blank.",
                    "format": "uri",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "type": "object"
        },
        "ContactPoint": {
            "description": "An person, contact point or department to contact in relation to this contracting process.",
            "patternProperties": {
                "^(name_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "email": {
                    "description": "The e-mail address of the contact point/person.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "faxNumber": {
                    "description": "The fax number of the contact point/person. This should include the international dialling code.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "name": {
                    "description": "The name of the contact person, department, or contact point, for correspondence relating to this contracting process.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "telephone": {
                    "description": "The telephone number of the contact point/person. This should include the international dialling code.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "url": {
                    "description": "A web address for the contact point/person.",
                    "format": "uri",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "type": "object"
        },
        "Contract": {
            "description": "Information regarding the signed contract between the buyer and supplier(s).",
            "patternProperties": {
                "^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(title_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "amendment": {
                    "$ref": "#/definitions/Amendment"
                },
                "awardID": {
                    "description": "The award.id against which this contract is being issued.",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Award ID",
                    "type": [
                        "string",
                        "integer"
                    ]
                },
                "dateSigned": {
                    "description": "The date the contract was signed. In the case of multiple signatures, the date of the last signature.",
                    "format": "date-time",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "description": {
                    "description": "Contract description",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "documents": {
                    "description": "All documents and attachments related to the contract, including any notices.",
                    "items": {
                        "$ref": "#/definitions/Document"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "type": "array",
                    "_uniqueItems": true
                },
                "id": {
                    "description": "The identifier for this contract. It must be unique and cannot change within its Open Contracting Process (defined by a single ocid). See the [identifier guidance](http://ocds.open-contracting.org/standard/r/1__0__RC/en/key_concepts/identifiers/) for further details.",
                    "mergeStrategy": "overwrite",
                    "title": "Contract ID",
                    "type": [
                        "string",
                        "integer"
                    ]
                },
                "implementation": {
                    "$ref": "#/definitions/Implementation",
                    "description": "Information related to the implementation of the contract in accordance with the obligations laid out therein.",
                    "title": "Implementation"
                },
                "items": {
                    "description": "The goods, services, and any intangible outcomes in this contract. Note: If the items are the same as the award do not repeat.",
                    "items": {
                        "$ref": "#/definitions/Item"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "minItems": 1,
                    "title": "Items Contracted",
                    "type": "array",
                    "_uniqueItems": true
                },
                "period": {
                    "$ref": "#/definitions/Period",
                    "description": "The start and end date for the contract."
                },
                "status": {
                    "description": "The current status of the contract. Drawn from the [contractStatus codelist](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists/#contract-status)",
                    "enum": [
                        "pending",
                        "active",
                        "cancelled",
                        "terminated"
                    ],
                    "mergeStrategy": "ocdsVersion",
                    "title": "Contract Status",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "title": {
                    "description": "Contract title",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "value": {
                    "$ref": "#/definitions/Value",
                    "description": "The total value of this contract."
                }
            },
            "required": [
                "id",
                "awardID"
            ],
            "title": "Contract",
            "type": "object"
        },
        "Document": {
            "description": "Links to, or descriptions of, external documents can be attached at various locations within the standard. Documents may be supporting information, formal notices, downloadable forms, or any other kind of resource that should be made public as part of full open contracting.",
            "patternProperties": {
                "^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(title_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "dateModified": {
                    "description": "Date that the document was last modified",
                    "format": "date-time",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "datePublished": {
                    "description": "The date on which the document was first published. This is particularly important for legally important documents such as notices of a tender.",
                    "format": "date-time",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "description": {
                    "description": "A short description of the document. We recommend descriptions do not exceed 250 words. In the event the document is not accessible online, the description field can be used to describe arrangements for obtaining a copy of the document.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "documentType": {
                    "description": "A classification of the document described taken from the [documentType codelist](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#document-type). Values from the provided codelist should be used wherever possible, though extended values can be provided if the codelist does not have a relevant code.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "format": {
                    "description": "The format of the document taken from the [IANA Media Types code list](http://www.iana.org/assignments/media-types/), with the addition of one extra value for 'offline/print', used when this document entry is being used to describe the offline publication of a document. Use values from the template column. Links to web pages should be tagged 'text/html'.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "id": {
                    "description": "A local, unique identifier for this document. This field is used to keep track of multiple revisions of a document through the compilation from release to record mechanism.",
                    "mergeStrategy": "overwrite",
                    "type": [
                        "string",
                        "integer"
                    ]
                },
                "language": {
                    "description": "Specifies the language of the linked document using either two-digit [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), or extended [BCP47 language tags](http://www.w3.org/International/articles/language-tags/). The use of two-letter codes from [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) is strongly recommended unless there is a clear user need for distinguishing the language subtype.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "title": {
                    "description": "The document title.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "url": {
                    "description": " direct link to the document or attachment. The server providing access to this document should be configured to correctly report the document mime type.",
                    "format": "uri",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id"
            ],
            "title": "Document",
            "type": "object"
        },
        "Identifier": {
            "patternProperties": {
                "^(legalName_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "id": {
                    "description": "The identifier of the organization in the selected scheme.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "integer",
                        "null"
                    ]
                },
                "legalName": {
                    "description": "The legally registered name of the organization.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "scheme": {
                    "description": "Organization identifiers be drawn from an existing identification scheme. This field is used to indicate the scheme or codelist in which the identifier will be found. This value should be drawn from the [Organization Identifier Scheme](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists/#organization-identifier-scheme).",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "uri": {
                    "description": "A URI to identify the organization, such as those provided by [Open Corporates](http://www.opencorporates.com) or some other relevant URI provider. This is not for listing the website of the organization: that can be done through the url field of the Organization contact point.",
                    "format": "uri",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "type": "object"
        },
        "Implementation": {
            "description": "Information during the performance / implementation stage of the contract.",
            "properties": {
                "documents": {
                    "description": "Documents and reports that are part of the implementation phase e.g. audit and evaluation reports.",
                    "items": {
                        "$ref": "#/definitions/Document"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "type": "array",
                    "_uniqueItems": true
                },
                "milestones": {
                    "description": "As milestones are completed, milestone completions should be documented.",
                    "items": {
                        "$ref": "#/definitions/Milestone"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "type": "array",
                    "_uniqueItems": true
                },
                "transactions": {
                    "description": "A list of the spending transactions made against this contract",
                    "items": {
                        "$ref": "#/definitions/Transaction"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "type": "array",
                    "_uniqueItems": true
                }
            },
            "title": "Implementation",
            "type": "object"
        },
        "Item": {
            "description": "A good, service, or work to be contracted.",
            "patternProperties": {
                "^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "additionalClassifications": {
                    "description": "An array of additional classifications for the item. See the [itemClassificationScheme](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#item-classification-scheme) codelist for common options to use in OCDS. This may also be used to present codes from an internal classification scheme.",
                    "items": {
                        "$ref": "#/definitions/Classification"
                    },
                    "mergeStrategy": "ocdsVersion",
                    "type": "array",
                    "_uniqueItems": true
                },
                "classification": {
                    "$ref": "#/definitions/Classification",
                    "description": "The primary classification for the item. See the [itemClassificationScheme](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#item-classification-scheme) to identify preferred classification lists, including CPV and GSIN."
                },
                "description": {
                    "description": "A description of the goods, services to be provided.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "id": {
                    "description": "A local identifier to reference and merge the items by. Must be unique within a given array of items.",
                    "mergeStrategy": "overwrite",
                    "type": [
                        "string",
                        "integer"
                    ]
                },
                "quantity": {
                    "description": "The number of units required",
                    "mergeStrategy": "ocdsVersion",
                    "minimum": 0,
                    "type": [
                        "integer",
                        "null"
                    ]
                },
                "unit": {
                    "description": "Description of the unit which the good comes in e.g. hours, kilograms. Made up of a unit name, and the value of a single unit.",
                    "patternProperties": {
                        "^(name_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    },
                    "properties": {
                        "name": {
                            "description": "Name of the unit",
                            "mergeStrategy": "ocdsVersion",
                            "type": [
                                "string",
                                "null"
                            ]
                        },
                        "value": {
                            "$ref": "#/definitions/Value",
                            "description": "The monetary value of a single unity"
                        }
                    },
                    "type": "object"
                }
            },
            "required": [
                "id"
            ],
            "type": "object"
        },
        "Milestone": {
            "patternProperties": {
                "^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(title_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "dateModified": {
                    "description": "The date the milestone was last reviewed or modified and the status was altered or confirmed to still be correct.",
                    "format": "date-time",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "description": {
                    "description": "A description of the milestone.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "documents": {
                    "description": "List of documents associated with this milestone.",
                    "items": {
                        "$ref": "#/definitions/Document"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "type": "array",
                    "_uniqueItems": true
                },
                "dueDate": {
                    "description": "The date the milestone is due.",
                    "format": "date-time",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "id": {
                    "description": "A local identifier for this milestone, unique within this block. This field is used to keep track of multiple revisions of a milestone through the compilation from release to record mechanism.",
                    "mergeStrategy": "overwrite",
                    "type": [
                        "string",
                        "integer"
                    ]
                },
                "status": {
                    "description": "The status that was realized on the date provided in dateModified, drawn from the [milestoneStatus codelist](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#milestone-status).",
                    "enum": [
                        "met",
                        "notMet",
                        "partiallyMet",
                        null
                    ],
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "title": {
                    "description": "Milestone title",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id"
            ],
            "type": "object"
        },
        "Organization": {
            "description": "An organization.",
            "patternProperties": {
                "^(name_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "additionalIdentifiers": {
                    "description": "A list of additional / supplemental identifiers for the organization, using the [organization identifier guidance](http://ocds.open-contracting.org/standard/r/1__0__RC/en/key_concepts/identifiers/#organization-identifiers). This could be used to provide an internally used identifier for this organization in addition to the primary legal entity identifier.",
                    "items": {
                        "$ref": "#/definitions/Identifier"
                    },
                    "mergeStrategy": "ocdsVersion",
                    "type": "array",
                    "_uniqueItems": true
                },
                "address": {
                    "$ref": "#/definitions/Address"
                },
                "contactPoint": {
                    "$ref": "#/definitions/ContactPoint"
                },
                "identifier": {
                    "$ref": "#/definitions/Identifier",
                    "description": "The primary identifier for this organization. Identifiers that uniquely pick out a legal entity should be preferred. Consult the [organization identifier guidance](http://ocds.open-contracting.org/standard/r/1__0__RC/en/key_concepts/identifiers/#organization-identifiers) for the preferred scheme and identifier to use."
                },
                "name": {
                    "description": "The common name of the organization. The ID property provides an space for the formal legal name, and so this may either repeat that value, or could provide the common name by which this organization is known. This field could also include details of the department or sub-unit involved in this contracting process.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "title": "Organization",
            "type": "object"
        },
        "Period": {
            "properties": {
                "endDate": {
                    "description": "The end date for the period.",
                    "format": "date-time",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "startDate": {
                    "description": "The state date for the period.",
                    "format": "date-time",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "title": "Period",
            "type": "object"
        },
        "Planning": {
            "description": "Information from the planning phase of the contracting process. Note that many other fields may be filled in a planning release, in the appropriate fields in other schema sections, these would likely be estimates at this stage e.g. totalValue in tender",
            "patternProperties": {
                "^(rationale_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "budget": {
                    "$ref": "#/definitions/Budget"
                },
                "documents": {
                    "description": "A list of documents related to the planning process.",
                    "items": {
                        "$ref": "#/definitions/Document"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "type": "array"
                },
                "rationale": {
                    "description": "The rationale for the procurement provided in free text. More detail can be provided in an attached document.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "title": "Planning",
            "type": "object"
        },
        "Tender": {
            "description": "Data regarding tender process - publicly inviting prospective contractors to submit bids for evaluation and selecting a winner or winners.",
            "patternProperties": {
                "^(awardCriteriaDetails_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(eligibilityCriteria_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(procurementMethodRationale_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(submissionMethodDetails_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "^(title_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "properties": {
                "amendment": {
                    "$ref": "#/definitions/Amendment"
                },
                "awardCriteria": {
                    "description": "Specify the award criteria for the procurement, using the [award criteria codelist](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#method)",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "awardCriteriaDetails": {
                    "description": "Any detailed or further information on the award or selection criteria.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "awardPeriod": {
                    "$ref": "#/definitions/Period",
                    "description": "The date or period on which an award is anticipated to be made."
                },
                "description": {
                    "description": "Tender description",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "documents": {
                    "description": "All documents and attachments related to the tender, including any notices. See the [documentType codelist](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#document-type) for details of potential documents to include.",
                    "items": {
                        "$ref": "#/definitions/Document"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "type": "array"
                },
                "eligibilityCriteria": {
                    "description": "A description of any eligibility criteria for potential suppliers.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "enquiryPeriod": {
                    "$ref": "#/definitions/Period",
                    "description": "The period during which enquiries may be made and answered."
                },
                "hasEnquiries": {
                    "description": "A Yes/No field to indicate whether enquiries were part of tender process.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "id": {
                    "description": "An identifier for this tender process. This may be the same as the ocid, or may be drawn from an internally held identifier for this tender.",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Tender ID",
                    "type": [
                        "string",
                        "integer"
                    ]
                },
                "items": {
                    "description": "The goods and services to be purchased, broken into line items wherever possible. Items should not be duplicated, but a quantity of 2 specified instead.",
                    "items": {
                        "$ref": "#/definitions/Item"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "title": "Items to be procured",
                    "type": "array",
                    "_uniqueItems": true
                },
                "milestones": {
                    "description": "A list of milestones associated with the tender.",
                    "items": {
                        "$ref": "#/definitions/Milestone"
                    },
                    "mergeOptions": {
                        "idRef": "id"
                    },
                    "mergeStrategy": "arrayMergeById",
                    "type": "array"
                },
                "minValue": {
                    "$ref": "#/definitions/Value",
                    "description": "The minimum estimated value of the procurement."
                },
                "procurementMethod": {
                    "description": "Specify tendering method against the [method codelist](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#method) as per [GPA definitions](http://www.wto.org/english/docs_e/legal_e/rev-gpr-94_01_e.htm) of Open, Selective, Limited",
                    "enum": [
                        "open",
                        "selective",
                        "limited",
                        null
                    ],
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "procurementMethodRationale": {
                    "description": "Rationale of procurement method, especially in the case of Limited tendering.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "procuringEntity": {
                    "$ref": "#/definitions/Organization",
                    "description": "The entity managing the procurement, which may be different from the buyer who is paying / using the items being procured."
                },
                "status": {
                    "description": "The current status of the tender based on the [tenderStatus codelist](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#tender-status)",
                    "enum": [
                        "planned",
                        "active",
                        "cancelled",
                        "unsuccessful",
                        "complete",
                        null
                    ],
                    "mergeStrategy": "ocdsVersion",
                    "title": "Tender Status",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "submissionMethod": {
                    "description": "Specify the method by which bids must be submitted, in person, written, or electronic auction. Using the [submission method codelist](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#submission-method)",
                    "items": {
                        "type": "string"
                    },
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "submissionMethodDetails": {
                    "description": "Any detailed or further information on the submission method. This may include the address, e-mail address or online service to which bids should be submitted, and any special requirements to be followed for submissions.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "tenderPeriod": {
                    "$ref": "#/definitions/Period",
                    "description": "The period when the tender is open for submissions. The end date is the closing date for tender submissions."
                },
                "title": {
                    "description": "Tender title",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "value": {
                    "$ref": "#/definitions/Value",
                    "description": "The total upper estimated value of the procurement."
                }
            },
            "required": [
                "id"
            ],
            "title": "Tender",
            "type": "object"
        },
        "Transaction": {
            "description": "A spending transaction related to the contracting process. Draws upon the data models of the [Budget Data Package](https://github.com/openspending/budget-data-package/blob/master/specification.md) and the [International Aid Transpareny Initiative](http://iatistandard.org/activity-standard/iati-activities/iati-activity/transaction/) and should be used to cross-reference to more detailed information held using a Budget Data Package, IATI file, or to provide enough information to allow a user to manually or automatically cross-reference with some other published source of transactional spending data.",
            "properties": {
                "amount": {
                    "$ref": "#/definitions/Value",
                    "description": "The value of the transaction."
                },
                "date": {
                    "description": "The date of the transaction",
                    "format": "date-time",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "id": {
                    "description": "A unique identifier for this transaction. This identifier should be possible to cross-reference against the provided data source. For the budget data package this is the id, for IATI, the transaction reference.",
                    "mergeStrategy": "overwrite",
                    "type": [
                        "string",
                        "integer"
                    ]
                },
                "providerOrganization": {
                    "$ref": "#/definitions/Identifier",
                    "description": "The Organization Identifier for the organization from which the funds in this transaction originate. Expressed following the Organizational Identifier standard - consult the documentation and the codelist."
                },
                "receiverOrganization": {
                    "$ref": "#/definitions/Identifier",
                    "description": "The Organization Identifier for the organization which receives the funds in this transaction. Expressed following the Organizational Identifier standard - consult the documentation and the codelist."
                },
                "source": {
                    "description": "Used to point either to a corresponding Budget Data Package, IATI file, or machine or human-readable source where users can find further information on the budget line item identifiers, or project identifiers, provided here.",
                    "format": "uri",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Data Source",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "uri": {
                    "description": "A URI pointing directly to a machine-readable record about this spending transaction.",
                    "format": "uri",
                    "mergeStrategy": "ocdsVersion",
                    "title": "Linked spending information",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id"
            ],
            "title": "Transaction Information",
            "type": "object"
        },
        "Value": {
            "properties": {
                "amount": {
                    "description": "Amount as a number.",
                    "mergeStrategy": "ocdsVersion",
                    "minimum": 0,
                    "type": [
                        "number",
                        "null"
                    ]
                },
                "currency": {
                    "description": "The currency in 3-letter ISO 4217 format.",
                    "mergeStrategy": "ocdsVersion",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "type": "object"
        }
    },
    "id": "http://ocds.open-contracting.org/standard/r/1__0__RC/release-schema.json",
    "properties": {
        "awards": {
            "description": "Information from the award phase of the contracting process. There may be more than one award per contracting process e.g. because the contract is split amongst different providers, or because it is a standing offer.",
            "items": {
                "$ref": "#/definitions/Award"
            },
            "mergeOptions": {
                "idRef": "id"
            },
            "mergeStrategy": "arrayMergeById",
            "title": "Awards",
            "type": "array",
            "_uniqueItems": true
        },
        "buyer": {
            "$ref": "#/definitions/Organization",
            "description": "The buyer is the entity whose budget will be used to purchase the goods. This may be different from the procuring agency who may be specified in the tender data.",
            "title": "Buyer"
        },
        "contracts": {
            "description": "Information from the contract creation phase of the procurement process.",
            "items": {
                "$ref": "#/definitions/Contract"
            },
            "mergeOptions": {
                "idRef": "id"
            },
            "mergeStrategy": "arrayMergeById",
            "title": "Contracts",
            "type": "array",
            "_uniqueItems": true
        },
        "date": {
            "_format": "date-time",
            "description": "The date this information is released, it may well be the same as the parent publishedDate, it must not be later than the publishedDate from the parent package. It is used to determine merge order.",
            "mergeStrategy": "ocdsOmit",
            "title": "Release Date",
            "type": "string"
        },
        "id": {
            "description": "A unique identifier that identifies this release. A releaseID must be unique within a release-package and must not contain the # character.",
            "mergeStrategy": "ocdsOmit",
            "title": "Release ID",
            "type": "string"
        },
        "initiationType": {
            "description": "String specifying the type of initiation process used for this contract, taken from the [initiationType](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#initiation-type) codelist. Currently only tender is supported.",
            "enum": [
                "tender"
            ],
            "mergeStrategy": "ocdsVersion",
            "title": "Initiation type",
            "type": "string"
        },
        "language": {
            "default": "en",
            "description": "Specifies the default language of the data using either two-digit ISO 639-1, or extended BCP47 language tags. The use of two-letter codes from ISO 639-1 is strongly recommended.",
            "mergeStrategy": "ocdsVersion",
            "title": "Release language",
            "type": [
                "string",
                "null"
            ]
        },
        "ocid": {
            "description": "A globally unique identifier for this Open Contracting Process. Composed of a publisher prefix and an identifier for the contracting process. For more information see the [Open Contracting Identifier guidance](http://ocds.open-contracting.org/standard/r/1__0__RC/en/key_concepts/identifiers/#ocid)",
            "mergeStrategy": "ocdsOmit",
            "title": "Open Contracting ID",
            "type": "string"
        },
        "planning": {
            "$ref": "#/definitions/Planning",
            "description": "Information from the planning phase of the contracting process. This includes information related to the process of deciding what to contract for, when and how.",
            "title": "Planning"
        },
        "tag": {
            "description": "A value from the [releaseTag codelist](http://ocds.open-contracting.org/standard/r/1__0__RC/en/schema/codelists#release-tag) that identifies the nature of the release being made. Tags may be used to filter release, or, in future, for for advanced validation when certain kinds of releases should contain certain fields.",
            "items": {
                "enum": [
                    "planning",
                    "tender",
                    "tenderAmendment",
                    "tenderUpdate",
                    "tenderCancellation",
                    "award",
                    "awardUpdate",
                    "awardCancellation",
                    "contract",
                    "contractUpdate",
                    "contractAmendment",
                    "implementation",
                    "implementationUpdate",
                    "contractTermination",
                    "compiled"
                ],
                "type": "string"
            },
            "mergeStrategy": "ocdsOmit",
            "title": "Release Tag",
            "type": "array"
        },
        "tender": {
            "$ref": "#/definitions/Tender",
            "description": "The activities undertaken in order to enter into a contract.",
            "title": "Tender"
        }
    },
    "required": [
        "ocid",
        "id",
        "date",
        "tag",
        "initiationType"
    ],
    "title": "Schema for an Open Contracting Release",
    "type": "object"
}