Skip to content

add Revel Digital gadget definition schema#4835

Merged
madskristensen merged 3 commits intoSchemaStore:masterfrom
mtinnes:resolve-conflicts
Sep 8, 2025
Merged

add Revel Digital gadget definition schema#4835
madskristensen merged 3 commits intoSchemaStore:masterfrom
mtinnes:resolve-conflicts

Conversation

@mtinnes
Copy link
Copy Markdown
Contributor

@mtinnes mtinnes commented Jul 7, 2025

This pull request introduces support for the gadget.yaml schema used by Revel Digital gadget definition files. The changes include adding the schema to the catalog, defining the schema itself, and providing an example file for validation.

Schema Integration:

  • Added an entry for the gadget.yaml schema in src/api/json/catalog.json, enabling schema validation for files named gadget.yml or gadget.yaml.

Schema Definition:

  • Created src/schemas/json/gadget-yaml.json, defining the structure and validation rules for gadget.yaml files. The schema includes properties such as title, author, prefs, and nested definitions for Locale, Pref, Depend, and others.

Example File:

  • Added src/test/gadget-yaml/good-example.yaml as a test file demonstrating a valid gadget.yaml configuration, including examples of preferences, locales, and other schema features.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 7, 2025

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 6, 2025

This PR is stale because it has been open 60 days with no activity. Comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale PR is stale and will be closed in 7 days(auto-generated by stale action) label Sep 6, 2025
@mtinnes
Copy link
Copy Markdown
Contributor Author

mtinnes commented Sep 7, 2025

waiting for merge

@github-actions github-actions bot removed the Stale PR is stale and will be closed in 7 days(auto-generated by stale action) label Sep 8, 2025
@madskristensen
Copy link
Copy Markdown
Contributor

the branch has merge conflicts. Please resolve and then I can merge

@madskristensen madskristensen merged commit 9023055 into SchemaStore:master Sep 8, 2025
4 checks passed
@madskristensen
Copy link
Copy Markdown
Contributor

Thanks

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.

2 participants