code: def _check_uri(cls, v, values) -> str:
      if not _uri_regex.match(v):
          raise pydantic.ValidationError(f"`{v}` is not valid uri")
      return v
  
imports: import re
  from typing import Dict, List, Optional, Union
  import pydantic
  from .model import MLModelSpec
label_desc: Use image node_id 3 for calling the ArtifactOutputApplySpec obj's underlying member method code with example usage: obj._check_uri(cls, v, values) and returns: v