File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "@context" : [
3+ " dtmi:dtdl:context;3" ,
4+ " dtmi:dtdl:extension:quantitativeTypes;1"
5+ ],
6+ "@id" : " dtmi:com:example;1" ,
7+ "@type" : " Interface" ,
8+ "extends" : " dtmi:com:example:base;1" ,
9+ "contents" : [
10+ {
11+ "@type" : [ " Property" , " Temperature" ],
12+ "name" : " propTempInKelvin" ,
13+ "schema" : " double" ,
14+ "unit" : " kelvin"
15+ },
16+ {
17+ "@type" : [ " Telemetry" , " Temperature" ],
18+ "name" : " telTempInKelvin" ,
19+ "schema" : " double" ,
20+ "unit" : " kelvin"
21+ },
22+ {
23+ "@type" : " Component" ,
24+ "name" : " myComponent" ,
25+ "schema" : " dtmi:com:example:base;1"
26+ }
27+ ]
28+ }
Original file line number Diff line number Diff line change 1+ {
2+ "@context" : " dtmi:dtdl:context;3" ,
3+ "@id" : " dtmi:com:example:base;1" ,
4+ "@type" : " Interface" ,
5+ "contents" : [
6+ {
7+ "@type" : " Property" ,
8+ "name" : " baseProp" ,
9+ "schema" : " dateTime"
10+ }
11+ ]
12+ }
You can’t perform that action at this time.
0 commit comments