code: func populateSubReferences(domain string, protoType *ProtoType) {
  	for _, prop := range protoType.Properties {
  		// a new SubType
  		if isSubType(prop) {
  			prefix := "Sub" + strings.Title(prop.Name)
  			ref := &GlobalReference{}
  			ref.LocalRefName = prop.Name
  			ref.ExternalGoName = domain + prefix
  			globalRefs[domain+prefix] = ref
  			continue
  		}
  
  	}
  }
docs: // Check if the type has a nested type and create a new sub type for it and add to our
  // reference map.