Add validation of AnnotationAPI
Currently, the validation only considers the TextAPI itself, but not the AnnotationAPI. This would come in handy to avoid mistakes.
Currently, the validation only considers the TextAPI itself, but not the AnnotationAPI. This would come in handy to avoid mistakes.