resources: add protocol definitions