New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow dictionary with license URL #228

Closed
migurski opened this Issue Oct 4, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@migurski
Member

migurski commented Oct 4, 2015

First task for openaddresses/openaddresses-ops#7: allow both strings and dictionaries for source license data. Data is single field for now (“A URL or string describing the license for the dataset”), so support only URL and text tags alongside old-style single strings:

"license": <URL or string>

Naively-converted source:

"license": {
    "text": <URL or string>
}

Source with URL detected:

"license": {
    "url": <URL>
}

Source with additional details:

"license": {
    "url": <URL>,
    "text": <string>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment