Skip to content

Commit

Permalink
Merge pull request #1870 from w3c/ege-static-links
Browse files Browse the repository at this point in the history
Fix schema links to static ones
  • Loading branch information
egekorkan authored Aug 30, 2023
2 parents 7426433 + 6e88bb5 commit 3564b5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
11 changes: 3 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5881,11 +5881,9 @@ <h2>Basic Concept</h2>
For example, the value of <code>minimum</code> needs to be an <code>integer</code>, unless a placeholder is used.
</p>
<p>
You can use <a href="https://raw.githubusercontent.com/w3c/wot-thing-description/main/validation/tm-json-schema-validation.json">the JSON Schema in the GitHub repository</a> to validate TM instances that are serialized as JSON.
You can use <a target="_blank" href="https://www.w3.org/2022/wot/tm-schema/v1.1">the JSON Schema</a> to validate TM instances that are serialized as JSON.
</p>
<p class="note">
The link for the TM needs to be updated to a permanent one before publication.
</p>

</section>
<section id="thing-model-declaration" class="normative">
<h2>Thing Model Declaration</h2>
Expand Down Expand Up @@ -8053,7 +8051,7 @@ <h3>Webhook Event Example</h3>
<section id="json-schema-for-validation" class="appendix informative">
<h1>JSON Schema for TD Instance Validation</h1>
<p>
A JSON Schema [[?JSON-SCHEMA]] document for syntactically validating Thing Description instances serialized in JSON based format is available in <a href="https://github.com/w3c/wot-thing-description/blob/main/validation/td-json-schema-validation.json">the GitHub repository</a>.
A JSON Schema [[?JSON-SCHEMA]] document for syntactically validating Thing Description instances serialized in JSON based format is available at <a target="_blank" href="https://www.w3.org/2022/wot/td-schema/v1.1">https://www.w3.org/2022/wot/td-schema/v1.1</a>.
This JSON Schema does not require the terms with <a>Default Values</a> to be present. Thus, the terms with <a>Default Values</a> are optional. (see also <a href="#sec-default-values"></a>)
</p>

Expand All @@ -8067,9 +8065,6 @@ <h1>JSON Schema for TD Instance Validation</h1>
order to perform a stricter validation in case no external vocabularies are used.
</p>

<p class="note"> The <code>$id</code> field in the JSON Schemas need to be updated to a static URL before publication, as well as the actual link pointing to the schema.
</p>

</section>

<section id="contentType-usage" class="appendix informative">
Expand Down
11 changes: 3 additions & 8 deletions index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -4590,11 +4590,9 @@ <h2>Basic Concept</h2>
For example, the value of <code>minimum</code> needs to be an <code>integer</code>, unless a placeholder is used.
</p>
<p>
You can use <a href="https://raw.githubusercontent.com/w3c/wot-thing-description/main/validation/tm-json-schema-validation.json">the JSON Schema in the GitHub repository</a> to validate TM instances that are serialized as JSON.
You can use <a target="_blank" href="https://www.w3.org/2022/wot/tm-schema/v1.1">the JSON Schema</a> to validate TM instances that are serialized as JSON.
</p>
<p class="note">
The link for the TM needs to be updated to a permanent one before publication.
</p>

</section>
<section id="thing-model-declaration" class="normative">
<h2>Thing Model Declaration</h2>
Expand Down Expand Up @@ -6762,7 +6760,7 @@ <h3>Webhook Event Example</h3>
<section id="json-schema-for-validation" class="appendix informative">
<h1>JSON Schema for TD Instance Validation</h1>
<p>
A JSON Schema [[?JSON-SCHEMA]] document for syntactically validating Thing Description instances serialized in JSON based format is available in <a href="https://github.com/w3c/wot-thing-description/blob/main/validation/td-json-schema-validation.json">the GitHub repository</a>.
A JSON Schema [[?JSON-SCHEMA]] document for syntactically validating Thing Description instances serialized in JSON based format is available at <a target="_blank" href="https://www.w3.org/2022/wot/td-schema/v1.1">https://www.w3.org/2022/wot/td-schema/v1.1</a>.
This JSON Schema does not require the terms with <a>Default Values</a> to be present. Thus, the terms with <a>Default Values</a> are optional. (see also <a href="#sec-default-values"></a>)
</p>

Expand All @@ -6776,9 +6774,6 @@ <h1>JSON Schema for TD Instance Validation</h1>
order to perform a stricter validation in case no external vocabularies are used.
</p>

<p class="note"> The <code>$id</code> field in the JSON Schemas need to be updated to a static URL before publication, as well as the actual link pointing to the schema.
</p>

</section>

<section id="contentType-usage" class="appendix informative">
Expand Down

0 comments on commit 3564b5f

Please sign in to comment.