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
ResourceTypeSchema fails when loading resource definitions using 'oneOf', 'if' keywords #70
java.lang.ClassCastException: org.everit.json.schema.CombinedSchema$Builder cannot be cast to org.everit.json.schema.ObjectSchema$Builder
at software.amazon.cloudformation.resource.ResourceTypeSchema.load(ResourceTypeSchema.java:110)
Error:
To reproduce create a schema file as follows:
valid-with-oneof.json: