-
Notifications
You must be signed in to change notification settings - Fork 586
Deprecate or clarify use of accessURL/format outside of the distribution array #217
Comments
I would assume distribution to have have everything, and the primary one can be used at the root level. below are the usage instructions for the field from the POD schema page. Field distribution "distribution": [ |
+1 on approach 2. one thought on the distribution element. if you look at the results in data.gov, many items have 10 or more links, many of which are not to a downloadable file, but to a web page, or application (another web page) or web service. would help client app developers tremendously if the accessURL can be qualified: download, online access, info page, organization page, ... (some to be defined vocabulary). |
@JoshData - Approach 2. I would actually think that the top level accessURL should be removed, though, or do you think that is a mistake? @mhogeweg - What you're referencing is addressed in the schema guidance and is being affirmed to agencies in feedback about their data.json files. Documentation is not a guarantee against bad metadata, whether it's flawed implementation now or just left over from an earlier era. My suggestion is that any time you find bad metadata at agency.gov/data.json, you use the feedback mechanism that should be at agency.gov/data to report the problem. Data.gov is undergoing a major overhaul this month that will migrate it to presenting solely results of harvested data.json files, so any bad metadata you're finding at data.gov should go away soon, or at least be traceable to it's source. |
@gbinal Thanks. If I remember, I'll open a PR to mention this in the schema doc. Can we keep this issue open until it's clarified in the docs? Agreed about removing the top-level accessURL. There is something nice, perhaps, about having a "primary" distribution, but if that's a goal it should be done inside distributions. |
My preference would be to not use |
Just to reiterate, my recommendation is for |
+1 on that. I also think that for machine-actionable metadata, the distribution also needs something like the atom 'rel', and the target attributes along the line described in section 5.4 of IETF5988 and ContentModelForLinks (sorry about the docx format!) |
An example of what this would look like is here - https://gist.github.com/philipashlock/21ff607527863fba200b/df52be0afd2d39f566258ad15ff86c869432ec1c#file-pod-schema-v1-1-draft-example-json-L81-L102 |
Changes that still need to be addressed are changes in structure and should we add usage notes additions here or no?: * Adds optional describedByType field at the dataset and distribution level (#291, #332) * Changes contactPoint field to an object that contains the name (fn) and email address (hasEmail) (#358) * Adds fn field as part of contactPoint replacing earlier use of contactPoint (#358) * Changes publisher field to an object that allows multiple levels of organizations (#296) * Changes accessURL field to represent indirect access and to exist only within distribution (#217, #335) * Changes format field to a human readable description and to exist only within distribution (#272, #293) * Adds optional description field for use within distribution (#248) * Adds optional title field for use within distribution (#248) * Changes accrualPeriodicity field to use ISO 8601 date syntax (#292) * Changes distribution field to become required-if-applicable and to always contain the accessURL or downloadURL fields (#217) * Changes license field to be a URL (#196)
Thank you for driving the conversation around this issue and helping to assemble the v1.1 metadata update. There appears to be strong consensus around this issue, which has been accepted in the v1.1 update and merged into Project Open Data. Project Open Data is a living project though. Please continue any conversations around how the schema can be improved with new issues and pull requests! It's important for government staff as well as the public to continue to collaborate to make the Open Data Policy ever better. Though the v1.1 update is a substantial update, future iterations do not have to be, so whatever your ideas - big or small - please continue to work with this community to improve how government manages and opens its data. |
If you have two accessURLs, should you do this:
or
The text was updated successfully, but these errors were encountered: