Replace `validate_data` with `validate_scalar`.
Test: `validate_sequence`
Work: `validate_sequence`
Test: first 'mapping' test
Test: empty tests