code: func ProtoToConfigSchema(b *proto.Schema_Block) *configschema.Block {
  	block := &configschema.Block{
  		Attributes: make(map[string]*configschema.Attribute),
  		BlockTypes: make(map[string]*configschema.NestedBlock),
  	}
  
  	for _, a := range b.Attributes {
  		attr := &configschema.Attribute{
  			Description: a.Description,
  			Required:    a.Required,
  			Optional:    a.Optional,
  			Computed:    a.Computed,
  			Sensitive:   a.Sensitive,
  		}
  
  		if err := json.Unmarshal(a.Type, &attr.Type); err != nil {
  			panic(err)
  		}
  
  		block.Attributes[a.Name] = attr
  	}
  
  	for _, b := range b.BlockTypes {
  		block.BlockTypes[b.TypeName] = schemaNestedBlock(b)
  	}
  
  	return block
  }
docs: // ProtoToConfigSchema takes the GetSchcema_Block from a grpc response and converts it
  // to a terraform *configschema.Block.