Skip to content

Commit

Permalink
Add experiment schema enforced quota limits (#26243)
Browse files Browse the repository at this point in the history
* Add experiment schema enforced quota limits

---------

Co-authored-by: Connor Blomquist <coblom@microsoft.com>
  • Loading branch information
blomqcon and Connor Blomquist committed Oct 16, 2023
1 parent ce8eaa6 commit def3963
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
"name"
],
"description": "List of steps.",
"minItems": 1
"minItems": 1,
"maxItems": 4
},
"selectors": {
"type": "array",
Expand Down Expand Up @@ -155,7 +156,8 @@
"x-ms-identifiers": [
"name"
],
"minItems": 1
"minItems": 1,
"maxItems": 9
}
},
"required": [
Expand All @@ -166,7 +168,7 @@
},
"branch": {
"type": "object",
"description": "Model that represents a branch in the step.",
"description": "Model that represents a branch in the step. 9 total per experiment.",
"properties": {
"name": {
"type": "string",
Expand All @@ -182,7 +184,8 @@
"x-ms-identifiers": [
"name"
],
"minItems": 1
"minItems": 1,
"maxItems": 9
}
},
"required": [
Expand All @@ -193,7 +196,7 @@
},
"action": {
"type": "object",
"description": "Model that represents the base action model.",
"description": "Model that represents the base action model. 9 total per experiment.",
"discriminator": "type",
"properties": {
"type": {
Expand Down Expand Up @@ -369,6 +372,7 @@
"type": "array",
"description": "List of Target references.",
"minItems": 1,
"maxItems": 50,
"items": {
"$ref": "#/definitions/targetReference"
}
Expand Down

0 comments on commit def3963

Please sign in to comment.