Default JSON Schema template
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Default JSON Schema template
Hi, I wasn't able to figure out how I can get a new Json Schema file to use v2020-12 rather than draft-07. Is there a template somewhere I can modify for this? Would also be nice to be able to modify for project preferences too.
Thanks, Scott
Thanks, Scott
-
- Posts: 37
- Joined: Wed Sep 09, 2020 3:17 pm
Re: Default JSON Schema template
Post by florin_nica »
Hi, Scott
To use Draft 2020-12 validation in a JSON Schema file, simply update the schema declaration on the first line to When creating a new JSON Schema file, you can apply a custom template by selecting "Customize" in the New File dialog, and then choosing the Draft 2020-12 option from the dropdown menu.
You might also want to create a custom validation scenario and choose JSON Schema Validator as the validation engine. For more information, refer to this link:: https://www.oxygenxml.com/doc/versions/ ... nario.html
Regards,
Florin
To use Draft 2020-12 validation in a JSON Schema file, simply update the schema declaration on the first line to
Code: Select all
"$schema": "http://json-schema.org/draft/2020-12/schema"
You might also want to create a custom validation scenario and choose JSON Schema Validator as the validation engine. For more information, refer to this link:: https://www.oxygenxml.com/doc/versions/ ... nario.html
Regards,
Florin
Re: Default JSON Schema template
Hi Scott,
You can create your own templates and store them either in the existing templates folder within the Oxygen installation directory or in a custom directory. If you choose a custom directory, you need to add it to the list of template directories in the Document Templates preferences page.
For more detailed steps on creating and customizing document templates, you can refer to the following topics:
Creating New Document Templates
Document Templates Preferences
Best Regards,
Octavian
You can create your own templates and store them either in the existing templates folder within the Oxygen installation directory or in a custom directory. If you choose a custom directory, you need to add it to the list of template directories in the Document Templates preferences page.
For more detailed steps on creating and customizing document templates, you can refer to the following topics:
Creating New Document Templates
Document Templates Preferences
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service