Skip to content

Commit

Permalink
BLD: setting up the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lacabra committed Feb 7, 2019
1 parent f4e77b6 commit 066c6ea
Show file tree
Hide file tree
Showing 5 changed files with 535 additions and 0 deletions.
80 changes: 80 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/
53 changes: 53 additions & 0 deletions candidate-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{ "$schema" : "http://json-schema.org/draft-07/schema#",
"$id": "",
"$comment" : "Digital Public Good Metaschema: JSON Schema",
"title": "Digital Public Good",
"type": "object",
"required": [ "name", "license", "SDGs", "type"],
"properties": {
"name": {
"type": "string",
"description": "The name of the Global Digital Public Good. Full name, no initialisms, no acronyms."
},
"initialism": {
"type": "string",
"description": "Abbreviation of name of Global Digital Public Good, where relevant."
},
"description": {
"type": "string",
"description": "Concise 1-line description of Global Digital Public Good"
},
"license": {
"type": "string",
"description": "License under which the Global Digital Pubic Good is released."
},
"license-link": {
"type": "string",
"description": "Link to the license under which the Global Digital Pubic Good is released."
},
"website": {
"type": "string",
"description": "Public website for the Global Digital Public Good."
},
"SDGs": {
"type": "array",
"description": "List of Sustainable Development Goals that this Global Digital Public Good addresses.",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "integer",
"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
}
},
"type": {
"type": "array",
"description": "List of categories under which this Global Digital Public Good falls into: product, api, data, infrastructure.",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"enum": ["product", "api", "data", "infrastructure"]
}
}
}
}
8 changes: 8 additions & 0 deletions candidates/wikipedia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "Wikipedia",
"license": "Creative Commons Attribution-ShareAlike License",
"license-link": "https://creativecommons.org/licenses/by-sa/3.0/",
"website": "https://www.wikipedia.org/",
"SDGs": [4],
"type": ["product", "api", "data"]
}
Loading

0 comments on commit 066c6ea

Please sign in to comment.