Skip to content

Commit

Permalink
update schemas (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvillait88 authored Jul 15, 2024
1 parent d4405ec commit 9e25d80
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Add DatasetVersion to Company Schema
- Add DatasetVersion to IP Schema

## [3.0.0] - 2024-07-14

- Remove job_last_updated from Person Schema
- Add linkedin_follower_count to Company Schema
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<img src="https://img.shields.io/badge/repo%20status-Active-limegreen" alt="Repo Status">
</a>&nbsp;
<a href="https://pkg.go.dev/github.com/peopledatalabs/peopledatalabs-go">
<img src="https://img.shields.io/github/go-mod/go-version/peopledatalabs/peopledatalabs-go" alt="Go 2.0.1" />
<img src="https://img.shields.io/github/go-mod/go-version/peopledatalabs/peopledatalabs-go" alt="Go 3.0.0" />
</a>&nbsp;
<a href="https://github.com/peopledatalabs/peopledatalabs-go/actions/workflows/test.yaml">
<img src="https://github.com/peopledatalabs/peopledatalabs-go/actions/workflows/test.yaml/badge.svg" alt="Tests Status" />
Expand Down
4 changes: 2 additions & 2 deletions model/schemas.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ type Person struct {
JobCompanyInferredRevenue string `json:"job_company_inferred_revenue"` // A person's current company's inferred revenue
JobCompanyMonthGrowthRate float64 `json:"job_company_12mo_employee_growth_rate"` // A person's current company's 12 month employee growth rate
JobCompanyTotalFundingRaised float64 `json:"job_company_total_funding_raised"` // A person's current company's total funding raised
JobLastUpdated string `json:"job_last_updated"` // YYYY-MM-DD Indicates the timestamp of the most recent source that agrees with this information
JobLastChanged string `json:"job_last_changed"` // YYYY-MM-DD Indicates the timestamp of the timestamp that reflects when the top-level job information changed
JobLastVerified string `json:"job_last_verified"` // YYYY-MM-DD Indicates the timestamp that reflects when the top level job information was last validated by a data source
JobStartDate string `json:"job_start_date"` // YYYY-MM-DD Indicates the start period of the object. Can be accurate to the day (YYYY-MM-DD), month (YYYY-MM) or year (YYYY)
Expand Down Expand Up @@ -174,7 +173,8 @@ type Company struct {
Name string `json:"name"` // The company's main common name
Size string `json:"size"` // A range representing the number of people working at the company
EmployeeCount int `json:"employee_count"` // The current number of employees working at the company based on number of PDL profiles.
LinkedInEmployeeCount int `json:"linkedin_employee_count"` // The current number of employees working at the company based on number of LinkedIn profiles.
LinkedInEmployeeCount int `json:"linkedin_employee_count"` // The current number of employees on the LinkedIn profile.
LinkedInFollowerCount int `json:"linkedin_follower_count"` // The current number of followers on the LinkedIn profile.
Id string `json:"id"` // PDL company ID. This is currently non-persistent and generated from the company's primary linkedin username
DatasetVersion string `json:"dataset_version"` // Explains the current major or minor release number.
Founded int `json:"founded"` // The founded year of the company
Expand Down
2 changes: 1 addition & 1 deletion pld.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/peopledatalabs/peopledatalabs-go/v2/api"
)

const Version = "2.0.1"
const Version = "3.0.0"

type pld struct {
Person api.Person
Expand Down

0 comments on commit 9e25d80

Please sign in to comment.