Skip to content

Commit

Permalink
rename lastModified --> modified w3c#546
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiankb committed May 4, 2019
1 parent 116902b commit 33b201e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion context/td-context-1.1.jsonld

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions context/td-context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"created" : {
"@id" : "td:created"
},
"lastModified" : {
"@id" : "td:lastModified"
"modified" : {
"@id" : "td:modified"
},
"observable" : {
"@id" : "td:observable",
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ <h2>Core Vocabulary Definitions</h2>
<tr class="rfc2119-table-assertion" id="td-vocab-descriptions--Thing"><td><code>descriptions</code></td><td>Can be used to support (human-readable) information in different languages.</td><td>optional</td><td><a href="#multilanguage"><code>MultiLanguage</code></a></td></tr>
<tr class="rfc2119-table-assertion" id="td-vocab-version--Thing"><td><code>version</code></td><td>Provides version information.</td><td>optional</td><td><a href="#versioninfo"><code>VersionInfo</code></a></td></tr>
<tr class="rfc2119-table-assertion" id="td-vocab-created--Thing"><td><code>created</code></td><td>Provides information when the TD instance was created.</td><td>optional</td><td><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#dateTime"><code>dateTime</code></a></td></tr>
<tr class="rfc2119-table-assertion" id="td-vocab-lastModified--Thing"><td><code>lastModified</code></td><td>Provides information when the TD instance was last modified.</td><td>optional</td><td><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#dateTime"><code>dateTime</code></a></td></tr>
<tr class="rfc2119-table-assertion" id="td-vocab-modified--Thing"><td><code>modified</code></td><td>Provides information when the TD instance was last modified.</td><td>optional</td><td><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#dateTime"><code>dateTime</code></a></td></tr>
<tr class="rfc2119-table-assertion" id="td-vocab-support--Thing"><td><code>support</code></td><td>Provides information about the TD maintainer (e.g., author, link or telephone number to get support, etc).</td><td>optional</td><td><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#string"><code>string</code></a></td></tr>
<tr class="rfc2119-table-assertion" id="td-vocab-base--Thing"><td><code>base</code></td><td>Define the base URI that is used for all relative URI references throughout a TD document. In TD instances, all relative URIs are resolved relative to the base URI using the algorithm defined in [[RFC3986]].<br/><br/><code>base</code> does not affect the URIs used in <code>@context</code> and the IRIs [[?RFC3987]] used within Linked Data [[?LINKED-DATA]] graphs that are relevant when semantic processing is applied to TD instances.</td><td>optional</td><td><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#anyURI"><code>anyURI</code></a></td></tr>
<tr class="rfc2119-table-assertion" id="td-vocab-properties--Thing"><td><code>properties</code></td><td>All Property-based interaction affordance of the Thing.</td><td>optional</td><td>map of <a href="#propertyaffordance"><code>PropertyAffordance</code></a></td></tr>
Expand Down Expand Up @@ -1968,7 +1968,7 @@ <h2>Thing as a whole</h2>
"securityDefinitions": {...},
"security": [...],
"base": "https://servient.example.com/",
"lastModified" : "2019-06-01T09:12:43.124Z",
"modified" : "2019-06-01T09:12:43.124Z",
"created" : "2018-11-14T19:10:23.824Z",
"version" : {...},
"properties": {...},
Expand Down Expand Up @@ -5060,7 +5060,7 @@ <h1>JSON Schema for TD Instance Validation</h1>
"created": {
"type": "string"
},
"lastModified": {
"modified": {
"type": "string"
},
"security": {
Expand Down Expand Up @@ -5449,7 +5449,7 @@ <h2 id="changes3">Changes from Third Public Working Draft</h2>
<li>Thing</li>
<ul>
<li>TD now supports <a href="#meta-interactions-of-thing">meta interactions</a> <code>readallproperties</code>, <code>writeallproperties</code>, <code>readmultipleproperties</code> and <code>writemultipleproperties</code>.</li>
<li><a href="#thing">Thing</a> class now has optional <code>created</code> and <code>lastModified</code> members to provide information as to when the TD instance was created (in the case of <code>created</code>) or was last modified (in the case of <code>lastModified</code>).</li>
<li><a href="#thing">Thing</a> class now has optional <code>created</code> and <code>modified</code> members to provide information as to when the TD instance was created (in the case of <code>created</code>) or was last modified (in the case of <code>modified</code>).</li>
<li><a href="#thing">Thing</a> class now has an optional <code>version</code> member for providing version information.</li>
<li>Members <code>@context</code> and <code>@type</code> were added to <a href="#thing">Thing</a> class.</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ <h2>Thing as a whole</h2>
"securityDefinitions": {...},
"security": [...],
"base": "https://servient.example.com/",
"lastModified" : "2019-06-01T09:12:43.124Z",
"modified" : "2019-06-01T09:12:43.124Z",
"created" : "2018-11-14T19:10:23.824Z",
"version" : {...},
"properties": {...},
Expand Down Expand Up @@ -3780,7 +3780,7 @@ <h2 id="changes3">Changes from Third Public Working Draft</h2>
<li>Thing</li>
<ul>
<li>TD now supports <a href="#meta-interactions-of-thing">meta interactions</a> <code>readallproperties</code>, <code>writeallproperties</code>, <code>readmultipleproperties</code> and <code>writemultipleproperties</code>.</li>
<li><a href="#thing">Thing</a> class now has optional <code>created</code> and <code>lastModified</code> members to provide information as to when the TD instance was created (in the case of <code>created</code>) or was last modified (in the case of <code>lastModified</code>).</li>
<li><a href="#thing">Thing</a> class now has optional <code>created</code> and <code>modified</code> members to provide information as to when the TD instance was created (in the case of <code>created</code>) or was last modified (in the case of <code>modified</code>).</li>
<li><a href="#thing">Thing</a> class now has an optional <code>version</code> member for providing version information.</li>
<li>Members <code>@context</code> and <code>@type</code> were added to <a href="#thing">Thing</a> class.</li>
</ul>
Expand Down
6 changes: 3 additions & 3 deletions ontology/td.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,10 @@
rdfs:comment "Provides information when the TD instance was created."@en .


### http://www.w3.org/2019/td#lastModified
:lastModified rdf:type owl:DatatypeProperty ;
### http://www.w3.org/2019/td#modified
:modified rdf:type owl:DatatypeProperty ;

rdfs:label "lastModified" ;
rdfs:label "modified" ;

rdfs:comment "Provides information when the TD instance was last modified."@en .

Expand Down
2 changes: 1 addition & 1 deletion validation/td-json-schema-validation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@
"created": {
"type": "string"
},
"lastModified": {
"modified": {
"type": "string"
},
"security": {
Expand Down
2 changes: 1 addition & 1 deletion validation/td-validation.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
sh:order "6"^^xsd:integer ;
] ;
sh:property [
sh:path td:lastModified ;
sh:path td:modified ;
sh:datatype xsd:dateTime ;
sh:order "7"^^xsd:integer ;
] ;
Expand Down

0 comments on commit 33b201e

Please sign in to comment.