@next-degree/pickle-shared-js 0.6.47 → 0.6.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{company_service_latest-uu3w8AR6.d.cts → company_service_latest-B7KhyYDc.d.cts} +2056 -328
- package/dist/{company_service_latest-uu3w8AR6.d.ts → company_service_latest-B7KhyYDc.d.ts} +2056 -328
- package/dist/components/jobPost/JobDescription.cjs +13 -4
- package/dist/components/jobPost/JobDescription.cjs.map +1 -1
- package/dist/components/jobPost/JobDescription.js +13 -4
- package/dist/components/jobPost/JobDescription.js.map +1 -1
- package/dist/components/jobPost/JobPost.cjs +47 -14
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.d.cts +1 -1
- package/dist/components/jobPost/JobPost.d.ts +1 -1
- package/dist/components/jobPost/JobPost.js +47 -14
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/primitives/command.d.cts +1 -1
- package/dist/components/primitives/command.d.ts +1 -1
- package/dist/components/ui/MapComponent.cjs +9 -2
- package/dist/components/ui/MapComponent.cjs.map +1 -1
- package/dist/components/ui/MapComponent.d.cts +1 -1
- package/dist/components/ui/MapComponent.d.ts +1 -1
- package/dist/components/ui/MapComponent.js +9 -2
- package/dist/components/ui/MapComponent.js.map +1 -1
- package/dist/components/ui/ReadMore.cjs +13 -4
- package/dist/components/ui/ReadMore.cjs.map +1 -1
- package/dist/components/ui/ReadMore.js +13 -4
- package/dist/components/ui/ReadMore.js.map +1 -1
- package/dist/components/ui/Select.cjs +5 -11
- package/dist/components/ui/Select.cjs.map +1 -1
- package/dist/components/ui/Select.js +5 -11
- package/dist/components/ui/Select.js.map +1 -1
- package/dist/components/ui/StepTabs.cjs +92 -0
- package/dist/components/ui/StepTabs.cjs.map +1 -0
- package/dist/components/ui/StepTabs.d.cts +13 -0
- package/dist/components/ui/StepTabs.d.ts +13 -0
- package/dist/components/ui/StepTabs.js +58 -0
- package/dist/components/ui/StepTabs.js.map +1 -0
- package/dist/{displayText-D3BX6YTj.d.cts → displayText-BCQw5Qq-.d.cts} +2 -2
- package/dist/{displayText-CcePAspL.d.ts → displayText-Bqmpx1Va.d.ts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +92 -55
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +92 -55
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-CWuc_SuJ.d.cts → job_posting_service_latest-C2z66hFK.d.cts} +1787 -329
- package/dist/{job_posting_service_latest-CWuc_SuJ.d.ts → job_posting_service_latest-C2z66hFK.d.ts} +1787 -329
- package/dist/lib/locations.d.cts +2 -2
- package/dist/lib/locations.d.ts +2 -2
- package/dist/lib/mappings.d.cts +3 -3
- package/dist/lib/mappings.d.ts +3 -3
- package/dist/lib/salaryRange.cjs +29 -6
- package/dist/lib/salaryRange.cjs.map +1 -1
- package/dist/lib/salaryRange.d.cts +1 -1
- package/dist/lib/salaryRange.d.ts +1 -1
- package/dist/lib/salaryRange.js +29 -6
- package/dist/lib/salaryRange.js.map +1 -1
- package/dist/services/displayText.d.cts +3 -3
- package/dist/services/displayText.d.ts +3 -3
- package/dist/{shared_pickle_output_latest-CxZJXPOS.d.cts → shared_pickle_output_latest-_L9GxVle.d.cts} +164 -8
- package/dist/{shared_pickle_output_latest-CxZJXPOS.d.ts → shared_pickle_output_latest-_L9GxVle.d.ts} +164 -8
- package/dist/styles/globals.css +96 -6
- package/dist/styles/globals.css.map +1 -1
- package/dist/types/data/company_service_latest.cjs +58 -35
- package/dist/types/data/company_service_latest.cjs.map +1 -1
- package/dist/types/data/company_service_latest.d.cts +1 -1
- package/dist/types/data/company_service_latest.d.ts +1 -1
- package/dist/types/data/company_service_latest.js +57 -33
- package/dist/types/data/company_service_latest.js.map +1 -1
- package/dist/types/data/job_posting_service_latest.cjs +57 -32
- package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
- package/dist/types/data/job_posting_service_latest.d.cts +1 -1
- package/dist/types/data/job_posting_service_latest.d.ts +1 -1
- package/dist/types/data/job_posting_service_latest.js +57 -32
- package/dist/types/data/job_posting_service_latest.js.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.cjs +33 -6
- package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
- package/dist/types/data/shared_pickle_output_latest.js +31 -6
- package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
- package/package.json +5 -1
|
@@ -26,12 +26,11 @@ __export(company_service_latest_exports, {
|
|
|
26
26
|
TitleEnum: () => TitleEnum,
|
|
27
27
|
TypeEnum: () => TypeEnum2,
|
|
28
28
|
companyBenefitsSchema: () => companyBenefitsSchema,
|
|
29
|
-
|
|
29
|
+
companyCareersSchema: () => companyCareersSchema,
|
|
30
30
|
companyNdgSchema: () => companyNdgSchema,
|
|
31
31
|
companyPhilosophySchema: () => companyPhilosophySchema,
|
|
32
32
|
companySchema: () => companySchema,
|
|
33
33
|
foundingInformationSchema: () => foundingInformationSchema,
|
|
34
|
-
imageSchema: () => imageSchema,
|
|
35
34
|
industrySchema: () => industrySchema,
|
|
36
35
|
jobBoardSchema: () => jobBoardSchema,
|
|
37
36
|
ngdMetadataSchema: () => ngdMetadataSchema,
|
|
@@ -44,18 +43,20 @@ var import_zod2 = require("zod");
|
|
|
44
43
|
|
|
45
44
|
// src/types/data/shared_pickle_output_latest.ts
|
|
46
45
|
var import_zod = require("zod");
|
|
47
|
-
var TypeEnum = import_zod.z.enum(["
|
|
46
|
+
var TypeEnum = import_zod.z.enum(["IMAGE"]);
|
|
48
47
|
var DetailLevelEnum = import_zod.z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
49
48
|
var UnitTextEnum = import_zod.z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
50
49
|
var CurrencyEnum = import_zod.z.enum(["EUR", "GBP", "USD"]);
|
|
51
50
|
var postalAddressSchema = import_zod.z.object({
|
|
52
51
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
53
|
-
type: import_zod.z.string().describe("Document type used
|
|
52
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
54
53
|
addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
55
54
|
addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
56
55
|
addressLocality: import_zod.z.optional(import_zod.z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
|
|
57
|
-
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street address within the locality."),
|
|
58
|
-
|
|
56
|
+
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street name of the address within the locality."),
|
|
57
|
+
streetNumber: import_zod.z.optional(import_zod.z.string()).describe("The house of building number within the street."),
|
|
58
|
+
postalCode: import_zod.z.optional(import_zod.z.string()).describe("The postal code"),
|
|
59
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("A descriptive string containing the full address.")
|
|
59
60
|
});
|
|
60
61
|
var placeSchema = import_zod.z.object({
|
|
61
62
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
@@ -66,7 +67,7 @@ var placeSchema = import_zod.z.object({
|
|
|
66
67
|
});
|
|
67
68
|
var quantitativeValueSchema = import_zod.z.object({
|
|
68
69
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
69
|
-
type: import_zod.z.string().describe("Document type used
|
|
70
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
70
71
|
value: import_zod.z.optional(import_zod.z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
|
|
71
72
|
minValue: import_zod.z.optional(import_zod.z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
|
|
72
73
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -74,13 +75,34 @@ var quantitativeValueSchema = import_zod.z.object({
|
|
|
74
75
|
});
|
|
75
76
|
var monetaryAmountSchema = import_zod.z.object({
|
|
76
77
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
77
|
-
type: import_zod.z.string().describe("Document type used
|
|
78
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
78
79
|
singleValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
|
|
79
80
|
minValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
|
|
80
81
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
|
|
81
82
|
value: import_zod.z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
82
83
|
currency: import_zod.z.optional(CurrencyEnum)
|
|
83
84
|
});
|
|
85
|
+
var imageAssetSchema = import_zod.z.object({
|
|
86
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
87
|
+
altText: import_zod.z.optional(import_zod.z.string()).describe("The alt text for the image"),
|
|
88
|
+
assetId: import_zod.z.optional(import_zod.z.string()).describe("The asset ID for the image"),
|
|
89
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("The description for the image"),
|
|
90
|
+
extension: import_zod.z.optional(import_zod.z.string()).describe("The extension for the image"),
|
|
91
|
+
label: import_zod.z.optional(import_zod.z.string()).describe("The label for the image"),
|
|
92
|
+
mimeType: import_zod.z.optional(import_zod.z.string()).describe("The mime type for the image"),
|
|
93
|
+
originalFilename: import_zod.z.optional(import_zod.z.string()).describe("The original filename for the image"),
|
|
94
|
+
path: import_zod.z.optional(import_zod.z.string()).describe("The path for the image"),
|
|
95
|
+
sha1Hash: import_zod.z.optional(import_zod.z.string()).describe("The SHA1 hash for the image"),
|
|
96
|
+
size: import_zod.z.optional(import_zod.z.number()).describe("The size for the image"),
|
|
97
|
+
title: import_zod.z.optional(import_zod.z.string()).describe("The title for the image"),
|
|
98
|
+
uploadId: import_zod.z.optional(import_zod.z.string()).describe("The upload ID for the image"),
|
|
99
|
+
url: import_zod.z.optional(import_zod.z.string()).describe("The URL for the image")
|
|
100
|
+
});
|
|
101
|
+
var imageSchema = import_zod.z.object({
|
|
102
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
103
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
104
|
+
asset: import_zod.z.optional(imageAssetSchema).describe("The asset for the image")
|
|
105
|
+
});
|
|
84
106
|
|
|
85
107
|
// src/types/data/company_service_latest.ts
|
|
86
108
|
var TypeEnum2 = import_zod2.z.enum(["OFFICE"]);
|
|
@@ -88,10 +110,6 @@ var CategoryEnum = import_zod2.z.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVE
|
|
|
88
110
|
var TitleEnum = import_zod2.z.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
89
111
|
var PublishStatusEnum = import_zod2.z.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
90
112
|
var OfficeTypeEnum = import_zod2.z.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
91
|
-
var imageSchema = import_zod2.z.object({
|
|
92
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
93
|
-
url: import_zod2.z.string()
|
|
94
|
-
});
|
|
95
113
|
var socialMediaSchema = import_zod2.z.object({
|
|
96
114
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
97
115
|
url: import_zod2.z.string().describe("The link to the social media platform"),
|
|
@@ -99,14 +117,14 @@ var socialMediaSchema = import_zod2.z.object({
|
|
|
99
117
|
});
|
|
100
118
|
var companyBenefitsSchema = import_zod2.z.object({
|
|
101
119
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
102
|
-
type: import_zod2.z.string().describe("Document type used
|
|
103
|
-
|
|
120
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
121
|
+
title: import_zod2.z.string(),
|
|
104
122
|
description: import_zod2.z.optional(import_zod2.z.string()),
|
|
105
123
|
category: CategoryEnum
|
|
106
124
|
});
|
|
107
125
|
var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
108
126
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
109
|
-
type: import_zod2.z.string().describe("Document type used
|
|
127
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
110
128
|
name: import_zod2.z.string(),
|
|
111
129
|
description: import_zod2.z.optional(import_zod2.z.string()).describe("A brief description of the industry"),
|
|
112
130
|
onetIndustryId: import_zod2.z.optional(import_zod2.z.string()).describe("ONET industry ID"),
|
|
@@ -114,7 +132,7 @@ var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
|
114
132
|
}));
|
|
115
133
|
var jobBoardSchema = import_zod2.z.object({
|
|
116
134
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
117
|
-
type: import_zod2.z.string().describe("Document type used
|
|
135
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
118
136
|
name: import_zod2.z.string().describe("The name of the job board"),
|
|
119
137
|
description: import_zod2.z.string().describe("A brief description of the job board"),
|
|
120
138
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -122,7 +140,7 @@ var jobBoardSchema = import_zod2.z.object({
|
|
|
122
140
|
});
|
|
123
141
|
var personSchema = import_zod2.z.object({
|
|
124
142
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
125
|
-
type: import_zod2.z.string().describe("Document type used
|
|
143
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
126
144
|
firstName: import_zod2.z.string().describe("The first name of the person"),
|
|
127
145
|
lastName: import_zod2.z.string().describe("The last name of the person"),
|
|
128
146
|
title: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("The titles of the degree of the person"),
|
|
@@ -138,56 +156,62 @@ var personSchema = import_zod2.z.object({
|
|
|
138
156
|
url: import_zod2.z.optional(import_zod2.z.string()).describe("The URL of the person"),
|
|
139
157
|
address: import_zod2.z.optional(placeSchema).describe("The address of the person")
|
|
140
158
|
});
|
|
141
|
-
var
|
|
159
|
+
var companyCareersSchema = import_zod2.z.object({
|
|
142
160
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
161
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
162
|
+
careersUrl: import_zod2.z.string().describe("The URL of the company careers page"),
|
|
163
|
+
jobBoard: import_zod2.z.optional(jobBoardSchema),
|
|
164
|
+
jobBoardSlug: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
146
165
|
companyBenefits: import_zod2.z.optional(import_zod2.z.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
147
166
|
});
|
|
148
167
|
var companyPhilosophySchema = import_zod2.z.object({
|
|
149
168
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
150
|
-
|
|
169
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
170
|
+
companyMission: import_zod2.z.optional(import_zod2.z.string()).describe("The mission statement of the company."),
|
|
151
171
|
companyHow: import_zod2.z.optional(import_zod2.z.string()).describe("How does the company achieve its mission"),
|
|
152
172
|
companyCulture: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("What are some of the culture aspects of this company?")
|
|
153
173
|
});
|
|
154
174
|
var companyNdgSchema = import_zod2.z.object({
|
|
155
175
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
176
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
156
177
|
companyWow: import_zod2.z.optional(import_zod2.z.string()).describe("What is the wow of this company?"),
|
|
157
|
-
|
|
158
|
-
// Manually edited due to a different naming convention
|
|
178
|
+
companyNdgTake: import_zod2.z.optional(import_zod2.z.string()).describe("What is the NDG POV on this company?"),
|
|
159
179
|
companyBestFit: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
160
180
|
companyInterests: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string()))
|
|
161
181
|
});
|
|
162
182
|
var foundingInformationSchema = import_zod2.z.object({
|
|
163
183
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
184
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
185
|
+
foundedDate: import_zod2.z.optional(import_zod2.z.string()),
|
|
186
|
+
foundedCountry: import_zod2.z.optional(import_zod2.z.string()),
|
|
187
|
+
foundedCity: import_zod2.z.optional(import_zod2.z.string()),
|
|
167
188
|
founders: import_zod2.z.optional(import_zod2.z.array(personSchema))
|
|
168
189
|
});
|
|
169
190
|
var ngdMetadataSchema = import_zod2.z.object({
|
|
170
191
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
192
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
171
193
|
lastScraped: import_zod2.z.optional(import_zod2.z.string()).describe("Date the last entity was scraped, if applicable"),
|
|
172
194
|
scraperVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
173
195
|
postProcessorVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
174
196
|
uniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
175
197
|
postProcessorUniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
176
|
-
|
|
198
|
+
isScrapeManaged: import_zod2.z.optional(import_zod2.z.boolean()).default(true)
|
|
177
199
|
});
|
|
178
200
|
var companySchema = import_zod2.z.object({
|
|
179
201
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
202
|
+
id: import_zod2.z.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
203
|
+
createdAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
204
|
+
updatedAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
180
205
|
companyName: import_zod2.z.string().describe("The name of the company"),
|
|
181
206
|
slug: import_zod2.z.string().describe("The NDG specific slug for a company."),
|
|
182
|
-
type: import_zod2.z.string().describe("Document type used
|
|
207
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
183
208
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the company"),
|
|
184
209
|
companyWebsite: import_zod2.z.optional(import_zod2.z.string()).describe("The website of the company"),
|
|
185
210
|
socialMedia: import_zod2.z.optional(import_zod2.z.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
186
211
|
brandColor: import_zod2.z.optional(import_zod2.z.string()).describe("The brand color of the company"),
|
|
187
|
-
companyCareers: import_zod2.z.optional(
|
|
212
|
+
companyCareers: import_zod2.z.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
188
213
|
companyPhilosophy: import_zod2.z.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
189
|
-
|
|
190
|
-
// Manually edited due to a different naming convention
|
|
214
|
+
companyNdg: import_zod2.z.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
191
215
|
foundingInfo: import_zod2.z.optional(foundingInformationSchema),
|
|
192
216
|
headquartersLocation: import_zod2.z.optional(placeSchema),
|
|
193
217
|
employeeEstimate: import_zod2.z.optional(import_zod2.z.string()),
|
|
@@ -196,7 +220,7 @@ var companySchema = import_zod2.z.object({
|
|
|
196
220
|
});
|
|
197
221
|
var officeSchema = import_zod2.z.object({
|
|
198
222
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
199
|
-
type: import_zod2.z.string().describe("Document type used
|
|
223
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
200
224
|
name: import_zod2.z.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
201
225
|
officeType: OfficeTypeEnum,
|
|
202
226
|
companyId: import_zod2.z.optional(companySchema),
|
|
@@ -212,12 +236,11 @@ var officeSchema = import_zod2.z.object({
|
|
|
212
236
|
TitleEnum,
|
|
213
237
|
TypeEnum,
|
|
214
238
|
companyBenefitsSchema,
|
|
215
|
-
|
|
239
|
+
companyCareersSchema,
|
|
216
240
|
companyNdgSchema,
|
|
217
241
|
companyPhilosophySchema,
|
|
218
242
|
companySchema,
|
|
219
243
|
foundingInformationSchema,
|
|
220
|
-
imageSchema,
|
|
221
244
|
industrySchema,
|
|
222
245
|
jobBoardSchema,
|
|
223
246
|
ngdMetadataSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/types/data/company_service_latest.ts","../../../src/types/data/shared_pickle_output_latest.ts"],"sourcesContent":["/*\nID:ebc38aef-0062-4f69-95af-d06bdc30d23f\nDomain: companies\nData Product: company_service\nVersion: 1.0.0\nThis data contract defines a company registered in the Pickle database. Every job posting is associated with a company.\n*/\n\nimport { z } from 'zod';\n\nimport { placeSchema } from './shared_pickle_output_latest' \n\n// Enums\n\nexport const TypeEnum = z.enum(['OFFICE']);\nexport const CategoryEnum = z.enum(['FINANCIAL', 'HEALTH', 'PROFESSIONAL_DEVELOPMENT', 'WORK_LIFE_BALANCE']);\nexport const TitleEnum = z.enum(['DMD', 'JD', 'MBA', 'MD', 'MHA', 'MPH', 'PT', 'PH_D', 'RN']);\nexport const PublishStatusEnum = z.enum(['DRAFT', 'IN_REVIEW', 'PUBLISHED', 'REMOVED']);\nexport const OfficeTypeEnum = z.enum(['BRANCH', 'HEADQUARTERS', 'SATELLITE']);\n\n\nexport const imageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n url: z.string(),\n});\n\nexport type ImageModel = z.infer<typeof imageSchema>;\n\nexport const socialMediaSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n url: z.string().describe(\"The link to the social media platform\"),\n type: z.string().describe(\"The type of social media link\"),\n});\n\nexport type SocialMediaModel = z.infer<typeof socialMediaSchema>;\n\nexport const companyBenefitsSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string(),\n description: z.optional(z.string()),\n category: CategoryEnum,\n});\n\nexport type CompanyBenefitsModel = z.infer<typeof companyBenefitsSchema>;\n\nexport const industrySchema: z.ZodType<any> = z.lazy(() => z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string(),\n description: z.optional(z.string()).describe(\"A brief description of the industry\"),\n onetIndustryId: z.optional(z.string()).describe(\"ONET industry ID\"),\n parent: z.optional(industrySchema),\n}));\n\nexport type IndustryModel = z.infer<typeof industrySchema>;\n\nexport const jobBoardSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string().describe(\"The name of the job board\"),\n description: z.string().describe(\"A brief description of the job board\"),\n logo: z.optional(imageSchema).describe(\"The logo of the job board\"),\n baseUrl: z.optional(z.string()).describe(\"The base URL of the job board\"),\n});\n\nexport type JobBoardModel = z.infer<typeof jobBoardSchema>;\n\nexport const personSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n firstName: z.string().describe(\"The first name of the person\"),\n lastName: z.string().describe(\"The last name of the person\"),\n title: z.optional(z.array(z.string())).describe(\"The titles of the degree of the person\"),\n slug: z.string().describe(\"person slug - should be familyname-givenname-title(s)\"),\n jobTitle: z.optional(z.string()).describe(\"The job title of the person\"),\n isDoctor: z.optional(z.boolean()).describe(\"Is the person a doctor\"),\n isMedical: z.optional(z.boolean()).describe(\"Are they of a medical background?\"),\n isScientist: z.optional(z.boolean()).describe(\"Are they a scientist?\"),\n image: z.optional(imageSchema).describe(\"The image of the person\"),\n email: z.optional(z.string()).describe(\"The email of the person\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the person\"),\n telephone: z.optional(z.string()).describe(\"The telephone number of the person\"),\n url: z.optional(z.string()).describe(\"The URL of the person\"),\n address: z.optional(placeSchema).describe(\"The address of the person\"),\n});\n\nexport type PersonModel = z.infer<typeof personSchema>;\n\nexport const companyCareersPageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n companyCareersUrl: z.string().describe(\"The URL of the company careers page\"),\n companyJobBoard: z.optional(jobBoardSchema),\n jobBoardSlug: z.array(z.string()),\n companyBenefits: z.optional(z.array(companyBenefitsSchema)).describe(\"What are the specific benefits of that company. The benefit is generic.\"),\n});\n\nexport type CompanyCareersPageModel = z.infer<typeof companyCareersPageSchema>;\n\nexport const companyPhilosophySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n mission: z.optional(z.string()).describe(\"The mission statement of the company.\"),\n companyHow: z.optional(z.string()).describe(\"How does the company achieve its mission\"),\n companyCulture: z.optional(z.array(z.string())).describe(\"What are some of the culture aspects of this company?\"),\n});\n\nexport type CompanyPhilosophyModel = z.infer<typeof companyPhilosophySchema>;\n\nexport const companyNdgSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n companyWow: z.optional(z.string()).describe(\"What is the wow of this company?\"),\n companyNDGTake: z.optional(z.string()).describe(\"What is the NDG POV on this company?\"), // Manually edited due to a different naming convention\n companyBestFit: z.optional(z.array(z.string())),\n companyInterests: z.optional(z.array(z.string())),\n});\n\nexport type CompanyNdgModel = z.infer<typeof companyNdgSchema>;\n\nexport const foundingInformationSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n foundedYear: z.optional(z.string()),\n foundingCountry: z.optional(z.string()),\n foundingCity: z.optional(z.string()),\n founders: z.optional(z.array(personSchema)),\n});\n\nexport type FoundingInformationModel = z.infer<typeof foundingInformationSchema>;\n\nexport const ngdMetadataSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n lastScraped: z.optional(z.string()).describe(\"Date the last entity was scraped, if applicable\"),\n scraperVersion: z.optional(z.string()),\n postProcessorVersion: z.optional(z.string()),\n uniqueRunId: z.optional(z.string()),\n postProcessorUniqueRunId: z.optional(z.string()),\n shouldThisDocumentBeScraped: z.optional(z.boolean()),\n});\n\nexport type NgdMetadataModel = z.infer<typeof ngdMetadataSchema>;\n\nexport const companySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n companyName: z.string().describe(\"The name of the company\"),\n slug: z.string().describe(\"The NDG specific slug for a company.\"),\n type: z.string().describe(\"Document type used within sanity\"),\n logo: z.optional(imageSchema).describe(\"The logo of the company\"),\n companyWebsite: z.optional(z.string()).describe(\"The website of the company\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the company\"),\n brandColor: z.optional(z.string()).describe(\"The brand color of the company\"),\n companyCareers: z.optional(companyCareersPageSchema).describe(\"Career Specific Information for the company.\"),\n companyPhilosophy: z.optional(companyPhilosophySchema).describe(\"Company mission,values and how the company achieves its mission.\"),\n companyNDG: z.optional(companyNdgSchema).describe(\"Next Degree specific information for the company.\"), // Manually edited due to a different naming convention\n foundingInfo: z.optional(foundingInformationSchema),\n headquartersLocation: z.optional(placeSchema),\n employeeEstimate: z.optional(z.string()),\n publishStatus: z.optional(z.string()),\n ngdMetadata: z.optional(ngdMetadataSchema),\n});\n\nexport type CompanyModel = z.infer<typeof companySchema>;\n\nexport const officeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string().describe(\"Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')\"),\n officeType: OfficeTypeEnum,\n companyId: z.optional(companySchema),\n geoLocation: z.optional(placeSchema).describe(\"Geographical location details: coordinates + postal address\"),\n createdAt: z.optional(z.string()),\n updatedAt: z.optional(z.string()),\n});\n\nexport type OfficeModel = z.infer<typeof officeSchema>;\n","/*\nID:4cceb9ec-67b6-4372-9af0-0c6bfe55908b\nDomain: shared\nData Product: shared_pickle_output\nVersion: 1.0.0\nThis data contract defines a set of shared outputs from the Pickle model(s).\n*/\n\nimport { z } from 'zod';\n\n\n// Enums\n\nexport const TypeEnum = z.enum(['MONETARY_AMOUNT']);\nexport const DetailLevelEnum = z.enum(['COUNTRY', 'GEO', 'LOCALITY', 'POSTAL_CODE', 'REGION']);\nexport const UnitTextEnum = z.enum(['DAY', 'HOUR', 'MONTH', 'PER_ACTIVITY', 'WEEK', 'YEAR']);\nexport const CurrencyEnum = z.enum(['EUR', 'GBP', 'USD']);\n\n\nexport const postalAddressSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n addressCountry: z.string().describe(\"The physical country as defined in ISO 3166 Alpha-2\"),\n addressRegion: z.optional(z.string()).describe(\"The region in which the locality is, and which is in the country.\"),\n addressLocality: z.optional(z.string()).describe(\"The locality in which the street address is, and which is in the region. In the US this would be city.\"),\n streetAddress: z.optional(z.string()).describe(\"The street address within the locality.\"),\n postalCode: z.optional(z.string()).describe(\"The postal code\"),\n});\n\nexport type PostalAddressModel = z.infer<typeof postalAddressSchema>;\n\nexport const placeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n detailLevel: z.optional(DetailLevelEnum),\n latitude: z.optional(z.number()).describe(\"The latitude of a location.\"),\n longitude: z.optional(z.number()).describe(\"The longitude of a location.\"),\n address: z.optional(postalAddressSchema).describe(\"The physical place of the location\"),\n});\n\nexport type PlaceModel = z.infer<typeof placeSchema>;\n\nexport const quantitativeValueSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n value: z.optional(z.number()).describe(\"The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary.\"),\n minValue: z.optional(z.number()).describe(\"The single minium value in a range for a quantitative_value, requires a maximum value.\"),\n maxValue: z.optional(z.number()).describe(\"The maximum value in a range for a quantitative_value, requires a minimum value.\"),\n unitText: UnitTextEnum,\n});\n\nexport type QuantitativeValueModel = z.infer<typeof quantitativeValueSchema>;\n\nexport const monetaryAmountSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n singleValue: z.optional(z.number()).describe(\"The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead.\"),\n minValue: z.optional(z.number()).describe(\"The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue\"),\n maxValue: z.optional(z.number()).describe(\"The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue\"),\n value: z.optional(quantitativeValueSchema).describe(\"The quantitative_value for a given salary\"),\n currency: z.optional(CurrencyEnum),\n});\n\nexport type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,IAAAC,cAAkB;;;ACAlB,iBAAkB;AAKX,IAAM,WAAW,aAAE,KAAK,CAAC,iBAAiB,CAAC;AAC3C,IAAM,kBAAkB,aAAE,KAAK,CAAC,WAAW,OAAO,YAAY,eAAe,QAAQ,CAAC;AACtF,IAAM,eAAe,aAAE,KAAK,CAAC,OAAO,QAAQ,SAAS,gBAAgB,QAAQ,MAAM,CAAC;AACpF,IAAM,eAAe,aAAE,KAAK,CAAC,OAAO,OAAO,KAAK,CAAC;AAGjD,IAAM,sBAAsB,aAAE,OAAO;AAAA,EACxC,SAAS,aAAE,QAAQ,OAAO,EAAE,QAAQ,OAAO;AAAA,EAC3C,MAAM,aAAE,OAAO,EAAE,SAAS,kCAAkC;AAAA,EAC5D,gBAAgB,aAAE,OAAO,EAAE,SAAS,qDAAqD;AAAA,EACzF,eAAe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3,"sources":["../../../src/types/data/company_service_latest.ts","../../../src/types/data/shared_pickle_output_latest.ts"],"sourcesContent":["/*\nID:ebc38aef-0062-4f69-95af-d06bdc30d23f\nDomain: companies\nData Product: company_service\nVersion: 1.0.1\nThis data contract defines a company registered in the Pickle database. Every job posting is associated with a company.\n*/\n\nimport { z } from 'zod';\n\nimport { imageSchema, placeSchema } from './shared_pickle_output_latest'\n\n// Enums\n\nexport const TypeEnum = z.enum(['OFFICE']);\nexport const CategoryEnum = z.enum(['FINANCIAL', 'HEALTH', 'PROFESSIONAL_DEVELOPMENT', 'WORK_LIFE_BALANCE']);\nexport const TitleEnum = z.enum(['DMD', 'JD', 'MBA', 'MD', 'MHA', 'MPH', 'PT', 'PH_D', 'RN']);\nexport const PublishStatusEnum = z.enum(['DRAFT', 'IN_REVIEW', 'PUBLISHED', 'REMOVED']);\nexport const OfficeTypeEnum = z.enum(['BRANCH', 'HEADQUARTERS', 'SATELLITE']);\n\n\nexport const socialMediaSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n url: z.string().describe(\"The link to the social media platform\"),\n type: z.string().describe(\"The type of social media link\"),\n});\n\nexport type SocialMediaModel = z.infer<typeof socialMediaSchema>;\n\nexport const companyBenefitsSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n title: z.string(),\n description: z.optional(z.string()),\n category: CategoryEnum,\n});\n\nexport type CompanyBenefitsModel = z.infer<typeof companyBenefitsSchema>;\n\nexport const industrySchema: z.ZodType<any> = z.lazy(() => z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n name: z.string(),\n description: z.optional(z.string()).describe(\"A brief description of the industry\"),\n onetIndustryId: z.optional(z.string()).describe(\"ONET industry ID\"),\n parent: z.optional(industrySchema),\n}));\n\nexport type IndustryModel = z.infer<typeof industrySchema>;\n\nexport const jobBoardSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n name: z.string().describe(\"The name of the job board\"),\n description: z.string().describe(\"A brief description of the job board\"),\n logo: z.optional(imageSchema).describe(\"The logo of the job board\"),\n baseUrl: z.optional(z.string()).describe(\"The base URL of the job board\"),\n});\n\nexport type JobBoardModel = z.infer<typeof jobBoardSchema>;\n\nexport const personSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n firstName: z.string().describe(\"The first name of the person\"),\n lastName: z.string().describe(\"The last name of the person\"),\n title: z.optional(z.array(z.string())).describe(\"The titles of the degree of the person\"),\n slug: z.string().describe(\"person slug - should be familyname-givenname-title(s)\"),\n jobTitle: z.optional(z.string()).describe(\"The job title of the person\"),\n isDoctor: z.optional(z.boolean()).describe(\"Is the person a doctor\"),\n isMedical: z.optional(z.boolean()).describe(\"Are they of a medical background?\"),\n isScientist: z.optional(z.boolean()).describe(\"Are they a scientist?\"),\n image: z.optional(imageSchema).describe(\"The image of the person\"),\n email: z.optional(z.string()).describe(\"The email of the person\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the person\"),\n telephone: z.optional(z.string()).describe(\"The telephone number of the person\"),\n url: z.optional(z.string()).describe(\"The URL of the person\"),\n address: z.optional(placeSchema).describe(\"The address of the person\"),\n});\n\nexport type PersonModel = z.infer<typeof personSchema>;\n\nexport const companyCareersSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n careersUrl: z.string().describe(\"The URL of the company careers page\"),\n jobBoard: z.optional(jobBoardSchema),\n jobBoardSlug: z.optional(z.array(z.string())),\n companyBenefits: z.optional(z.array(companyBenefitsSchema)).describe(\"What are the specific benefits of that company. The benefit is generic.\"),\n});\n\nexport type CompanyCareersModel = z.infer<typeof companyCareersSchema>;\n\nexport const companyPhilosophySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n companyMission: z.optional(z.string()).describe(\"The mission statement of the company.\"),\n companyHow: z.optional(z.string()).describe(\"How does the company achieve its mission\"),\n companyCulture: z.optional(z.array(z.string())).describe(\"What are some of the culture aspects of this company?\"),\n});\n\nexport type CompanyPhilosophyModel = z.infer<typeof companyPhilosophySchema>;\n\nexport const companyNdgSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n companyWow: z.optional(z.string()).describe(\"What is the wow of this company?\"),\n companyNdgTake: z.optional(z.string()).describe(\"What is the NDG POV on this company?\"),\n companyBestFit: z.optional(z.array(z.string())),\n companyInterests: z.optional(z.array(z.string())),\n});\n\nexport type CompanyNdgModel = z.infer<typeof companyNdgSchema>;\n\nexport const foundingInformationSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n foundedDate: z.optional(z.string()),\n foundedCountry: z.optional(z.string()),\n foundedCity: z.optional(z.string()),\n founders: z.optional(z.array(personSchema)),\n});\n\nexport type FoundingInformationModel = z.infer<typeof foundingInformationSchema>;\n\nexport const ngdMetadataSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n lastScraped: z.optional(z.string()).describe(\"Date the last entity was scraped, if applicable\"),\n scraperVersion: z.optional(z.string()),\n postProcessorVersion: z.optional(z.string()),\n uniqueRunId: z.optional(z.string()),\n postProcessorUniqueRunId: z.optional(z.string()),\n isScrapeManaged: z.optional(z.boolean()).default(true),\n});\n\nexport type NgdMetadataModel = z.infer<typeof ngdMetadataSchema>;\n\nexport const companySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n id: z.string().describe(\"The NDG specific id for a company. Cannot be changed.\"),\n createdAt: z.string().datetime().describe(\"Time document was created. Autoset by Sanity\"),\n updatedAt: z.string().datetime().describe(\"Time document was created. Autoset by Sanity\"),\n companyName: z.string().describe(\"The name of the company\"),\n slug: z.string().describe(\"The NDG specific slug for a company.\"),\n type: z.string().describe(\"Document type used for schema\"),\n logo: z.optional(imageSchema).describe(\"The logo of the company\"),\n companyWebsite: z.optional(z.string()).describe(\"The website of the company\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the company\"),\n brandColor: z.optional(z.string()).describe(\"The brand color of the company\"),\n companyCareers: z.optional(companyCareersSchema).describe(\"Career Specific Information for the company.\"),\n companyPhilosophy: z.optional(companyPhilosophySchema).describe(\"Company mission,values and how the company achieves its mission.\"),\n companyNdg: z.optional(companyNdgSchema).describe(\"Next Degree specific information for the company.\"),\n foundingInfo: z.optional(foundingInformationSchema),\n headquartersLocation: z.optional(placeSchema),\n employeeEstimate: z.optional(z.string()),\n publishStatus: z.optional(z.string()),\n ngdMetadata: z.optional(ngdMetadataSchema),\n});\n\nexport type CompanyModel = z.infer<typeof companySchema>;\n\nexport const officeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n name: z.string().describe(\"Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')\"),\n officeType: OfficeTypeEnum,\n companyId: z.optional(companySchema),\n geoLocation: z.optional(placeSchema).describe(\"Geographical location details: coordinates + postal address\"),\n createdAt: z.optional(z.string()),\n updatedAt: z.optional(z.string()),\n});\n\nexport type OfficeModel = z.infer<typeof officeSchema>;\n","/*\nID:c2c9f095-256f-44df-ada7-73753d8f4f92\nDomain: shared\nData Product: shared_pickle_output\nVersion: 1.0.2\nThis data contract defines a set of shared outputs from the Pickle model(s).\n*/\n\nimport { z } from 'zod';\n\n\n// Enums\n\nexport const TypeEnum = z.enum(['IMAGE']);\nexport const DetailLevelEnum = z.enum(['COUNTRY', 'GEO', 'LOCALITY', 'POSTAL_CODE', 'REGION']);\nexport const UnitTextEnum = z.enum(['DAY', 'HOUR', 'MONTH', 'PER_ACTIVITY', 'WEEK', 'YEAR']);\nexport const CurrencyEnum = z.enum(['EUR', 'GBP', 'USD']);\n\n\nexport const postalAddressSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n addressCountry: z.string().describe(\"The physical country as defined in ISO 3166 Alpha-2\"),\n addressRegion: z.optional(z.string()).describe(\"The region in which the locality is, and which is in the country.\"),\n addressLocality: z.optional(z.string()).describe(\"The locality in which the street address is, and which is in the region. In the US this would be city.\"),\n streetAddress: z.optional(z.string()).describe(\"The street name of the address within the locality.\"),\n streetNumber: z.optional(z.string()).describe(\"The house of building number within the street.\"),\n postalCode: z.optional(z.string()).describe(\"The postal code\"),\n description: z.optional(z.string()).describe(\"A descriptive string containing the full address.\"),\n});\n\nexport type PostalAddressModel = z.infer<typeof postalAddressSchema>;\n\nexport const placeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n detailLevel: z.optional(DetailLevelEnum),\n latitude: z.optional(z.number()).describe(\"The latitude of a location.\"),\n longitude: z.optional(z.number()).describe(\"The longitude of a location.\"),\n address: z.optional(postalAddressSchema).describe(\"The physical place of the location\"),\n});\n\nexport type PlaceModel = z.infer<typeof placeSchema>;\n\nexport const quantitativeValueSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n value: z.optional(z.number()).describe(\"The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary.\"),\n minValue: z.optional(z.number()).describe(\"The single minium value in a range for a quantitative_value, requires a maximum value.\"),\n maxValue: z.optional(z.number()).describe(\"The maximum value in a range for a quantitative_value, requires a minimum value.\"),\n unitText: UnitTextEnum,\n});\n\nexport type QuantitativeValueModel = z.infer<typeof quantitativeValueSchema>;\n\nexport const monetaryAmountSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n singleValue: z.optional(z.number()).describe(\"The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead.\"),\n minValue: z.optional(z.number()).describe(\"The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue\"),\n maxValue: z.optional(z.number()).describe(\"The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue\"),\n value: z.optional(quantitativeValueSchema).describe(\"The quantitative_value for a given salary\"),\n currency: z.optional(CurrencyEnum),\n});\n\nexport type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;\n\nexport const imageAssetSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n altText: z.optional(z.string()).describe(\"The alt text for the image\"),\n assetId: z.optional(z.string()).describe(\"The asset ID for the image\"),\n description: z.optional(z.string()).describe(\"The description for the image\"),\n extension: z.optional(z.string()).describe(\"The extension for the image\"),\n label: z.optional(z.string()).describe(\"The label for the image\"),\n mimeType: z.optional(z.string()).describe(\"The mime type for the image\"),\n originalFilename: z.optional(z.string()).describe(\"The original filename for the image\"),\n path: z.optional(z.string()).describe(\"The path for the image\"),\n sha1Hash: z.optional(z.string()).describe(\"The SHA1 hash for the image\"),\n size: z.optional(z.number()).describe(\"The size for the image\"),\n title: z.optional(z.string()).describe(\"The title for the image\"),\n uploadId: z.optional(z.string()).describe(\"The upload ID for the image\"),\n url: z.optional(z.string()).describe(\"The URL for the image\"),\n});\n\nexport type ImageAssetModel = z.infer<typeof imageAssetSchema>;\n\nexport const imageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n asset: z.optional(imageAssetSchema).describe(\"The asset for the image\"),\n});\n\nexport type ImageModel = z.infer<typeof imageSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,IAAAC,cAAkB;;;ACAlB,iBAAkB;AAKX,IAAM,WAAW,aAAE,KAAK,CAAC,OAAO,CAAC;AACjC,IAAM,kBAAkB,aAAE,KAAK,CAAC,WAAW,OAAO,YAAY,eAAe,QAAQ,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mB,cAAE,SAAS,uBAAuB,EAAE,SAAS,kEAAkE;AAAA,EAClI,YAAY,cAAE,SAAS,gBAAgB,EAAE,SAAS,mDAAmD;AAAA,EACrG,cAAc,cAAE,SAAS,yBAAyB;AAAA,EAClD,sBAAsB,cAAE,SAAS,WAAW;AAAA,EAC5C,kBAAkB,cAAE,SAAS,cAAE,OAAO,CAAC;AAAA,EACvC,eAAe,cAAE,SAAS,cAAE,OAAO,CAAC;AAAA,EACpC,aAAa,cAAE,SAAS,iBAAiB;AAC7C,CAAC;AAIM,IAAM,eAAe,cAAE,OAAO;AAAA,EACjC,SAAS,cAAE,QAAQ,OAAO,EAAE,QAAQ,OAAO;AAAA,EAC3C,MAAM,cAAE,OAAO,EAAE,SAAS,+BAA+B;AAAA,EACzD,MAAM,cAAE,OAAO,EAAE,SAAS,uEAAuE;AAAA,EACjG,YAAY;AAAA,EACZ,WAAW,cAAE,SAAS,aAAa;AAAA,EACnC,aAAa,cAAE,SAAS,WAAW,EAAE,SAAS,6DAA6D;AAAA,EAC3G,WAAW,cAAE,SAAS,cAAE,OAAO,CAAC;AAAA,EAChC,WAAW,cAAE,SAAS,cAAE,OAAO,CAAC;AACpC,CAAC;","names":["TypeEnum","import_zod","TypeEnum"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'zod';
|
|
2
|
-
export { C as CategoryEnum, d as CompanyBenefitsModel,
|
|
2
|
+
export { C as CategoryEnum, d as CompanyBenefitsModel, g as CompanyCareersModel, r as CompanyModel, m as CompanyNdgModel, k as CompanyPhilosophyModel, F as FoundingInformationModel, I as IndustryModel, J as JobBoardModel, N as NgdMetadataModel, u as OfficeModel, O as OfficeTypeEnum, e as PersonModel, P as PublishStatusEnum, S as SocialMediaModel, a as TitleEnum, T as TypeEnum, b as companyBenefitsSchema, f as companyCareersSchema, l as companyNdgSchema, h as companyPhilosophySchema, q as companySchema, n as foundingInformationSchema, i as industrySchema, j as jobBoardSchema, o as ngdMetadataSchema, t as officeSchema, p as personSchema, s as socialMediaSchema } from '../../company_service_latest-B7KhyYDc.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'zod';
|
|
2
|
-
export { C as CategoryEnum, d as CompanyBenefitsModel,
|
|
2
|
+
export { C as CategoryEnum, d as CompanyBenefitsModel, g as CompanyCareersModel, r as CompanyModel, m as CompanyNdgModel, k as CompanyPhilosophyModel, F as FoundingInformationModel, I as IndustryModel, J as JobBoardModel, N as NgdMetadataModel, u as OfficeModel, O as OfficeTypeEnum, e as PersonModel, P as PublishStatusEnum, S as SocialMediaModel, a as TitleEnum, T as TypeEnum, b as companyBenefitsSchema, f as companyCareersSchema, l as companyNdgSchema, h as companyPhilosophySchema, q as companySchema, n as foundingInformationSchema, i as industrySchema, j as jobBoardSchema, o as ngdMetadataSchema, t as officeSchema, p as personSchema, s as socialMediaSchema } from '../../company_service_latest-B7KhyYDc.js';
|
|
@@ -3,18 +3,20 @@ import { z as z2 } from "zod";
|
|
|
3
3
|
|
|
4
4
|
// src/types/data/shared_pickle_output_latest.ts
|
|
5
5
|
import { z } from "zod";
|
|
6
|
-
var TypeEnum = z.enum(["
|
|
6
|
+
var TypeEnum = z.enum(["IMAGE"]);
|
|
7
7
|
var DetailLevelEnum = z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
8
8
|
var UnitTextEnum = z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
9
9
|
var CurrencyEnum = z.enum(["EUR", "GBP", "USD"]);
|
|
10
10
|
var postalAddressSchema = z.object({
|
|
11
11
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
12
|
-
type: z.string().describe("Document type used
|
|
12
|
+
type: z.string().describe("Document type used for schema"),
|
|
13
13
|
addressCountry: z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
14
14
|
addressRegion: z.optional(z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
15
15
|
addressLocality: z.optional(z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
|
|
16
|
-
streetAddress: z.optional(z.string()).describe("The street address within the locality."),
|
|
17
|
-
|
|
16
|
+
streetAddress: z.optional(z.string()).describe("The street name of the address within the locality."),
|
|
17
|
+
streetNumber: z.optional(z.string()).describe("The house of building number within the street."),
|
|
18
|
+
postalCode: z.optional(z.string()).describe("The postal code"),
|
|
19
|
+
description: z.optional(z.string()).describe("A descriptive string containing the full address.")
|
|
18
20
|
});
|
|
19
21
|
var placeSchema = z.object({
|
|
20
22
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
@@ -25,7 +27,7 @@ var placeSchema = z.object({
|
|
|
25
27
|
});
|
|
26
28
|
var quantitativeValueSchema = z.object({
|
|
27
29
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
28
|
-
type: z.string().describe("Document type used
|
|
30
|
+
type: z.string().describe("Document type used for schema"),
|
|
29
31
|
value: z.optional(z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
|
|
30
32
|
minValue: z.optional(z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
|
|
31
33
|
maxValue: z.optional(z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -33,13 +35,34 @@ var quantitativeValueSchema = z.object({
|
|
|
33
35
|
});
|
|
34
36
|
var monetaryAmountSchema = z.object({
|
|
35
37
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
36
|
-
type: z.string().describe("Document type used
|
|
38
|
+
type: z.string().describe("Document type used for schema"),
|
|
37
39
|
singleValue: z.optional(z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
|
|
38
40
|
minValue: z.optional(z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
|
|
39
41
|
maxValue: z.optional(z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
|
|
40
42
|
value: z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
41
43
|
currency: z.optional(CurrencyEnum)
|
|
42
44
|
});
|
|
45
|
+
var imageAssetSchema = z.object({
|
|
46
|
+
version: z.literal("1.0.0").default("1.0.0"),
|
|
47
|
+
altText: z.optional(z.string()).describe("The alt text for the image"),
|
|
48
|
+
assetId: z.optional(z.string()).describe("The asset ID for the image"),
|
|
49
|
+
description: z.optional(z.string()).describe("The description for the image"),
|
|
50
|
+
extension: z.optional(z.string()).describe("The extension for the image"),
|
|
51
|
+
label: z.optional(z.string()).describe("The label for the image"),
|
|
52
|
+
mimeType: z.optional(z.string()).describe("The mime type for the image"),
|
|
53
|
+
originalFilename: z.optional(z.string()).describe("The original filename for the image"),
|
|
54
|
+
path: z.optional(z.string()).describe("The path for the image"),
|
|
55
|
+
sha1Hash: z.optional(z.string()).describe("The SHA1 hash for the image"),
|
|
56
|
+
size: z.optional(z.number()).describe("The size for the image"),
|
|
57
|
+
title: z.optional(z.string()).describe("The title for the image"),
|
|
58
|
+
uploadId: z.optional(z.string()).describe("The upload ID for the image"),
|
|
59
|
+
url: z.optional(z.string()).describe("The URL for the image")
|
|
60
|
+
});
|
|
61
|
+
var imageSchema = z.object({
|
|
62
|
+
version: z.literal("1.0.0").default("1.0.0"),
|
|
63
|
+
type: z.string().describe("Document type used for schema"),
|
|
64
|
+
asset: z.optional(imageAssetSchema).describe("The asset for the image")
|
|
65
|
+
});
|
|
43
66
|
|
|
44
67
|
// src/types/data/company_service_latest.ts
|
|
45
68
|
var TypeEnum2 = z2.enum(["OFFICE"]);
|
|
@@ -47,10 +70,6 @@ var CategoryEnum = z2.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVELOPMENT", "
|
|
|
47
70
|
var TitleEnum = z2.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
48
71
|
var PublishStatusEnum = z2.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
49
72
|
var OfficeTypeEnum = z2.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
50
|
-
var imageSchema = z2.object({
|
|
51
|
-
version: z2.literal("1.0.0").default("1.0.0"),
|
|
52
|
-
url: z2.string()
|
|
53
|
-
});
|
|
54
73
|
var socialMediaSchema = z2.object({
|
|
55
74
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
56
75
|
url: z2.string().describe("The link to the social media platform"),
|
|
@@ -58,14 +77,14 @@ var socialMediaSchema = z2.object({
|
|
|
58
77
|
});
|
|
59
78
|
var companyBenefitsSchema = z2.object({
|
|
60
79
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
61
|
-
type: z2.string().describe("Document type used
|
|
62
|
-
|
|
80
|
+
type: z2.string().describe("Document type used for schema"),
|
|
81
|
+
title: z2.string(),
|
|
63
82
|
description: z2.optional(z2.string()),
|
|
64
83
|
category: CategoryEnum
|
|
65
84
|
});
|
|
66
85
|
var industrySchema = z2.lazy(() => z2.object({
|
|
67
86
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
68
|
-
type: z2.string().describe("Document type used
|
|
87
|
+
type: z2.string().describe("Document type used for schema"),
|
|
69
88
|
name: z2.string(),
|
|
70
89
|
description: z2.optional(z2.string()).describe("A brief description of the industry"),
|
|
71
90
|
onetIndustryId: z2.optional(z2.string()).describe("ONET industry ID"),
|
|
@@ -73,7 +92,7 @@ var industrySchema = z2.lazy(() => z2.object({
|
|
|
73
92
|
}));
|
|
74
93
|
var jobBoardSchema = z2.object({
|
|
75
94
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
76
|
-
type: z2.string().describe("Document type used
|
|
95
|
+
type: z2.string().describe("Document type used for schema"),
|
|
77
96
|
name: z2.string().describe("The name of the job board"),
|
|
78
97
|
description: z2.string().describe("A brief description of the job board"),
|
|
79
98
|
logo: z2.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -81,7 +100,7 @@ var jobBoardSchema = z2.object({
|
|
|
81
100
|
});
|
|
82
101
|
var personSchema = z2.object({
|
|
83
102
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
84
|
-
type: z2.string().describe("Document type used
|
|
103
|
+
type: z2.string().describe("Document type used for schema"),
|
|
85
104
|
firstName: z2.string().describe("The first name of the person"),
|
|
86
105
|
lastName: z2.string().describe("The last name of the person"),
|
|
87
106
|
title: z2.optional(z2.array(z2.string())).describe("The titles of the degree of the person"),
|
|
@@ -97,56 +116,62 @@ var personSchema = z2.object({
|
|
|
97
116
|
url: z2.optional(z2.string()).describe("The URL of the person"),
|
|
98
117
|
address: z2.optional(placeSchema).describe("The address of the person")
|
|
99
118
|
});
|
|
100
|
-
var
|
|
119
|
+
var companyCareersSchema = z2.object({
|
|
101
120
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
121
|
+
type: z2.string().describe("Document type used for schema"),
|
|
122
|
+
careersUrl: z2.string().describe("The URL of the company careers page"),
|
|
123
|
+
jobBoard: z2.optional(jobBoardSchema),
|
|
124
|
+
jobBoardSlug: z2.optional(z2.array(z2.string())),
|
|
105
125
|
companyBenefits: z2.optional(z2.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
106
126
|
});
|
|
107
127
|
var companyPhilosophySchema = z2.object({
|
|
108
128
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
109
|
-
|
|
129
|
+
type: z2.string().describe("Document type used for schema"),
|
|
130
|
+
companyMission: z2.optional(z2.string()).describe("The mission statement of the company."),
|
|
110
131
|
companyHow: z2.optional(z2.string()).describe("How does the company achieve its mission"),
|
|
111
132
|
companyCulture: z2.optional(z2.array(z2.string())).describe("What are some of the culture aspects of this company?")
|
|
112
133
|
});
|
|
113
134
|
var companyNdgSchema = z2.object({
|
|
114
135
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
136
|
+
type: z2.string().describe("Document type used for schema"),
|
|
115
137
|
companyWow: z2.optional(z2.string()).describe("What is the wow of this company?"),
|
|
116
|
-
|
|
117
|
-
// Manually edited due to a different naming convention
|
|
138
|
+
companyNdgTake: z2.optional(z2.string()).describe("What is the NDG POV on this company?"),
|
|
118
139
|
companyBestFit: z2.optional(z2.array(z2.string())),
|
|
119
140
|
companyInterests: z2.optional(z2.array(z2.string()))
|
|
120
141
|
});
|
|
121
142
|
var foundingInformationSchema = z2.object({
|
|
122
143
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
144
|
+
type: z2.string().describe("Document type used for schema"),
|
|
145
|
+
foundedDate: z2.optional(z2.string()),
|
|
146
|
+
foundedCountry: z2.optional(z2.string()),
|
|
147
|
+
foundedCity: z2.optional(z2.string()),
|
|
126
148
|
founders: z2.optional(z2.array(personSchema))
|
|
127
149
|
});
|
|
128
150
|
var ngdMetadataSchema = z2.object({
|
|
129
151
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
152
|
+
type: z2.string().describe("Document type used for schema"),
|
|
130
153
|
lastScraped: z2.optional(z2.string()).describe("Date the last entity was scraped, if applicable"),
|
|
131
154
|
scraperVersion: z2.optional(z2.string()),
|
|
132
155
|
postProcessorVersion: z2.optional(z2.string()),
|
|
133
156
|
uniqueRunId: z2.optional(z2.string()),
|
|
134
157
|
postProcessorUniqueRunId: z2.optional(z2.string()),
|
|
135
|
-
|
|
158
|
+
isScrapeManaged: z2.optional(z2.boolean()).default(true)
|
|
136
159
|
});
|
|
137
160
|
var companySchema = z2.object({
|
|
138
161
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
162
|
+
id: z2.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
163
|
+
createdAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
164
|
+
updatedAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
139
165
|
companyName: z2.string().describe("The name of the company"),
|
|
140
166
|
slug: z2.string().describe("The NDG specific slug for a company."),
|
|
141
|
-
type: z2.string().describe("Document type used
|
|
167
|
+
type: z2.string().describe("Document type used for schema"),
|
|
142
168
|
logo: z2.optional(imageSchema).describe("The logo of the company"),
|
|
143
169
|
companyWebsite: z2.optional(z2.string()).describe("The website of the company"),
|
|
144
170
|
socialMedia: z2.optional(z2.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
145
171
|
brandColor: z2.optional(z2.string()).describe("The brand color of the company"),
|
|
146
|
-
companyCareers: z2.optional(
|
|
172
|
+
companyCareers: z2.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
147
173
|
companyPhilosophy: z2.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
148
|
-
|
|
149
|
-
// Manually edited due to a different naming convention
|
|
174
|
+
companyNdg: z2.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
150
175
|
foundingInfo: z2.optional(foundingInformationSchema),
|
|
151
176
|
headquartersLocation: z2.optional(placeSchema),
|
|
152
177
|
employeeEstimate: z2.optional(z2.string()),
|
|
@@ -155,7 +180,7 @@ var companySchema = z2.object({
|
|
|
155
180
|
});
|
|
156
181
|
var officeSchema = z2.object({
|
|
157
182
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
158
|
-
type: z2.string().describe("Document type used
|
|
183
|
+
type: z2.string().describe("Document type used for schema"),
|
|
159
184
|
name: z2.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
160
185
|
officeType: OfficeTypeEnum,
|
|
161
186
|
companyId: z2.optional(companySchema),
|
|
@@ -170,12 +195,11 @@ export {
|
|
|
170
195
|
TitleEnum,
|
|
171
196
|
TypeEnum2 as TypeEnum,
|
|
172
197
|
companyBenefitsSchema,
|
|
173
|
-
|
|
198
|
+
companyCareersSchema,
|
|
174
199
|
companyNdgSchema,
|
|
175
200
|
companyPhilosophySchema,
|
|
176
201
|
companySchema,
|
|
177
202
|
foundingInformationSchema,
|
|
178
|
-
imageSchema,
|
|
179
203
|
industrySchema,
|
|
180
204
|
jobBoardSchema,
|
|
181
205
|
ngdMetadataSchema,
|