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

JSON Schemas for LivelyProperties and LivelyInfo #1468

Closed
dejohansson opened this issue Nov 22, 2022 · 3 comments
Closed

JSON Schemas for LivelyProperties and LivelyInfo #1468

dejohansson opened this issue Nov 22, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@dejohansson
Copy link
Contributor

Is your feature request related to a problem? Please describe.

It can be frustrating to define LivelyProperties.json and LivelyInfo.json without any validation or IntelliSense pointing you in the right direction.

Describe the solution you'd like

  1. Define JSON Schemas for LivelyProperties.json and/or LivelyInfo.json.
  2. (Optional) Add entries for the schemas in the JSON Schema Store.

Additional context
IntelliSense example using a draft JSON Schema.
IntelliSense Demo

@dejohansson dejohansson changed the title JSON Schema for LivelyProperties and LivelyInfo JSON Schemas for LivelyProperties and LivelyInfo Nov 22, 2022
@rocksdanister
Copy link
Owner

rocksdanister commented Nov 23, 2022

Are you interested in implementing it?

(Ignore LivelyInfo.json as its use is internal only with the argument field being the only exception.)

@rocksdanister rocksdanister added the enhancement New feature or request label Nov 23, 2022
@dejohansson
Copy link
Contributor Author

Are you interested in implementing it?

Yes, I would like to have a go at implementing it.

So far I have been using this wiki page to figure out the schema definition. Which part of the source code should I start looking at if I want to reverse engineer the types and constraints for LivelyProperties.json?

@rocksdanister
Copy link
Owner

rocksdanister commented Nov 24, 2022

The wiki is up-to-date and complete, there is an upcoming change but that only affects the receiving JS code so no issue.

This is the source, controls are wrappers around native WinUI 3 controls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants