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

update dcatus spatial schema value #5055

Open
1 task
rshewitt opened this issue Jan 30, 2025 · 2 comments
Open
1 task

update dcatus spatial schema value #5055

rshewitt opened this issue Jan 30, 2025 · 2 comments
Labels
geospatial H2.0/Harvest-General General Harvesting 2.0 Issues support Issues from agency requests or affecting users

Comments

@rshewitt
Copy link
Contributor

User Story

In order to successfully validate certain records, datagov wants to update the spatial field in the dcatus schemas in ckanext-datajson to accept JSON objects.

Acceptance Criteria

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

  • GIVEN the dcatus schemas in ckanext-datajson
    WHEN a JSON object is added as an acceptable value in the spatial field
    THEN records which have a JSON object as the spatial value will pass validation

Background

related to #5010

Security Considerations (required)

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

Sketch

  • example. the first record should have it. in case the document changes here's what it looks like
"spatial": {
  "coordinates": [
  [
  -81.0563,
  34.9991
  ],
  [
  -80.6033,
  35.4024
  ]
  ],
  "type": "envelope"
  },
@rshewitt rshewitt added H2.0/Harvest-General General Harvesting 2.0 Issues geospatial support Issues from agency requests or affecting users labels Jan 30, 2025
@Bagesary Bagesary moved this to 📥 Queue in data.gov team board Feb 6, 2025
@jbrown-xentity
Copy link
Contributor

We should consider this as changing the schema to be more lenient; spatial field may or may not be processed correctly.

@Bagesary
Copy link

Bagesary commented Feb 6, 2025

Team will talk to Missouri customer and then pick this ticket up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
geospatial H2.0/Harvest-General General Harvesting 2.0 Issues support Issues from agency requests or affecting users
Projects
Status: 📥 Queue
Development

No branches or pull requests

3 participants