Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Allow dictionary with license URL #228

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

Allow dictionary with license URL #228

migurski opened this issue Oct 4, 2015 · 0 comments
Assignees

Comments

@migurski
Copy link
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant