USEPA / EPA_Environmental_Dataset_Gateway

U.S. EPA’s Metadata Catalog
https://edg.epa.gov
3 stars 2 forks source link

Elements: Publishing Organization, Publisher, Publisher Email #71

Closed torrin47 closed 5 years ago

torrin47 commented 5 years ago

The project open data schema allows a publisher element to be a nested object: https://project-open-data.cio.gov/v1.1/schema/#publisher we've never offered that option to EPA audiences, and they've never requested it, so I'm inclined to make this element a plain text string in the MVP, and postpone further flexibility as an optional enhancement down the road.

Publisher should be a plain text element with minimal validation - it must have some value, but any value is acceptable. Publisher email must validate with email address syntax.

If and when we implement ORCID authentication, all of these elements should be pulled from the ORCID API - though we'll want to explore the implications of that option. Presumably we'll need to allow the user to select from multiple possible organizations and name and email variants as well as edit the values after they're populated.

jzichichi commented 5 years ago

@aergul According to requirement above, "Publisher should be a plain text element with minimal validation - it must have some value, but any value is acceptable." It looks like current validation requires more than just "any value", since it doesn't like just "Jessica"

Publishing Organization seems to have the same rules but I don't see anything specific for that element listed above. @torrin47 - for publishing organization, should this be a defined list or is it free text well?

email looks OK

torrin47 commented 5 years ago

For internal users (when we eventually focus on them) we'll want a picklist from the EPA org chart, but for the MVP for external users we'll need it to be free text. An enhancement will be to allow it to be populated from an external user's ORCID data - though I think it'd make more sense to wire this up to an EPA grants database, since in theory every external user has received an EPA grant. Apparently that's not under consideration.

jzichichi commented 5 years ago

OK, thanks @torrin47. @aergul, see comments above for publisher and publishing organization. And this:

Untitled.png

aergul commented 5 years ago

Publisher is supposed to be the full name of a person. Will we really accept "Jessica"?

torrin47 commented 5 years ago

I'm having a hard time coming up with an example of a one-word publisher, but my inclination is to be lenient, because despite the official POD guidance EPA and other agencies allow Publisher and Publisher Email to point at a helpdesk instead of an individual, on the reasoning that a team can be more responsive and provide more continuity.

aergul commented 5 years ago

One word it is...

jzichichi commented 5 years ago

@aergul these look good to me.

torrin47 commented 5 years ago

I don't think we should ask the end user to populate the mailto: prefix on the email address, I think we should take care of that for them under the hood.

aergul commented 5 years ago

We now handle the mailto: part for the user.

jzichichi commented 5 years ago

@aergul - looks good to me. I will move this over, but @torrin47 feel free to weigh in if you like

torrin47 commented 5 years ago

This issue was moved to USEPA/EPA_Non-geo_Metadata_Editor#18