Skip to content

refactor Activity.json#84

Open
zopalmer14 wants to merge 1 commit intomainfrom
rec/Activity-label
Open

refactor Activity.json#84
zopalmer14 wants to merge 1 commit intomainfrom
rec/Activity-label

Conversation

@zopalmer14
Copy link

Summary

Should resolve: #81

Documentation: Activity

Changes:

  • remove the option for null values for label and add label to the required array

For Discussion

Does the above change make sense? If so, should it be extended across the other DCAT-US 3.0 classes? Is the change generalizable or a class-by-class determination?

Copied from issue:

I think this issue is just one example of a broader problem that I see with many of the classes. That being, many of them have no required/mandatory properties. As such, although I don't know why they would, a user/catalog owner could create instances of some of the DCAT-US 3.0 classes that are effectively "empty" and that provide no information to the viewer, but which would hypothetically pass validation.

remove the option for null values for 'label' and add 'label' to the required array
@zopalmer14 zopalmer14 linked an issue Mar 17, 2026 that may be closed by this pull request
@ParthVenkat
Copy link

note for later the " I don't know why they would" argument does not hold a ton of water to me. I truly believe CDOs and their staff will appreciate less opportunities for error unless there is a need for flexibility.

@zopalmer14
Copy link
Author

Activity Usage in Schema

  • DataService.wasUsedBy - may be used to specify a testing Activity over a Data Service, against a given Standard, producing as output a conformance degree
  • Dataset.wasGeneratedBy - An activity that generated, or provides the business context for, the creation of the dataset

@zopalmer14
Copy link
Author

Also, I should note that this needs to be run through Prettier before being merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Recommendation] Adjust Activity JSON Schema

3 participants