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 Sprout-specific checks for package properties #911

Open
martonvago opened this issue Dec 13, 2024 · 0 comments
Open

Add Sprout-specific checks for package properties #911

martonvago opened this issue Dec 13, 2024 · 0 comments
Assignees

Comments

@martonvago
Copy link
Contributor

martonvago commented Dec 13, 2024

When checking package properties with checks.check_package_properties in Sprout, add the following Sprout-specific checks:

  • extra required fields: name, id, title, description, version, created (+ resources already required)
  • required fields must not be empty / blank (e.g. the empty string is not a valid value for a required string field)

These should not modify / know about the JSON schema.
The checks should return a CheckError with appropriate attributes.

@martonvago martonvago self-assigned this Dec 13, 2024
@martonvago martonvago moved this to In Progress in Team project planning Dec 13, 2024
@martonvago martonvago changed the title Add Sprout-specific metadata checks Add Sprout-specific checks for package properties Jan 6, 2025
@martonvago martonvago moved this from In Progress to In Review in Team project planning Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

No branches or pull requests

1 participant