-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 434d278.
- Loading branch information
Matt Marshall
committed
Oct 18, 2023
1 parent
434d278
commit aafdd58
Showing
2 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "standard"] | ||
path = standard | ||
url = https://github.com/ThreeSixtyGiving/standard.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"definitions": { | ||
"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 | ||
}, | ||
"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. The value for these codes should be drawn from the Taxonomy Codes codelist.", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"codelist": "taxonomyCodes.csv", | ||
"openCodelist": false | ||
}, | ||
"uniqueItems": true | ||
}, | ||
"livedExperience": { | ||
"type": "string", | ||
"title": "Lived Experience", | ||
"description": "A free text description of other types of lived experience that is not drawn from the Taxonomy." | ||
}, | ||
"geography": { | ||
"type": "string", | ||
"title": "Geography", | ||
"description": "A free text description that is not drawn from a vocabulary but instead relates to a particular geographical area." | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"properties": { | ||
"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": { | ||
"deiVersion": { | ||
"type": "string", | ||
"title": "DEI Data Standard Version", | ||
"description": "The version of the DEI Data Standard that this data uses e.g. 1.1", | ||
"pattern": "^[1-9]+\\.[1-9]\\d*$" | ||
}, | ||
"purposes": { | ||
"type": "string", | ||
"title": "Purposes", | ||
"description": "The purposes of collecting this data." | ||
}, | ||
"leadership": { | ||
"$ref": "#/definitions/DeiApplicationArea" | ||
}, | ||
"mission": { | ||
"$ref": "#/definitions/DeiApplicationArea" | ||
}, | ||
"project": { | ||
"$ref": "#/definitions/DeiApplicationArea" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |