code-gov-api
code-gov-api copied to clipboard
Add an organization type identifier to API response
Is your feature request related to a problem? Please describe. Add a new field to the API response identifying what type of organization the repo comes from.
Describe the solution you'd like
The ideal solution would be to include an orgType field that would identify where the data comes from.
Eg.
{
"name": "APIV2",
"organization": "OPA",
"repositoryURL": "https://github.com/USDepartmentofLabor/APIv2",
"description": "The back-end and admin UI code for the next evolution of DOL's open data API.",
"permissions": {
"licenses": [
{
"URL": "https://creativecommons.org/publicdomain/zero/1.0/",
"name": "CC0"
}
],
"usageType": "openSource"
},
"tags": [
"APIv2"
],
"orgType": "federal",
"agency": {
"name": "Department of Labor",
"acronym": "DOL",
"website": "https://www.dol.gov",
"codeUrl": "https://www.dol.gov/code.json",
"fallback_file": "DOL.json",
"requirements": {
"agencyWidePolicy": 1,
"openSourceRequirement": 0,
"inventoryRequirement": 0,
"schemaFormat": 0.5,
"overallCompliance": 0.3333333333333333
},
"complianceDashboard": true
},
"repoID": "dol_opa_apiv2",
"score": 11.700000000000001
}