spec: add name validation and url structure specs with implementation