Skip to content

Instantly share code, notes, and snippets.

@jmcarp
Last active August 29, 2015 14:24
Show Gist options
  • Select an option

  • Save jmcarp/44a5c936e3da817e9046 to your computer and use it in GitHub Desktop.

Select an option

Save jmcarp/44a5c936e3da817e9046 to your computer and use it in GitHub Desktop.
about-schema
{
"$schema": "http://json-schema.org/schema#",
"title": ".about.yml",
"type": "object",
"properties": {
"shortName": {
"type": "string",
"description": ""
},
"fullName": {
"type": "string",
"description": ""
},
"stage": {
"type": "string",
"description": "",
"options": ["alpha", "beta"]
},
"testable": {
"type": "boolean",
"description": ""
}
"team": {
"type": "array",
"items": {
"$ref": "#/definitions/person"
}
},
"services": {
"type": "array",
"items": {
"$ref": "#/definitions/service"
}
},
"license": {
"$ref": "#/definitions/license"
}
},
"required": [
"shortName", "fullName", "team"
],
"definitions": {
"person": {
"type": "object",
"properties": {
"githubUser": {
"type": "string",
"description": "GitHub user name"
},
"hubUser": {
"type": "string",
"description": "18F Hub user name"
}
}
},
"service": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": ""
},
"category": {
"type": "string",
"description": ""
},
"url": {
"type": "string",
"description": "",
"format": "uri"
},
"badge": {
"type": "string",
"description": "",
"format": "uri"
}
}
},
"license": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": ""
},
"url": {
"type": "string",
"description": "",
"format": "uri"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment