Skip to content

Commit

Permalink
additional text about TM versioning #1182
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiankb committed Nov 3, 2021
1 parent ce539d4 commit 7c66d68
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
36 changes: 20 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5744,6 +5744,12 @@ <h3>Versioning</h3>
Due to the definition of <a>Thing Model</a> the term <code>instance</code> can be omitted within the <code>version</code> container.
</p>

<p>
When <a>Thing Models</a> are updated and have a new version, you should be aware that this may affect
other <a>Thing Models</a> that uses the extension and import features (see Section <a href="#thing-model-extension-import"></a>).
In some cases it is useful to reflect a new version also in the file name and/or in a corresponding URL to identify the version.
</p>

</section>
<section id="thing-model-extension-import" class="normative">
<h3>Extension and Import</h3>
Expand Down Expand Up @@ -6776,14 +6782,7 @@ <h1>JSON Schema for TD Instance Validation</h1>
"minimum": 0
},
"multipleOf": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
"$ref": "#/definitions/multipleOfDefinition"
},
"properties": {
"additionalProperties": {
Expand Down Expand Up @@ -6815,6 +6814,18 @@ <h1>JSON Schema for TD Instance Validation</h1>
}
}
},
"multipleOfDefinition": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0
},
{
"type": "number",
"exclusiveMinimum": 0
}
]
},
"form_element_property": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -7171,14 +7182,7 @@ <h1>JSON Schema for TD Instance Validation</h1>
"minimum": 0
},
"multipleOf": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
"$ref": "#/definitions/multipleOfDefinition"
},
"properties": {
"additionalProperties": {
Expand Down
6 changes: 6 additions & 0 deletions index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -4723,6 +4723,12 @@ <h3>Versioning</h3>
Due to the definition of <a>Thing Model</a> the term <code>instance</code> can be omitted within the <code>version</code> container.
</p>

<p>
When <a>Thing Models</a> are updated and have a new version, you should be aware that this may affect
other <a>Thing Models</a> that uses the extension and import features (see Section <a href="#thing-model-extension-import"></a>).
In some cases it is useful to reflect a new version also in the file name and/or in a corresponding URL to identify the version.
</p>

</section>
<section id="thing-model-extension-import" class="normative">
<h3>Extension and Import</h3>
Expand Down

0 comments on commit 7c66d68

Please sign in to comment.