pubsub: models for node, affiliation, node subscription