aws-cloudformation / cloudformation-resource-schema

The CloudFormation Resource Schema defines the shape and semantic for resources provisioned by CloudFormation. It is used by provider developers using the CloudFormation RPDK.
Apache License 2.0
90 stars 38 forks source link

Add custom tag arrayType #141

Closed gsurbhi closed 1 year ago

gsurbhi commented 1 year ago

Issue #, if available:

Description of changes: arrayType is only applicable for property of type array. When set to AttributeList, it indicates that the array is of nested type objects, and when set to Standard it indicates that the array consists of primitive types.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

gsurbhi commented 1 year ago

@ammokhov Updated readme and tests

PatMyron commented 1 year ago

Isn't this already specifiable in JSON schema proper? https://json-schema.org/understanding-json-schema/reference/array.html#items https://github.com/aws-cloudformation/cloudformation-cli/pull/902

kddejong commented 4 months ago

I'm a little confused about the value of arrayType is this property now required when having "type": "array"? What extra value does it provide?