According to the spec, propertyName is required when using a discriminator. If it is missing, the schema is invalid and should throw.
According to the spec, propertyName is required when using a discriminator. If it is missing, the schema is invalid and should throw.