Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #81 from unicef/sdgevidence
Browse files Browse the repository at this point in the history
BLD: added evidenceText, evidenceURL to SDGs in schema -> v0.7.0
  • Loading branch information
lacabra authored Oct 8, 2020
2 parents cb04af6 + 302a5b0 commit a9c5f40
Show file tree
Hide file tree
Showing 473 changed files with 2,133 additions and 2,777 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [0.7.0] - 2020-10-08

### Added
- Added `scripts/migrate-v0.7.0.json` to adjust all existing JSON files to the change introduced in the `nominee-schema.json` described below.

### Changed
- [Breaking changes] Modified the JSON schema to account for SDG evidence. Thus, `SDGs` is not longer an array of enums, but an array of objects, that contains a required `SDGNumber` and an optional `evidenceText` and `evidenceURL`, one of which should be required. This field is not made mandatory retroactively, but will be required in future nominations.

## [0.6.0] - 2020-09-23

Expand Down Expand Up @@ -92,6 +98,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changed language from `candidates` to `nominees` to match the recent changes in [digitalpublicgoods.net](https://digitalpublicgoods.net)
- Renamed folder from `candidates/` to `nominees/`, as well as `candidate-schema.json` to `nominee-schema.json`

[0.7.0]: https://github.com/unicef/publicgoods-candidates/compare/v0.6.0...v0.7.0
[0.6.0]: https://github.com/unicef/publicgoods-candidates/compare/v0.5.0...v0.6.0
[0.5.0]: https://github.com/unicef/publicgoods-candidates/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/unicef/publicgoods-candidates/compare/v0.3.0...v0.4.0
Expand Down
112 changes: 37 additions & 75 deletions nominee-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,83 +194,45 @@
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "array",
"enum": [
[
1,
"No Poverty"
],
[
2,
"Zero Hunger"
],
[
3,
"Good Health and Well-Being"
],
[
4,
"Quality Education"
],
[
5,
"Gender Equality"
],
[
6,
"Clean Water and Sanitation"
],
[
7,
"Affordable and Clean Energy"
],
[
8,
"Decent Work and Economic Growth"
],
[
9,
"Industry, Innovation and Infrastructure"
],
[
10,
"Reduced Inequalities"
],
[
11,
"Sustainable Cities and Communities"
],
[
12,
"Responsible Consumption and Production"
],
[
13,
"Climate Action"
],
[
14,
"Life Below Water"
],
[
15,
"Life On Land"
],
[
16,
"Peace, Justice and Strong Institutions"
],
[
17,
"Partnerships for the Goals"
]
]
"type": "object",
"required": [
"SDGNumber"
],
"properties": {
"SDGNumber": {
"type": "number",
"description": "Number of the Sustainable Development Goal",
"enum": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17
]
},
"evidenceText": {
"type": "string",
"description": "Evidence of SDG relevance in text form."
},
"evidenceURL": {
"type": "string",
"description": "Evidence of SDG relevance in the form of a link."
}
}
}
},
"SDGevidence": {
"type": "string",
"description": "Relevant links or information to support the relevance to SDGs."
},
"sectors": {
"type": "array",
"description": "List of sectors that this Global Digital Public Good addresses.",
Expand Down
7 changes: 3 additions & 4 deletions nominees/2019-ncov-data-repository-by-johns-hopkins-csse.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
3,
"Good Health and Well-Being"
]
{
"SDGNumber": 3
}
],
"type": [
"data"
Expand Down
7 changes: 3 additions & 4 deletions nominees/5calls-frontend.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
16,
"Peace, Justice and Strong Institutions"
]
{
"SDGNumber": 16
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/5calls-ios.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
16,
"Peace, Justice and Strong Institutions"
]
{
"SDGNumber": 16
}
],
"sectors": [],
"type": [
Expand Down
14 changes: 6 additions & 8 deletions nominees/@firma.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@
}
],
"SDGs": [
[
3,
"Good Health and Well-Being"
],
[
16,
"Peace, Justice and Strong Institutions"
]
{
"SDGNumber": 3
},
{
"SDGNumber": 16
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/aarogya-setu.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
3,
"Good Health and Well-Being"
]
{
"SDGNumber": 3
}
],
"type": [
"software"
Expand Down
14 changes: 6 additions & 8 deletions nominees/accessibility-cloud.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@
}
],
"SDGs": [
[
3,
"Good Health and Well-Being"
],
[
10,
"Reduced Inequalities"
]
{
"SDGNumber": 3
},
{
"SDGNumber": 10
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/adopt-a-drain.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
11,
"Sustainable Cities and Communities"
]
{
"SDGNumber": 11
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/afinidata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
4,
"Quality Education"
]
{
"SDGNumber": 4
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/african-storybook.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
4,
"Quality Education"
]
{
"SDGNumber": 4
}
],
"sectors": [],
"type": [
Expand Down
14 changes: 6 additions & 8 deletions nominees/agrosense.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@
}
],
"SDGs": [
[
2,
"Zero Hunger"
],
[
9,
"Industry, Innovation and Infrastructure"
]
{
"SDGNumber": 2
},
{
"SDGNumber": 9
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/aid-transparency-tracker.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
16,
"Peace, Justice and Strong Institutions"
]
{
"SDGNumber": 16
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/alaveteli.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
16,
"Peace, Justice and Strong Institutions"
]
{
"SDGNumber": 16
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/alex-atom-linter.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
11,
"Sustainable Cities and Communities"
]
{
"SDGNumber": 11
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/alex-sublime-linter.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
11,
"Sustainable Cities and Communities"
]
{
"SDGNumber": 11
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/alex.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
11,
"Sustainable Cities and Communities"
]
{
"SDGNumber": 11
}
],
"sectors": [],
"type": [
Expand Down
7 changes: 3 additions & 4 deletions nominees/all-ready.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
}
],
"SDGs": [
[
16,
"Peace, Justice and Strong Institutions"
]
{
"SDGNumber": 16
}
],
"sectors": [],
"type": [
Expand Down
Loading

0 comments on commit a9c5f40

Please sign in to comment.