How to write a ZSPEC file?

  • In Spec Studio, you can either use the built - in editor to add details or upload the ZSPEC file.
Spec Studio

Using ‘Write New’ button

  • When you click Write New, a pop-up appears.

  • Add the Resource Name and Version. Click Create

  • The editor opens with a pre-populated sample file. You can edit and add details based on your requirement using the editor.

Spec Studio

Using ‘Upload’ button

  • You can upload the ZSPEC file that you created on your local system.
  • You need an editor which has XSD support, like VS Code or Eclipse.
  • If you use VS Code, search and install the XML Extension by Red Hat.
  • Download the following XSD files.
  • Add the below attributes to the root element resource. Also mention the path where the spec.xsd file is placed as follows.
    
copy
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="mention path of spec.xsd file"
Note:

Read through the ZEST Specification File and start writing your ZEST Specification File.

Last Updated 2025-06-03 18:19:55 +0530 +0530