Skip to content

Commit 82e5d0a

Browse files
StartAutomatingStartAutomating
authored andcommitted
Adding JSONSchema transpiler example (re #274)
1 parent e67f358 commit 82e5d0a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Transpilers/Protocols/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,16 @@ To be considered a protocol transpiler, a transpiler must:
9797
jsonschema https://aka.ms/terminal-profiles-schema#/$defs/Profile
9898
~~~
9999

100+
## JSONSchema.Protocol Example 2
101+
102+
103+
~~~PowerShell
104+
{
105+
[JSONSchema(SchemaURI='https://aka.ms/terminal-profiles-schema#/$defs/Profile')]
106+
param()
107+
}.Transpile()
108+
~~~
109+
100110
## UDP.Protocol Example 1
101111

102112

0 commit comments

Comments
 (0)