Section II – Functional Modules > Functional Modules > Versioning Bottom of Page
| Genesys 8.0 SCXML Technical Reference
< Events

## Versioning

A functional module must use its schema namespace definition to represent the different versions for a given functional module. The actual schema for how the version is represented in the namespace is up to the functional module implementer. For the Genesys functional modules, it will use the year and month information in the namespace definition. For example,

- The dialog functional module schema file would have the following `<schema>` element definition for a version 1 and version 2 of the schema.

- version 1:

      <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      	xmlns="http://www.genesyslab.com/2008/10/dialog"
      	targetNamespace="http://www.genesyslab.com/2008/10/dialog"
      	elementFormDefault="qualified" blockDefault="#all">

- version 2:

      <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      	xmlns="http://www.genesyslab.com/2010/12/dialog"
      	targetNamespace="http://www.genesyslab.com/2010/12/dialog"
      	elementFormDefault="qualified" blockDefault="#all">

- The application scxml file could have the following `<scxml>` element to use version 1 and version 2 :

      <scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml
      " xsi:schemaLocation="http://www.w3.org/2005/07/scxml
       scxml-profile-genesysv10.xsd" xmlns:dialog="
      http://www.genesyslab.com/2010/08/queue
      " xmlns:dialogv2="http://www.genesyslab.com/2012/12/queue" name="Basic Routing Strategy example"
      	profile="ECMAScript" initial="initial">
      ....
      	<dialog:runtreatments requestid="12345" ...>
      	<dialogv2:runtreatments reqid="12345" newattr1="newstuff" ...>
      ...

      </scxml>

Section II – Functional Modules > Functional Modules > Versioning Top of Page
| Genesys 8.0 SCXML Technical Reference
< Events