define interface of qapi schema