This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* age schema * dimension schema * geography schema * geography schema * fix bug, temperature schema * change schema name * rename several properties * delete test2.schema
- Loading branch information
Showing
27 changed files
with
198 additions
and
95 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"age": { | ||
"type": "object", | ||
"$mappings": ["@{concat('age:', property)}", "age"], | ||
"properties": { | ||
"number": { | ||
"type": "number" | ||
}, | ||
"units": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["number", "units"], | ||
"$templates": ["age.lu","objectProperty.lg", "stringAsk.dialog","ageSet.dialog"] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# filename | ||
- @{schemaName}-@{property}Setage.dialog | ||
|
||
# template | ||
- ``` | ||
{ | ||
"$schema": "@{appSchema}", | ||
"$kind": "Microsoft.OnSetProperty", | ||
"property": "@{property}", | ||
"entity": "age", | ||
"actions": [ | ||
{ | ||
"$kind": "Microsoft.SetProperty", | ||
"property": "$@{property}.number", | ||
"value": "@age['number']" | ||
}, | ||
{ | ||
"$kind": "Microsoft.SetProperty", | ||
"property": "$@{property}.units", | ||
"value": "@age['units']" | ||
} | ||
] | ||
} | ||
``` |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"dimension": { | ||
"type": "object", | ||
"$mappings": ["@{concat('dimension:', property)}", "dimension"], | ||
"properties": { | ||
"number": { | ||
"type": "number" | ||
}, | ||
"units": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["number", "units"], | ||
"$templates": ["dimension.lu","objectProperty.lg", "stringAsk.dialog","dimensionSet.dialog"] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# filename | ||
- @{schemaName}-@{property}Setdimension.dialog | ||
|
||
# template | ||
- ``` | ||
{ | ||
"$schema": "@{appSchema}", | ||
"$kind": "Microsoft.OnSetProperty", | ||
"property": "@{property}", | ||
"entity": "dimension", | ||
"actions": [ | ||
{ | ||
"$kind": "Microsoft.SetProperty", | ||
"property": "$@{property}.number", | ||
"value": "@dimension['number']" | ||
}, | ||
{ | ||
"$kind": "Microsoft.SetProperty", | ||
"property": "$@{property}.units", | ||
"value": "@dimension['units']" | ||
} | ||
] | ||
} | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# filename | ||
- @{entityFilename()} | ||
- @{schemaName}-age.@{locale}.lu | ||
|
||
# template | ||
- $PREBUILT:age @{roles()} | ||
|
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# filename | ||
- @{entityFilename()} | ||
- @{schemaName}-email.@{locale}.lu | ||
|
||
# template | ||
- $PREBUILT:email @{roles()} | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# filename | ||
- @{entityFilename()} | ||
- @{schemaName}-number.@{locale}.lu | ||
|
||
# template | ||
- $PREBUILT:number @{roles()} | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# filename | ||
- @{entityFilename()} | ||
- @{schemaName}-ordinal.@{locale}.lu | ||
|
||
# template | ||
- $PREBUILT:ordinal @{roles()} | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# filename | ||
- @{entityFilename()} | ||
- @{schemaName}-url.@{locale}.lu | ||
|
||
# template | ||
- $PREBUILT:url @{roles()} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"geographyV2": { | ||
"type": "object", | ||
"$mappings": ["@{concat('geographyV2:', property)}", "geographyV2"], | ||
"properties": { | ||
"type": { | ||
"type": "type" | ||
}, | ||
"location": { | ||
"type": "location" | ||
} | ||
}, | ||
"required": ["type", "location"], | ||
"$templates": ["geographyV2.lu","objectProperty.lg", "stringAsk.dialog","geographyV2Set.dialog"] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# filename | ||
- @{schemaName}-@{property}SetgeographyV2.dialog | ||
|
||
# template | ||
- ``` | ||
{ | ||
"$schema": "@{appSchema}", | ||
"$kind": "Microsoft.OnSetProperty", | ||
"property": "@{property}", | ||
"entity": "geographyV2", | ||
"actions": [ | ||
{ | ||
"$kind": "Microsoft.SetProperty", | ||
"property": "$@{property}.type", | ||
"value": "@geographyV2['type']" | ||
}, | ||
{ | ||
"$kind": "Microsoft.SetProperty", | ||
"property": "$@{property}.location", | ||
"value": "@geographyV2['location']" | ||
} | ||
] | ||
} | ||
``` |
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,6 @@ | |
"TriggerIntent.dialog", | ||
"luconfig.json", | ||
"lu.dialog", | ||
"Main.dialog" | ||
"Main.dialog" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"temperature": { | ||
"type": "object", | ||
"$mappings": ["@{concat('temperature:', property)}", "temperature"], | ||
"properties": { | ||
"number": { | ||
"type": "number" | ||
}, | ||
"units": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["number", "units"], | ||
"$templates": ["temperature.lu","objectProperty.lg", "stringAsk.dialog","temperatureSet.dialog"] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# filename | ||
- @{schemaName}-@{property}Setmoney.dialog | ||
|
||
# template | ||
- ``` | ||
{ | ||
"$schema": "@{appSchema}", | ||
"$kind": "Microsoft.OnSetProperty", | ||
"property": "@{property}", | ||
"entity": "temperature", | ||
"actions": [ | ||
{ | ||
"$kind": "Microsoft.SetProperty", | ||
"property": "$@{property}.number", | ||
"value": "@temperature['number']" | ||
}, | ||
{ | ||
"$kind": "Microsoft.SetProperty", | ||
"property": "$@{property}.units", | ||
"value": "@temperature['units']" | ||
} | ||
] | ||
} | ||
``` |
Oops, something went wrong.