Last active
September 3, 2020 04:02
-
-
Save rido-min/0ad96d2cd157c1ae1e6993bccde8f012 to your computer and use it in GitHub Desktop.
dtdl-snippets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Add DTDL Property" : { | |
"prefix": ["dtp"], | |
"body" : ["{ \n\t\"@type\" : \"Property\", \n\t\"name\" : \"$1\", \n\t\"schema\" : \"$0\" \n},"], | |
"description": "Adds a DTDL property" | |
}, | |
"Add DTDL Telemetry" : { | |
"prefix": ["dtt"], | |
"body" : ["{ \n \t\"@type\" : \"Telemetry\", \n\t\"name\" : \"$1\", \n\t\"schema\" : \"$0\" \n},"], | |
"description": "Adds a DTDL Telemetry" | |
}, | |
"Add DTDL Command" : { | |
"prefix": ["dtc"], | |
"body" : ["{ \n \t\"@type\" : \"Command\", \n\t\"name\" : \"$1\", \n\t\"request\" : { \n\t\t\"name\" : \"$0\", \n\t\t\"schema\" : \"integer\" } \n},"], | |
"description": "Adds a DTDL Command" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment