Импорт валидатор Adonisjs 5
import { schema, rules } from '@ioc:Adonis/Core/Validator'
Obnoxious Oryx
import { schema, rules } from '@ioc:Adonis/Core/Validator'