The URL where this publication is served, computed from the Link with self relation.
self
Uri? get baseUrl => links .firstWithRel("self") ?.let((it) => it.href.toUrlOrNull()?.removeLastComponent());