def METHOD_NAME(self, *, viewport_names):
    if len(set(viewport_names)) != len(viewport_names):
        self.add_error(
            error="Each viewport can only be used once.", field="json"
        )