Skip to content

Add missing minLength in JSON schema #904

Closed

Description

@tschmidtb51

Describe the bug
The JSON schema is currently missing the "minLength": 1 characterization.

To Reproduce
Steps to reproduce the behavior:

  1. Refer to the JSON DPVS schema
  2. Look at optional keys - they don't have it defined

Expected behavior
A JSON key should be filled if present - otherwise not present at all. Not using the convention, will make the validation much harder.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform details
Include any relevant details like OS, browser, versions, etc.

Additional context
Discovered in #802

Activity

  1. sei-vsarvepalli commented on Aug 25, 2025

    @sei-vsarvepalli
    Contributor

    Hello @tschmidtb51

    Is this a blocker for CSAF integration? I think currently there are some bugs introduced when a Not required field also has a minimum length. If I remember correctly, we could stage it for a minor update later if it is not a blocker.

  2. tschmidtb51 commented on Aug 25, 2025

    @tschmidtb51
    ContributorAuthor

    If we are able to do that before the next public review comment resolution ends, then it is not. (expected to be ending end September). Happy to contribute @bernhardreiter as resource :-)

    Reason: We should be able to do a patch update as "non-material" change.

  3. bernhardreiter commented on Aug 26, 2025

    @bernhardreiter
    Contributor

    I think currently there are some bugs introduced when a Not required field also has a minimum length.

    @sei-vsarvepalli what kind of problems?

  4. sei-vsarvepalli commented on Aug 26, 2025

    @sei-vsarvepalli
    Contributor

    I think currently there are some bugs introduced when a Not required field also has a minimum length.

    @sei-vsarvepalli what kind of problems?

    sadly don't remember exact issue. If you are able to make a PR with this specific change and ensure tests don't fail, we can try to get it squeezed in. The issue #905 I was able to get it working okay.

  5. sei-vsarvepalli commented on Aug 26, 2025

    @sei-vsarvepalli
    Contributor

    okay cool #834 has it captured..

  6. added
    integrationRelated to integration of SSVC into another framework or system
    on Aug 26, 2025
  7. self-assigned this
    on Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingintegrationRelated to integration of SSVC into another framework or system

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions