docs: def create(server_context, domain_definition, container_path=None):
      # type: (ServerContext, dict, str) -> Domain
      """
      Create a domain
      :param server_context: A LabKey server context. See utils.create_server_context.
      :param domain_definition: A domain definition.
      :param container_path: labkey container path if not already set in context
      :return: Domain
      """
      url = server_context.build_url('property', 'createDomain.api', container_path=container_path)
  
      headers = {
          'Content-Type': 'application/json'
      }
  
      domain = None
  
      raw_domain = server_context.make_request(url, json_dumps(domain_definition), headers=headers)
  
      if raw_domain is not None:
          domain = Domain.from_data(raw_domain)
  
      return domain