diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 42dc386a5c..28572318e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,18 +24,18 @@ repos: hooks: - id: isort - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.4.4" + rev: "v0.4.10" hooks: - id: ruff - repo: https://github.com/PyCQA/bandit - rev: "1.7.8" + rev: "1.7.9" hooks: - id: bandit additional_dependencies: - "bandit[toml]" args: ["-c", "pyproject.toml"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.10.0" + rev: "v1.10.1" hooks: - id: mypy additional_dependencies: diff --git a/src/cfnlint/data/schemas/patches/providers/all/alexa_ask_skill/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/alexa_ask_skill/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/alexa_ask_skill/overrides_manifest.json b/src/cfnlint/data/schemas/patches/providers/all/alexa_ask_skill/overrides_manifest.json new file mode 100644 index 0000000000..68e35e8255 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/alexa_ask_skill/overrides_manifest.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/Overrides/properties/Manifest", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Overrides/properties/Manifest", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_model/schema.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_model/schema.json index 0bbbe3b4a0..ccc768cc6e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_model/schema.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_model/schema.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/Schema", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Schema", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/Schema", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Schema", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_restapi/body.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_restapi/body.json index 49d995db12..6c3439340d 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_restapi/body.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_restapi/body.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/Body", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Body", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/Body", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Body", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_restapi/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_restapi/policy.json index f2cd485f7a..3a5c0890fb 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_restapi/policy.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigateway_restapi/policy.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/Policy", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Policy", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_api/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_api/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_api/body.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_api/body.json new file mode 100644 index 0000000000..6c3439340d --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_api/body.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Body", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Body", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_api/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_api/tags.json new file mode 100644 index 0000000000..0703765854 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_api/tags.json @@ -0,0 +1,22 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_apigatewaymanagedoverrides/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_apigatewaymanagedoverrides/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_apigatewaymanagedoverrides/stageoverrides_routesettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_apigatewaymanagedoverrides/stageoverrides_routesettings.json new file mode 100644 index 0000000000..6be1ccaa71 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_apigatewaymanagedoverrides/stageoverrides_routesettings.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/StageOverrides/properties/RouteSettings", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/StageOverrides/properties/RouteSettings", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_apigatewaymanagedoverrides/stageoverrides_stagevariables.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_apigatewaymanagedoverrides/stageoverrides_stagevariables.json new file mode 100644 index 0000000000..40d84521f8 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_apigatewaymanagedoverrides/stageoverrides_stagevariables.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/StageOverrides/properties/StageVariables", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/StageOverrides/properties/StageVariables", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_domainname/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_domainname/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_domainname/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_domainname/tags.json new file mode 100644 index 0000000000..0703765854 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_domainname/tags.json @@ -0,0 +1,22 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/requestparameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/requestparameters.json new file mode 100644 index 0000000000..decea77672 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/requestparameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/RequestParameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/RequestParameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/requesttemplates.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/requesttemplates.json new file mode 100644 index 0000000000..3eca768b9c --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/requesttemplates.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/RequestTemplates", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/RequestTemplates", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/responseparameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/responseparameters.json new file mode 100644 index 0000000000..8afea75161 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integration/responseparameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ResponseParameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ResponseParameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integrationresponse/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integrationresponse/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integrationresponse/responseparameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integrationresponse/responseparameters.json new file mode 100644 index 0000000000..8afea75161 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integrationresponse/responseparameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ResponseParameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ResponseParameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integrationresponse/responsetemplates.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integrationresponse/responsetemplates.json new file mode 100644 index 0000000000..a83b08a8c0 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_integrationresponse/responsetemplates.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ResponseTemplates", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ResponseTemplates", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_model/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_model/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_model/schema.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_model/schema.json new file mode 100644 index 0000000000..ccc768cc6e --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_model/schema.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Schema", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Schema", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_route/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_route/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_route/requestmodels.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_route/requestmodels.json new file mode 100644 index 0000000000..e80bbcbf3d --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_route/requestmodels.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/RequestModels", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/RequestModels", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_route/requestparameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_route/requestparameters.json new file mode 100644 index 0000000000..decea77672 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_route/requestparameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/RequestParameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/RequestParameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_routeresponse/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_routeresponse/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_routeresponse/responsemodels.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_routeresponse/responsemodels.json new file mode 100644 index 0000000000..70da992bc0 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_routeresponse/responsemodels.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ResponseModels", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ResponseModels", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_routeresponse/responseparameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_routeresponse/responseparameters.json new file mode 100644 index 0000000000..8afea75161 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_routeresponse/responseparameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ResponseParameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ResponseParameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/routesettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/routesettings.json new file mode 100644 index 0000000000..13e14c1c45 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/routesettings.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/RouteSettings", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/RouteSettings", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/stagevariables.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/stagevariables.json new file mode 100644 index 0000000000..326572eb18 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/stagevariables.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/StageVariables", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/StageVariables", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_vpclink/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_vpclink/tags.json index 79cd834d08..0703765854 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_vpclink/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_vpclink/tags.json @@ -10,10 +10,13 @@ "op": "replace", "path": "/properties/Tags", "value": { - "type": [ - "object", - "string" - ] + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_appsync_graphqlapi/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_appsync_graphqlapi/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_appsync_graphqlapi/environmentvariables.json b/src/cfnlint/data/schemas/patches/providers/all/aws_appsync_graphqlapi/environmentvariables.json new file mode 100644 index 0000000000..4a6225e374 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_appsync_graphqlapi/environmentvariables.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/EnvironmentVariables", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/EnvironmentVariables", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_backup_backupplan/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_backup_backupplan/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_backup_backupplan/advancedbackupsettingresourcetype_backupoptions.json b/src/cfnlint/data/schemas/patches/providers/all/aws_backup_backupplan/advancedbackupsettingresourcetype_backupoptions.json new file mode 100644 index 0000000000..f3895f32ef --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_backup_backupplan/advancedbackupsettingresourcetype_backupoptions.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/AdvancedBackupSettingResourceType/properties/BackupOptions", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/AdvancedBackupSettingResourceType/properties/BackupOptions", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/ekscontainerresourcerequirements_limits.json b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/ekscontainerresourcerequirements_limits.json new file mode 100644 index 0000000000..4576848bd2 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/ekscontainerresourcerequirements_limits.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/EksContainerResourceRequirements/properties/Limits", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/EksContainerResourceRequirements/properties/Limits", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/ekscontainerresourcerequirements_requests.json b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/ekscontainerresourcerequirements_requests.json new file mode 100644 index 0000000000..5c73a0dafd --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/ekscontainerresourcerequirements_requests.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/EksContainerResourceRequirements/properties/Requests", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/EksContainerResourceRequirements/properties/Requests", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/logconfiguration_options.json b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/logconfiguration_options.json new file mode 100644 index 0000000000..949cb1eca5 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/logconfiguration_options.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/LogConfiguration/properties/Options", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/LogConfiguration/properties/Options", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/metadata_labels.json b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/metadata_labels.json new file mode 100644 index 0000000000..8a0c16c376 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/metadata_labels.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/Metadata/properties/Labels", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Metadata/properties/Labels", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/parameters.json new file mode 100644 index 0000000000..e8d370a2b3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_budgets_budget/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_budgets_budget/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_budgets_budget/budgetdata_costfilters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_budgets_budget/budgetdata_costfilters.json new file mode 100644 index 0000000000..d4f5238c54 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_budgets_budget/budgetdata_costfilters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/BudgetData/properties/CostFilters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/BudgetData/properties/CostFilters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_budgets_budget/budgetdata_plannedbudgetlimits.json b/src/cfnlint/data/schemas/patches/providers/all/aws_budgets_budget/budgetdata_plannedbudgetlimits.json new file mode 100644 index 0000000000..f4021fcdd8 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_budgets_budget/budgetdata_plannedbudgetlimits.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/BudgetData/properties/PlannedBudgetLimits", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/BudgetData/properties/PlannedBudgetLimits", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cloudformation_waitcondition/data.json b/src/cfnlint/data/schemas/patches/providers/all/aws_cloudformation_waitcondition/data.json index ad3de7cd12..9a9a96652f 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_cloudformation_waitcondition/data.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_cloudformation_waitcondition/data.json @@ -1,17 +1,18 @@ [ - { - "op": "test", - "path": "/properties/Data", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Data", - "value": { - "type": - ["object"] - } - } + { + "op": "test", + "path": "/properties/Data", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Data", + "value": { + "type": [ + "object" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_codepipeline_pipeline/actiondeclaration_configuration.json b/src/cfnlint/data/schemas/patches/providers/all/aws_codepipeline_pipeline/actiondeclaration_configuration.json index 0d08353b70..4d25a016b7 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_codepipeline_pipeline/actiondeclaration_configuration.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_codepipeline_pipeline/actiondeclaration_configuration.json @@ -10,6 +10,7 @@ "op": "replace", "path": "/definitions/ActionDeclaration/properties/Configuration", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypool/cognitoevents.json b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypool/cognitoevents.json index a5461445cc..a00cf8f5da 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypool/cognitoevents.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypool/cognitoevents.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/CognitoEvents", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/CognitoEvents", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/CognitoEvents", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/CognitoEvents", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypool/supportedloginproviders.json b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypool/supportedloginproviders.json index 238bfacf6f..e525f5e785 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypool/supportedloginproviders.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypool/supportedloginproviders.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/SupportedLoginProviders", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/SupportedLoginProviders", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/SupportedLoginProviders", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/SupportedLoginProviders", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolprincipaltag/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolprincipaltag/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolprincipaltag/principaltags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolprincipaltag/principaltags.json new file mode 100644 index 0000000000..6ada3c79d3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolprincipaltag/principaltags.json @@ -0,0 +1,18 @@ +[ + { + "op": "test", + "path": "/properties/PrincipalTags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PrincipalTags", + "value": { + "type": [ + "object" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolroleattachment/rolemappings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolroleattachment/rolemappings.json index 4a156d3f7e..511da03795 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolroleattachment/rolemappings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolroleattachment/rolemappings.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/RoleMappings", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/RoleMappings", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/RoleMappings", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/RoleMappings", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolroleattachment/roles.json b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolroleattachment/roles.json index 46eb95f2e6..8633f59ccd 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolroleattachment/roles.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_identitypoolroleattachment/roles.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/Roles", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Roles", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/Roles", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Roles", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpool/userpooltags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpool/userpooltags.json index 5f655cb107..89a4d9453b 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpool/userpooltags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpool/userpooltags.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/UserPoolTags", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/UserPoolTags", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/UserPoolTags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/UserPoolTags", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpoolidentityprovider/attributemapping.json b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpoolidentityprovider/attributemapping.json new file mode 100644 index 0000000000..b340165c4f --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpoolidentityprovider/attributemapping.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/AttributeMapping", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/AttributeMapping", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpoolidentityprovider/providerdetails.json b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpoolidentityprovider/providerdetails.json new file mode 100644 index 0000000000..0f36459411 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpoolidentityprovider/providerdetails.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ProviderDetails", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ProviderDetails", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpooluser/clientmetadata.json b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpooluser/clientmetadata.json index 5a8b08ddad..7ebbe530b1 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpooluser/clientmetadata.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_cognito_userpooluser/clientmetadata.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/ClientMetadata", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/ClientMetadata", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/ClientMetadata", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ClientMetadata", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_config_configrule/inputparameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_config_configrule/inputparameters.json new file mode 100644 index 0000000000..0835d1de1c --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_config_configrule/inputparameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/InputParameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/InputParameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_config_remediationconfiguration/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_config_remediationconfiguration/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_config_remediationconfiguration/parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_config_remediationconfiguration/parameters.json new file mode 100644 index 0000000000..e8d370a2b3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_config_remediationconfiguration/parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/assigncontactcategoryaction.json b/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/assigncontactcategoryaction.json new file mode 100644 index 0000000000..0f5d429a6a --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/assigncontactcategoryaction.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/AssignContactCategoryAction", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/AssignContactCategoryAction", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/endassociatedtasksaction.json b/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/endassociatedtasksaction.json new file mode 100644 index 0000000000..9584032660 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/endassociatedtasksaction.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/EndAssociatedTasksAction", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/EndAssociatedTasksAction", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/fieldvalue_emptyvalue.json b/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/fieldvalue_emptyvalue.json new file mode 100644 index 0000000000..122994c6d4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_connect_rule/fieldvalue_emptyvalue.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldValue/properties/EmptyValue", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldValue/properties/EmptyValue", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_connect_view/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_connect_view/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_connect_view/template.json b/src/cfnlint/data/schemas/patches/providers/all/aws_connect_view/template.json new file mode 100644 index 0000000000..40fb7057b3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_connect_view/template.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Template", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Template", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_controltower_enabledbaseline/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_controltower_enabledbaseline/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_controltower_enabledbaseline/anytype.json b/src/cfnlint/data/schemas/patches/providers/all/aws_controltower_enabledbaseline/anytype.json new file mode 100644 index 0000000000..b208098049 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_controltower_enabledbaseline/anytype.json @@ -0,0 +1,24 @@ +[ + { + "op": "replace", + "path": "/definitions/AnyType", + "value": { + "insertionOrder": false, + "items": { + "type": [ + "string", + "number", + "object", + "boolean" + ] + }, + "type": [ + "array", + "string", + "number", + "object", + "boolean" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_controltower_landingzone/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_controltower_landingzone/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_controltower_landingzone/manifest.json b/src/cfnlint/data/schemas/patches/providers/all/aws_controltower_landingzone/manifest.json new file mode 100644 index 0000000000..068884735c --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_controltower_landingzone/manifest.json @@ -0,0 +1,18 @@ +[ + { + "op": "test", + "path": "/properties/Manifest", + "value": {} + }, + { + "op": "replace", + "path": "/properties/Manifest", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dax_cluster/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_dax_cluster/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dax_cluster/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dax_cluster/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dax_cluster/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dax_parametergroup/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_dax_parametergroup/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dax_parametergroup/parametersnamevalues.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dax_parametergroup/parametersnamevalues.json new file mode 100644 index 0000000000..95c500ce2f --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dax_parametergroup/parametersnamevalues.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ParameterNameValues", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ParameterNameValues", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/crossregioncopytargets.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/crossregioncopytargets.json index f65d6b73a0..8e201fd913 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/crossregioncopytargets.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/crossregioncopytargets.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/CrossRegionCopyTargets", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/excludetags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/excludetags.json index 9ed778b141..cf2e3b9a49 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/excludetags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/excludetags.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/ExcludeTags", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/excludevolumetypeslist.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/excludevolumetypeslist.json index 6e686fd120..f82a8cb458 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/excludevolumetypeslist.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dlm_lifecyclepolicy/excludevolumetypeslist.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/ExcludeVolumeTypesList", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dms_replicationconfig/replicationsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dms_replicationconfig/replicationsettings.json new file mode 100644 index 0000000000..a087dfc1c3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dms_replicationconfig/replicationsettings.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ReplicationSettings", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ReplicationSettings", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dms_replicationconfig/supplementalsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dms_replicationconfig/supplementalsettings.json new file mode 100644 index 0000000000..ba497f5814 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dms_replicationconfig/supplementalsettings.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/SupplementalSettings", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/SupplementalSettings", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dms_replicationconfig/tablmappings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dms_replicationconfig/tablmappings.json new file mode 100644 index 0000000000..c6b2c9ad1a --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dms_replicationconfig/tablmappings.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/TableMappings", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/TableMappings", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_docdb_dbclusterparametergroup/parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_docdb_dbclusterparametergroup/parameters.json index f97b35b36c..e8d370a2b3 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_docdb_dbclusterparametergroup/parameters.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_docdb_dbclusterparametergroup/parameters.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/Parameters", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Parameters", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dynamodb_globaltable/resourcepolicy_policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dynamodb_globaltable/resourcepolicy_policydocument.json new file mode 100644 index 0000000000..45747ecd61 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dynamodb_globaltable/resourcepolicy_policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/ResourcePolicy/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/ResourcePolicy/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dynamodb_table/keyschema_2.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dynamodb_table/keyschema_2.json new file mode 100644 index 0000000000..ebd61b22a5 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dynamodb_table/keyschema_2.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/KeySchema/oneOf/1", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/KeySchema/oneOf/1", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dynamodb_table/resourcepolicy_policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dynamodb_table/resourcepolicy_policydocument.json new file mode 100644 index 0000000000..45747ecd61 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dynamodb_table/resourcepolicy_policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/ResourcePolicy/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/ResourcePolicy/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_ec2_vpcendpoint/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_ec2_vpcendpoint/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_ec2_vpcendpoint/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_ec2_vpcendpoint/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_ec2_vpcendpoint/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_ecr_registrypolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_ecr_registrypolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_ecr_registrypolicy/policytext.json b/src/cfnlint/data/schemas/patches/providers/all/aws_ecr_registrypolicy/policytext.json new file mode 100644 index 0000000000..4037a5716d --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_ecr_registrypolicy/policytext.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyText", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyText", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_efs_filesystem/filesystempolicy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_efs_filesystem/filesystempolicy.json new file mode 100644 index 0000000000..c3f5eaa548 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_efs_filesystem/filesystempolicy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/FileSystemPolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/FileSystemPolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_elasticloadbalancing_loadbalancer/policies_attributes.json b/src/cfnlint/data/schemas/patches/providers/all/aws_elasticloadbalancing_loadbalancer/policies_attributes.json new file mode 100644 index 0000000000..04596a7c2e --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_elasticloadbalancing_loadbalancer/policies_attributes.json @@ -0,0 +1,18 @@ +[ + { + "op": "test", + "path": "/definitions/Policies/properties/Attributes/items", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Policies/properties/Attributes/items", + "value": { + "type": [ + "object" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_elasticsearch_domain/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_elasticsearch_domain/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_elasticsearch_domain/accesspolicies.json b/src/cfnlint/data/schemas/patches/providers/all/aws_elasticsearch_domain/accesspolicies.json new file mode 100644 index 0000000000..555546309e --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_elasticsearch_domain/accesspolicies.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/AccessPolicies", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/AccessPolicies", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_emr_cluster/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_emr_cluster/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_emr_cluster/additionalinfo.json b/src/cfnlint/data/schemas/patches/providers/all/aws_emr_cluster/additionalinfo.json new file mode 100644 index 0000000000..d329692cfd --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_emr_cluster/additionalinfo.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/AdditionalInfo", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/AdditionalInfo", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_emr_securityconfiguration/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_emr_securityconfiguration/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_emr_securityconfiguration/securityconfiguration.json b/src/cfnlint/data/schemas/patches/providers/all/aws_emr_securityconfiguration/securityconfiguration.json new file mode 100644 index 0000000000..0126ce1fe5 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_emr_securityconfiguration/securityconfiguration.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/SecurityConfiguration", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/SecurityConfiguration", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_events_archive/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_events_archive/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_events_archive/eventpattern.json b/src/cfnlint/data/schemas/patches/providers/all/aws_events_archive/eventpattern.json new file mode 100644 index 0000000000..4dbbdfc146 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_events_archive/eventpattern.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/EventPattern", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/EventPattern", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_events_eventbuspolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_events_eventbuspolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_events_eventbuspolicy/statement.json b/src/cfnlint/data/schemas/patches/providers/all/aws_events_eventbuspolicy/statement.json new file mode 100644 index 0000000000..bcd642f3d8 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_events_eventbuspolicy/statement.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Statement", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Statement", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_events_rule/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_events_rule/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_events_rule/eventpattern.json b/src/cfnlint/data/schemas/patches/providers/all/aws_events_rule/eventpattern.json new file mode 100644 index 0000000000..4dbbdfc146 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_events_rule/eventpattern.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/EventPattern", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/EventPattern", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_eventschemas_registrypolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_eventschemas_registrypolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_eventschemas_registrypolicy/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_eventschemas_registrypolicy/policy.json new file mode 100644 index 0000000000..3a5c0890fb --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_eventschemas_registrypolicy/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/ekscontainerresourcerequirements_limits.json b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/ekscontainerresourcerequirements_limits.json new file mode 100644 index 0000000000..4576848bd2 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/ekscontainerresourcerequirements_limits.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/EksContainerResourceRequirements/properties/Limits", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/EksContainerResourceRequirements/properties/Limits", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/ekscontainerresourcerequirements_requests.json b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/ekscontainerresourcerequirements_requests.json new file mode 100644 index 0000000000..5c73a0dafd --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/ekscontainerresourcerequirements_requests.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/EksContainerResourceRequirements/properties/Requests", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/EksContainerResourceRequirements/properties/Requests", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/logconfiguration_options.json b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/logconfiguration_options.json new file mode 100644 index 0000000000..949cb1eca5 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/logconfiguration_options.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/LogConfiguration/properties/Options", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/LogConfiguration/properties/Options", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/metadata_labels.json b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/metadata_labels.json new file mode 100644 index 0000000000..8a0c16c376 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/metadata_labels.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/Metadata/properties/Labels", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Metadata/properties/Labels", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/parameteres.json b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/parameteres.json new file mode 100644 index 0000000000..e8d370a2b3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/parameteres.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_gammadilithium_jobdefinition/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_connection/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_connection/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_connection/connectioninput_connectionproperties.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_connection/connectioninput_connectionproperties.json new file mode 100644 index 0000000000..e9660a5d25 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_connection/connectioninput_connectionproperties.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/ConnectionInput/properties/ConnectionProperties", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/ConnectionInput/properties/ConnectionProperties", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_crawler/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_crawler/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_crawler/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_crawler/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_crawler/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_customentitytype/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_customentitytype/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_customentitytype/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_customentitytype/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_customentitytype/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_database/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_database/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_database/databaseinput_parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_database/databaseinput_parameters.json new file mode 100644 index 0000000000..85bcf39a29 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_database/databaseinput_parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/DatabaseInput/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/DatabaseInput/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_dataqualityruleset/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_dataqualityruleset/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_dataqualityruleset/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_dataqualityruleset/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_dataqualityruleset/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_devendpoint/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_devendpoint/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_devendpoint/arguments.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_devendpoint/arguments.json new file mode 100644 index 0000000000..1fcbcbcec5 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_devendpoint/arguments.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Arguments", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Arguments", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_devendpoint/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_devendpoint/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_devendpoint/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/defaultarguments.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/defaultarguments.json new file mode 100644 index 0000000000..5bd9c2ab34 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/defaultarguments.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/DefaultArguments", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/DefaultArguments", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/nonoverridablearguments.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/nonoverridablearguments.json new file mode 100644 index 0000000000..61f3122415 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/nonoverridablearguments.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/NonOverridableArguments", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/NonOverridableArguments", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_job/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_mltransform/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_mltransform/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_mltransform/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_mltransform/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_mltransform/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/partitioninput_parameter.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/partitioninput_parameter.json new file mode 100644 index 0000000000..c85f7fae75 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/partitioninput_parameter.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/PartitionInput/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/PartitionInput/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/serdeinfo_parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/serdeinfo_parameters.json new file mode 100644 index 0000000000..6b24bacad3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/serdeinfo_parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/SerdeInfo/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/SerdeInfo/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/skewedinfo_skewedcolumnvaluelocationmaps.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/skewedinfo_skewedcolumnvaluelocationmaps.json new file mode 100644 index 0000000000..835c872407 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/skewedinfo_skewedcolumnvaluelocationmaps.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/SkewedInfo/properties/SkewedColumnValueLocationMaps", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/SkewedInfo/properties/SkewedColumnValueLocationMaps", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/storagedescriptor_parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/storagedescriptor_parameters.json new file mode 100644 index 0000000000..ed6c29fda6 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_partition/storagedescriptor_parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/StorageDescriptor/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/StorageDescriptor/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/serdeinfo_parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/serdeinfo_parameters.json new file mode 100644 index 0000000000..6b24bacad3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/serdeinfo_parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/SerdeInfo/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/SerdeInfo/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/skewedinfo_skewedcolumnvaluelocationmaps.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/skewedinfo_skewedcolumnvaluelocationmaps.json new file mode 100644 index 0000000000..835c872407 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/skewedinfo_skewedcolumnvaluelocationmaps.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/SkewedInfo/properties/SkewedColumnValueLocationMaps", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/SkewedInfo/properties/SkewedColumnValueLocationMaps", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/storagedescriptor_parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/storagedescriptor_parameters.json new file mode 100644 index 0000000000..ed6c29fda6 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/storagedescriptor_parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/StorageDescriptor/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/StorageDescriptor/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/tableinput_parameter.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/tableinput_parameter.json new file mode 100644 index 0000000000..a384786f6d --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_table/tableinput_parameter.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/TableInput/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/TableInput/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_trigger/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_trigger/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_trigger/action_arguments.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_trigger/action_arguments.json new file mode 100644 index 0000000000..32c1c5def9 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_trigger/action_arguments.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/Action/properties/Arguments", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Action/properties/Arguments", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_trigger/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_trigger/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_trigger/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_workflow/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_workflow/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_workflow/defaultrunproperties.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_workflow/defaultrunproperties.json new file mode 100644 index 0000000000..8c35d56845 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_workflow/defaultrunproperties.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/DefaultRunProperties", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/DefaultRunProperties", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_glue_workflow/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_workflow/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_glue_workflow/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/connector_parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/connector_parameters.json new file mode 100644 index 0000000000..9463f336ff --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/connector_parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/Connector/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Connector/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinitionversion/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinitionversion/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinitionversion/connector_parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinitionversion/connector_parameters.json new file mode 100644 index 0000000000..9463f336ff --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinitionversion/connector_parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/Connector/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Connector/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_coredefinition/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_coredefinition/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_coredefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_coredefinition/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_coredefinition/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_devicedefinition/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_devicedefinition/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_devicedefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_devicedefinition/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_devicedefinition/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/environment_variables.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/environment_variables.json new file mode 100644 index 0000000000..c1c7c4ac9d --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/environment_variables.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/Environment/properties/Variables", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Environment/properties/Variables", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinitionversion/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinitionversion/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinitionversion/environment_variables.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinitionversion/environment_variables.json new file mode 100644 index 0000000000..c1c7c4ac9d --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinitionversion/environment_variables.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/Environment/properties/Variables", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Environment/properties/Variables", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_group/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_group/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_group/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_group/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_group/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_loggerdefinition/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_loggerdefinition/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_loggerdefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_loggerdefinition/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_loggerdefinition/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_resourcedefinition/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_resourcedefinition/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_resourcedefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_resourcedefinition/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_resourcedefinition/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_subscriptiondefinition/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_subscriptiondefinition/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_subscriptiondefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_subscriptiondefinition/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_subscriptiondefinition/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_group/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_group/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_group/policy_policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_group/policy_policydocument.json new file mode 100644 index 0000000000..0d822c83b9 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_group/policy_policydocument.json @@ -0,0 +1,18 @@ +[ + { + "op": "test", + "path": "/definitions/Policy/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Policy/properties/PolicyDocument", + "value": { + "type": [ + "object" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_grouppolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_grouppolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_grouppolicy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_grouppolicy/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_grouppolicy/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_policy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_policy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_policy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_policy/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_policy/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_role/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_role/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_role/policy_policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_role/policy_policydocument.json new file mode 100644 index 0000000000..0d822c83b9 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_role/policy_policydocument.json @@ -0,0 +1,18 @@ +[ + { + "op": "test", + "path": "/definitions/Policy/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Policy/properties/PolicyDocument", + "value": { + "type": [ + "object" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_rolepolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_rolepolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_rolepolicy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_rolepolicy/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_rolepolicy/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_user/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_user/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_user/policy_policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_user/policy_policydocument.json new file mode 100644 index 0000000000..0d822c83b9 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_user/policy_policydocument.json @@ -0,0 +1,18 @@ +[ + { + "op": "test", + "path": "/definitions/Policy/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Policy/properties/PolicyDocument", + "value": { + "type": [ + "object" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_userpolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_userpolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iam_userpolicy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_userpolicy/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iam_userpolicy/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_inspectorv2_cisscanconfiguration/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_inspectorv2_cisscanconfiguration/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_inspectorv2_cisscanconfiguration/onetimeschedule.json b/src/cfnlint/data/schemas/patches/providers/all/aws_inspectorv2_cisscanconfiguration/onetimeschedule.json new file mode 100644 index 0000000000..5849e786aa --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_inspectorv2_cisscanconfiguration/onetimeschedule.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/OneTimeSchedule", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/OneTimeSchedule", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_placement/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_placement/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_placement/associateddevices.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_placement/associateddevices.json new file mode 100644 index 0000000000..6592ad5a02 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_placement/associateddevices.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/AssociatedDevices", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/AssociatedDevices", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_placement/attributes.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_placement/attributes.json new file mode 100644 index 0000000000..4f0dda5e00 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_placement/attributes.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Attributes", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Attributes", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_project/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_project/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_project/placementtemplate_defaultattributes.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_project/placementtemplate_defaultattributes.json new file mode 100644 index 0000000000..fc3f29f129 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_project/placementtemplate_defaultattributes.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/PlacementTemplate/properties/DefaultAttributes", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/PlacementTemplate/properties/DefaultAttributes", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_project/placementtemplate_devicetemplates.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_project/placementtemplate_devicetemplates.json new file mode 100644 index 0000000000..0c861896e2 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iot1click_project/placementtemplate_devicetemplates.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/PlacementTemplate/properties/DeviceTemplates", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/PlacementTemplate/properties/DeviceTemplates", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iot_policy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iot_policy/policydocument.json index a7cdf439ed..49f2e9a8cf 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_iot_policy/policydocument.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iot_policy/policydocument.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/PolicyDocument", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/PolicyDocument", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_channel/servicemanageds3.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_channel/servicemanageds3.json index 475cbdc7a8..6bb6b262b4 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_channel/servicemanageds3.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_channel/servicemanageds3.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/ServiceManagedS3", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_datastore/jsonconfiguration.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_datastore/jsonconfiguration.json index 97142b2b3c..7414a27130 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_datastore/jsonconfiguration.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_datastore/jsonconfiguration.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/JsonConfiguration", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_datastore/servicemanageds3.json b/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_datastore/servicemanageds3.json index 475cbdc7a8..6bb6b262b4 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_datastore/servicemanageds3.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_iotanalytics_datastore/servicemanageds3.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/ServiceManagedS3", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_datalakesettings/parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_datalakesettings/parameters.json new file mode 100644 index 0000000000..e8d370a2b3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_datalakesettings/parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_permissions/tablewildcard.json b/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_permissions/tablewildcard.json index 0dd3a737c1..5cc68a1988 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_permissions/tablewildcard.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_permissions/tablewildcard.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/TableWildcard", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_principalpermissions/tablewildcard.json b/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_principalpermissions/tablewildcard.json index 0dd3a737c1..5cc68a1988 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_principalpermissions/tablewildcard.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_principalpermissions/tablewildcard.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/TableWildcard", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_tagassociation/tablewildcard.json b/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_tagassociation/tablewildcard.json index 0dd3a737c1..5cc68a1988 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_tagassociation/tablewildcard.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_lakeformation_tagassociation/tablewildcard.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/TableWildcard", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_lambda_version/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_lambda_version/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_lambda_version/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_lambda_version/policy.json new file mode 100644 index 0000000000..3a5c0890fb --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_lambda_version/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_lex_resourcepolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_lex_resourcepolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_lex_resourcepolicy/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_lex_resourcepolicy/policy.json new file mode 100644 index 0000000000..6f3d9cfa08 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_lex_resourcepolicy/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_logs_loggroup/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_logs_loggroup/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_logs_loggroup/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_logs_loggroup/policy.json new file mode 100644 index 0000000000..762f513f78 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_logs_loggroup/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/DataProtectionPolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/DataProtectionPolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/settingsjson.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/settingsjson.json new file mode 100644 index 0000000000..08c20ef9d6 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/settingsjson.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/SettingsJson", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/SettingsJson", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/settingsjson.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/settingsjson.json new file mode 100644 index 0000000000..08c20ef9d6 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/settingsjson.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/SettingsJson", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/SettingsJson", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_queue/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_queue/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_queue/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_queue/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_queue/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/aribdestinationsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/aribdestinationsettings.json index 6ad78796f1..53833f04da 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/aribdestinationsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/aribdestinationsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/AribDestinationSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/aribsourcesettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/aribsourcesettings.json index f28a05dba4..0a9ce813b8 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/aribsourcesettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/aribsourcesettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/AribSourceSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/colorspacepassthroughsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/colorspacepassthroughsettings.json index 2e2fde5d35..5c1ea31789 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/colorspacepassthroughsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/colorspacepassthroughsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/ColorSpacePassthroughSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/dolbyvision81settings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/dolbyvision81settings.json index ac973fc357..8afb94df16 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/dolbyvision81settings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/dolbyvision81settings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/DolbyVision81Settings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/embeddeddestinationsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/embeddeddestinationsettings.json index 159504f848..45801eb71f 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/embeddeddestinationsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/embeddeddestinationsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/EmbeddedDestinationSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/embeddedplusscte20destinationsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/embeddedplusscte20destinationsettings.json index 2b11ff0fa4..32b6ed5e03 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/embeddedplusscte20destinationsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/embeddedplusscte20destinationsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/EmbeddedPlusScte20DestinationSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/framecapturehlssettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/framecapturehlssettings.json index f952e952a5..9b7186c812 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/framecapturehlssettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/framecapturehlssettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/FrameCaptureHlsSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/htmlmotiongraphicssettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/htmlmotiongraphicssettings.json index e33adf1881..aec5ff7910 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/htmlmotiongraphicssettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/htmlmotiongraphicssettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/HtmlMotionGraphicsSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/mediapackageoutputsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/mediapackageoutputsettings.json index 94d03d9568..2dceaabb92 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/mediapackageoutputsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/mediapackageoutputsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/MediaPackageOutputSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/multiplexgroupsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/multiplexgroupsettings.json index 9cc959cc1a..2feedf97e3 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/multiplexgroupsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/multiplexgroupsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/MultiplexGroupSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/passthroughsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/passthroughsettings.json index 0a53a0418c..f8e0c11f7f 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/passthroughsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/passthroughsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/PassThroughSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/pipelinelockingsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/pipelinelockingsettings.json index 963f39df07..65d5a48799 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/pipelinelockingsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/pipelinelockingsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/PipelineLockingSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rawsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rawsettings.json index abe943cd35..88cf7f038d 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rawsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rawsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/RawSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rec601settings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rec601settings.json index 7f8c79ecfa..22bf536394 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rec601settings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rec601settings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/Rec601Settings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rec709settings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rec709settings.json index 777510999d..4bf56b9b65 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rec709settings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rec709settings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/Rec709Settings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rtmpcaptioninfodestinationsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rtmpcaptioninfodestinationsettings.json index 8fc979665b..a8a8ccde93 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rtmpcaptioninfodestinationsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/rtmpcaptioninfodestinationsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/RtmpCaptionInfoDestinationSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/scte20plusembeddeddestinationsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/scte20plusembeddeddestinationsettings.json index 56aadd675d..b2ad37178e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/scte20plusembeddeddestinationsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/scte20plusembeddeddestinationsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/Scte20PlusEmbeddedDestinationSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/scte27destinationsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/scte27destinationsettings.json index d59f580943..cd5de44ad1 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/scte27destinationsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/scte27destinationsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/Scte27DestinationSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/smptettdestinationsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/smptettdestinationsettings.json index 5200368a2c..0ac987d7fa 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/smptettdestinationsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/smptettdestinationsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/SmpteTtDestinationSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/teletextdestinationsettings.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/teletextdestinationsettings.json index 250a00424d..8b43408ee6 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/teletextdestinationsettings.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/teletextdestinationsettings.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/TeletextDestinationSettings", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_input/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_input/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_input/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_input/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_input/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_inputsecuritygroup/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_inputsecuritygroup/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_inputsecuritygroup/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_inputsecuritygroup/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_inputsecuritygroup/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediatailor_playbackconfiguration/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_mediatailor_playbackconfiguration/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediatailor_playbackconfiguration/configurationaliases_patternproperties.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mediatailor_playbackconfiguration/configurationaliases_patternproperties.json new file mode 100644 index 0000000000..9b88dfae6a --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mediatailor_playbackconfiguration/configurationaliases_patternproperties.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/ConfigurationAliases/patternProperties/player_params\\.\\w+\\Z", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/ConfigurationAliases/patternProperties/player_params\\.\\w+\\Z", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_memorydb_parametergroup/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_memorydb_parametergroup/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_memorydb_parametergroup/parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_memorydb_parametergroup/parameters.json new file mode 100644 index 0000000000..e8d370a2b3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_memorydb_parametergroup/parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_msk_clusterpolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_msk_clusterpolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_msk_clusterpolicy/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_msk_clusterpolicy/policy.json new file mode 100644 index 0000000000..3a5c0890fb --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_msk_clusterpolicy/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/airflowconfigurationoptions.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/airflowconfigurationoptions.json new file mode 100644 index 0000000000..b2b206d7d7 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/airflowconfigurationoptions.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/AirflowConfigurationOptions", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/AirflowConfigurationOptions", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_neptune_dbclusterparametergroup/parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_neptune_dbclusterparametergroup/parameters.json index f97b35b36c..e8d370a2b3 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_neptune_dbclusterparametergroup/parameters.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_neptune_dbclusterparametergroup/parameters.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/Parameters", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Parameters", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_neptune_dbparametergroup/parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_neptune_dbparametergroup/parameters.json index f97b35b36c..e8d370a2b3 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_neptune_dbparametergroup/parameters.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_neptune_dbparametergroup/parameters.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/properties/Parameters", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Parameters", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_networkmanager_corenetwork/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_networkmanager_corenetwork/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_networkmanager_corenetwork/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_networkmanager_corenetwork/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_networkmanager_corenetwork/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_oam_sink/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_oam_sink/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_oam_sink/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_oam_sink/policy.json new file mode 100644 index 0000000000..3a5c0890fb --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_oam_sink/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_opensearchservice_domain/accesspolicies.json b/src/cfnlint/data/schemas/patches/providers/all/aws_opensearchservice_domain/accesspolicies.json new file mode 100644 index 0000000000..555546309e --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_opensearchservice_domain/accesspolicies.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/AccessPolicies", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/AccessPolicies", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_opsworks_layer/customjson.json b/src/cfnlint/data/schemas/patches/providers/all/aws_opsworks_layer/customjson.json index 75b0ded446..c6d820a37b 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_opsworks_layer/customjson.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_opsworks_layer/customjson.json @@ -10,6 +10,7 @@ "op": "replace", "path": "/properties/CustomJson", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_opsworks_stack/customjson.json b/src/cfnlint/data/schemas/patches/providers/all/aws_opsworks_stack/customjson.json index 75b0ded446..c6d820a37b 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_opsworks_stack/customjson.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_opsworks_stack/customjson.json @@ -10,6 +10,7 @@ "op": "replace", "path": "/properties/CustomJson", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_app/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_app/tags.json index 227239c2d5..d2747fbfd4 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_app/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_app/tags.json @@ -1,18 +1,32 @@ [ - { - "op": "test", - "path": "/properties/Tags", - "value": { - "type": "object" + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" } }, - { - "op": "replace", - "path": "/properties/Tags", - "value": { - "type": [ - "object" - ] - } - } - ] + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/campaigninappmessage_customconfig.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/campaigninappmessage_customconfig.json new file mode 100644 index 0000000000..e8c37fb0a5 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/campaigninappmessage_customconfig.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/CampaignInAppMessage/properties/CustomConfig", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/CampaignInAppMessage/properties/CustomConfig", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/eventdimensions_attributes.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/eventdimensions_attributes.json new file mode 100644 index 0000000000..a472162445 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/eventdimensions_attributes.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/EventDimensions/properties/Attributes", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/EventDimensions/properties/Attributes", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/eventdimensions_metrics.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/eventdimensions_metrics.json new file mode 100644 index 0000000000..322570d3f9 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/eventdimensions_metrics.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/EventDimensions/properties/Metrics", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/EventDimensions/properties/Metrics", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_emailtemplate/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_emailtemplate/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_emailtemplate/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_emailtemplate/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_emailtemplate/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/customconfig.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/customconfig.json new file mode 100644 index 0000000000..2bc7554901 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/customconfig.json @@ -0,0 +1,18 @@ +[ + { + "op": "test", + "path": "/properties/CustomConfig", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/CustomConfig", + "value": { + "type": [ + "object" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_pushtemplate/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_pushtemplate/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_pushtemplate/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_pushtemplate/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_pushtemplate/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_attributes.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_attributes.json index 83924f38ea..dacd038152 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_attributes.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_attributes.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/definitions/SegmentDimensions/properties/Attributes", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/definitions/SegmentDimensions/properties/Attributes", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/definitions/SegmentDimensions/properties/Attributes", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/SegmentDimensions/properties/Attributes", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_metrics.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_metrics.json index 2b14453147..a78c859c2c 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_metrics.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_metrics.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/definitions/SegmentDimensions/properties/Metrics", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/definitions/SegmentDimensions/properties/Metrics", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/definitions/SegmentDimensions/properties/Metrics", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/SegmentDimensions/properties/Metrics", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_userattributes.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_userattributes.json index 4598921388..af861b7a42 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_userattributes.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/segmentdimensions_userattributes.json @@ -1,19 +1,20 @@ [ - { - "op": "test", - "path": "/definitions/SegmentDimensions/properties/UserAttributes", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/definitions/SegmentDimensions/properties/UserAttributes", - "value": { - "type": [ - "object", - "string" - ] - } - } + { + "op": "test", + "path": "/definitions/SegmentDimensions/properties/UserAttributes", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/SegmentDimensions/properties/UserAttributes", + "value": { + "format": "json", + "type": [ + "object", + "string" ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/tags.json index 227239c2d5..d2747fbfd4 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/tags.json @@ -1,18 +1,32 @@ [ - { - "op": "test", - "path": "/properties/Tags", - "value": { - "type": "object" + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" } }, - { - "op": "replace", - "path": "/properties/Tags", - "value": { - "type": [ - "object" - ] - } - } - ] + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_smstemplate/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_smstemplate/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_smstemplate/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_smstemplate/tags.json new file mode 100644 index 0000000000..d2747fbfd4 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_smstemplate/tags.json @@ -0,0 +1,32 @@ +[ + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_qbusiness_datasource/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_qbusiness_datasource/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_qbusiness_datasource/configuration.json b/src/cfnlint/data/schemas/patches/providers/all/aws_qbusiness_datasource/configuration.json new file mode 100644 index 0000000000..2832bd266d --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_qbusiness_datasource/configuration.json @@ -0,0 +1,18 @@ +[ + { + "op": "test", + "path": "/properties/Configuration", + "value": {} + }, + { + "op": "replace", + "path": "/properties/Configuration", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_qbusiness_plugin/noauthconfiguration.json b/src/cfnlint/data/schemas/patches/providers/all/aws_qbusiness_plugin/noauthconfiguration.json index deebe0930b..210e0b3f70 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_qbusiness_plugin/noauthconfiguration.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_qbusiness_plugin/noauthconfiguration.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/NoAuthConfiguration", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_analysis/allsheetsfilterscopeconfiguration.json b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_analysis/allsheetsfilterscopeconfiguration.json index acc94eae1c..c50f5b6352 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_analysis/allsheetsfilterscopeconfiguration.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_analysis/allsheetsfilterscopeconfiguration.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/AllSheetsFilterScopeConfiguration", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_analysis/axisdisplaydatadrivenrange.json b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_analysis/axisdisplaydatadrivenrange.json index 10ff80f06c..1d479e0eea 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_analysis/axisdisplaydatadrivenrange.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_analysis/axisdisplaydatadrivenrange.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/AxisDisplayDataDrivenRange", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_dashboard/allsheetsfilterscopeconfiguration.json b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_dashboard/allsheetsfilterscopeconfiguration.json index acc94eae1c..c50f5b6352 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_dashboard/allsheetsfilterscopeconfiguration.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_dashboard/allsheetsfilterscopeconfiguration.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/AllSheetsFilterScopeConfiguration", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_dashboard/axisdisplaydatadrivenrange.json b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_dashboard/axisdisplaydatadrivenrange.json index 10ff80f06c..1d479e0eea 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_dashboard/axisdisplaydatadrivenrange.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_dashboard/axisdisplaydatadrivenrange.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/AxisDisplayDataDrivenRange", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_template/allsheetsfilterscopeconfiguration.json b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_template/allsheetsfilterscopeconfiguration.json index acc94eae1c..c50f5b6352 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_template/allsheetsfilterscopeconfiguration.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_template/allsheetsfilterscopeconfiguration.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/AllSheetsFilterScopeConfiguration", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_template/axisdisplaydatadrivenrange.json b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_template/axisdisplaydatadrivenrange.json index 10ff80f06c..1d479e0eea 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_template/axisdisplaydatadrivenrange.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_quicksight_template/axisdisplaydatadrivenrange.json @@ -11,6 +11,7 @@ "op": "replace", "path": "/definitions/AxisDisplayDataDrivenRange", "value": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_ram_permission/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_ram_permission/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_ram_permission/policytemplate.json b/src/cfnlint/data/schemas/patches/providers/all/aws_ram_permission/policytemplate.json new file mode 100644 index 0000000000..219eea9253 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_ram_permission/policytemplate.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyTemplate", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyTemplate", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_rds_dbclusterparametergroup/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_rds_dbclusterparametergroup/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_rds_dbclusterparametergroup/parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_rds_dbclusterparametergroup/parameters.json new file mode 100644 index 0000000000..e8d370a2b3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_rds_dbclusterparametergroup/parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_rds_dbparametergroup/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_rds_dbparametergroup/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_rds_dbparametergroup/parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_rds_dbparametergroup/parameters.json new file mode 100644 index 0000000000..e8d370a2b3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_rds_dbparametergroup/parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_redshift_cluster/nameresourcepolicy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_redshift_cluster/nameresourcepolicy.json new file mode 100644 index 0000000000..3fdcda3d75 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_redshift_cluster/nameresourcepolicy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/NamespaceResourcePolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/NamespaceResourcePolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_redshiftserverless_namespace/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_redshiftserverless_namespace/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_redshiftserverless_namespace/nameresourcepolicy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_redshiftserverless_namespace/nameresourcepolicy.json new file mode 100644 index 0000000000..3fdcda3d75 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_redshiftserverless_namespace/nameresourcepolicy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/NamespaceResourcePolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/NamespaceResourcePolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_fleet/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_fleet/tags.json index 227239c2d5..cd8ee123e9 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_fleet/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_fleet/tags.json @@ -1,18 +1,24 @@ [ - { - "op": "test", - "path": "/properties/Tags", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Tags", - "value": { - "type": [ - "object" - ] - } + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" } - ] + }, + "type": "object" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_robot/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_robot/tags.json index 227239c2d5..cd8ee123e9 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_robot/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_robot/tags.json @@ -1,18 +1,24 @@ [ - { - "op": "test", - "path": "/properties/Tags", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Tags", - "value": { - "type": [ - "object" - ] - } + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" } - ] + }, + "type": "object" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_robotapplication/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_robotapplication/tags.json index 227239c2d5..cd8ee123e9 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_robotapplication/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_robotapplication/tags.json @@ -1,18 +1,24 @@ [ - { - "op": "test", - "path": "/properties/Tags", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Tags", - "value": { - "type": [ - "object" - ] - } + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" } - ] + }, + "type": "object" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_simulationapplication/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_simulationapplication/tags.json index 227239c2d5..cd8ee123e9 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_simulationapplication/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_robomaker_simulationapplication/tags.json @@ -1,18 +1,24 @@ [ - { - "op": "test", - "path": "/properties/Tags", - "value": { - "type": "object" - } - }, - { - "op": "replace", - "path": "/properties/Tags", - "value": { - "type": [ - "object" - ] - } + { + "op": "test", + "path": "/properties/Tags", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Tags", + "value": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" } - ] + }, + "type": "object" + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_s3_accesspoint/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_s3_accesspoint/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_s3_accesspoint/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_s3_accesspoint/policy.json new file mode 100644 index 0000000000..3a5c0890fb --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_s3_accesspoint/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_s3_multiregionaccesspointpolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_s3_multiregionaccesspointpolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_s3_multiregionaccesspointpolicy/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_s3_multiregionaccesspointpolicy/policy.json new file mode 100644 index 0000000000..3a5c0890fb --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_s3_multiregionaccesspointpolicy/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_s3objectlambda_accesspointpolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_s3objectlambda_accesspointpolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_s3objectlambda_accesspointpolicy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_s3objectlambda_accesspointpolicy/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_s3objectlambda_accesspointpolicy/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_s3outposts_accesspoint/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_s3outposts_accesspoint/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_s3outposts_accesspoint/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_s3outposts_accesspoint/policy.json new file mode 100644 index 0000000000..3a5c0890fb --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_s3outposts_accesspoint/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_s3outposts_bucketpolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_s3outposts_bucketpolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_s3outposts_bucketpolicy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_s3outposts_bucketpolicy/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_s3outposts_bucketpolicy/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sagemaker_model/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_sagemaker_model/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sagemaker_model/containerdefinition_environment.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sagemaker_model/containerdefinition_environment.json new file mode 100644 index 0000000000..67d0890b9a --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sagemaker_model/containerdefinition_environment.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/ContainerDefinition/properties/Environment", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/ContainerDefinition/properties/Environment", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_secretsmanager_resourcepolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_secretsmanager_resourcepolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_secretsmanager_resourcepolicy/resourcepolicy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_secretsmanager_resourcepolicy/resourcepolicy.json new file mode 100644 index 0000000000..d890122c6c --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_secretsmanager_resourcepolicy/resourcepolicy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ResourcePolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ResourcePolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_securitylake_subscribernotification/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_securitylake_subscribernotification/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_securitylake_subscribernotification/sqsnotificationconfiguration.json b/src/cfnlint/data/schemas/patches/providers/all/aws_securitylake_subscribernotification/sqsnotificationconfiguration.json new file mode 100644 index 0000000000..4cabd30ab8 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_securitylake_subscribernotification/sqsnotificationconfiguration.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/SqsNotificationConfiguration", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/SqsNotificationConfiguration", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_servicecatalog_cloudformationproduct/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_servicecatalog_cloudformationproduct/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_servicecatalog_cloudformationproduct/provisioningartifactproperties_info.json b/src/cfnlint/data/schemas/patches/providers/all/aws_servicecatalog_cloudformationproduct/provisioningartifactproperties_info.json new file mode 100644 index 0000000000..df628810fc --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_servicecatalog_cloudformationproduct/provisioningartifactproperties_info.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/ProvisioningArtifactProperties/properties/Info", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/ProvisioningArtifactProperties/properties/Info", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_servicecatalogappregistry_attributegroup/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_servicecatalogappregistry_attributegroup/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_servicecatalogappregistry_attributegroup/attributes.json b/src/cfnlint/data/schemas/patches/providers/all/aws_servicecatalogappregistry_attributegroup/attributes.json new file mode 100644 index 0000000000..4f0dda5e00 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_servicecatalogappregistry_attributegroup/attributes.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Attributes", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Attributes", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_servicediscovery_instance/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_servicediscovery_instance/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_servicediscovery_instance/instanceattributes.json b/src/cfnlint/data/schemas/patches/providers/all/aws_servicediscovery_instance/instanceattributes.json new file mode 100644 index 0000000000..a9995898e1 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_servicediscovery_instance/instanceattributes.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/InstanceAttributes", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/InstanceAttributes", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/deliverypolicy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/deliverypolicy.json new file mode 100644 index 0000000000..eb41f0b7ea --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/deliverypolicy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/DeliveryPolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/DeliveryPolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/filterpolicy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/filterpolicy.json new file mode 100644 index 0000000000..9049731992 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/filterpolicy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/FilterPolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/FilterPolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/redrivepolicy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/redrivepolicy.json new file mode 100644 index 0000000000..69d563e083 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/redrivepolicy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/RedrivePolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/RedrivePolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/replaypolicy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/replaypolicy.json new file mode 100644 index 0000000000..5436f922ae --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_subscription/replaypolicy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ReplayPolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ReplayPolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topic/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topic/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topic/archivepolicy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topic/archivepolicy.json new file mode 100644 index 0000000000..c726b6d37c --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topic/archivepolicy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/ArchivePolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/ArchivePolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topic/dataprotectionpolicy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topic/dataprotectionpolicy.json new file mode 100644 index 0000000000..762f513f78 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topic/dataprotectionpolicy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/DataProtectionPolicy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/DataProtectionPolicy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topicinlinepolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topicinlinepolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topicinlinepolicy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topicinlinepolicy/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topicinlinepolicy/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topicpolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topicpolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topicpolicy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topicpolicy/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sns_topicpolicy/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sqs_queueinlinepolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_sqs_queueinlinepolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sqs_queueinlinepolicy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sqs_queueinlinepolicy/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sqs_queueinlinepolicy/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sqs_queuepolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_sqs_queuepolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_sqs_queuepolicy/policydocument.json b/src/cfnlint/data/schemas/patches/providers/all/aws_sqs_queuepolicy/policydocument.json new file mode 100644 index 0000000000..49f2e9a8cf --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_sqs_queuepolicy/policydocument.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/PolicyDocument", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/PolicyDocument", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/maintenancewindowautomationparameters_parameteres.json b/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/maintenancewindowautomationparameters_parameteres.json new file mode 100644 index 0000000000..0515413b7b --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/maintenancewindowautomationparameters_parameteres.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/MaintenanceWindowAutomationParameters/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/MaintenanceWindowAutomationParameters/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/maintenancewindowruncommandparameters_parameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/maintenancewindowruncommandparameters_parameters.json new file mode 100644 index 0000000000..612fd9256f --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/maintenancewindowruncommandparameters_parameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/MaintenanceWindowRunCommandParameters/properties/Parameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/MaintenanceWindowRunCommandParameters/properties/Parameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/taskparameters.json b/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/taskparameters.json new file mode 100644 index 0000000000..0f06f1dfd3 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_ssm_maintenancewindowtask/taskparameters.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/TaskParameters", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/TaskParameters", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_vpclattice_authpolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_vpclattice_authpolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_vpclattice_authpolicy/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_vpclattice_authpolicy/policy.json new file mode 100644 index 0000000000..3a5c0890fb --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_vpclattice_authpolicy/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_vpclattice_resourcepolicy/__init__.py b/src/cfnlint/data/schemas/patches/providers/all/aws_vpclattice_resourcepolicy/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_vpclattice_resourcepolicy/policy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_vpclattice_resourcepolicy/policy.json new file mode 100644 index 0000000000..3a5c0890fb --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_vpclattice_resourcepolicy/policy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/properties/Policy", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/properties/Policy", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_loggingconfiguration/fieldtomatch_method.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_loggingconfiguration/fieldtomatch_method.json new file mode 100644 index 0000000000..4f4b2d571a --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_loggingconfiguration/fieldtomatch_method.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/Method", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/Method", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_loggingconfiguration/fieldtomatch_querystring.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_loggingconfiguration/fieldtomatch_querystring.json new file mode 100644 index 0000000000..00aa374929 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_loggingconfiguration/fieldtomatch_querystring.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/QueryString", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/QueryString", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_loggingconfiguration/fieldtomatch_uripath.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_loggingconfiguration/fieldtomatch_uripath.json new file mode 100644 index 0000000000..4672f2c294 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_loggingconfiguration/fieldtomatch_uripath.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/UriPath", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/UriPath", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/cookiematchpattern_all.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/cookiematchpattern_all.json new file mode 100644 index 0000000000..33539fdcee --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/cookiematchpattern_all.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/CookieMatchPattern/properties/All", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/CookieMatchPattern/properties/All", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_allqueryarguments.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_allqueryarguments.json new file mode 100644 index 0000000000..8922f4c8ed --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_allqueryarguments.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/AllQueryArguments", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/AllQueryArguments", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_method.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_method.json new file mode 100644 index 0000000000..4f4b2d571a --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_method.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/Method", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/Method", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_querystring.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_querystring.json new file mode 100644 index 0000000000..00aa374929 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_querystring.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/QueryString", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/QueryString", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_uripath.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_uripath.json new file mode 100644 index 0000000000..4672f2c294 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/fieldtomatch_uripath.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/UriPath", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/UriPath", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/headermatchpattern_all.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/headermatchpattern_all.json new file mode 100644 index 0000000000..7cc788fa70 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/headermatchpattern_all.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/HeaderMatchPattern/properties/All", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/HeaderMatchPattern/properties/All", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/jsonmatchpattern_all.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/jsonmatchpattern_all.json new file mode 100644 index 0000000000..bc690c1e80 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/jsonmatchpattern_all.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/JsonMatchPattern/properties/All", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/JsonMatchPattern/properties/All", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/ratelimitforwardedip.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/ratelimitforwardedip.json new file mode 100644 index 0000000000..0518a40682 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/ratelimitforwardedip.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/RateLimitForwardedIP", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/RateLimitForwardedIP", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/ratelimithttpmethod.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/ratelimithttpmethod.json new file mode 100644 index 0000000000..8557be516f --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/ratelimithttpmethod.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/RateLimitHTTPMethod", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/RateLimitHTTPMethod", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/ratelimitip.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/ratelimitip.json new file mode 100644 index 0000000000..13867c4043 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_rulegroup/ratelimitip.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/RateLimitIP", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/RateLimitIP", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/cookiematchpattern_all.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/cookiematchpattern_all.json new file mode 100644 index 0000000000..33539fdcee --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/cookiematchpattern_all.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/CookieMatchPattern/properties/All", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/CookieMatchPattern/properties/All", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_allqueryarguments.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_allqueryarguments.json new file mode 100644 index 0000000000..8922f4c8ed --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_allqueryarguments.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/AllQueryArguments", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/AllQueryArguments", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_method.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_method.json new file mode 100644 index 0000000000..4f4b2d571a --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_method.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/Method", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/Method", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_querystring.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_querystring.json new file mode 100644 index 0000000000..00aa374929 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_querystring.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/QueryString", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/QueryString", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_uripath.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_uripath.json new file mode 100644 index 0000000000..4672f2c294 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/fieldtomatch_uripath.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/FieldToMatch/properties/UriPath", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/FieldToMatch/properties/UriPath", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/headermatchpattern_all copy.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/headermatchpattern_all copy.json new file mode 100644 index 0000000000..7cc788fa70 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/headermatchpattern_all copy.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/HeaderMatchPattern/properties/All", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/HeaderMatchPattern/properties/All", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/headermatchpattern_all.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/headermatchpattern_all.json new file mode 100644 index 0000000000..7cc788fa70 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/headermatchpattern_all.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/HeaderMatchPattern/properties/All", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/HeaderMatchPattern/properties/All", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/jsonmatchpattern_all.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/jsonmatchpattern_all.json new file mode 100644 index 0000000000..bc690c1e80 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/jsonmatchpattern_all.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/JsonMatchPattern/properties/All", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/JsonMatchPattern/properties/All", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/overrideaction_count.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/overrideaction_count.json new file mode 100644 index 0000000000..78429b6bb7 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/overrideaction_count.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/OverrideAction/properties/Count", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/OverrideAction/properties/Count", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/overrideaction_none.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/overrideaction_none.json new file mode 100644 index 0000000000..5ad0a236e7 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/overrideaction_none.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/OverrideAction/properties/None", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/OverrideAction/properties/None", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/querystring.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/querystring.json new file mode 100644 index 0000000000..c8f6e46eba --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/querystring.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/QueryString", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/QueryString", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/ratelimitforwardedip.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/ratelimitforwardedip.json new file mode 100644 index 0000000000..0518a40682 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/ratelimitforwardedip.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/RateLimitForwardedIP", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/RateLimitForwardedIP", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/ratelimithttpmethod.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/ratelimithttpmethod.json new file mode 100644 index 0000000000..8557be516f --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/ratelimithttpmethod.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/RateLimitHTTPMethod", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/RateLimitHTTPMethod", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/ratelimitip.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/ratelimitip.json new file mode 100644 index 0000000000..13867c4043 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/ratelimitip.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/RateLimitIP", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/RateLimitIP", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/uripath.json b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/uripath.json new file mode 100644 index 0000000000..059b08f749 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_wafv2_webacl/uripath.json @@ -0,0 +1,20 @@ +[ + { + "op": "test", + "path": "/definitions/UriPath", + "value": { + "type": "object" + } + }, + { + "op": "replace", + "path": "/definitions/UriPath", + "value": { + "format": "json", + "type": [ + "object", + "string" + ] + } + } +] diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-apigatewayv2-vpclink.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-apigatewayv2-vpclink.json index 7e1ebb78bc..6122cf0cee 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-apigatewayv2-vpclink.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-apigatewayv2-vpclink.json @@ -31,10 +31,13 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object", - "string" - ] + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-codepipeline-pipeline.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-codepipeline-pipeline.json index 4575c69e2a..2b41420f66 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-codepipeline-pipeline.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-codepipeline-pipeline.json @@ -11,6 +11,7 @@ "$ref": "#/definitions/ActionTypeId" }, "Configuration": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-iot-policy.json index 2fe7a81560..a329acfc74 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-iot-policy.json @@ -15,6 +15,7 @@ "type": "string" }, "PolicyDocument": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-opsworks-layer.json index 2713480ea1..9c1034b219 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-opsworks-stack.json index a70f0a1a62..c091181181 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-apigatewayv2-vpclink.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-apigatewayv2-vpclink.json index 7e1ebb78bc..6122cf0cee 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-apigatewayv2-vpclink.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-apigatewayv2-vpclink.json @@ -31,10 +31,13 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object", - "string" - ] + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-identitypool.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-identitypool.json index 46ac1fba2e..b511032158 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-identitypool.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-identitypool.json @@ -59,6 +59,7 @@ "type": "boolean" }, "CognitoEvents": { + "format": "json", "type": [ "object", "string" @@ -104,6 +105,7 @@ "uniqueItems": false }, "SupportedLoginProviders": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-identitypoolroleattachment.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-identitypoolroleattachment.json index a988ab33e8..ca2e8a5a88 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-identitypoolroleattachment.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-identitypoolroleattachment.json @@ -14,12 +14,14 @@ "type": "string" }, "RoleMappings": { + "format": "json", "type": [ "object", "string" ] }, "Roles": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpool.json index ee04e1224c..ad6a681586 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpool.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpool.json @@ -361,6 +361,7 @@ "type": "string" }, "UserPoolTags": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooluser.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooluser.json index d6d1bec9ff..4f48fd800f 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooluser.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooluser.json @@ -29,6 +29,7 @@ ], "properties": { "ClientMetadata": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-pinpoint-app.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-pinpoint-app.json index 444ed27dd6..3ab5d4845a 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-pinpoint-app.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-pinpoint-app.json @@ -17,9 +17,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-pinpoint-segment.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-pinpoint-segment.json index 3763227d9e..f39742ce10 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-pinpoint-segment.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-pinpoint-segment.json @@ -127,6 +127,7 @@ "additionalProperties": false, "properties": { "Attributes": { + "format": "json", "type": [ "object", "string" @@ -142,12 +143,14 @@ "$ref": "#/definitions/Location" }, "Metrics": { + "format": "json", "type": [ "object", "string" ] }, "UserAttributes": { + "format": "json", "type": [ "object", "string" @@ -227,9 +230,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-pinpoint-app.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-pinpoint-app.json index 444ed27dd6..3ab5d4845a 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-pinpoint-app.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-pinpoint-app.json @@ -17,9 +17,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-pinpoint-segment.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-pinpoint-segment.json index 3763227d9e..f39742ce10 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-pinpoint-segment.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-pinpoint-segment.json @@ -127,6 +127,7 @@ "additionalProperties": false, "properties": { "Attributes": { + "format": "json", "type": [ "object", "string" @@ -142,12 +143,14 @@ "$ref": "#/definitions/Location" }, "Metrics": { + "format": "json", "type": [ "object", "string" ] }, "UserAttributes": { + "format": "json", "type": [ "object", "string" @@ -227,9 +230,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-fleet.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-fleet.json index 42078134c3..345d0f72a1 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-fleet.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-fleet.json @@ -17,9 +17,15 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-robot.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-robot.json index 4422ddb81d..eabddd02a1 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-robot.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-robot.json @@ -26,9 +26,15 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-robotapplication.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-robotapplication.json index 4d4d4fe72c..9c6315e679 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-robotapplication.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-robotapplication.json @@ -69,9 +69,15 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-simulationapplication.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-simulationapplication.json index aaf8f117ee..88d9afd816 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-simulationapplication.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-robomaker-simulationapplication.json @@ -109,9 +109,15 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigateway-model.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigateway-model.json index 8122317a63..00901c8b84 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigateway-model.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigateway-model.json @@ -25,6 +25,7 @@ "type": "string" }, "Schema": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigateway-restapi.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigateway-restapi.json index 26d3794e3b..d08152f085 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigateway-restapi.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigateway-restapi.json @@ -75,6 +75,7 @@ "uniqueItems": true }, "Body": { + "format": "json", "type": [ "object", "string" @@ -119,6 +120,7 @@ "type": "object" }, "Policy": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigatewayv2-vpclink.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigatewayv2-vpclink.json index 7e1ebb78bc..6122cf0cee 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigatewayv2-vpclink.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-apigatewayv2-vpclink.json @@ -31,10 +31,13 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object", - "string" - ] + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-iot-policy.json index d874b4bb99..b9b73c32c5 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-iot-policy.json @@ -15,6 +15,7 @@ "type": "string" }, "PolicyDocument": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-servicecatalogappregistry-attributegroup.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-servicecatalogappregistry-attributegroup.json index 3a1d1853e2..6eb74ead77 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-servicecatalogappregistry-attributegroup.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-servicecatalogappregistry-attributegroup.json @@ -59,7 +59,11 @@ "type": "string" }, "Attributes": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Description": { "maxLength": 1024, diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-fleet.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-fleet.json index 42078134c3..345d0f72a1 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-fleet.json +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-fleet.json @@ -17,9 +17,15 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-robot.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-robot.json index 4422ddb81d..eabddd02a1 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-robot.json +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-robot.json @@ -26,9 +26,15 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-robotapplication.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-robotapplication.json index 4d4d4fe72c..9c6315e679 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-robotapplication.json +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-robotapplication.json @@ -69,9 +69,15 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-simulationapplication.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-simulationapplication.json index aaf8f117ee..88d9afd816 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-simulationapplication.json +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-robomaker-simulationapplication.json @@ -109,9 +109,15 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-apigateway-model.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-apigateway-model.json index 5086400724..9504a897a5 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-apigateway-model.json +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-apigateway-model.json @@ -25,6 +25,7 @@ "type": "string" }, "Schema": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-apigateway-restapi.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-apigateway-restapi.json index 26d3794e3b..d08152f085 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-apigateway-restapi.json +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-apigateway-restapi.json @@ -75,6 +75,7 @@ "uniqueItems": true }, "Body": { + "format": "json", "type": [ "object", "string" @@ -119,6 +120,7 @@ "type": "object" }, "Policy": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-vpcendpoint.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-vpcendpoint.json index 0581d10d25..cc6c13dfbc 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-vpcendpoint.json +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-vpcendpoint.json @@ -12,7 +12,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PrivateDnsEnabled": { "type": "boolean" diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-emr-securityconfiguration.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-emr-securityconfiguration.json index 5860195c67..69af968123 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-emr-securityconfiguration.json +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-emr-securityconfiguration.json @@ -15,7 +15,11 @@ "type": "string" }, "SecurityConfiguration": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-iot-policy.json index 2fe7a81560..a329acfc74 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-iot-policy.json @@ -15,6 +15,7 @@ "type": "string" }, "PolicyDocument": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-mediatailor-playbackconfiguration.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-mediatailor-playbackconfiguration.json index e4853b3487..1ac2fa8338 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-mediatailor-playbackconfiguration.json +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-mediatailor-playbackconfiguration.json @@ -57,7 +57,11 @@ "additionalProperties": false, "patternProperties": { "player_params\\.\\w+\\Z": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } } }, diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-opsworks-layer.json index 2713480ea1..9c1034b219 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-opsworks-stack.json index a70f0a1a62..c091181181 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-gammadilithium-jobdefinition.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-gammadilithium-jobdefinition.json index 349bfa79f7..2917648238 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-gammadilithium-jobdefinition.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-gammadilithium-jobdefinition.json @@ -297,10 +297,18 @@ "additionalProperties": false, "properties": { "Limits": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Requests": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -515,7 +523,11 @@ "type": "string" }, "Options": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SecretOptions": { "items": { @@ -534,7 +546,11 @@ "additionalProperties": false, "properties": { "Labels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -930,7 +946,11 @@ "$ref": "#/definitions/NodeProperties" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PlatformCapabilities": { "items": { @@ -949,7 +969,23 @@ "type": "integer" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Timeout": { "$ref": "#/definitions/Timeout" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-pinpoint-app.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-pinpoint-app.json index 444ed27dd6..3ab5d4845a 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-pinpoint-app.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-pinpoint-app.json @@ -17,9 +17,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-pinpoint-segment.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-pinpoint-segment.json index 3763227d9e..f39742ce10 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-pinpoint-segment.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-pinpoint-segment.json @@ -127,6 +127,7 @@ "additionalProperties": false, "properties": { "Attributes": { + "format": "json", "type": [ "object", "string" @@ -142,12 +143,14 @@ "$ref": "#/definitions/Location" }, "Metrics": { + "format": "json", "type": [ "object", "string" ] }, "UserAttributes": { + "format": "json", "type": [ "object", "string" @@ -227,9 +230,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-fleet.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-fleet.json index 42078134c3..345d0f72a1 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-fleet.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-fleet.json @@ -17,9 +17,15 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-robot.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-robot.json index 4422ddb81d..eabddd02a1 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-robot.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-robot.json @@ -26,9 +26,15 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-robotapplication.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-robotapplication.json index 4d4d4fe72c..9c6315e679 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-robotapplication.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-robotapplication.json @@ -69,9 +69,15 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-simulationapplication.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-simulationapplication.json index aaf8f117ee..88d9afd816 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-simulationapplication.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-robomaker-simulationapplication.json @@ -109,9 +109,15 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object" - ] + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9-]{1,128}$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-apigateway-model.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-apigateway-model.json index 5086400724..9504a897a5 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-apigateway-model.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-apigateway-model.json @@ -25,6 +25,7 @@ "type": "string" }, "Schema": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-apigateway-restapi.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-apigateway-restapi.json index 26d3794e3b..d08152f085 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-apigateway-restapi.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-apigateway-restapi.json @@ -75,6 +75,7 @@ "uniqueItems": true }, "Body": { + "format": "json", "type": [ "object", "string" @@ -119,6 +120,7 @@ "type": "object" }, "Policy": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-iot-policy.json index 2fe7a81560..a329acfc74 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-iot-policy.json @@ -15,6 +15,7 @@ "type": "string" }, "PolicyDocument": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-opsworks-layer.json index 2713480ea1..9c1034b219 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-opsworks-stack.json index a70f0a1a62..c091181181 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-apigateway-model.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-apigateway-model.json index 5086400724..9504a897a5 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-apigateway-model.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-apigateway-model.json @@ -25,6 +25,7 @@ "type": "string" }, "Schema": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-apigateway-restapi.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-apigateway-restapi.json index 26d3794e3b..d08152f085 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-apigateway-restapi.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-apigateway-restapi.json @@ -75,6 +75,7 @@ "uniqueItems": true }, "Body": { + "format": "json", "type": [ "object", "string" @@ -119,6 +120,7 @@ "type": "object" }, "Policy": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-vpcendpoint.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-vpcendpoint.json index 0581d10d25..cc6c13dfbc 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-vpcendpoint.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-vpcendpoint.json @@ -12,7 +12,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PrivateDnsEnabled": { "type": "boolean" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-emr-securityconfiguration.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-emr-securityconfiguration.json index 5860195c67..69af968123 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-emr-securityconfiguration.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-emr-securityconfiguration.json @@ -15,7 +15,11 @@ "type": "string" }, "SecurityConfiguration": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-gammadilithium-jobdefinition.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-gammadilithium-jobdefinition.json index 1ac0462312..9810e78bc5 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-gammadilithium-jobdefinition.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-gammadilithium-jobdefinition.json @@ -234,10 +234,18 @@ "additionalProperties": false, "properties": { "Limits": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Requests": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -437,7 +445,11 @@ "type": "string" }, "Options": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SecretOptions": { "items": { @@ -456,7 +468,11 @@ "additionalProperties": false, "properties": { "Labels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -709,7 +725,11 @@ "$ref": "#/definitions/NodeProperties" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PlatformCapabilities": { "items": { @@ -728,7 +748,23 @@ "type": "integer" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Timeout": { "$ref": "#/definitions/Timeout" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-iot-policy.json index 2fe7a81560..a329acfc74 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-iot-policy.json @@ -15,6 +15,7 @@ "type": "string" }, "PolicyDocument": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-opsworks-layer.json index 2713480ea1..9c1034b219 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-opsworks-stack.json index a70f0a1a62..c091181181 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/ca_central_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-pinpoint-app.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-pinpoint-app.json index 444ed27dd6..3ab5d4845a 100644 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-pinpoint-app.json +++ b/src/cfnlint/data/schemas/providers/ca_central_1/aws-pinpoint-app.json @@ -17,9 +17,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-pinpoint-segment.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-pinpoint-segment.json index 3763227d9e..f39742ce10 100644 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-pinpoint-segment.json +++ b/src/cfnlint/data/schemas/providers/ca_central_1/aws-pinpoint-segment.json @@ -127,6 +127,7 @@ "additionalProperties": false, "properties": { "Attributes": { + "format": "json", "type": [ "object", "string" @@ -142,12 +143,14 @@ "$ref": "#/definitions/Location" }, "Metrics": { + "format": "json", "type": [ "object", "string" ] }, "UserAttributes": { + "format": "json", "type": [ "object", "string" @@ -227,9 +230,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-apigateway-model.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-apigateway-model.json index 5086400724..9504a897a5 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-apigateway-model.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-apigateway-model.json @@ -25,6 +25,7 @@ "type": "string" }, "Schema": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-apigateway-restapi.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-apigateway-restapi.json index 26d3794e3b..d08152f085 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-apigateway-restapi.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-apigateway-restapi.json @@ -75,6 +75,7 @@ "uniqueItems": true }, "Body": { + "format": "json", "type": [ "object", "string" @@ -119,6 +120,7 @@ "type": "object" }, "Policy": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-config-configrule.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-config-configrule.json index 1b77379213..931cf0bd8e 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-config-configrule.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-config-configrule.json @@ -150,7 +150,11 @@ "uniqueItems": true }, "InputParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "MaximumExecutionFrequency": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-vpcendpoint.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-vpcendpoint.json index 0581d10d25..cc6c13dfbc 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-vpcendpoint.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-vpcendpoint.json @@ -12,7 +12,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PrivateDnsEnabled": { "type": "boolean" diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-emr-securityconfiguration.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-emr-securityconfiguration.json index 5860195c67..69af968123 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-emr-securityconfiguration.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-emr-securityconfiguration.json @@ -15,7 +15,11 @@ "type": "string" }, "SecurityConfiguration": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-group.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-group.json index 88c91f2e09..0dcfb7d073 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-group.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-group.json @@ -8,7 +8,9 @@ "additionalProperties": false, "properties": { "PolicyDocument": { - "type": "object" + "type": [ + "object" + ] }, "PolicyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-policy.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-policy.json index 774f60eaac..3ac680bbb5 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-policy.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-policy.json @@ -32,7 +32,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PolicyName": { "maxLength": 128, diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-role.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-role.json index 97ecd54c13..a9f3d23252 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-role.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-role.json @@ -9,7 +9,9 @@ "additionalProperties": false, "properties": { "PolicyDocument": { - "type": "object" + "type": [ + "object" + ] }, "PolicyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-user.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-user.json index 896f7efd04..e99187b0fb 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-user.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-iam-user.json @@ -23,7 +23,9 @@ "additionalProperties": false, "properties": { "PolicyDocument": { - "type": "object" + "type": [ + "object" + ] }, "PolicyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-iot-policy.json index 2fe7a81560..a329acfc74 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-iot-policy.json @@ -15,6 +15,7 @@ "type": "string" }, "PolicyDocument": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-opsworks-layer.json index 2713480ea1..9c1034b219 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-opsworks-stack.json index a70f0a1a62..c091181181 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/cn_north_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-lakeformation-datalakesettings.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-lakeformation-datalakesettings.json index 87c5a06c6c..b89debb193 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-lakeformation-datalakesettings.json +++ b/src/cfnlint/data/schemas/providers/cn_north_1/aws-lakeformation-datalakesettings.json @@ -69,7 +69,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TrustedResourceOwners": { "items": { diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/cn_north_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/cn_north_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-lakeformation-datalakesettings.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-lakeformation-datalakesettings.json index 87c5a06c6c..b89debb193 100644 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-lakeformation-datalakesettings.json +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-lakeformation-datalakesettings.json @@ -69,7 +69,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TrustedResourceOwners": { "items": { diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-apigateway-model.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-apigateway-model.json index 5086400724..9504a897a5 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-apigateway-model.json +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-apigateway-model.json @@ -25,6 +25,7 @@ "type": "string" }, "Schema": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-apigateway-restapi.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-apigateway-restapi.json index 26d3794e3b..d08152f085 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-apigateway-restapi.json +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-apigateway-restapi.json @@ -75,6 +75,7 @@ "uniqueItems": true }, "Body": { + "format": "json", "type": [ "object", "string" @@ -119,6 +120,7 @@ "type": "object" }, "Policy": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-codepipeline-pipeline.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-codepipeline-pipeline.json index 4575c69e2a..2b41420f66 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-codepipeline-pipeline.json +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-codepipeline-pipeline.json @@ -11,6 +11,7 @@ "$ref": "#/definitions/ActionTypeId" }, "Configuration": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-ec2-vpcendpoint.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-ec2-vpcendpoint.json index 0581d10d25..cc6c13dfbc 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-ec2-vpcendpoint.json +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-ec2-vpcendpoint.json @@ -12,7 +12,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PrivateDnsEnabled": { "type": "boolean" diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-emr-securityconfiguration.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-emr-securityconfiguration.json index 5860195c67..69af968123 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-emr-securityconfiguration.json +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-emr-securityconfiguration.json @@ -15,7 +15,11 @@ "type": "string" }, "SecurityConfiguration": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-iot-policy.json index 2fe7a81560..a329acfc74 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-iot-policy.json @@ -15,6 +15,7 @@ "type": "string" }, "PolicyDocument": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-opsworks-layer.json index 2713480ea1..9c1034b219 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-opsworks-stack.json index a70f0a1a62..c091181181 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_north_1/aws-medialive-inputsecuritygroup.json b/src/cfnlint/data/schemas/providers/eu_north_1/aws-medialive-inputsecuritygroup.json index 34cbe5f1cf..1c6dcc4d8c 100644 --- a/src/cfnlint/data/schemas/providers/eu_north_1/aws-medialive-inputsecuritygroup.json +++ b/src/cfnlint/data/schemas/providers/eu_north_1/aws-medialive-inputsecuritygroup.json @@ -22,7 +22,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "WhitelistRules": { "items": { diff --git a/src/cfnlint/data/schemas/providers/eu_north_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/eu_north_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/eu_north_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/eu_north_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_north_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/eu_north_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/eu_north_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/eu_north_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-apigatewayv2-vpclink.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-apigatewayv2-vpclink.json index 7e1ebb78bc..6122cf0cee 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_1/aws-apigatewayv2-vpclink.json +++ b/src/cfnlint/data/schemas/providers/eu_south_1/aws-apigatewayv2-vpclink.json @@ -31,10 +31,13 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object", - "string" - ] + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/eu_south_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-iot-policy.json index 2fe7a81560..a329acfc74 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_1/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/eu_south_1/aws-iot-policy.json @@ -15,6 +15,7 @@ "type": "string" }, "PolicyDocument": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-opsworks-layer.json index 2713480ea1..9c1034b219 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_1/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/eu_south_1/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-opsworks-stack.json index a70f0a1a62..c091181181 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_1/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/eu_south_1/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-apigateway-model.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-apigateway-model.json index 5086400724..9504a897a5 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-apigateway-model.json +++ b/src/cfnlint/data/schemas/providers/eu_south_2/aws-apigateway-model.json @@ -25,6 +25,7 @@ "type": "string" }, "Schema": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-apigateway-restapi.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-apigateway-restapi.json index 26d3794e3b..d08152f085 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-apigateway-restapi.json +++ b/src/cfnlint/data/schemas/providers/eu_south_2/aws-apigateway-restapi.json @@ -75,6 +75,7 @@ "uniqueItems": true }, "Body": { + "format": "json", "type": [ "object", "string" @@ -119,6 +120,7 @@ "type": "object" }, "Policy": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-ec2-vpcendpoint.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-ec2-vpcendpoint.json index 0581d10d25..cc6c13dfbc 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-ec2-vpcendpoint.json +++ b/src/cfnlint/data/schemas/providers/eu_south_2/aws-ec2-vpcendpoint.json @@ -12,7 +12,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PrivateDnsEnabled": { "type": "boolean" diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-emr-securityconfiguration.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-emr-securityconfiguration.json index 5860195c67..69af968123 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-emr-securityconfiguration.json +++ b/src/cfnlint/data/schemas/providers/eu_south_2/aws-emr-securityconfiguration.json @@ -15,7 +15,11 @@ "type": "string" }, "SecurityConfiguration": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-iot-policy.json index 2fe7a81560..a329acfc74 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/eu_south_2/aws-iot-policy.json @@ -15,6 +15,7 @@ "type": "string" }, "PolicyDocument": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-opsworks-layer.json index 2713480ea1..9c1034b219 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/eu_south_2/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-opsworks-stack.json index a70f0a1a62..c091181181 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/eu_south_2/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-medialive-inputsecuritygroup.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-medialive-inputsecuritygroup.json index 34cbe5f1cf..1c6dcc4d8c 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_2/aws-medialive-inputsecuritygroup.json +++ b/src/cfnlint/data/schemas/providers/eu_west_2/aws-medialive-inputsecuritygroup.json @@ -22,7 +22,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "WhitelistRules": { "items": { diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-pinpoint-app.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-pinpoint-app.json index 444ed27dd6..3ab5d4845a 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_2/aws-pinpoint-app.json +++ b/src/cfnlint/data/schemas/providers/eu_west_2/aws-pinpoint-app.json @@ -17,9 +17,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-pinpoint-segment.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-pinpoint-segment.json index 3763227d9e..f39742ce10 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_2/aws-pinpoint-segment.json +++ b/src/cfnlint/data/schemas/providers/eu_west_2/aws-pinpoint-segment.json @@ -127,6 +127,7 @@ "additionalProperties": false, "properties": { "Attributes": { + "format": "json", "type": [ "object", "string" @@ -142,12 +143,14 @@ "$ref": "#/definitions/Location" }, "Metrics": { + "format": "json", "type": [ "object", "string" ] }, "UserAttributes": { + "format": "json", "type": [ "object", "string" @@ -227,9 +230,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/eu_west_3/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-medialive-inputsecuritygroup.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-medialive-inputsecuritygroup.json index 34cbe5f1cf..1c6dcc4d8c 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-medialive-inputsecuritygroup.json +++ b/src/cfnlint/data/schemas/providers/eu_west_3/aws-medialive-inputsecuritygroup.json @@ -22,7 +22,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "WhitelistRules": { "items": { diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/eu_west_3/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/eu_west_3/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-apigateway-model.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-apigateway-model.json index 5086400724..9504a897a5 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-apigateway-model.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-apigateway-model.json @@ -25,6 +25,7 @@ "type": "string" }, "Schema": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-apigateway-restapi.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-apigateway-restapi.json index 26d3794e3b..d08152f085 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-apigateway-restapi.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-apigateway-restapi.json @@ -75,6 +75,7 @@ "uniqueItems": true }, "Body": { + "format": "json", "type": [ "object", "string" @@ -119,6 +120,7 @@ "type": "object" }, "Policy": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-ec2-vpcendpoint.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-ec2-vpcendpoint.json index 0581d10d25..cc6c13dfbc 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-ec2-vpcendpoint.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-ec2-vpcendpoint.json @@ -12,7 +12,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PrivateDnsEnabled": { "type": "boolean" diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-emr-securityconfiguration.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-emr-securityconfiguration.json index 5860195c67..69af968123 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-emr-securityconfiguration.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-emr-securityconfiguration.json @@ -15,7 +15,11 @@ "type": "string" }, "SecurityConfiguration": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-iam-policy.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-iam-policy.json index 774f60eaac..3ac680bbb5 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-iam-policy.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-iam-policy.json @@ -32,7 +32,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PolicyName": { "maxLength": 128, diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-iot-policy.json index 2fe7a81560..a329acfc74 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-iot-policy.json @@ -15,6 +15,7 @@ "type": "string" }, "PolicyDocument": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-opsworks-layer.json index 2713480ea1..9c1034b219 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-opsworks-stack.json index a70f0a1a62..c091181181 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-sns-topicpolicy.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-sns-topicpolicy.json index 8584a3eba2..545b0755da 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-sns-topicpolicy.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-sns-topicpolicy.json @@ -8,7 +8,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Topics": { "items": { diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-sqs-queuepolicy.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-sqs-queuepolicy.json index e33ce43351..6b55356954 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-sqs-queuepolicy.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-sqs-queuepolicy.json @@ -8,7 +8,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Queues": { "items": { diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-apigateway-model.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-apigateway-model.json index 5086400724..9504a897a5 100644 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-apigateway-model.json +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-apigateway-model.json @@ -25,6 +25,7 @@ "type": "string" }, "Schema": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-apigateway-restapi.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-apigateway-restapi.json index 26d3794e3b..d08152f085 100644 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-apigateway-restapi.json +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-apigateway-restapi.json @@ -75,6 +75,7 @@ "uniqueItems": true }, "Body": { + "format": "json", "type": [ "object", "string" @@ -119,6 +120,7 @@ "type": "object" }, "Policy": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-opsworks-layer.json index 2713480ea1..9c1034b219 100644 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-opsworks-stack.json index a70f0a1a62..c091181181 100644 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-apigatewayv2-vpclink.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-apigatewayv2-vpclink.json index 7e1ebb78bc..6122cf0cee 100644 --- a/src/cfnlint/data/schemas/providers/me_south_1/aws-apigatewayv2-vpclink.json +++ b/src/cfnlint/data/schemas/providers/me_south_1/aws-apigatewayv2-vpclink.json @@ -31,10 +31,13 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object", - "string" - ] + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/sa_east_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/sa_east_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/sa_east_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-networkmanager-corenetwork.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-networkmanager-corenetwork.json index 27ca17b0e7..fac6f3d423 100644 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-networkmanager-corenetwork.json +++ b/src/cfnlint/data/schemas/providers/sa_east_1/aws-networkmanager-corenetwork.json @@ -142,7 +142,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Segments": { "insertionOrder": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/alexa-ask-skill.json b/src/cfnlint/data/schemas/providers/us_east_1/alexa-ask-skill.json index c3ba08f41a..d134121677 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/alexa-ask-skill.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/alexa-ask-skill.json @@ -28,7 +28,11 @@ "additionalProperties": false, "properties": { "Manifest": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-api.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-api.json index 02b7f1378d..35c20ed945 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-api.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-api.json @@ -117,7 +117,11 @@ "type": "string" }, "Body": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "BodyS3Location": { "$ref": "#/definitions/BodyS3Location" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-apigatewaymanagedoverrides.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-apigatewaymanagedoverrides.json index 162099ed06..8fac7729a6 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-apigatewaymanagedoverrides.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-apigatewaymanagedoverrides.json @@ -96,10 +96,18 @@ "type": "string" }, "RouteSettings": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "StageVariables": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-integration.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-integration.json index 958ee5f1a0..e7b7290e95 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-integration.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-integration.json @@ -58,13 +58,25 @@ "type": "string" }, "RequestParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RequestTemplates": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResponseParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TemplateSelectionExpression": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-integrationresponse.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-integrationresponse.json index 1719107a33..8a78137409 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-integrationresponse.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-integrationresponse.json @@ -56,10 +56,18 @@ "type": "string" }, "ResponseParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResponseTemplates": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TemplateSelectionExpression": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-model.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-model.json index a9ba05f4e6..97c47febbc 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-model.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-model.json @@ -64,7 +64,11 @@ "type": "string" }, "Schema": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-route.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-route.json index 2243a46a02..cdf668d612 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-route.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-route.json @@ -88,7 +88,11 @@ "type": "string" }, "RequestModels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RequestParameters": { "items": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-routeresponse.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-routeresponse.json index c189ffe4f5..8376552cbc 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-routeresponse.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-routeresponse.json @@ -69,7 +69,11 @@ "type": "string" }, "ResponseModels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResponseParameters": { "$ref": "#/definitions/RouteParameters" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-stage.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-stage.json index 484c227023..c49c40e1fb 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-stage.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-apigatewayv2-stage.json @@ -71,16 +71,40 @@ "type": "string" }, "RouteSettings": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "StageName": { "type": "string" }, "StageVariables": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-appsync-graphqlapi.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-appsync-graphqlapi.json index fefaa2df7d..89b0b95131 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-appsync-graphqlapi.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-appsync-graphqlapi.json @@ -174,7 +174,11 @@ "$ref": "#/definitions/EnhancedMetricsConfig" }, "EnvironmentVariables": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "GraphQLDns": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-backup-backupplan.json index 27ac119578..344b76f22e 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-backup-backupplan.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-backup-backupplan.json @@ -5,7 +5,11 @@ "additionalProperties": false, "properties": { "BackupOptions": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResourceType": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-batch-jobdefinition.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-batch-jobdefinition.json index d678bc08cb..db0b17c97d 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-batch-jobdefinition.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-batch-jobdefinition.json @@ -297,10 +297,18 @@ "additionalProperties": false, "properties": { "Limits": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Requests": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -515,7 +523,11 @@ "type": "string" }, "Options": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SecretOptions": { "items": { @@ -534,7 +546,11 @@ "additionalProperties": false, "properties": { "Labels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -930,7 +946,11 @@ "$ref": "#/definitions/NodeProperties" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PlatformCapabilities": { "items": { @@ -949,7 +969,23 @@ "type": "integer" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Timeout": { "$ref": "#/definitions/Timeout" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-budgets-budget.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-budgets-budget.json index c1aa9bd3db..8a01d045d5 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-budgets-budget.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-budgets-budget.json @@ -43,13 +43,21 @@ "type": "string" }, "CostFilters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "CostTypes": { "$ref": "#/definitions/CostTypes" }, "PlannedBudgetLimits": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TimePeriod": { "$ref": "#/definitions/TimePeriod" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-codepipeline-pipeline.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-codepipeline-pipeline.json index 288daa81a1..925fbfe118 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-codepipeline-pipeline.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-codepipeline-pipeline.json @@ -11,6 +11,7 @@ "$ref": "#/definitions/ActionTypeId" }, "Configuration": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-identitypool.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-identitypool.json index 27440ea263..f2d6ea761c 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-identitypool.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-identitypool.json @@ -98,6 +98,7 @@ "type": "boolean" }, "CognitoEvents": { + "format": "json", "type": [ "object", "string" @@ -146,6 +147,7 @@ "uniqueItems": false }, "SupportedLoginProviders": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-identitypoolprincipaltag.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-identitypoolprincipaltag.json index 5f39941612..307cb0c95f 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-identitypoolprincipaltag.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-identitypoolprincipaltag.json @@ -60,7 +60,9 @@ "type": "string" }, "PrincipalTags": { - "type": "object" + "type": [ + "object" + ] }, "UseDefaults": { "type": "boolean" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-userpoolidentityprovider.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-userpoolidentityprovider.json index c2c5ede62b..9b2913df78 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-userpoolidentityprovider.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-userpoolidentityprovider.json @@ -10,7 +10,11 @@ ], "properties": { "AttributeMapping": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Id": { "type": "string" @@ -23,7 +27,11 @@ "uniqueItems": false }, "ProviderDetails": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ProviderName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-config-remediationconfiguration.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-config-remediationconfiguration.json index b24e5f036d..a62e61812d 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-config-remediationconfiguration.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-config-remediationconfiguration.json @@ -46,7 +46,11 @@ "type": "integer" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResourceType": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-rule.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-rule.json index 61050ea05d..80cfb963fa 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-rule.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-rule.json @@ -36,7 +36,11 @@ "type": "object" }, "AssignContactCategoryAction": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "AssignContactCategoryActions": { "insertionOrder": false, @@ -77,7 +81,11 @@ "uniqueItems": true }, "EndAssociatedTasksAction": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "EndAssociatedTasksActions": { "insertionOrder": false, @@ -140,7 +148,11 @@ "type": "number" }, "EmptyValue": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "StringValue": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-view.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-view.json index 4b4f6338d8..e7d4f438a8 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-view.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-view.json @@ -107,7 +107,11 @@ "uniqueItems": true }, "Template": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ViewArn": { "maxLength": 255, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-controltower-enabledbaseline.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-controltower-enabledbaseline.json index c335729c94..c298026c0f 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-controltower-enabledbaseline.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-controltower-enabledbaseline.json @@ -6,39 +6,21 @@ ], "definitions": { "AnyType": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "number" - }, - { - "insertionOrder": false, - "items": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "object" - }, - { - "type": "string" - } - ] - }, - "type": "array" - }, - { - "type": "boolean" - } + "insertionOrder": false, + "items": { + "type": [ + "string", + "number", + "object", + "boolean" + ] + }, + "type": [ + "array", + "string", + "number", + "object", + "boolean" ] }, "Parameter": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-controltower-landingzone.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-controltower-landingzone.json index 4438ed0b68..8a74245fb2 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-controltower-landingzone.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-controltower-landingzone.json @@ -165,7 +165,13 @@ "pattern": "\\d+.\\d+", "type": "string" }, - "Manifest": {}, + "Manifest": { + "format": "json", + "type": [ + "object", + "string" + ] + }, "Status": { "$ref": "#/definitions/LandingZoneStatus" }, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-dax-cluster.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-dax-cluster.json index 25cd2e4e4d..0f08dbdb97 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-dax-cluster.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-dax-cluster.json @@ -85,7 +85,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-dax-parametergroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-dax-parametergroup.json index d081af6e72..da29a5897d 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-dax-parametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-dax-parametergroup.json @@ -17,7 +17,11 @@ "type": "string" }, "ParameterNameValues": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-dlm-lifecyclepolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-dlm-lifecyclepolicy.json index 80e7e58b3d..fe7e880675 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-dlm-lifecyclepolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-dlm-lifecyclepolicy.json @@ -159,6 +159,7 @@ "type": "object" }, "CrossRegionCopyTargets": { + "format": "json", "type": [ "object", "string" @@ -233,12 +234,14 @@ "type": "object" }, "ExcludeTags": { + "format": "json", "type": [ "object", "string" ] }, "ExcludeVolumeTypesList": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-dms-replicationconfig.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-dms-replicationconfig.json index 1375569cff..b9379a300f 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-dms-replicationconfig.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-dms-replicationconfig.json @@ -129,7 +129,11 @@ "type": "string" }, "ReplicationSettings": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ReplicationType": { "enum": [ @@ -146,10 +150,18 @@ "type": "string" }, "SupplementalSettings": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TableMappings": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Tags": { "insertionOrder": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-docdb-dbclusterparametergroup.json index 0b881de5f6..02bb5b2237 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-dynamodb-globaltable.json index d112362687..4092bfe628 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-dynamodb-globaltable.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-dynamodb-globaltable.json @@ -402,7 +402,11 @@ "additionalProperties": false, "properties": { "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "required": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-dynamodb-table.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-dynamodb-table.json index b080df6084..b916e63197 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-dynamodb-table.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-dynamodb-table.json @@ -327,7 +327,11 @@ "additionalProperties": false, "properties": { "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "required": [ @@ -591,7 +595,11 @@ "minItems": 1 }, { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } ] }, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-ecr-registrypolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-ecr-registrypolicy.json index 21c904f1bf..668917f422 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-ecr-registrypolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-ecr-registrypolicy.json @@ -42,7 +42,11 @@ ], "properties": { "PolicyText": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RegistryId": { "$ref": "#/definitions/RegistryId" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-efs-filesystem.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-efs-filesystem.json index 815e6529e9..875079ac22 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-efs-filesystem.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-efs-filesystem.json @@ -206,7 +206,11 @@ "type": "string" }, "FileSystemPolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "FileSystemProtection": { "$ref": "#/definitions/FileSystemProtection" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-elasticloadbalancing-loadbalancer.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-elasticloadbalancing-loadbalancer.json index 67ae878672..b182a9125f 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-elasticloadbalancing-loadbalancer.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-elasticloadbalancing-loadbalancer.json @@ -154,7 +154,9 @@ "properties": { "Attributes": { "items": { - "type": "object" + "type": [ + "object" + ] }, "type": "array", "uniqueItems": true diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-elasticsearch-domain.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-elasticsearch-domain.json index 5f96b3e62f..a32c5bfa89 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-elasticsearch-domain.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-elasticsearch-domain.json @@ -237,7 +237,11 @@ ], "properties": { "AccessPolicies": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "AdvancedOptions": { "patternProperties": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-emr-cluster.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-emr-cluster.json index 3c99c14a03..c752352185 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-emr-cluster.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-emr-cluster.json @@ -733,7 +733,11 @@ ], "properties": { "AdditionalInfo": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Applications": { "items": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-events-archive.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-events-archive.json index 1c17fd8c8e..008a6d6d10 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-events-archive.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-events-archive.json @@ -50,7 +50,11 @@ "type": "string" }, "EventPattern": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RetentionDays": { "type": "integer" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-events-eventbuspolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-events-eventbuspolicy.json index a6a4e63ef3..1127d99cc4 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-events-eventbuspolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-events-eventbuspolicy.json @@ -50,7 +50,11 @@ "type": "string" }, "Statement": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "StatementId": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-eventschemas-registrypolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-eventschemas-registrypolicy.json index 729fec5dda..36742f04b4 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-eventschemas-registrypolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-eventschemas-registrypolicy.json @@ -34,7 +34,11 @@ "type": "string" }, "Policy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RegistryName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-connection.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-connection.json index 1d05a22077..0e968d8b93 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-connection.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-connection.json @@ -8,7 +8,11 @@ "additionalProperties": false, "properties": { "ConnectionProperties": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ConnectionType": { "enum": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-crawler.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-crawler.json index 34b2ec29c2..91865a14ee 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-crawler.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-crawler.json @@ -307,7 +307,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Targets": { "$ref": "#/definitions/Targets" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-customentitytype.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-customentitytype.json index fbaf4512a7..92396d66a2 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-customentitytype.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-customentitytype.json @@ -21,7 +21,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-database.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-database.json index c9c0fffb2c..6e618ae270 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-database.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-database.json @@ -51,7 +51,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TargetDatabase": { "$ref": "#/definitions/DatabaseIdentifier" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-dataqualityruleset.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-dataqualityruleset.json index 08285184c0..be9d62ec90 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-dataqualityruleset.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-dataqualityruleset.json @@ -34,7 +34,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "TargetTable": { "$ref": "#/definitions/DataQualityTargetTable" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-devendpoint.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-devendpoint.json index 3c8e2cbdb2..76ba18da46 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-devendpoint.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-devendpoint.json @@ -8,7 +8,11 @@ ], "properties": { "Arguments": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "EndpointName": { "type": "string" @@ -60,7 +64,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "WorkerType": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-job.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-job.json index f466d345c3..286f928880 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-job.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-job.json @@ -68,7 +68,11 @@ "$ref": "#/definitions/ConnectionsList" }, "DefaultArguments": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Description": { "type": "string" @@ -101,7 +105,11 @@ "type": "string" }, "NonOverridableArguments": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "NotificationProperty": { "$ref": "#/definitions/NotificationProperty" @@ -118,7 +126,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Timeout": { "type": "integer" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-mltransform.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-mltransform.json index f16fe70e20..a476f36e6c 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-mltransform.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-mltransform.json @@ -137,7 +137,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Timeout": { "type": "integer" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-partition.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-partition.json index 6ee4ceef2b..962af6cf91 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-partition.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-partition.json @@ -43,7 +43,11 @@ "additionalProperties": false, "properties": { "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "StorageDescriptor": { "$ref": "#/definitions/StorageDescriptor" @@ -98,7 +102,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SerializationLibrary": { "type": "string" @@ -117,7 +125,11 @@ "uniqueItems": false }, "SkewedColumnValueLocationMaps": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SkewedColumnValues": { "items": { @@ -162,7 +174,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SchemaReference": { "$ref": "#/definitions/SchemaReference" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-table.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-table.json index c3c91c0dba..89eb2b1a8a 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-table.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-table.json @@ -100,7 +100,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SerializationLibrary": { "type": "string" @@ -119,7 +123,11 @@ "uniqueItems": false }, "SkewedColumnValueLocationMaps": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SkewedColumnValues": { "items": { @@ -164,7 +172,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SchemaReference": { "$ref": "#/definitions/SchemaReference" @@ -219,7 +231,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PartitionKeys": { "items": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-trigger.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-trigger.json index 16d41a0997..506542a138 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-trigger.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-trigger.json @@ -10,7 +10,11 @@ "additionalProperties": false, "properties": { "Arguments": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "CrawlerName": { "type": "string" @@ -138,7 +142,23 @@ "type": "boolean" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Type": { "enum": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-workflow.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-workflow.json index 156d51781c..b30b9cc616 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-workflow.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-workflow.json @@ -8,7 +8,11 @@ ], "properties": { "DefaultRunProperties": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Description": { "type": "string" @@ -23,7 +27,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-connectordefinition.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-connectordefinition.json index f10af1eeb9..8717f70462 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-connectordefinition.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-connectordefinition.json @@ -14,7 +14,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "required": [ @@ -60,7 +64,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-connectordefinitionversion.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-connectordefinitionversion.json index 831af0d61b..046365b8ee 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-connectordefinitionversion.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-connectordefinitionversion.json @@ -15,7 +15,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "required": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-coredefinition.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-coredefinition.json index a51252f1a6..a3d235090a 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-coredefinition.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-coredefinition.json @@ -64,7 +64,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-devicedefinition.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-devicedefinition.json index 2edb9278dc..0fed297a2e 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-devicedefinition.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-devicedefinition.json @@ -64,7 +64,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-functiondefinition.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-functiondefinition.json index aae1d0084e..5e0ac9eed3 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-functiondefinition.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-functiondefinition.json @@ -33,7 +33,11 @@ "uniqueItems": false }, "Variables": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -164,7 +168,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-functiondefinitionversion.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-functiondefinitionversion.json index 65a6cebc32..5162e7c138 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-functiondefinitionversion.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-functiondefinitionversion.json @@ -35,7 +35,11 @@ "uniqueItems": false }, "Variables": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-group.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-group.json index 4f494a0726..4007d9eb97 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-group.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-group.json @@ -58,7 +58,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-loggerdefinition.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-loggerdefinition.json index 652b66a707..0d5ad13b58 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-loggerdefinition.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-loggerdefinition.json @@ -68,7 +68,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-resourcedefinition.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-resourcedefinition.json index 8b541b7d1f..fd3133fb9f 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-resourcedefinition.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-resourcedefinition.json @@ -204,7 +204,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-subscriptiondefinition.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-subscriptiondefinition.json index 6ea202fe0c..394fe41b21 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-subscriptiondefinition.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-greengrass-subscriptiondefinition.json @@ -65,7 +65,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-grouppolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-grouppolicy.json index bf25e1208f..58f4b82dde 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-grouppolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-grouppolicy.json @@ -38,7 +38,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PolicyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-rolepolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-rolepolicy.json index a8cdbb8673..5fa5e97c8e 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-rolepolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-rolepolicy.json @@ -35,7 +35,11 @@ ], "properties": { "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PolicyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-userpolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-userpolicy.json index a62ee1e240..53669f381f 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-userpolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-iam-userpolicy.json @@ -35,7 +35,11 @@ ], "properties": { "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PolicyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-inspectorv2-cisscanconfiguration.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-inspectorv2-cisscanconfiguration.json index b181a4231f..a9a6f0f997 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-inspectorv2-cisscanconfiguration.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-inspectorv2-cisscanconfiguration.json @@ -89,7 +89,11 @@ "type": "object" }, "OneTimeSchedule": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Schedule": { "properties": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-iot1click-placement.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-iot1click-placement.json index a159e45217..6e9813d25f 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-iot1click-placement.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-iot1click-placement.json @@ -10,10 +10,18 @@ ], "properties": { "AssociatedDevices": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Attributes": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Id": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-iot1click-project.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-iot1click-project.json index 1a41197dea..ecf009502b 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-iot1click-project.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-iot1click-project.json @@ -8,10 +8,18 @@ "additionalProperties": false, "properties": { "DefaultAttributes": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "DeviceTemplates": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-iotanalytics-channel.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-iotanalytics-channel.json index 0283ba3ed1..8ed0e75d28 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-iotanalytics-channel.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-iotanalytics-channel.json @@ -58,6 +58,7 @@ "type": "object" }, "ServiceManagedS3": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-iotanalytics-datastore.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-iotanalytics-datastore.json index b915db1b0e..d81368a0e0 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-iotanalytics-datastore.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-iotanalytics-datastore.json @@ -133,6 +133,7 @@ "type": "object" }, "JsonConfiguration": { + "format": "json", "type": [ "object", "string" @@ -191,6 +192,7 @@ "type": "object" }, "ServiceManagedS3": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-datalakesettings.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-datalakesettings.json index 8ca57bf0f0..eaefbf163b 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-datalakesettings.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-datalakesettings.json @@ -72,7 +72,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TrustedResourceOwners": { "items": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-permissions.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-permissions.json index 00f5a8a794..fc6558b4a9 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-permissions.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-permissions.json @@ -88,6 +88,7 @@ "type": "object" }, "TableWildcard": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-principalpermissions.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-principalpermissions.json index a41ac0fd61..913a9f1bdd 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-principalpermissions.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-principalpermissions.json @@ -346,6 +346,7 @@ "type": "object" }, "TableWildcard": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-tagassociation.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-tagassociation.json index 4d69417ad5..08cdf81bc2 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-tagassociation.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-lakeformation-tagassociation.json @@ -140,6 +140,7 @@ "type": "object" }, "TableWildcard": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-lambda-version.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-lambda-version.json index f6886d9ed2..600b1569b0 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-lambda-version.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-lambda-version.json @@ -120,7 +120,11 @@ "type": "string" }, "Policy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ProvisionedConcurrencyConfig": { "$ref": "#/definitions/ProvisionedConcurrencyConfiguration" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-lex-resourcepolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-lex-resourcepolicy.json index b6215f1375..68441976f3 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-lex-resourcepolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-lex-resourcepolicy.json @@ -10,7 +10,11 @@ "type": "string" }, "Policy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResourceArn": { "maxLength": 1011, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-logs-loggroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-logs-loggroup.json index eda4951c5d..b69d4c95de 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-logs-loggroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-logs-loggroup.json @@ -94,7 +94,11 @@ "type": "string" }, "DataProtectionPolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "KmsKeyId": { "maxLength": 256, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-jobtemplate.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-jobtemplate.json index 8988fc3ff7..b6bef43f6c 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-jobtemplate.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-jobtemplate.json @@ -68,13 +68,33 @@ "type": "string" }, "SettingsJson": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "StatusUpdateInterval": { "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-preset.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-preset.json index ce2e3ff049..c394fb03e0 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-preset.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-preset.json @@ -23,10 +23,30 @@ "type": "string" }, "SettingsJson": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-queue.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-queue.json index 512804c887..5a9832c83c 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-queue.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-mediaconvert-queue.json @@ -26,7 +26,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-channel.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-channel.json index 3318906a75..5a5d82e793 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-channel.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-channel.json @@ -137,12 +137,14 @@ "type": "object" }, "AribDestinationSettings": { + "format": "json", "type": [ "object", "string" ] }, "AribSourceSettings": { + "format": "json", "type": [ "object", "string" @@ -755,12 +757,14 @@ "type": "object" }, "ColorSpacePassthroughSettings": { + "format": "json", "type": [ "object", "string" ] }, "DolbyVision81Settings": { + "format": "json", "type": [ "object", "string" @@ -989,12 +993,14 @@ "type": "object" }, "EmbeddedDestinationSettings": { + "format": "json", "type": [ "object", "string" ] }, "EmbeddedPlusScte20DestinationSettings": { + "format": "json", "type": [ "object", "string" @@ -1206,6 +1212,7 @@ "type": "object" }, "FrameCaptureHlsSettings": { + "format": "json", "type": [ "object", "string" @@ -1901,6 +1908,7 @@ "type": "object" }, "HtmlMotionGraphicsSettings": { + "format": "json", "type": [ "object", "string" @@ -2296,6 +2304,7 @@ "type": "object" }, "MediaPackageOutputSettings": { + "format": "json", "type": [ "object", "string" @@ -2479,6 +2488,7 @@ "type": "object" }, "MultiplexGroupSettings": { + "format": "json", "type": [ "object", "string" @@ -2754,30 +2764,35 @@ "type": "object" }, "PassThroughSettings": { + "format": "json", "type": [ "object", "string" ] }, "PipelineLockingSettings": { + "format": "json", "type": [ "object", "string" ] }, "RawSettings": { + "format": "json", "type": [ "object", "string" ] }, "Rec601Settings": { + "format": "json", "type": [ "object", "string" ] }, "Rec709Settings": { + "format": "json", "type": [ "object", "string" @@ -2803,6 +2818,7 @@ "type": "object" }, "RtmpCaptionInfoDestinationSettings": { + "format": "json", "type": [ "object", "string" @@ -2861,6 +2877,7 @@ "type": "object" }, "Scte20PlusEmbeddedDestinationSettings": { + "format": "json", "type": [ "object", "string" @@ -2879,6 +2896,7 @@ "type": "object" }, "Scte27DestinationSettings": { + "format": "json", "type": [ "object", "string" @@ -2927,6 +2945,7 @@ "type": "object" }, "SmpteTtDestinationSettings": { + "format": "json", "type": [ "object", "string" @@ -2957,6 +2976,7 @@ "type": "object" }, "TeletextDestinationSettings": { + "format": "json", "type": [ "object", "string" @@ -3297,7 +3317,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Vpc": { "$ref": "#/definitions/VpcOutputSettings" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-input.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-input.json index 9b8bc78f06..b6c7c9bf83 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-input.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-input.json @@ -122,7 +122,23 @@ "uniqueItems": false }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Type": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-inputsecuritygroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-inputsecuritygroup.json index 72f02b2753..a6106892c1 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-inputsecuritygroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-medialive-inputsecuritygroup.json @@ -22,7 +22,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "WhitelistRules": { "items": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-mediatailor-playbackconfiguration.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-mediatailor-playbackconfiguration.json index fd81a222a5..0e49b26b4c 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-mediatailor-playbackconfiguration.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-mediatailor-playbackconfiguration.json @@ -65,7 +65,11 @@ "additionalProperties": false, "patternProperties": { "player_params\\.\\w+\\Z": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } } }, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-memorydb-parametergroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-memorydb-parametergroup.json index 1e299246c8..22e11636fe 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-memorydb-parametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-memorydb-parametergroup.json @@ -83,7 +83,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Tags": { "insertionOrder": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-msk-clusterpolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-msk-clusterpolicy.json index 1374a24253..7f9b2295c5 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-msk-clusterpolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-msk-clusterpolicy.json @@ -57,7 +57,11 @@ "type": "string" }, "Policy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-mwaa-environment.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-mwaa-environment.json index e5a1d0ee36..ec3f5ee09a 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-mwaa-environment.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-mwaa-environment.json @@ -357,7 +357,11 @@ ], "properties": { "AirflowConfigurationOptions": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "AirflowVersion": { "$ref": "#/definitions/AirflowVersion" @@ -432,7 +436,23 @@ "$ref": "#/definitions/RelativePath" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "WebserverAccessMode": { "$ref": "#/definitions/WebserverAccessMode" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-neptune-dbclusterparametergroup.json index 9302ad6d5e..0f389f4ef8 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-neptune-dbparametergroup.json index 02835d0d26..1fc8627784 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-networkmanager-corenetwork.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-networkmanager-corenetwork.json index 15191e10d9..a33cde44d0 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-networkmanager-corenetwork.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-networkmanager-corenetwork.json @@ -148,7 +148,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Segments": { "insertionOrder": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-oam-sink.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-oam-sink.json index 213c36184f..eb86a2f73c 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-oam-sink.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-oam-sink.json @@ -55,7 +55,11 @@ "type": "string" }, "Policy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Tags": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-opensearchservice-domain.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-opensearchservice-domain.json index 4af2aad39f..c8aa358cc0 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-opensearchservice-domain.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-opensearchservice-domain.json @@ -417,7 +417,11 @@ ], "properties": { "AccessPolicies": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "AdvancedOptions": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-opsworks-layer.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-opsworks-layer.json index 3d9a8bb659..8f9f58f354 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-opsworks-layer.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-opsworks-layer.json @@ -181,6 +181,7 @@ "type": "string" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-opsworks-stack.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-opsworks-stack.json index c654f7d9ea..2d05d839e8 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-opsworks-stack.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-opsworks-stack.json @@ -148,6 +148,7 @@ "$ref": "#/definitions/Source" }, "CustomJson": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-app.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-app.json index 99e760001f..9f51e95a5d 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-app.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-app.json @@ -17,9 +17,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-campaign.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-campaign.json index 1b7990c9f5..7f371de408 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-campaign.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-campaign.json @@ -69,7 +69,11 @@ "uniqueItems": false }, "CustomConfig": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Layout": { "type": "string" @@ -145,13 +149,21 @@ "additionalProperties": false, "properties": { "Attributes": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "EventType": { "$ref": "#/definitions/SetDimension" }, "Metrics": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -510,7 +522,23 @@ "type": "integer" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "TemplateConfiguration": { "$ref": "#/definitions/TemplateConfiguration" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-emailtemplate.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-emailtemplate.json index 11027d961b..cc0170e5a8 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-emailtemplate.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-emailtemplate.json @@ -23,7 +23,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "TemplateDescription": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-inapptemplate.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-inapptemplate.json index b3001a3b12..8e5adeeaa6 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-inapptemplate.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-inapptemplate.json @@ -177,7 +177,9 @@ "type": "array" }, "CustomConfig": { - "type": "object" + "type": [ + "object" + ] }, "Layout": { "enum": [ @@ -191,7 +193,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "TemplateDescription": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-pushtemplate.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-pushtemplate.json index c2fa21b1b4..3851e235da 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-pushtemplate.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-pushtemplate.json @@ -109,7 +109,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "TemplateDescription": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-segment.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-segment.json index 71733a1a7c..cf21227e2e 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-segment.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-segment.json @@ -127,6 +127,7 @@ "additionalProperties": false, "properties": { "Attributes": { + "format": "json", "type": [ "object", "string" @@ -142,12 +143,14 @@ "$ref": "#/definitions/Location" }, "Metrics": { + "format": "json", "type": [ "object", "string" ] }, "UserAttributes": { + "format": "json", "type": [ "object", "string" @@ -227,9 +230,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-smstemplate.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-smstemplate.json index dbe84c380d..30937db82d 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-smstemplate.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-pinpoint-smstemplate.json @@ -20,7 +20,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "TemplateDescription": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-qbusiness-datasource.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-qbusiness-datasource.json index 4f4b154f71..eedeb2d6c1 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-qbusiness-datasource.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-qbusiness-datasource.json @@ -333,7 +333,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{35}$", "type": "string" }, - "Configuration": {}, + "Configuration": { + "format": "json", + "type": [ + "object", + "string" + ] + }, "CreatedAt": { "format": "date-time", "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-qbusiness-plugin.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-qbusiness-plugin.json index 21b8251e2f..c88bdba909 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-qbusiness-plugin.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-qbusiness-plugin.json @@ -86,6 +86,7 @@ "type": "object" }, "NoAuthConfiguration": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-analysis.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-analysis.json index f5ac271c04..fde8d4ee63 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-analysis.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-analysis.json @@ -43,6 +43,7 @@ "type": "object" }, "AllSheetsFilterScopeConfiguration": { + "format": "json", "type": [ "object", "string" @@ -319,6 +320,7 @@ "type": "object" }, "AxisDisplayDataDrivenRange": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-dashboard.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-dashboard.json index 363e0544b9..bf30fd8a9e 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-dashboard.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-dashboard.json @@ -52,6 +52,7 @@ "type": "object" }, "AllSheetsFilterScopeConfiguration": { + "format": "json", "type": [ "object", "string" @@ -200,6 +201,7 @@ "type": "object" }, "AxisDisplayDataDrivenRange": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-template.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-template.json index 1580a87bfd..accf32f97a 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-template.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-quicksight-template.json @@ -43,6 +43,7 @@ "type": "object" }, "AllSheetsFilterScopeConfiguration": { + "format": "json", "type": [ "object", "string" @@ -191,6 +192,7 @@ "type": "object" }, "AxisDisplayDataDrivenRange": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-ram-permission.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-ram-permission.json index 1db6d10298..c87ff699e9 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-ram-permission.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-ram-permission.json @@ -82,7 +82,11 @@ "type": "string" }, "PolicyTemplate": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResourceType": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-rds-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-rds-dbclusterparametergroup.json index 07d98fb124..b0eab47d40 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-rds-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-rds-dbclusterparametergroup.json @@ -90,7 +90,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Tags": { "insertionOrder": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-rds-dbparametergroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-rds-dbparametergroup.json index 6882dc720d..4dc10cd1aa 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-rds-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-rds-dbparametergroup.json @@ -86,7 +86,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Tags": { "insertionOrder": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-redshift-cluster.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-redshift-cluster.json index a4fe8b4ec4..f82a300c72 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-redshift-cluster.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-redshift-cluster.json @@ -333,7 +333,11 @@ "type": "boolean" }, "NamespaceResourcePolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "NodeType": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-redshiftserverless-namespace.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-redshiftserverless-namespace.json index 21dbeb4d9d..8ea3c17800 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-redshiftserverless-namespace.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-redshiftserverless-namespace.json @@ -276,7 +276,11 @@ "type": "string" }, "NamespaceResourcePolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RedshiftIdcApplicationArn": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-s3-accesspoint.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-s3-accesspoint.json index f1e2fb49e4..e6895722e6 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-s3-accesspoint.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-s3-accesspoint.json @@ -114,7 +114,11 @@ "type": "string" }, "Policy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PublicAccessBlockConfiguration": { "$ref": "#/definitions/PublicAccessBlockConfiguration" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-s3-multiregionaccesspointpolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-s3-multiregionaccesspointpolicy.json index 11ef0560cd..5df1fe342b 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-s3-multiregionaccesspointpolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-s3-multiregionaccesspointpolicy.json @@ -43,7 +43,11 @@ "type": "string" }, "Policy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PolicyStatus": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-s3objectlambda-accesspointpolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-s3objectlambda-accesspointpolicy.json index 6fddcb1932..31b3f5c7e8 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-s3objectlambda-accesspointpolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-s3objectlambda-accesspointpolicy.json @@ -39,7 +39,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "required": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-s3outposts-accesspoint.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-s3outposts-accesspoint.json index 52811f613e..53b2c112c4 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-s3outposts-accesspoint.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-s3outposts-accesspoint.json @@ -77,7 +77,11 @@ "type": "string" }, "Policy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "VpcConfiguration": { "$ref": "#/definitions/VpcConfiguration" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-s3outposts-bucketpolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-s3outposts-bucketpolicy.json index 5f6c2026d9..debf225370 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-s3outposts-bucketpolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-s3outposts-bucketpolicy.json @@ -40,7 +40,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "required": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-sagemaker-model.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-sagemaker-model.json index 64be9046a2..ef768bc0ed 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-sagemaker-model.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-sagemaker-model.json @@ -17,7 +17,11 @@ "type": "string" }, "Environment": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Image": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-secretsmanager-resourcepolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-secretsmanager-resourcepolicy.json index 3dd6c86b41..92fc7be26c 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-secretsmanager-resourcepolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-secretsmanager-resourcepolicy.json @@ -14,7 +14,11 @@ "type": "string" }, "ResourcePolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SecretId": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-securitylake-subscribernotification.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-securitylake-subscribernotification.json index f836f8d515..7cf8ad6aec 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-securitylake-subscribernotification.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-securitylake-subscribernotification.json @@ -60,7 +60,11 @@ "type": "object" }, "SqsNotificationConfiguration": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "handlers": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-servicecatalog-cloudformationproduct.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-servicecatalog-cloudformationproduct.json index 4feca5f9c4..de8fa0a2e1 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-servicecatalog-cloudformationproduct.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-servicecatalog-cloudformationproduct.json @@ -44,7 +44,11 @@ "type": "boolean" }, "Info": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Name": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-servicecatalogappregistry-attributegroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-servicecatalogappregistry-attributegroup.json index 1e8faddf1b..d9ca638e3d 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-servicecatalogappregistry-attributegroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-servicecatalogappregistry-attributegroup.json @@ -60,7 +60,11 @@ "type": "string" }, "Attributes": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Description": { "maxLength": 1024, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-servicediscovery-instance.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-servicediscovery-instance.json index 8a35513324..45169cf8e9 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-servicediscovery-instance.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-servicediscovery-instance.json @@ -9,7 +9,11 @@ ], "properties": { "InstanceAttributes": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "InstanceId": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-subscription.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-subscription.json index c457b35a6d..90af872d5d 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-subscription.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-subscription.json @@ -10,13 +10,21 @@ ], "properties": { "DeliveryPolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Endpoint": { "type": "string" }, "FilterPolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "FilterPolicyScope": { "type": "string" @@ -31,13 +39,21 @@ "type": "boolean" }, "RedrivePolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Region": { "type": "string" }, "ReplayPolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SubscriptionRoleArn": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-topic.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-topic.json index d96eaa752b..127049df6c 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-topic.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-topic.json @@ -133,13 +133,21 @@ ], "properties": { "ArchivePolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ContentBasedDeduplication": { "type": "boolean" }, "DataProtectionPolicy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "DeliveryStatusLogging": { "insertionOrder": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-topicinlinepolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-topicinlinepolicy.json index fd69601361..d99881ef71 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-topicinlinepolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-sns-topicinlinepolicy.json @@ -33,7 +33,11 @@ ], "properties": { "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TopicArn": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-sqs-queueinlinepolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-sqs-queueinlinepolicy.json index 52b6889a1e..521c03b17c 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-sqs-queueinlinepolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-sqs-queueinlinepolicy.json @@ -36,7 +36,11 @@ ], "properties": { "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Queue": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-ssm-maintenancewindowtask.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-ssm-maintenancewindowtask.json index 41a6294509..0dd23dd503 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-ssm-maintenancewindowtask.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-ssm-maintenancewindowtask.json @@ -43,7 +43,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -91,7 +95,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ServiceRoleArn": { "type": "string" @@ -220,7 +228,11 @@ "$ref": "#/definitions/TaskInvocationParameters" }, "TaskParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TaskType": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-vpclattice-authpolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-vpclattice-authpolicy.json index 8069e063ba..78bc7dcad7 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-vpclattice-authpolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-vpclattice-authpolicy.json @@ -33,7 +33,11 @@ ], "properties": { "Policy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResourceIdentifier": { "maxLength": 200, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-vpclattice-resourcepolicy.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-vpclattice-resourcepolicy.json index c27fa19162..2a39eb2738 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-vpclattice-resourcepolicy.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-vpclattice-resourcepolicy.json @@ -33,7 +33,11 @@ ], "properties": { "Policy": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResourceArn": { "maxLength": 200, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-loggingconfiguration.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-loggingconfiguration.json index daad0821d7..6aee198833 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-loggingconfiguration.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-loggingconfiguration.json @@ -46,10 +46,18 @@ "additionalProperties": false, "properties": { "Method": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "QueryString": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SingleHeader": { "additionalProperties": false, @@ -64,7 +72,11 @@ "type": "object" }, "UriPath": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-rulegroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-rulegroup.json index 45c9a65dd3..e8b7a906e7 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-rulegroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-rulegroup.json @@ -124,7 +124,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedCookies": { "items": { @@ -296,7 +300,11 @@ "additionalProperties": false, "properties": { "AllQueryArguments": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Body": { "$ref": "#/definitions/Body" @@ -314,10 +322,18 @@ "$ref": "#/definitions/JsonBody" }, "Method": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "QueryString": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SingleHeader": { "additionalProperties": false, @@ -344,7 +360,11 @@ "type": "object" }, "UriPath": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -391,7 +411,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedHeaders": { "items": { @@ -539,7 +563,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "IncludedPaths": { "items": { @@ -766,10 +794,18 @@ "type": "object" }, "RateLimitForwardedIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHTTPMethod": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHeader": { "additionalProperties": false, @@ -794,7 +830,11 @@ "type": "object" }, "RateLimitIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitLabelNamespace": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-webacl.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-webacl.json index 05be00bb75..b6a0e8dba6 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-webacl.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-wafv2-webacl.json @@ -202,7 +202,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedCookies": { "items": { @@ -419,7 +423,11 @@ "additionalProperties": false, "properties": { "AllQueryArguments": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Body": { "$ref": "#/definitions/Body" @@ -437,10 +445,18 @@ "$ref": "#/definitions/JsonBody" }, "Method": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "QueryString": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SingleHeader": { "additionalProperties": false, @@ -467,7 +483,11 @@ "type": "object" }, "UriPath": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -514,7 +534,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedHeaders": { "items": { @@ -662,7 +686,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "IncludedPaths": { "items": { @@ -845,10 +873,18 @@ "additionalProperties": false, "properties": { "Count": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "None": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -875,7 +911,11 @@ "type": "string" }, "QueryString": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateBasedStatement": { "additionalProperties": false, @@ -976,10 +1016,18 @@ "type": "object" }, "RateLimitForwardedIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHTTPMethod": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHeader": { "additionalProperties": false, @@ -1004,7 +1052,11 @@ "type": "object" }, "RateLimitIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitLabelNamespace": { "additionalProperties": false, @@ -1725,7 +1777,11 @@ "type": "array" }, "UriPath": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "VisibilityConfig": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_east_2/aws-medialive-inputsecuritygroup.json b/src/cfnlint/data/schemas/providers/us_east_2/aws-medialive-inputsecuritygroup.json index 34cbe5f1cf..1c6dcc4d8c 100644 --- a/src/cfnlint/data/schemas/providers/us_east_2/aws-medialive-inputsecuritygroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_2/aws-medialive-inputsecuritygroup.json @@ -22,7 +22,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "WhitelistRules": { "items": { diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-model.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-model.json index 8122317a63..00901c8b84 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-model.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-model.json @@ -25,6 +25,7 @@ "type": "string" }, "Schema": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-restapi.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-restapi.json index 26d3794e3b..d08152f085 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-restapi.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-restapi.json @@ -75,6 +75,7 @@ "uniqueItems": true }, "Body": { + "format": "json", "type": [ "object", "string" @@ -119,6 +120,7 @@ "type": "object" }, "Policy": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-api.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-api.json index 9edaae8315..521cbe4f20 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-api.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-api.json @@ -77,7 +77,11 @@ "type": "string" }, "Body": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "BodyS3Location": { "$ref": "#/definitions/BodyS3Location" @@ -116,6 +120,12 @@ "type": "string" }, "Tags": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, "type": "object" }, "Target": { diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-domainname.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-domainname.json index 098f536cd5..37d63b3c1b 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-domainname.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-domainname.json @@ -65,6 +65,12 @@ "type": "string" }, "Tags": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, "type": "object" } }, diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-integrationresponse.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-integrationresponse.json index 3d9125e343..a1d1ef4bf5 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-integrationresponse.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-integrationresponse.json @@ -20,10 +20,18 @@ "type": "string" }, "ResponseParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResponseTemplates": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TemplateSelectionExpression": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-model.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-model.json index 74a1fd4dba..f6ec37316a 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-model.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-model.json @@ -23,7 +23,11 @@ "type": "string" }, "Schema": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-route.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-route.json index 1b00412e68..75fec9dcad 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-route.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-route.json @@ -36,10 +36,18 @@ "type": "string" }, "RequestModels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RequestParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RouteKey": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-routeresponse.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-routeresponse.json index 32c73f182a..6044f43b44 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-routeresponse.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-routeresponse.json @@ -18,10 +18,18 @@ "type": "string" }, "ResponseModels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResponseParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RouteId": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-vpclink.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-vpclink.json index 7e1ebb78bc..6122cf0cee 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-vpclink.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigatewayv2-vpclink.json @@ -31,10 +31,13 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object", - "string" - ] + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-codepipeline-pipeline.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-codepipeline-pipeline.json index 4575c69e2a..2b41420f66 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-codepipeline-pipeline.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-codepipeline-pipeline.json @@ -11,6 +11,7 @@ "$ref": "#/definitions/ActionTypeId" }, "Configuration": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-config-configrule.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-config-configrule.json index 1b77379213..931cf0bd8e 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-config-configrule.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-config-configrule.json @@ -150,7 +150,11 @@ "uniqueItems": true }, "InputParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "MaximumExecutionFrequency": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-ec2-vpcendpoint.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-ec2-vpcendpoint.json index f6ef1cbb50..e3aa8acc39 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-ec2-vpcendpoint.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-ec2-vpcendpoint.json @@ -30,7 +30,11 @@ "uniqueItems": false }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PrivateDnsEnabled": { "type": "boolean" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-emr-securityconfiguration.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-emr-securityconfiguration.json index 5860195c67..69af968123 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-emr-securityconfiguration.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-emr-securityconfiguration.json @@ -15,7 +15,11 @@ "type": "string" }, "SecurityConfiguration": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-events-archive.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-events-archive.json index 0589073941..5b9e5595fa 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-events-archive.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-events-archive.json @@ -52,7 +52,11 @@ "type": "string" }, "EventPattern": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RetentionDays": { "type": "integer" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-events-rule.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-events-rule.json index d0247e8a12..c3561eff24 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-events-rule.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-events-rule.json @@ -462,7 +462,11 @@ "type": "string" }, "EventPattern": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Id": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-gammadilithium-jobdefinition.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-gammadilithium-jobdefinition.json index 349bfa79f7..2917648238 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-gammadilithium-jobdefinition.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-gammadilithium-jobdefinition.json @@ -297,10 +297,18 @@ "additionalProperties": false, "properties": { "Limits": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Requests": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -515,7 +523,11 @@ "type": "string" }, "Options": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SecretOptions": { "items": { @@ -534,7 +546,11 @@ "additionalProperties": false, "properties": { "Labels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -930,7 +946,11 @@ "$ref": "#/definitions/NodeProperties" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PlatformCapabilities": { "items": { @@ -949,7 +969,23 @@ "type": "integer" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Timeout": { "$ref": "#/definitions/Timeout" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-connectordefinition.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-connectordefinition.json index 342bbf6c00..aed5791085 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-connectordefinition.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-connectordefinition.json @@ -14,7 +14,11 @@ "type": "string" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "required": [ @@ -60,7 +64,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-coredefinition.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-coredefinition.json index 875682638a..2a17198704 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-coredefinition.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-coredefinition.json @@ -64,7 +64,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-devicedefinition.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-devicedefinition.json index 968b698cd8..1054cba6da 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-devicedefinition.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-devicedefinition.json @@ -64,7 +64,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-functiondefinition.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-functiondefinition.json index 77ba126d5f..26bb37aa38 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-functiondefinition.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-functiondefinition.json @@ -33,7 +33,11 @@ "uniqueItems": false }, "Variables": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -164,7 +168,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-functiondefinitionversion.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-functiondefinitionversion.json index 9217b8c01f..8d0815f941 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-functiondefinitionversion.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-functiondefinitionversion.json @@ -35,7 +35,11 @@ "uniqueItems": false }, "Variables": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-group.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-group.json index 944de38401..5febb9ee74 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-group.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-group.json @@ -58,7 +58,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-loggerdefinition.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-loggerdefinition.json index bdcdf4ca7f..adb849294d 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-loggerdefinition.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-loggerdefinition.json @@ -68,7 +68,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-subscriptiondefinition.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-subscriptiondefinition.json index 18e6776042..d4e1340c99 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-subscriptiondefinition.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-greengrass-subscriptiondefinition.json @@ -65,7 +65,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-group.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-group.json index 43bd3691ff..60e4219956 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-group.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-group.json @@ -8,7 +8,9 @@ "additionalProperties": false, "properties": { "PolicyDocument": { - "type": "object" + "type": [ + "object" + ] }, "PolicyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-policy.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-policy.json index 37cfb2e721..57ad1406f1 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-policy.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-policy.json @@ -32,7 +32,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PolicyName": { "maxLength": 128, diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-user.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-user.json index 896f7efd04..e99187b0fb 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-user.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-iam-user.json @@ -23,7 +23,9 @@ "additionalProperties": false, "properties": { "PolicyDocument": { - "type": "object" + "type": [ + "object" + ] }, "PolicyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-opensearchservice-domain.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-opensearchservice-domain.json index aefa4eafb9..0d16aaa6d4 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-opensearchservice-domain.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-opensearchservice-domain.json @@ -417,7 +417,11 @@ ], "properties": { "AccessPolicies": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "AdvancedOptions": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-wafv2-rulegroup.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-wafv2-rulegroup.json index a6d5b97730..c8cfaebfa1 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-wafv2-rulegroup.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-wafv2-rulegroup.json @@ -124,7 +124,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedCookies": { "items": { @@ -287,7 +291,11 @@ "additionalProperties": false, "properties": { "AllQueryArguments": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Body": { "$ref": "#/definitions/Body" @@ -302,10 +310,18 @@ "$ref": "#/definitions/JsonBody" }, "Method": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "QueryString": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SingleHeader": { "additionalProperties": false, @@ -332,7 +348,11 @@ "type": "object" }, "UriPath": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -379,7 +399,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedHeaders": { "items": { @@ -511,7 +535,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "IncludedPaths": { "items": { @@ -735,10 +763,18 @@ "type": "object" }, "RateLimitForwardedIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHTTPMethod": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHeader": { "additionalProperties": false, @@ -763,7 +799,11 @@ "type": "object" }, "RateLimitIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitLabelNamespace": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-wafv2-webacl.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-wafv2-webacl.json index f31f42863c..ac31069f94 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-wafv2-webacl.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-wafv2-webacl.json @@ -202,7 +202,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedCookies": { "items": { @@ -410,7 +414,11 @@ "additionalProperties": false, "properties": { "AllQueryArguments": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Body": { "$ref": "#/definitions/Body" @@ -425,10 +433,18 @@ "$ref": "#/definitions/JsonBody" }, "Method": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "QueryString": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SingleHeader": { "additionalProperties": false, @@ -455,7 +471,11 @@ "type": "object" }, "UriPath": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -502,7 +522,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedHeaders": { "items": { @@ -634,7 +658,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "IncludedPaths": { "items": { @@ -817,10 +845,18 @@ "additionalProperties": false, "properties": { "Count": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "None": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -847,7 +883,11 @@ "type": "string" }, "QueryString": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateBasedStatement": { "additionalProperties": false, @@ -945,10 +985,18 @@ "type": "object" }, "RateLimitForwardedIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHTTPMethod": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHeader": { "additionalProperties": false, @@ -973,7 +1021,11 @@ "type": "object" }, "RateLimitIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitLabelNamespace": { "additionalProperties": false, @@ -1694,7 +1746,11 @@ "type": "array" }, "UriPath": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "VisibilityConfig": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-api.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-api.json index 9edaae8315..521cbe4f20 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-api.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-api.json @@ -77,7 +77,11 @@ "type": "string" }, "Body": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "BodyS3Location": { "$ref": "#/definitions/BodyS3Location" @@ -116,6 +120,12 @@ "type": "string" }, "Tags": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, "type": "object" }, "Target": { diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-domainname.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-domainname.json index 098f536cd5..37d63b3c1b 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-domainname.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-domainname.json @@ -65,6 +65,12 @@ "type": "string" }, "Tags": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, "type": "object" } }, diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-integrationresponse.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-integrationresponse.json index 3d9125e343..a1d1ef4bf5 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-integrationresponse.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-integrationresponse.json @@ -20,10 +20,18 @@ "type": "string" }, "ResponseParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResponseTemplates": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "TemplateSelectionExpression": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-model.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-model.json index 74a1fd4dba..f6ec37316a 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-model.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-model.json @@ -23,7 +23,11 @@ "type": "string" }, "Schema": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-route.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-route.json index 1b00412e68..75fec9dcad 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-route.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-route.json @@ -36,10 +36,18 @@ "type": "string" }, "RequestModels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RequestParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RouteKey": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-routeresponse.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-routeresponse.json index 32c73f182a..6044f43b44 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-routeresponse.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-routeresponse.json @@ -18,10 +18,18 @@ "type": "string" }, "ResponseModels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ResponseParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RouteId": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-vpclink.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-vpclink.json index 7e1ebb78bc..6122cf0cee 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-vpclink.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-apigatewayv2-vpclink.json @@ -31,10 +31,13 @@ "uniqueItems": false }, "Tags": { - "type": [ - "object", - "string" - ] + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-config-configrule.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-config-configrule.json index 1b77379213..931cf0bd8e 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-config-configrule.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-config-configrule.json @@ -150,7 +150,11 @@ "uniqueItems": true }, "InputParameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "MaximumExecutionFrequency": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-docdb-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-docdb-dbclusterparametergroup.json index b3e75356b1..53704a93eb 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-docdb-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-docdb-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ec2-vpcendpoint.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ec2-vpcendpoint.json index f6ef1cbb50..e3aa8acc39 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ec2-vpcendpoint.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ec2-vpcendpoint.json @@ -30,7 +30,11 @@ "uniqueItems": false }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PrivateDnsEnabled": { "type": "boolean" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-emr-securityconfiguration.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-emr-securityconfiguration.json index 5860195c67..69af968123 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-emr-securityconfiguration.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-emr-securityconfiguration.json @@ -15,7 +15,11 @@ "type": "string" }, "SecurityConfiguration": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-events-archive.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-events-archive.json index 0589073941..5b9e5595fa 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-events-archive.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-events-archive.json @@ -52,7 +52,11 @@ "type": "string" }, "EventPattern": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RetentionDays": { "type": "integer" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-events-rule.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-events-rule.json index d0247e8a12..c3561eff24 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-events-rule.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-events-rule.json @@ -462,7 +462,11 @@ "type": "string" }, "EventPattern": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Id": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-gammadilithium-jobdefinition.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-gammadilithium-jobdefinition.json index 349bfa79f7..2917648238 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-gammadilithium-jobdefinition.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-gammadilithium-jobdefinition.json @@ -297,10 +297,18 @@ "additionalProperties": false, "properties": { "Limits": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Requests": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -515,7 +523,11 @@ "type": "string" }, "Options": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SecretOptions": { "items": { @@ -534,7 +546,11 @@ "additionalProperties": false, "properties": { "Labels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -930,7 +946,11 @@ "$ref": "#/definitions/NodeProperties" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PlatformCapabilities": { "items": { @@ -949,7 +969,23 @@ "type": "integer" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Timeout": { "$ref": "#/definitions/Timeout" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-group.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-group.json index 43bd3691ff..60e4219956 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-group.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-group.json @@ -8,7 +8,9 @@ "additionalProperties": false, "properties": { "PolicyDocument": { - "type": "object" + "type": [ + "object" + ] }, "PolicyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-policy.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-policy.json index 37cfb2e721..57ad1406f1 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-policy.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-policy.json @@ -32,7 +32,11 @@ "type": "string" }, "PolicyDocument": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PolicyName": { "maxLength": 128, diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-user.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-user.json index 896f7efd04..e99187b0fb 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-user.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iam-user.json @@ -23,7 +23,9 @@ "additionalProperties": false, "properties": { "PolicyDocument": { - "type": "object" + "type": [ + "object" + ] }, "PolicyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-opensearchservice-domain.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-opensearchservice-domain.json index aefa4eafb9..0d16aaa6d4 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-opensearchservice-domain.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-opensearchservice-domain.json @@ -417,7 +417,11 @@ ], "properties": { "AccessPolicies": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "AdvancedOptions": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-pinpoint-app.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-pinpoint-app.json index 444ed27dd6..3ab5d4845a 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-pinpoint-app.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-pinpoint-app.json @@ -17,9 +17,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-pinpoint-segment.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-pinpoint-segment.json index 3763227d9e..f39742ce10 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-pinpoint-segment.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-pinpoint-segment.json @@ -127,6 +127,7 @@ "additionalProperties": false, "properties": { "Attributes": { + "format": "json", "type": [ "object", "string" @@ -142,12 +143,14 @@ "$ref": "#/definitions/Location" }, "Metrics": { + "format": "json", "type": [ "object", "string" ] }, "UserAttributes": { + "format": "json", "type": [ "object", "string" @@ -227,9 +230,23 @@ "type": "string" }, "Tags": { - "type": [ - "object" - ] + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-wafv2-rulegroup.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-wafv2-rulegroup.json index a6d5b97730..c8cfaebfa1 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-wafv2-rulegroup.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-wafv2-rulegroup.json @@ -124,7 +124,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedCookies": { "items": { @@ -287,7 +291,11 @@ "additionalProperties": false, "properties": { "AllQueryArguments": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Body": { "$ref": "#/definitions/Body" @@ -302,10 +310,18 @@ "$ref": "#/definitions/JsonBody" }, "Method": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "QueryString": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SingleHeader": { "additionalProperties": false, @@ -332,7 +348,11 @@ "type": "object" }, "UriPath": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -379,7 +399,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedHeaders": { "items": { @@ -511,7 +535,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "IncludedPaths": { "items": { @@ -735,10 +763,18 @@ "type": "object" }, "RateLimitForwardedIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHTTPMethod": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHeader": { "additionalProperties": false, @@ -763,7 +799,11 @@ "type": "object" }, "RateLimitIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitLabelNamespace": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-wafv2-webacl.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-wafv2-webacl.json index f31f42863c..ac31069f94 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-wafv2-webacl.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-wafv2-webacl.json @@ -202,7 +202,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedCookies": { "items": { @@ -410,7 +414,11 @@ "additionalProperties": false, "properties": { "AllQueryArguments": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Body": { "$ref": "#/definitions/Body" @@ -425,10 +433,18 @@ "$ref": "#/definitions/JsonBody" }, "Method": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "QueryString": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SingleHeader": { "additionalProperties": false, @@ -455,7 +471,11 @@ "type": "object" }, "UriPath": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -502,7 +522,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "ExcludedHeaders": { "items": { @@ -634,7 +658,11 @@ "additionalProperties": false, "properties": { "All": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "IncludedPaths": { "items": { @@ -817,10 +845,18 @@ "additionalProperties": false, "properties": { "Count": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "None": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -847,7 +883,11 @@ "type": "string" }, "QueryString": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateBasedStatement": { "additionalProperties": false, @@ -945,10 +985,18 @@ "type": "object" }, "RateLimitForwardedIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHTTPMethod": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitHeader": { "additionalProperties": false, @@ -973,7 +1021,11 @@ "type": "object" }, "RateLimitIP": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "RateLimitLabelNamespace": { "additionalProperties": false, @@ -1694,7 +1746,11 @@ "type": "array" }, "UriPath": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "VisibilityConfig": { "additionalProperties": false, diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-gammadilithium-jobdefinition.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-gammadilithium-jobdefinition.json index 349bfa79f7..2917648238 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-gammadilithium-jobdefinition.json +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-gammadilithium-jobdefinition.json @@ -297,10 +297,18 @@ "additionalProperties": false, "properties": { "Limits": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "Requests": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -515,7 +523,11 @@ "type": "string" }, "Options": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "SecretOptions": { "items": { @@ -534,7 +546,11 @@ "additionalProperties": false, "properties": { "Labels": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -930,7 +946,11 @@ "$ref": "#/definitions/NodeProperties" }, "Parameters": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] }, "PlatformCapabilities": { "items": { @@ -949,7 +969,23 @@ "type": "integer" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" }, "Timeout": { "$ref": "#/definitions/Timeout" diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-coredefinition.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-coredefinition.json index 875682638a..2a17198704 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-coredefinition.json +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-coredefinition.json @@ -64,7 +64,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-devicedefinition.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-devicedefinition.json index 968b698cd8..1054cba6da 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-devicedefinition.json +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-devicedefinition.json @@ -64,7 +64,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-functiondefinition.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-functiondefinition.json index 77ba126d5f..26bb37aa38 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-functiondefinition.json +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-functiondefinition.json @@ -33,7 +33,11 @@ "uniqueItems": false }, "Variables": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" @@ -164,7 +168,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-functiondefinitionversion.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-functiondefinitionversion.json index 9217b8c01f..8d0815f941 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-functiondefinitionversion.json +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-functiondefinitionversion.json @@ -35,7 +35,11 @@ "uniqueItems": false }, "Variables": { - "type": "object" + "format": "json", + "type": [ + "object", + "string" + ] } }, "type": "object" diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-group.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-group.json index 944de38401..5febb9ee74 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-group.json +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-group.json @@ -58,7 +58,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-loggerdefinition.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-loggerdefinition.json index bdcdf4ca7f..adb849294d 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-loggerdefinition.json +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-loggerdefinition.json @@ -68,7 +68,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-subscriptiondefinition.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-subscriptiondefinition.json index 18e6776042..d4e1340c99 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-subscriptiondefinition.json +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-greengrass-subscriptiondefinition.json @@ -65,7 +65,23 @@ "type": "string" }, "Tags": { - "type": "object" + "items": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-neptune-dbclusterparametergroup.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-neptune-dbclusterparametergroup.json index 342bd6c0d3..196677fbf0 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-neptune-dbclusterparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-neptune-dbclusterparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-neptune-dbparametergroup.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-neptune-dbparametergroup.json index 682c0be2c3..40b22b45e5 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-neptune-dbparametergroup.json +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-neptune-dbparametergroup.json @@ -40,6 +40,7 @@ "type": "string" }, "Parameters": { + "format": "json", "type": [ "object", "string" diff --git a/test/fixtures/schemas/providers/base.definition.schema.v1.json b/test/fixtures/schemas/providers/base.definition.schema.v1.json index 50ef41659e..8edab6134f 100644 --- a/test/fixtures/schemas/providers/base.definition.schema.v1.json +++ b/test/fixtures/schemas/providers/base.definition.schema.v1.json @@ -84,7 +84,8 @@ "type": { "const": "object" } - } + }, + "required": ["type"] }, "properties": { "insertionOrder": { diff --git a/test/unit/rules/jsonschema/test_base.py b/test/unit/rules/jsonschema/test_base.py index 6846a8938e..d97f6b48d1 100644 --- a/test/unit/rules/jsonschema/test_base.py +++ b/test/unit/rules/jsonschema/test_base.py @@ -22,7 +22,7 @@ class RuleWithFunction(CloudFormationLintRule): shortdesc = "Test Rule" description = "Test Rule" source_url = "" - tags = [] + tags: list[str] = [] def bar(validator, bar, instance, schema): pass @@ -35,7 +35,7 @@ class RuleWithOutFunction(CloudFormationLintRule): shortdesc = "Test Rule" description = "Test Rule" source_url = "" - tags = [] + tags: list[str] = [] class TestBaseJsonSchema(BaseRuleTestCase): diff --git a/test/unit/rules/jsonschema/test_json_schema.py b/test/unit/rules/jsonschema/test_json_schema.py index 8a12aba6cd..15de021355 100644 --- a/test/unit/rules/jsonschema/test_json_schema.py +++ b/test/unit/rules/jsonschema/test_json_schema.py @@ -22,7 +22,7 @@ class RuleWithFunction(CloudFormationLintRule): shortdesc = "Test Rule" description = "Test Rule" source_url = "" - tags = [] + tags: list[str] = [] class RuleWithOutFunction(CloudFormationLintRule): @@ -32,7 +32,7 @@ class RuleWithOutFunction(CloudFormationLintRule): shortdesc = "Test Rule" description = "Test Rule" source_url = "" - tags = [] + tags: list[str] = [] class RuleRefFunction(CloudFormationLintRule): @@ -42,7 +42,7 @@ class RuleRefFunction(CloudFormationLintRule): shortdesc = "Test Rule" description = "Test Rule" source_url = "" - tags = [] + tags: list[str] = [] class RuleFnIfFunction(CloudFormationLintRule): @@ -52,7 +52,7 @@ class RuleFnIfFunction(CloudFormationLintRule): shortdesc = "Test Rule for Fn::IF function" description = "Test Rule" source_url = "" - tags = [] + tags: list[str] = [] class TestJsonSchema(BaseRuleTestCase):