@smartytalent/openai-tools 0.9.51 → 0.9.52
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/tools.json +124 -2
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -12175,6 +12175,112 @@
|
|
|
12175
12175
|
}
|
|
12176
12176
|
}
|
|
12177
12177
|
}
|
|
12178
|
+
},
|
|
12179
|
+
"privacy": {
|
|
12180
|
+
"title": "CareersPrivacySchema",
|
|
12181
|
+
"type": "object",
|
|
12182
|
+
"description": "The tenant's privacy notice for applicants (GDPR art. 13, AI-assisted\nassessment) and the two consent texts of the apply form. A new row\ncarries the default template (lawyer-reviewed PL / EN, other\nlanguages through `translate`); the owner completes `fields` and\npublishes. Texts may hold the placeholders {employerName}\n{address} {contactEmail} {dpoContact} {botName} {recruitmentMonths}\n{futureMonths} ({botName} = the virtual employee's name at\npublish) and conditional segments `[[...]]`, kept without the\nbrackets when every placeholder inside is non-empty and removed\notherwise. Publish rules: every field rule below; every locale of\nthe tenant present in every text; the seven notice sections\ncontroller, purpose, ai, recipients, retention, rights, voluntary\npresent (more may be added, order is free, at most 12); no unknown\nplaceholder, no unbalanced or nested `[[`; no < or > in any text;\nthe byte limit of a content copy.",
|
|
12183
|
+
"properties": {
|
|
12184
|
+
"fields": {
|
|
12185
|
+
"title": "CareersPrivacyFieldsSchema",
|
|
12186
|
+
"type": "object",
|
|
12187
|
+
"properties": {
|
|
12188
|
+
"employerName": {
|
|
12189
|
+
"type": "string",
|
|
12190
|
+
"maxLength": 200,
|
|
12191
|
+
"description": "The controller: the employer's legal name. Required to publish (1-200)."
|
|
12192
|
+
},
|
|
12193
|
+
"address": {
|
|
12194
|
+
"type": "string",
|
|
12195
|
+
"maxLength": 300,
|
|
12196
|
+
"description": "The controller's address. Required to publish (1-300)."
|
|
12197
|
+
},
|
|
12198
|
+
"contactEmail": {
|
|
12199
|
+
"type": "string",
|
|
12200
|
+
"maxLength": 254,
|
|
12201
|
+
"description": "Contact on personal data matters (also where a candidate contests an AI-assisted assessment). Required to publish; an e-mail address."
|
|
12202
|
+
},
|
|
12203
|
+
"dpoContact": {
|
|
12204
|
+
"type": "string",
|
|
12205
|
+
"maxLength": 254,
|
|
12206
|
+
"description": "Data Protection Officer contact, optional; empty removes the conditional segment that names it."
|
|
12207
|
+
},
|
|
12208
|
+
"recruitmentMonths": {
|
|
12209
|
+
"type": "integer",
|
|
12210
|
+
"minimum": 1,
|
|
12211
|
+
"maximum": 60,
|
|
12212
|
+
"description": "Retention of this recruitment's data, in months. Required to publish."
|
|
12213
|
+
},
|
|
12214
|
+
"futureMonths": {
|
|
12215
|
+
"type": "integer",
|
|
12216
|
+
"minimum": 1,
|
|
12217
|
+
"maximum": 60,
|
|
12218
|
+
"description": "Retention under the future-recruitment consent, in months. Required to publish when futureConsent is true."
|
|
12219
|
+
},
|
|
12220
|
+
"futureConsent": {
|
|
12221
|
+
"type": "boolean",
|
|
12222
|
+
"description": "Whether the form offers the optional consent to future recruitments (the talent pool). Default true; false publishes consentFuture as null and the talent-pool CTA disappears."
|
|
12223
|
+
}
|
|
12224
|
+
}
|
|
12225
|
+
},
|
|
12226
|
+
"notice": {
|
|
12227
|
+
"type": "array",
|
|
12228
|
+
"maxItems": 12,
|
|
12229
|
+
"items": {
|
|
12230
|
+
"title": "CareersPrivacySectionSchema",
|
|
12231
|
+
"type": "object",
|
|
12232
|
+
"properties": {
|
|
12233
|
+
"id": {
|
|
12234
|
+
"type": "string",
|
|
12235
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$",
|
|
12236
|
+
"description": "Section id, unique; the template's seven (controller, purpose, ai, recipients, retention, rights, voluntary) cannot be removed."
|
|
12237
|
+
},
|
|
12238
|
+
"heading": {
|
|
12239
|
+
"type": "object",
|
|
12240
|
+
"additionalProperties": {
|
|
12241
|
+
"type": "string"
|
|
12242
|
+
},
|
|
12243
|
+
"description": "Locale map {locale: text}."
|
|
12244
|
+
},
|
|
12245
|
+
"body": {
|
|
12246
|
+
"type": "object",
|
|
12247
|
+
"additionalProperties": {
|
|
12248
|
+
"type": "string"
|
|
12249
|
+
},
|
|
12250
|
+
"description": "Locale map {locale: text}; paragraphs separated by a blank line, list items on lines starting '- '."
|
|
12251
|
+
}
|
|
12252
|
+
}
|
|
12253
|
+
}
|
|
12254
|
+
},
|
|
12255
|
+
"consentCurrent": {
|
|
12256
|
+
"type": "object",
|
|
12257
|
+
"additionalProperties": {
|
|
12258
|
+
"type": "string"
|
|
12259
|
+
},
|
|
12260
|
+
"description": "Locale map: the REQUIRED consent to this recruitment, shown next to the first checkbox."
|
|
12261
|
+
},
|
|
12262
|
+
"consentFuture": {
|
|
12263
|
+
"type": "object",
|
|
12264
|
+
"additionalProperties": {
|
|
12265
|
+
"type": "string"
|
|
12266
|
+
},
|
|
12267
|
+
"description": "Locale map: the OPTIONAL consent to future recruitments (the talent pool). Ignored when fields.futureConsent is false."
|
|
12268
|
+
},
|
|
12269
|
+
"noticeLinkLabel": {
|
|
12270
|
+
"type": "object",
|
|
12271
|
+
"additionalProperties": {
|
|
12272
|
+
"type": "string"
|
|
12273
|
+
},
|
|
12274
|
+
"description": "Locale map: the label of the link from the form to the notice."
|
|
12275
|
+
}
|
|
12276
|
+
}
|
|
12277
|
+
},
|
|
12278
|
+
"privacyStatus": {
|
|
12279
|
+
"type": "string",
|
|
12280
|
+
"enum": [
|
|
12281
|
+
"active"
|
|
12282
|
+
],
|
|
12283
|
+
"description": "active = publish the privacy notice draft (validated; CDN privacy.json + the immutable privacy/v{N}.json). Independent of `status`."
|
|
12178
12284
|
}
|
|
12179
12285
|
}
|
|
12180
12286
|
}
|
|
@@ -13194,10 +13300,26 @@
|
|
|
13194
13300
|
"description": "Where the candidate found the job (e.g., careerPage, jobBoard, linkedin)"
|
|
13195
13301
|
},
|
|
13196
13302
|
"consentCurrent": {
|
|
13197
|
-
"type": "boolean"
|
|
13303
|
+
"type": "boolean",
|
|
13304
|
+
"description": "Consent to this recruitment (the notice's consentCurrent text). Required true for an application to a job; false in a talent-pool submission."
|
|
13198
13305
|
},
|
|
13199
13306
|
"consentFuture": {
|
|
13200
|
-
"type": "boolean"
|
|
13307
|
+
"type": "boolean",
|
|
13308
|
+
"description": "Consent to future recruitments (the talent pool; the notice's consentFuture text). Optional on a job application, required true in a talent-pool submission. Never lowers a consent the talent already gave (withdrawal has its own door)."
|
|
13309
|
+
},
|
|
13310
|
+
"consentVersion": {
|
|
13311
|
+
"type": "integer",
|
|
13312
|
+
"minimum": 1,
|
|
13313
|
+
"description": "The `version` of the published privacy notice the candidate was shown."
|
|
13314
|
+
},
|
|
13315
|
+
"consentHash": {
|
|
13316
|
+
"type": "string",
|
|
13317
|
+
"pattern": "^sha256:[0-9a-f]{64}$",
|
|
13318
|
+
"description": "`hashes[consentLanguage]` of that notice, copied from the published document (the client never computes it)."
|
|
13319
|
+
},
|
|
13320
|
+
"consentLanguage": {
|
|
13321
|
+
"type": "string",
|
|
13322
|
+
"description": "BCP-47 locale of the notice text actually shown (after the locale ladder), e.g. pl-PL."
|
|
13201
13323
|
}
|
|
13202
13324
|
}
|
|
13203
13325
|
}
|