# Config file XML Schema Definition

**URL:** <https://casparcgforum.org/t/config-file-xml-schema-definition/2269>\
**Category:** General\
**Tags:** config, development, server\
**Created:** [September 23, 2019, 8:07am UTC](https://casparcgforum.org/t/config-file-xml-schema-definition/2269 "2019-09-23T08:07:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noquierouser](https://casparcgforum.org/user_avatar/casparcgforum.org/noquierouser/32/155_2.png) [@noquierouser](https://casparcgforum.org/u/noquierouser)\
**Post date:** [September 23, 2019, 8:07am UTC](https://casparcgforum.org/t/config-file-xml-schema-definition/2269/1 "2019-09-23T08:07:53Z")

</div>

After @hreinnbeck’s work in his [online config validator](https://casparcgforum.org/t/online-casparcg-config-validator-check-your-config-file/1954), I was thinking about defining an XML Schema file for `casparcg.config` files. I don’t know for sure if it might help to straighten the documentation a bit, but I think it might be really helpful for writing more concise validators for every CasparCG version available.

Now I’m no expert about XML files nor XSD files, but I think it’s worth a shot. So far I’m writing and testing my XSD in Visual Studio Code with [RedHat’s XML extension](https://github.com/redhat-developer/vscode-xml) which highlights validation errors like in these screenshots:

![image](https://casparcgforum.org/uploads/default/original/1X/d5ee72e9bd2ab96a69807415adab596262e6ac57.png)

![image](https://casparcgforum.org/uploads/default/original/1X/95cdb8703c0a808374078e2fc1bcabe126c0f696.png)

I’ll be asking a lot of questions about possible settings and values, as well as proposals for ordering them, as validation can be picky about that. I know that below every config file there’s a thorough list of possible values, but these have changed in the latest releases (2.0.7, 2.1.x, NRK’s 2.1.x and 2.3.x) as well as no information about optional/required values.

Any feedback will be appreciated.
