Skip to content

Commit

Permalink
Revert "removed submodule"
Browse files Browse the repository at this point in the history
This reverts commit 434d278.
  • Loading branch information
Matt Marshall committed Oct 18, 2023
1 parent 434d278 commit aafdd58
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
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
107 changes: 107 additions & 0 deletions schema/360-giving-schema.json
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"
}
}
}
}
}
}

0 comments on commit aafdd58

Please sign in to comment.