Skip to content

JSON Schema 2020 transition #518

Closed
Closed

Description

@darakian

Capturing this from the community call today as there seemed to be broad interest in moving the spec from the 07 draft to json schema 2020. There is an open issue that at least golang does not have good support for the new version of the spec. So, we should

  1. Iterate a list of languages/tools we care about (please simply append to this issue)
  2. Iterate a list of libraries we want to improve/update to support the community as we move to 2020
  3. Update the spec docs once 1 and 2 are done.

Activity

  1. mjherzog commented on Jul 9, 2025

    @mjherzog
    Member

    The current proposed JSON schemas in #514 are set to:

    "$schema": "http://json-schema.org/draft-07/schema#",

    draft-07 is the version used for CycloneDX.

    There are recommendations to upgrade to https://json-schema.org/draft/2020-12. There are also concerns about support for the newer json-schema version in open source tools.

    This issue is intended to document the choice of the json-schema version for the PURL v1.0 Ecma Standard

  2. changed the title [-]Json schema 2020 transition[/-] [+]JSON Schema 2020 transition[/+] on Jul 11, 2025
  3. mjherzog commented on Aug 1, 2025

    @mjherzog
    Member

    The plan is to continue with "$schema": "http://json-schema.org/draft-07/schema#", for the PURL v1.0 Ecma Standard because draft-07 supports the current schemas and we do not have time or resources to complete an impact assessment for upgrading to https://json-schema.org/draft/2020-12 in the timeline for submitting PURL v1.0 for Ecma standardization in 2025.

  4. mjherzog commented on Aug 18, 2025

    @mjherzog
    Member

    Converting to a discussion for future versions of the PURL schemas.

  5. locked and limited conversation to collaborators on Aug 18, 2025
  6. converted this issue into a discussion #608 on Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ecma standardPart of the Ecma standard for PURLPURL type changeChange(s) to a registered PURL type

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions