Modified the Array schema generation using ConversionPatterns and Types classes.