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

Demonstrate creating YAML file with explicit reference to schema. #2

Open
IanMayo opened this issue Mar 9, 2024 · 5 comments · Fixed by #8
Open

Demonstrate creating YAML file with explicit reference to schema. #2

IanMayo opened this issue Mar 9, 2024 · 5 comments · Fixed by #8
Assignees

Comments

@IanMayo
Copy link
Contributor

IanMayo commented Mar 9, 2024

Modify the README to include steps (with images) for creating YAML file (in the root of a cloned version of this repo) with the first line specifying which schema the file must match.

Any screenshots should go into an images sub-folder, and have useful titles that match the contents.

@IanMayo
Copy link
Contributor Author

IanMayo commented Mar 11, 2024

@Talented0217 - I don't think this issue has been demonstrated. The YAML file should specify which schema it is using.

@IanMayo IanMayo reopened this Mar 11, 2024
@Talented0217
Copy link
Collaborator

I've done it

@Talented0217
Copy link
Collaborator

By declaring the schema to use, we don't need to configure settings.json

@IanMayo
Copy link
Contributor Author

IanMayo commented Mar 11, 2024

Hmm, missile-strike.YAML should specify which schema it adheres to.

Elsewhere we have demonstrated how to configure VS-Code to know which schema to do, but the requirement in this issue is for the YAML file to declare which schema to use.

@Talented0217
Copy link
Collaborator

Anyway, I've added for both.
Head of yaml file, I've defined the code which schema was used. And also in settings.json for VS-code added the pairs of schema and yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment