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

Personalizer v1.0 preview #5743

Merged
merged 22 commits into from
Apr 26, 2019
Merged
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
Prev Previous commit
Next Next commit
Update readonly properties
  • Loading branch information
tyclintw committed Apr 26, 2019
commit a2ea941b9e0d74c9be47f26f01693b11adcad252
Original file line number Diff line number Diff line change
Expand Up @@ -717,21 +717,26 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"readOnly": true
},
"name": {
"type": "string"
"type": "string",
"readOnly": true
},
"startTime": {
"format": "date-time",
"type": "string"
"type": "string",
"readOnly": true
},
"endTime": {
"format": "date-time",
"type": "string"
"type": "string",
"readOnly": true
},
"jobId": {
"type": "string"
"type": "string",
"readOnly": true
},
"status": {
"enum": [
Expand All @@ -741,6 +746,7 @@
"notSubmitted"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "EvaluationJobStatus",
"modelAsString": true
Expand All @@ -758,19 +764,27 @@
"type": "object",
"properties": {
"name": {
"type": "string"
"type": "string",
"readOnly": true
},
"arguments": {
"type": "string"
"type": "string",
"readOnly": true
},
"summary": {
"type": "array",
"items": {
"$ref": "#/definitions/PolicyResultSummary"
}
},
"readOnly": true
},
"totalSummary": {
"$ref": "#/definitions/PolicyResultSummary"
"allOf": [
{
"$ref": "#/definitions/PolicyResultSummary"
}
],
"readOnly": true
}
}
},
Expand All @@ -786,34 +800,41 @@
"properties": {
"timeStamp": {
"format": "date-time",
"type": "string"
"type": "string",
"readOnly": true
},
"ipsEstimatorNumerator": {
"format": "float",
"type": "number"
"type": "number",
"readOnly": true
},
"ipsEstimatorDenominator": {
"format": "float",
"type": "number"
"type": "number",
"readOnly": true
},
"snipsEstimatorDenominator": {
"format": "float",
"type": "number"
"type": "number",
"readOnly": true
},
"aggregateTimeWindow": {
"type": "string"
"type": "string",
"readOnly": true
},
"nonZeroProbability": {
"format": "float",
"type": "number"
},
"confidenceInterval": {
"format": "float",
"type": "number"
"type": "number",
"readOnly": true
},
"sumOfSquares": {
"format": "float",
"type": "number"
"type": "number",
"readOnly": true
}
}
},
Expand All @@ -838,7 +859,12 @@
"type": "object",
"properties": {
"dateRange": {
"$ref": "#/definitions/DateRange"
"allOf": [
{
"$ref": "#/definitions/DateRange"
}
],
"readOnly": true
}
}
},
Expand All @@ -847,11 +873,13 @@
"properties": {
"from": {
"format": "date-time",
"type": "string"
"type": "string",
"readOnly": true
},
"to": {
"format": "date-time",
"type": "string"
"type": "string",
"readOnly": true
}
}
},
Expand All @@ -860,11 +888,13 @@
"properties": {
"creationTime": {
"format": "date-time",
"type": "string"
"type": "string",
"readOnly": true
},
"lastModifiedTime": {
"format": "date-time",
"type": "string"
"type": "string",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -937,7 +967,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/RankedAction"
}
},
"readOnly": true
},
"eventId": {
"description": "The eventId for the round trip from request to response.",
Expand All @@ -946,7 +977,8 @@
},
"rewardActionId": {
"description": "The action chosen by the Personalizer service. This is the action for which to report the reward. This might not be the \r\nfirst found in \u0027ranking\u0027 if an action in the request in first position was part of the excluded ids.",
"type": "string"
"type": "string",
"readOnly": true
}
}
},
Expand Down