Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating schema titles to sentence case. #4799

Merged
merged 5 commits into from
Oct 17, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
},
"applicationId": {
"$ref": "schema:#/definitions/stringExpression",
"title": "LUIS Application ID",
"title": "LUIS application id,
"description": "Application ID for your model from the LUIS service."
},
"version": {
"$ref": "schema:#/definitions/stringExpression",
"title": "LUIS Version",
"title": "LUIS version",
"description": "Optional version to target. If null then predictionOptions.Slot is used."
},
"endpoint": {
"$ref": "schema:#/definitions/stringExpression",
"title": "LUIS Endpoint",
"title": "LUIS endpoint",
"description": "Endpoint to use for LUIS service like https://westus.api.cognitive.microsoft.com."
},
"endpointKey": {
Expand All @@ -33,7 +33,7 @@
},
"externalEntityRecognizer": {
"$kind": "Microsoft.IRecognizer",
"title": "External Entity Recognizer",
"title": "External entity recognizer",
"description": "Entities recognized by this recognizer will be passed to LUIS as external entities."
},
"dynamicLists": {
Expand Down Expand Up @@ -102,7 +102,7 @@
},
"preferExternalEntities": {
"$ref": "schema:#/definitions/booleanExpression",
"title": "Prefer External Entities",
"title": "Prefer external entities",
"description": "True to prefer external entities to those generated by LUIS models."
},
"slot": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.IRecognizer)",
"title": "Orchestrator Recognizer",
"title": "Orchestrator recognizer",
"description": "Orchestrator recognizer.",
"type": "object",
"properties": {
Expand All @@ -18,7 +18,7 @@
},
"snapshotPath": {
"$ref": "schema:#/definitions/stringExpression",
"title": "Endpoint Key",
"title": "Endpoint key",
"description": "SnapShot file path.",
"default": "=settings.orchestrator.shapshotpath"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.IDialog)",
"title": "QnAMaker Dialog",
"title": "QnAMaker dialog",
"description": "Dialog which uses QnAMAker knowledge base to answer questions.",
"type": "object",
"additionalProperties": false,
Expand All @@ -14,7 +14,7 @@
},
"endpointKey": {
"$ref": "schema:#/definitions/stringExpression",
"title": "Endpoint Key",
"title": "Endpoint key",
"description": "Endpoint key for the QnA Maker KB.",
"default": "=settings.qna.endpointkey"
},
Expand Down Expand Up @@ -59,7 +59,7 @@
},
"strictFilters": {
"$ref": "schema:#/definitions/arrayExpression",
"title": "Strict Filters",
"title": "Strict filters",
"description": "Metadata filters to use when calling the QnA Maker KB.",
"items": {
"type": "object",
Expand Down Expand Up @@ -95,7 +95,7 @@
},
"rankerType": {
"$ref": "schema:#/definitions/stringExpression",
"title": "Ranker Type",
"title": "Ranker type",
"description": "Type of Ranker.",
"oneOf": [
{
Expand All @@ -119,7 +119,7 @@
"description": "Join operator for Strict Filters.",
"oneOf": [
{
"title": "Join Operator",
"title": "Join operator",
"description": "Value of Join Operator to be used as conjunction with Strict Filter values.",
"enum": [
"AND",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.IRecognizer)",
"title": "QnAMaker Recognizer",
"title": "QnAMaker recognizer",
"description": "Recognizer for generating QnAMatch intents from a KB.",
"type": "object",
"properties": {
Expand All @@ -18,7 +18,7 @@
},
"endpointKey": {
"$ref": "schema:#/definitions/stringExpression",
"title": "Endpoint Key",
"title": "Endpoint key",
"description": "Endpoint key for the QnA Maker KB.",
"default": "=settings.qna.endpointkey"
},
Expand All @@ -39,7 +39,7 @@
},
"strictFilters": {
"$ref": "schema:#/definitions/arrayExpression",
"title": "Strict Filters",
"title": "Strict filters",
"description": "Metadata filters to use when calling the QnA Maker KB.",
"items": {
"type": "object",
Expand Down Expand Up @@ -102,7 +102,7 @@
"description": "Join operator for Strict Filters.",
"oneOf": [
{
"title": "Join Operator",
"title": "Join operator",
"description": "Value of Join Operator to be used as onjuction with Strict Filter values.",
"enum": [
"AND",
Expand All @@ -117,7 +117,7 @@
},
"includeDialogNameInMetadata": {
"$ref": "schema:#/definitions/booleanExpression",
"title": "Include Dialog Name",
"title": "Include dialog name",
"description": "When set to false, the dialog name will not be passed to QnAMaker. (default) is true",
"default": true,
"examples": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.Test.ITestAction)",
"title": "Assert Reply",
"title": "Assert reply",
"description": "Asserts that a reply text is valid.",
"type": "object",
"properties": {
"text": {
"type": "string",
"title": "Reply Text",
"title": "Reply text",
"description": "Expected reply text"
},
"exact": {
"type": "boolean",
"title": "Exact Match",
"title": "Exact match",
"description": "If true then an exact match must happen, if false then the reply activity.text must contain the reply text. [Default:false]"
},
"description": {
Expand All @@ -27,7 +27,7 @@
},
"assertions": {
"type": "array",
"title": "Assertions to perform to validate Activity that is sent by the dialog",
"title": "Assertions to perform to validate activity that is sent by the dialog",
Copy link
Contributor

@chrimc62 chrimc62 Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assertions to perform to validate activity that is sent by the dialog [](start = 22, length = 69)

Assertions to validate activity #Resolved

"description": "Sequence of expressions which must evaluate to true.",
"items": {
"$ref": "schema:#/definitions/condition",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.Test.ITestAction)",
"title": "Assert Reply Activity",
"title": "Assert reply activity",
"description": "Asserts that a reply activity is valid.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.Test.ITestAction)",
"title": "Assert Reply OneOf",
"title": "Assert reply OneOf",
Copy link
Contributor

@chrimc62 chrimc62 Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assert reply OneOf [](start = 14, length = 18)

Assert activity text matches at least one #Resolved

"description": "Asserts that a reply text is one of multiple optional responses.",
"type": "object",
"properties": {
Expand All @@ -17,7 +17,7 @@
},
"exact": {
"type": "boolean",
"title": "Exact Match",
"title": "Exact match",
"description": "If true then an exact match must happen, if false then the reply activity.text must contain the reply text. [Default:false]"
},
"description": {
Expand All @@ -32,7 +32,7 @@
},
"assertions": {
"type": "array",
"title": "Assertions to perform to validate Activity that is sent by the dialog",
"title": "Assertions to perform to validate activity that is sent by the dialog",
Copy link
Contributor

@chrimc62 chrimc62 Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assertions to perform to validate activity that is sent by the dialog [](start = 22, length = 69)

Assertions to validate activity #Resolved

"description": "Sequence of expressions which must evaluate to true.",
"items": {
"$ref": "schema:#/definitions/condition",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.Test.ITestAction)",
"title": "User Event",
"title": "User event",
"description": "Sends event to the bot from the user.",
"type": "object",
"required": [
Expand All @@ -11,7 +11,7 @@
"properties": {
"name": {
"type": "string",
"title": "Event Name",
"title": "Event name",
"description": "Event name to send to the bot."
},
"value": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.Test.IHttpRequestMock)",
"title": "HttpRequest Sequence Mock",
"title": "Httprequest sequence mock",
Copy link
Contributor

@chrimc62 chrimc62 Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Httprequest [](start = 14, length = 11)

HTTP request #Resolved

"description": "Mock HttpRequest in sequence order.",
"type": "object",
"required": [
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"matchType": {
"type": "string",
"title": "Body Match Type",
"title": "Body match type",
"description": "The match type for body.",
"enum": [
"Exact",
Expand Down Expand Up @@ -64,12 +64,12 @@
"description": "Mocked http response.",
"properties": {
"statusCode": {
"title": "Status Code",
"title": "Status code",
"description": "The status code. Default is OK(200).",
"oneOf": [
{
"type": "string",
"title": "String Status Code",
"title": "String status code",
"description": "Use string as status code.",
"enum": [
"Continue",
Expand Down Expand Up @@ -126,7 +126,7 @@
},
{
"type": "number",
"title": "Number Status Code",
"title": "Number status code",
"description": "Use number as status code.",
"examples": [
200
Expand All @@ -137,7 +137,7 @@
},
"reasonPhrase": {
"type": "string",
"title": "Reason Phrase",
"title": "Reason phrase",
"description": "The reason phrase.",
"examples": [
"Server is stolen."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"title": "Microsoft Test IHttpRequestMock",
"title": "Microsoft test IHttpRequestMock",
Copy link
Contributor

@chrimc62 chrimc62 Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IHttpRequestMoc [](start = 29, length = 15)

HTTP request mock #Resolved

"description": "Components which derive from HttpRequestMock class",
"$role": "interface"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"title": "Microsoft Test IPropertyMock",
"title": "Microsoft test IPropertyMock",
Copy link
Contributor

@chrimc62 chrimc62 Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IPropertyMock [](start = 29, length = 13)

property mock #Resolved

"description": "Components which derive from PropertyMock class",
"$role": "interface"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"title": "Microsoft Test ITestAction",
"title": "Microsoft test ITestAction",
Copy link
Contributor

@chrimc62 chrimc62 Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ITestAction [](start = 29, length = 11)

action #Resolved

"description": "Components which derive from TestAction class",
"$role": "interface"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"title": "Microsoft Test IUserTokenMock",
"title": "Microsoft test IUserTokenMock",
Copy link
Contributor

@chrimc62 chrimc62 Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IUserTokenMock [](start = 29, length = 14)

user token mock #Resolved

"description": "Components which derive from UserTokenMock class",
"$role": "interface"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [],
"title": "Test Script",
"title": "Test script",
"description": "Defines a sequence of test actions to perform to validate the behavior of dialogs.",
"type": "object",
"properties": {
Expand All @@ -17,15 +17,15 @@
},
"httpRequestMocks": {
"type": "array",
"title": "Http Request Mocks",
"title": "Http request mocks",
"description": "Mock data for Microsoft.HttpRequest.",
"items": {
"$kind": "Microsoft.Test.IHttpRequestMock"
}
},
"userTokenMocks": {
"type": "array",
"title": "User Token Mocks",
"title": "User token mocks",
"description": "Mock data for Microsoft.OAuthInput.",
"items": {
"$kind": "Microsoft.Test.IUserTokenMock"
Expand All @@ -47,7 +47,7 @@
},
"enableTrace": {
"type": "boolean",
"title": "Enable Trace Activity",
"title": "Enable trace activity",
"description": "Enable trace activities in the unit test (default is false)",
"default": false
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.Test.ITestAction)",
"title": "Send Activity",
"title": "Send activity",
"description": "Sends activity to the bot.",
"type": "object",
"required": [
Expand All @@ -16,7 +16,7 @@
},
"user": {
"type": "string",
"title": "User Name",
"title": "User name",
"description": "The activity.from.id and activity.from.name will be this if specified."
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"properties": {
"membersAdded": {
"type": "array",
"title": "Members Added",
"title": "Members added",
"description": "Names of the members to add",
"items": {
"type": "string",
Expand All @@ -18,7 +18,7 @@
},
"membersRemoved": {
"type": "array",
"title": "Members Removed",
"title": "Members removed",
"description": "Names of the members to remove",
"items": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.Test.ITestAction)",
"title": "Delay Execution",
"title": "Delay execution",
"description": "Delays text script for time period.",
"type": "object",
"required": [
Expand Down
Loading