Skip to content

Comments

Feature: Add JSON schema validation for projects#280

Merged
kemmerle merged 9 commits intomasterfrom
add/schema-validation
May 19, 2025
Merged

Feature: Add JSON schema validation for projects#280
kemmerle merged 9 commits intomasterfrom
add/schema-validation

Conversation

@kemmerle
Copy link
Contributor

@kemmerle kemmerle commented May 2, 2025

Description and Context

This PR adds schema validation for HubSpot project components' JSON configuration files. More information is available in the Canvas I posted in Slack yesterday (Message me for access).

Relies on https://git.hubteam.com/HubSpot/project-parsing-lib/pull/20. I've created an experimental tag of PPL to ease testing.

Screenshots

Validation in the app-hsmeta.json file:

Screenshot 2025-05-02 at 10 12 39 AM

Validation in a card-hsmeta.json file:

Screenshot 2025-05-02 at 10 12 22 AM

TESTING

I would use the north star project to test out the schema validation. You can follow the instructions in the contributing guide to run the project locally.

TODO

  • Address feedback
  • Update and release PPL

Who to Notify

@brandenrodgers @camden11 @joe-yeager @TanyaScales

@kemmerle kemmerle marked this pull request as ready for review May 2, 2025 14:21
@kemmerle kemmerle changed the title Add JSON schema validation for projects Feature: Add JSON schema validation for projects May 2, 2025
@kemmerle kemmerle requested a review from brandenrodgers May 2, 2025 19:03
@kemmerle kemmerle requested a review from brandenrodgers May 5, 2025 14:10
@TanyaScales
Copy link
Member

Hi! Going to look at this as soon as I can -- also cc @joeyblake @tenas97 and @Aaronm14 for visibility on this change

@kemmerle kemmerle requested a review from brandenrodgers May 5, 2025 20:13
Copy link
Member

@TanyaScales TanyaScales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from the extension standpoint.

@kemmerle kemmerle merged commit d416ead into master May 19, 2025
1 check passed
@kemmerle kemmerle deleted the add/schema-validation branch May 19, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants