Skip to content
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

Add server-side DCAT-US metadata validation logic to dcat_usmetadata #2486

Open
1 task
adborden opened this issue Nov 25, 2020 · 0 comments
Open
1 task

Add server-side DCAT-US metadata validation logic to dcat_usmetadata #2486

adborden opened this issue Nov 25, 2020 · 0 comments

Comments

@adborden
Copy link
Contributor

User Story

In order to reduce the number of extensions we need to maintain, data.gov developers want to move the server-side validation used by Inventory to dcat_usmetadata.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN [a contextual precondition]
    [AND optionally another precondition]
    WHEN [a triggering event] happens
    THEN [a verifiable outcome]
    [AND optionally another verifiable outcome]

Background

ckanext-dcat_usmetadata has replaced the metadata form, formerly handled by USMetadata.
GSA/datagov-ckan-multi#422 (comment)

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch

We should only move functionality we use. Hard validation should not apply to drafts, but we want to warn the user if a draft does not meet validation requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant