code: func (js jsonSchema) Generate(dir string) error {
  	if js.Alias.Builtin {
  		return nil // plain builtin type can't be a JSON
  	}
  
  	filename := filepath.Join(dir, js.filename())
  	ctx := map[string]interface{}{
  		"Content": js.String(),
  	}
  	return commons.GenerateFile(ctx, "./templates/golang/json_schema.tmpl", "json_schema", filename, true)
  }
docs: // Generate generates a json file of this schema