Skip to content

Commit aeff41b

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

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/JSONSchema.Protocol.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ Converts a json schema to PowerShell.
1515
jsonschema https://aka.ms/terminal-profiles-schema#/$defs/Profile
1616
```
1717

18+
#### EXAMPLE 2
19+
```PowerShell
20+
{
21+
[JSONSchema(SchemaURI='https://aka.ms/terminal-profiles-schema#/$defs/Profile')]
22+
param()
23+
}.Transpile()
24+
```
25+
1826
---
1927
### Parameters
2028
#### **SchemaUri**

0 commit comments

Comments
 (0)