[api] fix configuration xml
[api] fix all schema and xml examples, drop outdated one and enable schema validation in test suite