From dccbb37033634e9cb2bc1ad7d58cf3cbcc7032d3 Mon Sep 17 00:00:00 2001 From: forteddyt Date: Wed, 15 Mar 2023 12:29:32 -0700 Subject: [PATCH] add minLength:1 prop to required strings --- .../stable/2023-04-01/mfe.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-04-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-04-01/mfe.json index bef0e938877d..1a2008c24dfb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-04-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-04-01/mfe.json @@ -5756,6 +5756,7 @@ }, "uri": { "description": "[Required] Input Asset URI.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string" } @@ -6052,6 +6053,7 @@ }, "storeName": { "description": "[Required] Azure Data Lake store name.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ @@ -6078,6 +6080,7 @@ "properties": { "accountName": { "description": "[Required] Storage account name.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ @@ -6097,6 +6100,7 @@ }, "filesystem": { "description": "[Required] The name of the Data Lake Gen2 filesystem.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ @@ -6142,6 +6146,7 @@ "properties": { "accountName": { "description": "[Required] Storage account name.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ @@ -6161,6 +6166,7 @@ }, "fileShareName": { "description": "[Required] The name of the Azure file share that the datastore points to.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ @@ -6576,6 +6582,7 @@ "properties": { "contextUri": { "description": "[Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.\r\n", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string", "example": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/", @@ -6643,6 +6650,7 @@ }, "thumbprint": { "description": "[Required] Thumbprint of the certificate used for authentication.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string" } @@ -7084,6 +7092,7 @@ }, "environmentId": { "description": "[Required] The ARM resource ID of the Environment specification for the job.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ @@ -7399,6 +7408,7 @@ "properties": { "expression": { "description": "[Required] Specifies cron expression of schedule.\r\nThe expression should follow NCronTab format.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string" } @@ -7798,6 +7808,7 @@ }, "dataUri": { "description": "[Required] Uri of the data. Usage/meaning depends on Microsoft.MachineLearning.ManagementFrontEnd.Contracts.V20221001.Assets.DataVersionBase.DataType", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ @@ -8939,6 +8950,7 @@ "properties": { "assetId": { "description": "[Required] ARM resource ID of the asset.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string" } @@ -10521,6 +10533,7 @@ "properties": { "value": { "description": "[Required] Literal value for the input.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string" } @@ -11035,6 +11048,7 @@ }, "primaryMetric": { "description": "[Required] Name of the metric to optimize.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string" } @@ -12092,6 +12106,7 @@ "properties": { "path": { "description": "[Required] The path for the route.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string" }, @@ -12709,6 +12724,7 @@ "properties": { "name": { "description": "[Required] The name of the SKU. Ex - P3. It is typically a letter+number code.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string" }, @@ -13482,6 +13498,7 @@ }, "environmentId": { "description": "[Required] The ARM resource ID of the Environment specification for the job.", + "minLength": 1, "pattern": "[a-zA-Z0-9_]", "type": "string" },