We have a common repo where all different projects share their common contract as json schemas. These schemas may be modified from time to time. How do I reference these schemas from inside my visual studio project without manually including their copies in my project?
Is it possible to wrap these schemas in a nuget package and include them?
Add the following to your JSON:
"$schema": "https://web.site/schema.json"
Obviously, change the URL. If your schema is on GitHub, open the file on the web in viewing mode, then click the "Raw" button.
2.1m questions
2.1m answers
60 comments
57.0k users