Description
Indicates the serialization version of the product definition JSON. This value lets the Topographic Production Service identify the schema of a product definition so it can validate and process the document correctly.
How it is used
The server reads version when a product definition is added or updated. If a future release of the service introduces schema changes, the version value lets the service apply the correct parser and migration rules.
Expected values
An integer identifying the serialization version. The current version is 0.
Behavior and relationships
versiondescribes the serialization of the product definition itself, not the product's cartographic version. Per-product cartographic versions are configured through productVersions.- The value applies to the entire product definition; it does not vary between sections.
User considerations
- Set
versionto0for product definitions authored against the current schema. - Do not change the value to migrate between schema revisions manually; reauthor the product definition or use the appropriate REST endpoint, addProduct or updateProduct.
Example
{
"version": 0,
"name": "MTM25",
"type": "MTM"
}