{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "360Giving Data Standard Schema",
    "type": "object",
    "definitions": {
        "currency": {
            "type": "string",
            "description": "The currency used in amounts. Use the three-letter currency code from [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) eg: Use GBP for Pounds Sterling.",
            "weight": 5.02,
            "enum": [
                "ADP",
                "AED",
                "AFA",
                "AFN",
                "ALK",
                "ALL",
                "AMD",
                "ANG",
                "AOA",
                "AOK",
                "AON",
                "AOR",
                "ARA",
                "ARP",
                "ARS",
                "ARY",
                "ATS",
                "AUD",
                "AWG",
                "AYM",
                "AZM",
                "AZN",
                "BAD",
                "BAM",
                "BBD",
                "BDT",
                "BEC",
                "BEF",
                "BEL",
                "BGJ",
                "BGK",
                "BGL",
                "BGN",
                "BHD",
                "BIF",
                "BMD",
                "BND",
                "BOB",
                "BOP",
                "BOV",
                "BRB",
                "BRC",
                "BRE",
                "BRL",
                "BRN",
                "BRR",
                "BSD",
                "BTN",
                "BUK",
                "BWP",
                "BYB",
                "BYN",
                "BYR",
                "BZD",
                "CAD",
                "CDF",
                "CHC",
                "CHE",
                "CHF",
                "CHW",
                "CLF",
                "CLP",
                "CNY",
                "COP",
                "COU",
                "CRC",
                "CSD",
                "CSJ",
                "CSK",
                "CUC",
                "CUP",
                "CVE",
                "CYP",
                "CZK",
                "DDM",
                "DEM",
                "DJF",
                "DKK",
                "DOP",
                "DZD",
                "ECS",
                "ECV",
                "EEK",
                "EGP",
                "ERN",
                "ESA",
                "ESB",
                "ESP",
                "ETB",
                "EUR",
                "FIM",
                "FJD",
                "FKP",
                "FRF",
                "GBP",
                "GEK",
                "GEL",
                "GHC",
                "GHP",
                "GHS",
                "GIP",
                "GMD",
                "GNE",
                "GNF",
                "GNS",
                "GQE",
                "GRD",
                "GTQ",
                "GWE",
                "GWP",
                "GYD",
                "HKD",
                "HNL",
                "HRD",
                "HRK",
                "HTG",
                "HUF",
                "IDR",
                "IEP",
                "ILP",
                "ILR",
                "ILS",
                "INR",
                "IQD",
                "IRR",
                "ISJ",
                "ISK",
                "ITL",
                "JMD",
                "JOD",
                "JPY",
                "KES",
                "KGS",
                "KHR",
                "KMF",
                "KPW",
                "KRW",
                "KWD",
                "KYD",
                "KZT",
                "LAJ",
                "LAK",
                "LBP",
                "LKR",
                "LRD",
                "LSL",
                "LSM",
                "LTL",
                "LTT",
                "LUC",
                "LUF",
                "LUL",
                "LVL",
                "LVR",
                "LYD",
                "MAD",
                "MDL",
                "MGA",
                "MGF",
                "MKD",
                "MLF",
                "MMK",
                "MNT",
                "MOP",
                "MRO",
                "MRU",
                "MTL",
                "MTP",
                "MUR",
                "MVQ",
                "MVR",
                "MWK",
                "MXN",
                "MXP",
                "MXV",
                "MYR",
                "MZE",
                "MZM",
                "MZN",
                "NAD",
                "NGN",
                "NIC",
                "NIO",
                "NLG",
                "NOK",
                "NPR",
                "NZD",
                "OMR",
                "PAB",
                "PEH",
                "PEI",
                "PEN",
                "PES",
                "PGK",
                "PHP",
                "PKR",
                "PLN",
                "PLZ",
                "PTE",
                "PYG",
                "QAR",
                "RHD",
                "ROK",
                "ROL",
                "RON",
                "RSD",
                "RUB",
                "RUR",
                "RWF",
                "SAR",
                "SBD",
                "SCR",
                "SDD",
                "SDG",
                "SDP",
                "SEK",
                "SGD",
                "SHP",
                "SIT",
                "SKK",
                "SLL",
                "SOS",
                "SRD",
                "SRG",
                "SSP",
                "STD",
                "STN",
                "SUR",
                "SVC",
                "SYP",
                "SZL",
                "THB",
                "TJR",
                "TJS",
                "TMM",
                "TMT",
                "TND",
                "TOP",
                "TPE",
                "TRL",
                "TRY",
                "TTD",
                "TWD",
                "TZS",
                "UAH",
                "UAK",
                "UGS",
                "UGW",
                "UGX",
                "USD",
                "USN",
                "USS",
                "UYI",
                "UYN",
                "UYP",
                "UYU",
                "UZS",
                "VEB",
                "VEF",
                "VES",
                "VNC",
                "VND",
                "VUV",
                "WST",
                "XAF",
                "XAG",
                "XAU",
                "XBA",
                "XBB",
                "XBC",
                "XBD",
                "XCD",
                "XDR",
                "XEU",
                "XFO",
                "XFU",
                "XOF",
                "XPD",
                "XPF",
                "XPT",
                "XRE",
                "XSU",
                "XTS",
                "XUA",
                "XXX",
                "YDD",
                "YER",
                "YUD",
                "YUM",
                "YUN",
                "ZAL",
                "ZAR",
                "ZMK",
                "ZMW",
                "ZRN",
                "ZRZ",
                "ZWC",
                "ZWD",
                "ZWL",
                "ZWN",
                "ZWR"
            ],
            "title": "Currency"
        },
        "Transaction": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "description": "Identifier",
                    "weight": 0.001,
                    "title": "Identifier"
                },
                "transactionDate": {
                    "oneOf": [
                        {
                            "format": "date-time"
                        },
                        {
                            "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$"
                        }
                    ],
                    "type": "string",
                    "description": "When did this transaction take place? The date should be written as YYYY-MM-DD, or in full date-time format.",
                    "weight": 5,
                    "title": "Transaction Date"
                },
                "currency": {
                    "$ref": "#/definitions/currency"
                },
                "value": {
                    "type": "number",
                    "description": "The total value of this transaction.",
                    "weight": 6,
                    "title": "Value"
                },
                "valueDate": {
                    "oneOf": [
                        {
                            "format": "date-time"
                        },
                        {
                            "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$"
                        }
                    ],
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "The date that this value was set (to allow historical currency conversion). The date should be written as YYYY-MM-DD, or in full date-time format.",
                    "weight": 6.1,
                    "title": "Value Date"
                },
                "description": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "A description of this transaction.",
                    "weight": 9,
                    "title": "Description"
                },
                "provider": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "The organisation identifier of the provider of transaction funds.",
                    "weight": 0.6,
                    "title": "Provider"
                },
                "recipient": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "The organisation identifier of the recipient of transaction funds.",
                    "weight": 0.7,
                    "title": "Recipient"
                },
                "dateModified": {
                    "format": "date-time",
                    "type": "string",
                    "description": "When was information about this transaction last updated? A full date-time should be given. Usually this can be generated automatically by the software managing or exporting this data.",
                    "weight": 25,
                    "title": "Last Modified"
                }
            }
        },
        "Documents": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "description": "An identifier for this document.",
                    "weight": 0.001,
                    "title": "Identifier"
                },
                "title": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "The document title",
                    "weight": 1.05,
                    "title": "Title"
                },
                "url": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "format": "uri",
                    "description": "The URL of the document.",
                    "weight": 11.01,
                    "title": "Web Address"
                },
                "description": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "A description of the document",
                    "weight": 9,
                    "title": "Description"
                },
                "documentType": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "A document category. For example, 'Application Form', 'Photo' or 'Project Report'. In future, 360Giving will provide a codelist of document types.",
                    "weight": 0.8,
                    "title": "Document Type"
                },
                "dateModified": {
                    "format": "date-time",
                    "type": "string",
                    "description": "What was this information last modified? A full date-time should be given. Usually this can be generated automatically by the software managing or exporting this data.",
                    "weight": 25,
                    "title": "Last Modified"
                }
            }
        },
        "Location": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "description": "Location identifier",
                    "weight": 0.001,
                    "title": "Identifier"
                },
                "name": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "A name for this location.",
                    "weight": 1.1,
                    "title": "Name"
                },
                "countryCode": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "enum": [
                        "AF",
                        "AX",
                        "AL",
                        "DZ",
                        "AS",
                        "AD",
                        "AO",
                        "AI",
                        "AQ",
                        "AG",
                        "AR",
                        "AM",
                        "AW",
                        "AU",
                        "AT",
                        "AZ",
                        "BS",
                        "BH",
                        "BD",
                        "BB",
                        "BY",
                        "BE",
                        "BZ",
                        "BJ",
                        "BM",
                        "BT",
                        "BO",
                        "BQ",
                        "BA",
                        "BW",
                        "BV",
                        "BR",
                        "IO",
                        "BN",
                        "BG",
                        "BF",
                        "BI",
                        "KH",
                        "CM",
                        "CA",
                        "CV",
                        "KY",
                        "CF",
                        "TD",
                        "CL",
                        "CN",
                        "CX",
                        "CC",
                        "CO",
                        "KM",
                        "CG",
                        "CD",
                        "CK",
                        "CR",
                        "CI",
                        "HR",
                        "CU",
                        "CW",
                        "CY",
                        "CZ",
                        "DK",
                        "DJ",
                        "DM",
                        "DO",
                        "EC",
                        "EG",
                        "SV",
                        "GQ",
                        "ER",
                        "EE",
                        "ET",
                        "FK",
                        "FO",
                        "FJ",
                        "FI",
                        "FR",
                        "GF",
                        "PF",
                        "TF",
                        "GA",
                        "GM",
                        "GE",
                        "DE",
                        "GH",
                        "GI",
                        "GR",
                        "GL",
                        "GD",
                        "GP",
                        "GU",
                        "GT",
                        "GG",
                        "GN",
                        "GW",
                        "GY",
                        "HT",
                        "HM",
                        "VA",
                        "HN",
                        "HK",
                        "HU",
                        "IS",
                        "IN",
                        "ID",
                        "IR",
                        "IQ",
                        "IE",
                        "IM",
                        "IL",
                        "IT",
                        "JM",
                        "JP",
                        "JE",
                        "JO",
                        "KZ",
                        "KE",
                        "KI",
                        "KP",
                        "KR",
                        "KW",
                        "KG",
                        "LA",
                        "LV",
                        "LB",
                        "LS",
                        "LR",
                        "LY",
                        "LI",
                        "LT",
                        "LU",
                        "MO",
                        "MK",
                        "MG",
                        "MW",
                        "MY",
                        "MV",
                        "ML",
                        "MT",
                        "MH",
                        "MQ",
                        "MR",
                        "MU",
                        "YT",
                        "MX",
                        "FM",
                        "MD",
                        "MC",
                        "MN",
                        "ME",
                        "MS",
                        "MA",
                        "MZ",
                        "MM",
                        "NA",
                        "NR",
                        "NP",
                        "NL",
                        "NC",
                        "NZ",
                        "NI",
                        "NE",
                        "NG",
                        "NU",
                        "NF",
                        "MP",
                        "NO",
                        "OM",
                        "PK",
                        "PW",
                        "PS",
                        "PA",
                        "PG",
                        "PY",
                        "PE",
                        "PH",
                        "PN",
                        "PL",
                        "PT",
                        "PR",
                        "QA",
                        "RE",
                        "RO",
                        "RU",
                        "RW",
                        "BL",
                        "SH",
                        "KN",
                        "LC",
                        "MF",
                        "PM",
                        "VC",
                        "WS",
                        "SM",
                        "ST",
                        "SA",
                        "SN",
                        "RS",
                        "SC",
                        "SL",
                        "SG",
                        "SX",
                        "SK",
                        "SI",
                        "SB",
                        "SO",
                        "ZA",
                        "GS",
                        "SS",
                        "ES",
                        "LK",
                        "SD",
                        "SR",
                        "SJ",
                        "SZ",
                        "SE",
                        "CH",
                        "SY",
                        "TW",
                        "TJ",
                        "TZ",
                        "TH",
                        "TL",
                        "TG",
                        "TK",
                        "TO",
                        "TT",
                        "TN",
                        "TR",
                        "TM",
                        "TC",
                        "TV",
                        "UG",
                        "UA",
                        "AE",
                        "GB",
                        "US",
                        "UM",
                        "UY",
                        "UZ",
                        "VU",
                        "VE",
                        "VN",
                        "VG",
                        "VI",
                        "WF",
                        "EH",
                        "YE",
                        "ZM",
                        "ZW"
                    ],
                    "description": "The ISO Country Code of the location of this activity.",
                    "weight": 2,
                    "title": "Country Code"
                },
                "latitude": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "description": "The latitude of a point location",
                    "weight": 4.001,
                    "title": "Latitude"
                },
                "longitude": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "description": "The longitude of a point location",
                    "weight": 4.002,
                    "title": "Longitude"
                },
                "description": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "A description of this location. This could include details of the element of the activity that takes place here.",
                    "weight": 9,
                    "title": "Description"
                },
                "geoCode": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "A code referring to a geographical area, drawn from an established gazetteer. For example, the code for a local authority ward, or parliamentary constituency.",
                    "weight": 5,
                    "title": "Geographic Code"
                },
                "geoCodeType": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "The type of Geographic Code (geoCode) used (e.g. Ward, Parliamentary Constituency etc.). This value for this field should be drawn from the [codelist of geographic code types](https://github.com/ThreeSixtyGiving/standard/tree/master/codelists/geoCodeType.csv).",
                    "weight": 5.01,
                    "title": "Geographic Code Type"
                },
                "dateModified": {
                    "format": "date-time",
                    "type": "string",
                    "description": "When was this location information last modified? A full date-time should be given. Usually this can be generated automatically by the software managing or exporting this data.",
                    "weight": 25,
                    "title": "Last Modified"
                }
            }
        },
        "Classification": {
            "type": "object",
            "properties": {
                "vocabulary": {
                    "type": "string",
                    "description": "A vocabulary used for this classification.",
                    "weight": 8,
                    "title": "Vocabulary"
                },
                "code": {
                    "type": "string",
                    "description": "A codelist value in the chosen vocabulary.",
                    "weight": 9,
                    "title": "Code"
                },
                "title": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "The title of this classification.",
                    "weight": 1.05,
                    "title": "Title"
                },
                "description": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "A description of this classification.",
                    "weight": 9,
                    "title": "Description"
                },
                "url": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "format": "uri",
                    "description": "A web link to more details of this classification.",
                    "weight": 9,
                    "title": "URL"
                },
                "dateModified": {
                    "format": "date-time",
                    "type": "string",
                    "description": "When was this grant classification information last modified? A full date-time should be given. Usually this can be generated automatically by the software managing or exporting this data.",
                    "weight": 25,
                    "title": "Last Modified"
                }
            }
        },
        "GrantProgramme": {
            "type": "object",
            "properties": {
                "code": {
                    "type": "string",
                    "description": "An identifier for this grant programme.",
                    "weight": 9,
                    "title": "Code"
                },
                "title": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "The title of this grant programme.",
                    "weight": 1.05,
                    "title": "Title"
                },
                "description": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "A description of this grant programme.",
                    "weight": 9,
                    "title": "Description"
                },
                "url": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "format": "uri",
                    "description": "A web link to more details of this grant programme.",
                    "weight": 9,
                    "title": "URL"
                },
                "dateModified": {
                    "format": "date-time",
                    "type": "string",
                    "description": "When was the link between this grant and its grant programme last modified? A full date-time should be given. Usually this can be generated automatically by the software managing or exporting this data.",
                    "weight": 25,
                    "title": "Last Modified"
                }
            }
        },
        "Organization": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "string",
                    "description": "A globally unique identifier for this organisation. This is important to enable data on funders and recipients to be linked up across different grant-makers. The [Organisation Identifier Standard](http://www.threesixtygiving.org/standard/identifiers/#toc-organisation-identifier) guidance explains how to create this ID, based either on the known company or charity number, or upon identifiers held in the grant-maker's internal systems.",
                    "weight": 0.001,
                    "title": "Identifier"
                },
                "name": {
                    "type": "string",
                    "description": "Organisation name",
                    "weight": 1.1,
                    "title": "Name"
                },
                "department": {
                    "type": "string",
                    "description": "The department or sub-unit of this organisation making or receiving the grant.",
                    "title": "Department"
                },
                "contactName": {
                    "type": "string",
                    "description": "The contact person at this organisation.",
                    "weight": 2,
                    "title": "Contact Name"
                },
                "charityNumber": {
                    "type": "string",
                    "description": "Registered charity number, if applicable.",
                    "weight": 6.01,
                    "title": "Charity Number"
                },
                "companyNumber": {
                    "type": "string",
                    "description": "Registered UK company number, if applicable.",
                    "weight": 6.02,
                    "title": "Company Number"
                },
                "streetAddress": {
                    "type": "string",
                    "description": "Building number and street name.",
                    "weight": 3.1,
                    "title": "Street Address"
                },
                "addressLocality": {
                    "type": "string",
                    "description": "City or town.",
                    "weight": 3.2,
                    "title": "City"
                },
                "addressRegion": {
                    "type": "string",
                    "description": "County",
                    "weight": 3.3,
                    "title": "County"
                },
                "addressCountry": {
                    "type": "string",
                    "description": "Country",
                    "weight": 3.5,
                    "title": "Country"
                },
                "postalCode": {
                    "type": "string",
                    "description": "Postal code (please try and provide a post code whenever possible)",
                    "weight": 3.4,
                    "title": "Postal Code"
                },
                "telephone": {
                    "type": "string",
                    "description": "Contact phone number.",
                    "weight": 3.5,
                    "title": "Phone Number"
                },
                "alternateName": {
                    "type": "string",
                    "description": "An alternative name for this organisation (e.g. trading name)",
                    "weight": 6,
                    "title": "Alternate Name"
                },
                "email": {
                    "type": "string",
                    "description": "The email address for this organisation.",
                    "weight": 5,
                    "title": "Email"
                },
                "description": {
                    "type": "string",
                    "description": "A short description of this organisation and its area of work",
                    "weight": 9,
                    "title": "Description"
                },
                "organisationType": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "description": "A description of this organisation",
                    "weight": 5,
                    "title": "Organisation Type"
                },
                "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "A web address for the Organisation",
                    "weight": 11.01,
                    "title": "Web Address"
                },
                "location": {
                    "items": {
                        "$ref": "#/definitions/Location"
                    },
                    "type": "array",
                    "description": "-",
                    "weight": 5,
                    "title": "Location"
                },
                "dateModified": {
                    "format": "date-time",
                    "type": "string",
                    "description": "When was the organisation information for this grant last modified? A full date-time should be given. Usually this can be generated automatically by the software managing or exporting this data.",
                    "weight": 25,
                    "title": "Last Modified"
                }
            }
        },
        "Event": {
            "definitions": {},
            "type": "object",
            "title": "Event",
            "description": "An event in the life of the grant activity",
            "properties": {
                "title": {
                    "type": "string",
                    "title": "Title",
                    "description": "The title of this event",
                    "weight": 1.05
                },
                "startDate": {
                    "oneOf": [
                        {
                            "format": "date-time"
                        },
                        {
                            "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$"
                        },
                        {
                            "pattern": "^[0-9]{4}(-(0[1-9]|1[012]))?$"
                        }
                    ],
                    "type": "string",
                    "description": "All events should have a start date. Dates should be in YYYY-MM-DD or date-time format. If the month or day are not available, these may be omitted.",
                    "weight": 4.1,
                    "title": "Start Date"
                },
                "endDate": {
                    "oneOf": [
                        {
                            "format": "date-time"
                        },
                        {
                            "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$"
                        },
                        {
                            "pattern": "^[0-9]{4}(-(0[1-9]|1[012]))?$"
                        }
                    ],
                    "type": "string",
                    "description": "An end date for the grant. Dates should be in YYYY-MM-DD or date-time format. If the month or day are not available, these may be omitted.",
                    "weight": 4.3,
                    "title": "End Date"
                },
                "duration": {
                    "type": "number",
                    "minimum": 0,
                    "description": "The duration of the grant, in months. Must be in number format.",
                    "weight": 4.2,
                    "title": "Duration (months)"
                },
                "description": {
                    "type": "string",
                    "description": "A description of this event",
                    "weight": 9,
                    "title": "Description"
                },
                "dateModified": {
                    "format": "date-time",
                    "type": "string",
                    "description": "When was information about this event last modified? A full date-time should be given. Usually this can be generated automatically by the software managing or exporting this data.",
                    "weight": 25,
                    "title": "Last Modified"
                }
            }
        },
        "DEIResponse": {
            "type": "object",
            "title": "DEI Response",
            "description": "A response to a DEI Application area, containing information such as the taxonomy codes selected and any lived experience or geography responses.",
            "properties": {
                "taxonomyCodes": {
                    "title": "Taxonomy Codes",
                    "description": "The Taxonomy Codes selected from the DEI Taxonomies",
                    "type": "array",
                    "items": {
                        "type": "string",
                        "codelist": "taxonomyCodes.csv",
                        "openCodelist": false
                    },
                    "uniqueItems": true
                },
                "livedExperience": {
                    "type": "string",
                    "title": "Lived Experience",
                    "description": "Description provided that are not drawn from a vocabulary but instead derived from lived experience"
                },
                "geography": {
                    "type": "string",
                    "title": "Geography",
                    "description": "Description provided that are not drawn from a vocabulary but instead drawn from Geography"
                }
            }
        },
        "DEIApplicationArea": {
            "type": "object",
            "title": "DEI Application Area",
            "description": "A DEI Application area used to collect information about whether a particular question was asked, responded to, and additional information. It also contains the response information under the Response fields.",
            "required": [
                "askedStatus"
            ],
            "properties": {
                "askedStatus": {
                    "type": "string",
                    "title": "Asked Status",
                    "description": "A code referring to how this question was asked. The value for this field should be drawn from the Asked Status codelist.",
                    "codelist": "askedStatus.csv",
                    "openCodelist": false
                },
                "replyStatus": {
                    "type": "string",
                    "title": "Reply Status",
                    "description": "A code referring to the status of the reply to this question. The value for this field should be drawn from the Reply Status codelist.",
                    "codelist": "replyStatus.csv",
                    "openCodelist": false
                },
                "availableOptions": {
                    "type": "array",
                    "title": "Available Options",
                    "description": "Code(s) referring to options which were available when the question was asked. The value for these codes should be drawn from the Available Options codelist.",
                    "items": {
                        "type": "string",
                        "codelist": "availableOptions.csv",
                        "openCodelist": false
                    },
                    "uniqueItems": true
                },
                "purposes": {
                    "type": "string",
                    "title": "Purposes",
                    "description": "The purposes of collecting this data."
                },
                "additionalDetails": {
                    "type": "string",
                    "title": "Additional Details",
                    "description": "A free text field to include any additional details or rationales that may be important to this context."
                },
                "response": {
                    "type": "object",
                    "title": "DEI Response",
                    "description": "A response to a DEI Application area, containing information such as the taxonomy codes selected and any lived experience or geography responses.",
                    "properties": {
                        "taxonomyCodes": {
                            "title": "Taxonomy Codes",
                            "description": "The Taxonomy Codes selected from the DEI Taxonomies",
                            "type": "array",
                            "items": {
                                "type": "string",
                                "codelist": "taxonomyCodes.csv",
                                "openCodelist": false
                            },
                            "uniqueItems": true
                        },
                        "livedExperience": {
                            "type": "string",
                            "title": "Lived Experience",
                            "description": "Description provided that are not drawn from a vocabulary but instead derived from lived experience"
                        },
                        "geography": {
                            "type": "string",
                            "title": "Geography",
                            "description": "Description provided that are not drawn from a vocabulary but instead drawn from Geography"
                        }
                    }
                }
            }
        },
        "DEIDetails": {
            "type": "object",
            "title": "DEI Details",
            "description": "The DEI Details for this grant. Contains information about separate application areas and the responses to them.",
            "required": [
                "leadership",
                "mission",
                "project"
            ],
            "properties": {
                "leadership": {
                    "type": "object",
                    "title": "DEI Application Area",
                    "description": "A DEI Application area used to collect information about whether a particular question was asked, responded to, and additional information. It also contains the response information under the Response fields.",
                    "required": [
                        "askedStatus"
                    ],
                    "properties": {
                        "askedStatus": {
                            "type": "string",
                            "title": "Asked Status",
                            "description": "A code referring to how this question was asked. The value for this field should be drawn from the Asked Status codelist.",
                            "codelist": "askedStatus.csv",
                            "openCodelist": false
                        },
                        "replyStatus": {
                            "type": "string",
                            "title": "Reply Status",
                            "description": "A code referring to the status of the reply to this question. The value for this field should be drawn from the Reply Status codelist.",
                            "codelist": "replyStatus.csv",
                            "openCodelist": false
                        },
                        "availableOptions": {
                            "type": "array",
                            "title": "Available Options",
                            "description": "Code(s) referring to options which were available when the question was asked. The value for these codes should be drawn from the Available Options codelist.",
                            "items": {
                                "type": "string",
                                "codelist": "availableOptions.csv",
                                "openCodelist": false
                            },
                            "uniqueItems": true
                        },
                        "purposes": {
                            "type": "string",
                            "title": "Purposes",
                            "description": "The purposes of collecting this data."
                        },
                        "additionalDetails": {
                            "type": "string",
                            "title": "Additional Details",
                            "description": "A free text field to include any additional details or rationales that may be important to this context."
                        },
                        "response": {
                            "type": "object",
                            "title": "DEI Response",
                            "description": "A response to a DEI Application area, containing information such as the taxonomy codes selected and any lived experience or geography responses.",
                            "properties": {
                                "taxonomyCodes": {
                                    "title": "Taxonomy Codes",
                                    "description": "The Taxonomy Codes selected from the DEI Taxonomies",
                                    "type": "array",
                                    "items": {
                                        "type": "string",
                                        "codelist": "taxonomyCodes.csv",
                                        "openCodelist": false
                                    },
                                    "uniqueItems": true
                                },
                                "livedExperience": {
                                    "type": "string",
                                    "title": "Lived Experience",
                                    "description": "Description provided that are not drawn from a vocabulary but instead derived from lived experience"
                                },
                                "geography": {
                                    "type": "string",
                                    "title": "Geography",
                                    "description": "Description provided that are not drawn from a vocabulary but instead drawn from Geography"
                                }
                            }
                        }
                    }
                },
                "mission": {
                    "type": "object",
                    "title": "DEI Application Area",
                    "description": "A DEI Application area used to collect information about whether a particular question was asked, responded to, and additional information. It also contains the response information under the Response fields.",
                    "required": [
                        "askedStatus"
                    ],
                    "properties": {
                        "askedStatus": {
                            "type": "string",
                            "title": "Asked Status",
                            "description": "A code referring to how this question was asked. The value for this field should be drawn from the Asked Status codelist.",
                            "codelist": "askedStatus.csv",
                            "openCodelist": false
                        },
                        "replyStatus": {
                            "type": "string",
                            "title": "Reply Status",
                            "description": "A code referring to the status of the reply to this question. The value for this field should be drawn from the Reply Status codelist.",
                            "codelist": "replyStatus.csv",
                            "openCodelist": false
                        },
                        "availableOptions": {
                            "type": "array",
                            "title": "Available Options",
                            "description": "Code(s) referring to options which were available when the question was asked. The value for these codes should be drawn from the Available Options codelist.",
                            "items": {
                                "type": "string",
                                "codelist": "availableOptions.csv",
                                "openCodelist": false
                            },
                            "uniqueItems": true
                        },
                        "purposes": {
                            "type": "string",
                            "title": "Purposes",
                            "description": "The purposes of collecting this data."
                        },
                        "additionalDetails": {
                            "type": "string",
                            "title": "Additional Details",
                            "description": "A free text field to include any additional details or rationales that may be important to this context."
                        },
                        "response": {
                            "type": "object",
                            "title": "DEI Response",
                            "description": "A response to a DEI Application area, containing information such as the taxonomy codes selected and any lived experience or geography responses.",
                            "properties": {
                                "taxonomyCodes": {
                                    "title": "Taxonomy Codes",
                                    "description": "The Taxonomy Codes selected from the DEI Taxonomies",
                                    "type": "array",
                                    "items": {
                                        "type": "string",
                                        "codelist": "taxonomyCodes.csv",
                                        "openCodelist": false
                                    },
                                    "uniqueItems": true
                                },
                                "livedExperience": {
                                    "type": "string",
                                    "title": "Lived Experience",
                                    "description": "Description provided that are not drawn from a vocabulary but instead derived from lived experience"
                                },
                                "geography": {
                                    "type": "string",
                                    "title": "Geography",
                                    "description": "Description provided that are not drawn from a vocabulary but instead drawn from Geography"
                                }
                            }
                        }
                    }
                },
                "project": {
                    "type": "object",
                    "title": "DEI Application Area",
                    "description": "A DEI Application area used to collect information about whether a particular question was asked, responded to, and additional information. It also contains the response information under the Response fields.",
                    "required": [
                        "askedStatus"
                    ],
                    "properties": {
                        "askedStatus": {
                            "type": "string",
                            "title": "Asked Status",
                            "description": "A code referring to how this question was asked. The value for this field should be drawn from the Asked Status codelist.",
                            "codelist": "askedStatus.csv",
                            "openCodelist": false
                        },
                        "replyStatus": {
                            "type": "string",
                            "title": "Reply Status",
                            "description": "A code referring to the status of the reply to this question. The value for this field should be drawn from the Reply Status codelist.",
                            "codelist": "replyStatus.csv",
                            "openCodelist": false
                        },
                        "availableOptions": {
                            "type": "array",
                            "title": "Available Options",
                            "description": "Code(s) referring to options which were available when the question was asked. The value for these codes should be drawn from the Available Options codelist.",
                            "items": {
                                "type": "string",
                                "codelist": "availableOptions.csv",
                                "openCodelist": false
                            },
                            "uniqueItems": true
                        },
                        "purposes": {
                            "type": "string",
                            "title": "Purposes",
                            "description": "The purposes of collecting this data."
                        },
                        "additionalDetails": {
                            "type": "string",
                            "title": "Additional Details",
                            "description": "A free text field to include any additional details or rationales that may be important to this context."
                        },
                        "response": {
                            "type": "object",
                            "title": "DEI Response",
                            "description": "A response to a DEI Application area, containing information such as the taxonomy codes selected and any lived experience or geography responses.",
                            "properties": {
                                "taxonomyCodes": {
                                    "title": "Taxonomy Codes",
                                    "description": "The Taxonomy Codes selected from the DEI Taxonomies",
                                    "type": "array",
                                    "items": {
                                        "type": "string",
                                        "codelist": "taxonomyCodes.csv",
                                        "openCodelist": false
                                    },
                                    "uniqueItems": true
                                },
                                "livedExperience": {
                                    "type": "string",
                                    "title": "Lived Experience",
                                    "description": "Description provided that are not drawn from a vocabulary but instead derived from lived experience"
                                },
                                "geography": {
                                    "type": "string",
                                    "title": "Geography",
                                    "description": "Description provided that are not drawn from a vocabulary but instead drawn from Geography"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "required": [
        "id",
        "title",
        "description",
        "currency",
        "amountAwarded",
        "awardDate",
        "recipientOrganization",
        "fundingOrganization"
    ],
    "properties": {
        "id": {
            "type": "string",
            "description": "The unique identifier for this grant. Made up of your 360Giving prefix, and an identifier from your records. See the [360Giving Grant identifier guidance](http://www.threesixtygiving.org/standard/identifiers/#toc-grant-identifier) for details.",
            "weight": 0.001,
            "title": "Identifier"
        },
        "title": {
            "type": "string",
            "description": "A title for this grant activity. This should be under 140 characters long.",
            "weight": 1.05,
            "title": "Title"
        },
        "description": {
            "type": "string",
            "description": "A short description of this grant activity.",
            "weight": 9,
            "title": "Description"
        },
        "currency": {
            "$ref": "#/definitions/currency"
        },
        "amountAppliedFor": {
            "type": "number",
            "description": "Total amount applied for in numbers (do not include commas or currency symbols such as \u00a3). If you have provided detailed transaction information on a separate table, this should equal the sum of all the application transactions for this grant.",
            "weight": 5.03,
            "title": "Amount Applied For"
        },
        "amountAwarded": {
            "type": "number",
            "description": "Total amount awarded in numbers (do not include commas or currency symbols such as \u00a3). If you have provided detailed transaction information on a separate table, this should equal the sum of all the award transactions for this grant.",
            "weight": 5.04,
            "title": "Amount Awarded"
        },
        "amountDisbursed": {
            "type": "number",
            "description": "Total amount disbursed (paid) to this grantee when this record was last updated (in numbers: do not include commas or currency symbols such as \u00a3)). If you have provided detailed transaction information on a separate table, this should equal the sum of all the disbursement transactions for this grant.",
            "weight": 5.04,
            "title": "Amount Disbursed"
        },
        "awardDate": {
            "oneOf": [
                {
                    "format": "date-time"
                },
                {
                    "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$"
                }
            ],
            "type": "string",
            "description": "When was the decision to award this grant made. The date should be written as YYYY-MM-DD, or in full date-time format.",
            "weight": 4.3,
            "title": "Award Date"
        },
        "url": {
            "type": "string",
            "format": "uri",
            "description": "A URL (Web Address) where further information about this grant can be found. This could point to the website of the recipient organisation, or might link to further details on the funders website.",
            "weight": 11.01,
            "title": "URL"
        },
        "plannedDates": {
            "items": {
                "$ref": "#/definitions/Event"
            },
            "type": "array",
            "weight": 5.041,
            "title": "Planned Dates",
            "description": "When the recipient organisation intends this activity to take place. A date range can include a start date and duration in months, or a start and end date.",
            "rollUp": [
                "startDate",
                "endDate",
                "duration"
            ]
        },
        "actualDates": {
            "items": {
                "$ref": "#/definitions/Event"
            },
            "type": "array",
            "description": "When did this grant activity actually take place. Dates should be in YYYY-MM-DD format. A date range can include a start date and duration in months, or a start and end date.",
            "weight": 5.041,
            "title": "Actual Dates"
        },
        "recipientOrganization": {
            "items": {
                "$ref": "#/definitions/Organization"
            },
            "minItems": 1,
            "type": "array",
            "weight": 5,
            "title": "Recipient Org",
            "description": "Details of the recipient of this grant.",
            "rollUp": [
                "id",
                "name",
                "charityNumber",
                "companyNumber",
                "streetAddress",
                "addressLocality",
                "addressRegion",
                "postalCode",
                "addressCountry",
                "description",
                "url"
            ]
        },
        "beneficiaryLocation": {
            "items": {
                "$ref": "#/definitions/Location"
            },
            "type": "array",
            "weight": 6.01,
            "title": "Beneficiary Location",
            "description": "Information about the location of beneficiaries. Further information about beneficiaries can be provided through classifications.",
            "rollUp": [
                "name",
                "countryCode",
                "latitude",
                "longitude",
                "geoCode",
                "geoCodeType"
            ]
        },
        "fundingOrganization": {
            "items": {
                "$ref": "#/definitions/Organization"
            },
            "minItems": 1,
            "type": "array",
            "description": "Details of the funder",
            "weight": 4,
            "title": "Funding Org",
            "rollUp": [
                "id",
                "name",
                "department"
            ]
        },
        "grantProgramme": {
            "items": {
                "$ref": "#/definitions/GrantProgramme"
            },
            "type": "array",
            "description": "-",
            "weight": 5,
            "title": "Grant Programme",
            "rollUp": [
                "code",
                "title",
                "url"
            ]
        },
        "fromOpenCall": {
            "type": "string",
            "enum": [
                "Yes",
                "No"
            ],
            "description": "Was this grant made as the result of an open call for applications? Values should be 'Yes' or 'No'",
            "weight": 12,
            "title": "From An Open Call?"
        },
        "fundingType": {
            "items": {
                "$ref": "#/definitions/Classification"
            },
            "type": "array",
            "description": "-",
            "weight": 5,
            "title": "Funding Type"
        },
        "classifications": {
            "items": {
                "$ref": "#/definitions/Classification"
            },
            "type": "array",
            "description": "-",
            "weight": 5,
            "title": "Classifications"
        },
        "relatedDocument": {
            "items": {
                "$ref": "#/definitions/Documents"
            },
            "type": "array",
            "description": "-",
            "weight": 5,
            "title": "Related Document"
        },
        "applicationTransaction": {
            "items": {
                "$ref": "#/definitions/Transaction"
            },
            "type": "array",
            "description": "-",
            "weight": 5.02
        },
        "commitmentTransaction": {
            "items": {
                "$ref": "#/definitions/Transaction"
            },
            "type": "array",
            "description": "-",
            "weight": 5.02
        },
        "disbursementTransaction": {
            "items": {
                "$ref": "#/definitions/Transaction"
            },
            "type": "array",
            "description": "-",
            "weight": 5
        },
        "relatedActivity": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "The identifiers of any related activities (e.g. other grants given as part of a multi-grant project)",
            "weight": 15,
            "title": "Related Activity"
        },
        "dateModified": {
            "format": "date-time",
            "type": "string",
            "description": "When was information on this grant last updated? A full date-time should be given. Usually this can be generated automatically by the software managing or exporting this data.",
            "weight": 25,
            "title": "Last Modified"
        },
        "dataSource": {
            "format": "uri",
            "type": [
                "string",
                "null"
            ],
            "description": "A web link pointing to the source of this data. This may be an original 360Giving data file, a file from which the data was converted, or an organisation website.",
            "weight": 25,
            "title": "Data Source"
        },
        "deiDetails": {
            "type": "object",
            "title": "DEI Details",
            "description": "The DEI Details for this grant. Contains information about separate application areas and the responses to them.",
            "required": [
                "leadership",
                "mission",
                "project"
            ],
            "properties": {
                "leadership": {
                    "type": "object",
                    "title": "DEI Application Area",
                    "description": "A DEI Application area used to collect information about whether a particular question was asked, responded to, and additional information. It also contains the response information under the Response fields.",
                    "required": [
                        "askedStatus"
                    ],
                    "properties": {
                        "askedStatus": {
                            "type": "string",
                            "title": "Asked Status",
                            "description": "A code referring to how this question was asked. The value for this field should be drawn from the Asked Status codelist.",
                            "codelist": "askedStatus.csv",
                            "openCodelist": false,
                            "enum": [
                                "AS100",
                                "AS101",
                                "AS200",
                                "AS201"
                            ]
                        },
                        "replyStatus": {
                            "type": "string",
                            "title": "Reply Status",
                            "description": "A code referring to the status of the reply to this question. The value for this field should be drawn from the Reply Status codelist.",
                            "codelist": "replyStatus.csv",
                            "openCodelist": false,
                            "enum": [
                                "RS100",
                                "RS200",
                                "RS201",
                                "RS202",
                                "RS203"
                            ]
                        },
                        "availableOptions": {
                            "type": "array",
                            "title": "Available Options",
                            "description": "Code(s) referring to options which were available when the question was asked. The value for these codes should be drawn from the Available Options codelist.",
                            "items": {
                                "type": "string",
                                "codelist": "availableOptions.csv",
                                "openCodelist": false,
                                "enum": [
                                    "AO100",
                                    "AO101",
                                    "AO102",
                                    "AO200",
                                    "AO201",
                                    "AO300",
                                    "AO301"
                                ]
                            },
                            "uniqueItems": true
                        },
                        "purposes": {
                            "type": "string",
                            "title": "Purposes",
                            "description": "The purposes of collecting this data."
                        },
                        "additionalDetails": {
                            "type": "string",
                            "title": "Additional Details",
                            "description": "A free text field to include any additional details or rationales that may be important to this context."
                        },
                        "response": {
                            "type": "object",
                            "title": "DEI Response",
                            "description": "A response to a DEI Application area, containing information such as the taxonomy codes selected and any lived experience or geography responses.",
                            "properties": {
                                "taxonomyCodes": {
                                    "title": "Taxonomy Codes",
                                    "description": "The Taxonomy Codes selected from the DEI Taxonomies",
                                    "type": "array",
                                    "items": {
                                        "type": "string",
                                        "codelist": "taxonomyCodes.csv",
                                        "openCodelist": false,
                                        "enum": [
                                            "DEI010000",
                                            "DEI010100",
                                            "DEI010110",
                                            "DEI010120",
                                            "DEI010199",
                                            "DEI010200",
                                            "DEI010210",
                                            "DEI010220",
                                            "DEI010299",
                                            "DEI010300",
                                            "DEI010310",
                                            "DEI010320",
                                            "DEI010330",
                                            "DEI010340",
                                            "DEI010399",
                                            "DEI019900",
                                            "DEI019910",
                                            "DEI019920",
                                            "DEI019930",
                                            "DEI019999",
                                            "DEI020000",
                                            "DEI020100",
                                            "DEI020110",
                                            "DEI020120",
                                            "DEI020130",
                                            "DEI020140",
                                            "DEI020200",
                                            "DEI020300",
                                            "DEI020310",
                                            "DEI020320",
                                            "DEI020330",
                                            "DEI020400",
                                            "DEI029900",
                                            "DEI030000",
                                            "DEI030100",
                                            "DEI030200",
                                            "DEI030300",
                                            "DEI030400",
                                            "DEI030500",
                                            "DEI030600",
                                            "DEI030700",
                                            "DEI030800",
                                            "DEI030900",
                                            "DEI031000",
                                            "DEI039900",
                                            "DEI040000",
                                            "DEI040100",
                                            "DEI040110",
                                            "DEI040120",
                                            "DEI040200",
                                            "DEI040300",
                                            "DEI040400",
                                            "DEI040410",
                                            "DEI040420",
                                            "DEI040500",
                                            "DEI049900",
                                            "DEI050000",
                                            "DEI050100",
                                            "DEI050200",
                                            "DEI050300",
                                            "DEI059900",
                                            "DEI060000",
                                            "DEI070000",
                                            "DEI070100",
                                            "DEI070200",
                                            "DEI070300",
                                            "DEI070400",
                                            "DEI080000",
                                            "DEI090000",
                                            "DEI700000",
                                            "DEI800010",
                                            "DEI800020",
                                            "DEI800030"
                                        ]
                                    },
                                    "uniqueItems": true
                                },
                                "livedExperience": {
                                    "type": "string",
                                    "title": "Lived Experience",
                                    "description": "Description provided that are not drawn from a vocabulary but instead derived from lived experience"
                                },
                                "geography": {
                                    "type": "string",
                                    "title": "Geography",
                                    "description": "Description provided that are not drawn from a vocabulary but instead drawn from Geography"
                                }
                            }
                        }
                    }
                },
                "mission": {
                    "type": "object",
                    "title": "DEI Application Area",
                    "description": "A DEI Application area used to collect information about whether a particular question was asked, responded to, and additional information. It also contains the response information under the Response fields.",
                    "required": [
                        "askedStatus"
                    ],
                    "properties": {
                        "askedStatus": {
                            "type": "string",
                            "title": "Asked Status",
                            "description": "A code referring to how this question was asked. The value for this field should be drawn from the Asked Status codelist.",
                            "codelist": "askedStatus.csv",
                            "openCodelist": false,
                            "enum": [
                                "AS100",
                                "AS101",
                                "AS200",
                                "AS201"
                            ]
                        },
                        "replyStatus": {
                            "type": "string",
                            "title": "Reply Status",
                            "description": "A code referring to the status of the reply to this question. The value for this field should be drawn from the Reply Status codelist.",
                            "codelist": "replyStatus.csv",
                            "openCodelist": false,
                            "enum": [
                                "RS100",
                                "RS200",
                                "RS201",
                                "RS202",
                                "RS203"
                            ]
                        },
                        "availableOptions": {
                            "type": "array",
                            "title": "Available Options",
                            "description": "Code(s) referring to options which were available when the question was asked. The value for these codes should be drawn from the Available Options codelist.",
                            "items": {
                                "type": "string",
                                "codelist": "availableOptions.csv",
                                "openCodelist": false,
                                "enum": [
                                    "AO100",
                                    "AO101",
                                    "AO102",
                                    "AO200",
                                    "AO201",
                                    "AO300",
                                    "AO301"
                                ]
                            },
                            "uniqueItems": true
                        },
                        "purposes": {
                            "type": "string",
                            "title": "Purposes",
                            "description": "The purposes of collecting this data."
                        },
                        "additionalDetails": {
                            "type": "string",
                            "title": "Additional Details",
                            "description": "A free text field to include any additional details or rationales that may be important to this context."
                        },
                        "response": {
                            "type": "object",
                            "title": "DEI Response",
                            "description": "A response to a DEI Application area, containing information such as the taxonomy codes selected and any lived experience or geography responses.",
                            "properties": {
                                "taxonomyCodes": {
                                    "title": "Taxonomy Codes",
                                    "description": "The Taxonomy Codes selected from the DEI Taxonomies",
                                    "type": "array",
                                    "items": {
                                        "type": "string",
                                        "codelist": "taxonomyCodes.csv",
                                        "openCodelist": false,
                                        "enum": [
                                            "DEI010000",
                                            "DEI010100",
                                            "DEI010110",
                                            "DEI010120",
                                            "DEI010199",
                                            "DEI010200",
                                            "DEI010210",
                                            "DEI010220",
                                            "DEI010299",
                                            "DEI010300",
                                            "DEI010310",
                                            "DEI010320",
                                            "DEI010330",
                                            "DEI010340",
                                            "DEI010399",
                                            "DEI019900",
                                            "DEI019910",
                                            "DEI019920",
                                            "DEI019930",
                                            "DEI019999",
                                            "DEI020000",
                                            "DEI020100",
                                            "DEI020110",
                                            "DEI020120",
                                            "DEI020130",
                                            "DEI020140",
                                            "DEI020200",
                                            "DEI020300",
                                            "DEI020310",
                                            "DEI020320",
                                            "DEI020330",
                                            "DEI020400",
                                            "DEI029900",
                                            "DEI030000",
                                            "DEI030100",
                                            "DEI030200",
                                            "DEI030300",
                                            "DEI030400",
                                            "DEI030500",
                                            "DEI030600",
                                            "DEI030700",
                                            "DEI030800",
                                            "DEI030900",
                                            "DEI031000",
                                            "DEI039900",
                                            "DEI040000",
                                            "DEI040100",
                                            "DEI040110",
                                            "DEI040120",
                                            "DEI040200",
                                            "DEI040300",
                                            "DEI040400",
                                            "DEI040410",
                                            "DEI040420",
                                            "DEI040500",
                                            "DEI049900",
                                            "DEI050000",
                                            "DEI050100",
                                            "DEI050200",
                                            "DEI050300",
                                            "DEI059900",
                                            "DEI060000",
                                            "DEI070000",
                                            "DEI070100",
                                            "DEI070200",
                                            "DEI070300",
                                            "DEI070400",
                                            "DEI080000",
                                            "DEI090000",
                                            "DEI700000",
                                            "DEI800010",
                                            "DEI800020",
                                            "DEI800030"
                                        ]
                                    },
                                    "uniqueItems": true
                                },
                                "livedExperience": {
                                    "type": "string",
                                    "title": "Lived Experience",
                                    "description": "Description provided that are not drawn from a vocabulary but instead derived from lived experience"
                                },
                                "geography": {
                                    "type": "string",
                                    "title": "Geography",
                                    "description": "Description provided that are not drawn from a vocabulary but instead drawn from Geography"
                                }
                            }
                        }
                    }
                },
                "project": {
                    "type": "object",
                    "title": "DEI Application Area",
                    "description": "A DEI Application area used to collect information about whether a particular question was asked, responded to, and additional information. It also contains the response information under the Response fields.",
                    "required": [
                        "askedStatus"
                    ],
                    "properties": {
                        "askedStatus": {
                            "type": "string",
                            "title": "Asked Status",
                            "description": "A code referring to how this question was asked. The value for this field should be drawn from the Asked Status codelist.",
                            "codelist": "askedStatus.csv",
                            "openCodelist": false,
                            "enum": [
                                "AS100",
                                "AS101",
                                "AS200",
                                "AS201"
                            ]
                        },
                        "replyStatus": {
                            "type": "string",
                            "title": "Reply Status",
                            "description": "A code referring to the status of the reply to this question. The value for this field should be drawn from the Reply Status codelist.",
                            "codelist": "replyStatus.csv",
                            "openCodelist": false,
                            "enum": [
                                "RS100",
                                "RS200",
                                "RS201",
                                "RS202",
                                "RS203"
                            ]
                        },
                        "availableOptions": {
                            "type": "array",
                            "title": "Available Options",
                            "description": "Code(s) referring to options which were available when the question was asked. The value for these codes should be drawn from the Available Options codelist.",
                            "items": {
                                "type": "string",
                                "codelist": "availableOptions.csv",
                                "openCodelist": false,
                                "enum": [
                                    "AO100",
                                    "AO101",
                                    "AO102",
                                    "AO200",
                                    "AO201",
                                    "AO300",
                                    "AO301"
                                ]
                            },
                            "uniqueItems": true
                        },
                        "purposes": {
                            "type": "string",
                            "title": "Purposes",
                            "description": "The purposes of collecting this data."
                        },
                        "additionalDetails": {
                            "type": "string",
                            "title": "Additional Details",
                            "description": "A free text field to include any additional details or rationales that may be important to this context."
                        },
                        "response": {
                            "type": "object",
                            "title": "DEI Response",
                            "description": "A response to a DEI Application area, containing information such as the taxonomy codes selected and any lived experience or geography responses.",
                            "properties": {
                                "taxonomyCodes": {
                                    "title": "Taxonomy Codes",
                                    "description": "The Taxonomy Codes selected from the DEI Taxonomies",
                                    "type": "array",
                                    "items": {
                                        "type": "string",
                                        "codelist": "taxonomyCodes.csv",
                                        "openCodelist": false,
                                        "enum": [
                                            "DEI010000",
                                            "DEI010100",
                                            "DEI010110",
                                            "DEI010120",
                                            "DEI010199",
                                            "DEI010200",
                                            "DEI010210",
                                            "DEI010220",
                                            "DEI010299",
                                            "DEI010300",
                                            "DEI010310",
                                            "DEI010320",
                                            "DEI010330",
                                            "DEI010340",
                                            "DEI010399",
                                            "DEI019900",
                                            "DEI019910",
                                            "DEI019920",
                                            "DEI019930",
                                            "DEI019999",
                                            "DEI020000",
                                            "DEI020100",
                                            "DEI020110",
                                            "DEI020120",
                                            "DEI020130",
                                            "DEI020140",
                                            "DEI020200",
                                            "DEI020300",
                                            "DEI020310",
                                            "DEI020320",
                                            "DEI020330",
                                            "DEI020400",
                                            "DEI029900",
                                            "DEI030000",
                                            "DEI030100",
                                            "DEI030200",
                                            "DEI030300",
                                            "DEI030400",
                                            "DEI030500",
                                            "DEI030600",
                                            "DEI030700",
                                            "DEI030800",
                                            "DEI030900",
                                            "DEI031000",
                                            "DEI039900",
                                            "DEI040000",
                                            "DEI040100",
                                            "DEI040110",
                                            "DEI040120",
                                            "DEI040200",
                                            "DEI040300",
                                            "DEI040400",
                                            "DEI040410",
                                            "DEI040420",
                                            "DEI040500",
                                            "DEI049900",
                                            "DEI050000",
                                            "DEI050100",
                                            "DEI050200",
                                            "DEI050300",
                                            "DEI059900",
                                            "DEI060000",
                                            "DEI070000",
                                            "DEI070100",
                                            "DEI070200",
                                            "DEI070300",
                                            "DEI070400",
                                            "DEI080000",
                                            "DEI090000",
                                            "DEI700000",
                                            "DEI800010",
                                            "DEI800020",
                                            "DEI800030"
                                        ]
                                    },
                                    "uniqueItems": true
                                },
                                "livedExperience": {
                                    "type": "string",
                                    "title": "Lived Experience",
                                    "description": "Description provided that are not drawn from a vocabulary but instead derived from lived experience"
                                },
                                "geography": {
                                    "type": "string",
                                    "title": "Geography",
                                    "description": "Description provided that are not drawn from a vocabulary but instead drawn from Geography"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}